• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem connecting J2ee Server to Oracle  RSS feed

 
Virendra Rahatpuri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using j2sdkee1.3.1. I am trying to connect to oracle server with the following configuration:

resource.properties file
jdbcDataSource.5.name=jdbc/bv6
jdbcDataSource.5.url=jdbc\ racle\:thin\:@<machinename>\:1521\:bv6_service;create=true
jdbcDriver.1.name=oracle.jdbc.driver.OracleDriver
I get the following error when I execute the client.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to connect to database. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135295488)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))); nested exception is:
javax.ejb.EJBException: Unable to connect to database. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135295488)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to connect to database. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135295488)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))); nested exception is:
javax.ejb.EJBException: Unable to connect to database. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135295488)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
javax.ejb.EJBException: Unable to connect to database. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135295488)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
<<no stack trace available>>
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope you have changed the <@machinename> to the Global Database name or the SID.If not check the SID again.

HTH,
Manjunath
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!