File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes DB Connectivity issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "DB Connectivity issues" Watch "DB Connectivity issues" New topic

DB Connectivity issues

Srinivas Katta
Ranch Hand

Joined: Feb 01, 2007
Posts: 76

I have Deployed the application in JBoss and trying to login from the application but we are getting DB Connectivity issues as below
Caused by: java.sql.SQLException: The Network Adapter could not establish the connection
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 org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(

We have the Required Oracle Driver jar file in default/lib folder and tried having thsi jar in WEB-INF/lib folder also

I can ping the DB Server from App server and can telnet the port

Please let me know if anybody encountered this issue

Peter Johnson

Joined: May 14, 2008
Posts: 5852

This is really an Oracle JDBC issues, and not anything to do with JBoss AS. Try googling the error message. I did and found this which might help (no guarantees since I don't use Oracle):

JBoss In Action
I agree. Here's the link:
subject: DB Connectivity issues
It's not a secret anymore!