• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB Connectivity issues

 
Srinivas Katta
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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(T4CConnection.java:412)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:151)
-------------------------------------------------------------------------------------------

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

Thanks
Srinivas
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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):
http://www.websina.com/bugzero/kb/oracle-connection.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic