troubleshooting Question

application cannot connect to database server for query

Avatar of Jason Yu
Jason YuFlag for United States of America asked on
Oracle DatabaseJava App Servers
13 Comments5 Solutions1198 ViewsLast Modified:
Hi, all:

I got an urgent production issue this morning, the JBOSS application server cannot connect to database servers. The server.log file from Jboss shows as below. The database tier is a clustered oracle 10g database, please help.

2016-03-28 11:12:36,837 1101737373 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (JCA PoolFiller:) Unable to fill pool
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Io exception: The Network Adapter could not establish the connection)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fillToMin(
Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                at oracle.jdbc.driver.DatabaseError.throwSqlException(
                at oracle.jdbc.driver.DatabaseError.throwSqlException(
                at oracle.jdbc.driver.DatabaseError.throwSqlException(
                at oracle.jdbc.driver.T4CConnection.logon(
                at oracle.jdbc.driver.PhysicalConnection.<init>(
                at oracle.jdbc.driver.T4CConnection.<init>(
                at oracle.jdbc.driver.T4CDriverExtension.getConnection(
                at oracle.jdbc.driver.OracleDriver.connect(
                at oracle.jdbc.pool.OracleDataSource.getConnection(
                at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(
                at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(
                at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(
                ... 4 more
Farzad Akbarnejad

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 5 Answers and 13 Comments.
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>


Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 5 Answers and 13 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004