This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss behind firewall" Watch "jboss behind firewall" New topic

jboss behind firewall

Jonathan Walker

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(
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
at oracle.jdbc.driver.OracleStatement.executeInternal(
at oracle.jdbc.driver.OracleStatement.execute(
at oracle.jdbc.driver.OracleStatementWrapper.execute(
at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(


Peter Johnson

Joined: May 14, 2008
Posts: 5812

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
Consider Paul's rocket mass heater.
subject: jboss behind firewall
Similar Threads
JBoss 5 Transaction Exception
JBoss Classpath
problem in connectivity through datasource to oracle database
Problem oin connecting Oracle database in JBOSS AS 4.2.3
JBoss / Oracle Rollback Problem - XARessource