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(XAManagedConnectionFactory.java:155)
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fillToMin(InternalManagedConnectionPool.java:534)
                at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:74)
                at java.lang.Thread.run(Thread.java:701)
Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
                at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
                at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
                at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319)
                at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344)
                at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:148)
                at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
                at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
                at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:194)
                at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:121)
                at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:320)
                at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:84)
                at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:137)
                ... 4 more
ASKER CERTIFIED SOLUTION
Farzad Akbarnejad
Developer

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.
or
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 >>

Mike

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