aspose file tools*
The moose likes JBoss/WildFly and the fly likes jboss behind firewall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss behind firewall" Watch "jboss behind firewall" New topic
Author

jboss behind firewall

Jonathan Walker
Greenhorn

Joined: Apr 27, 2010
Posts: 1
Hi All,

I have 0 experience of jboss, we are trying to use jboss behind a firewall, and getting the connection timeout issue intermittently.

The jboss version is jboss-4.2.0-GA.

I am sure there would be some configurations required to make it work smoothly. if someone has came across same issue, can they please advice.


The stack track is :14:29:12,406 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@3dbafe
70[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@130ed4e9 handles=0 lastUse=1299166227007 permit=false trackByTx=false mcp=or
g.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@11f569ee context=org.jboss.resource.connectionmanager.InternalManagedConnectionP
ool@6fd9178 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@32bc16c5 txSync=null]
java.sql.SQLException: IO Error: Connection timed out
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:866)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1882)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1847)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:301)
at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:458)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:240)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:211)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:211)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:348)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:403)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:850)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:90)


THANKS IN ADVANCE.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

This error message indicates that something in JBoss AS is attempting to access the Oracle database and that the database is not accessible. Please post the *-ds.xml file for the Oracle data source.

You mentioned firewalls. Please make sure that the firewall that is guarding Oracle allows connections from the server hosting JBoss AS.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss behind firewall