cancel
Showing results for 
Search instead for 
Did you mean: 

Java instance not starting

Former Member
0 Kudos

Hi everyone

We had to restore our NW70 Java instance [running on AIX]  as a fall back from SP application. I restored the database and file systems /usr/sap/SID/JCxx and /sapmnt/SID/exe. When starting the instance, I am getting the message:

# cat JdbcCon.log

Start: Wed May 22 08:36:59 EDT 2013

Error: Couldn't connect to DB
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

# cat startsap.trc

   eval /usr/sap/SID/JCxx/exe/sapjvm_4/bin/java -classpath /usr/sap/SID/JCxx/j2ee/cluster/bootstrap/launcher.jar com.sap.engine.offline.OfflineToolStart  com.sap.inst.jdbc.connect.JdbcCon  /usr/sap/SID/SYS/exe/run/jdbcconnect.jar:/usr/sap/SID/SYS/global/security/lib/tools:/oracle/client/11x_64/instantclient/ojdbc14.jar:/usr/sap/SID/JC60/j2ee/cluster/bootstrap:/usr/sap/SID/SYS/global/sltools/sharedlib -sec SID:SID -logFile /home/SIDadm/JdbcCon.log

   returncode=12

   J2EE Database is not available via  test

   See logfile /home/SIDadm/JdbcCon.log

   JDB_RUNNING=0

   _INST=JCxx

   _PROFILE=/usr/sap/SID/SYS/profile/SID_JCxx_hostname

   SAPSYSTEMNAME=SID

The SCS is running fine. The instance is not able to connect to the database (first step), and hence not even a single log file anywhere. I did not change any password at all. Any idea how to proceed?

Accepted Solutions (0)

Answers (1)

Answers (1)

AtulKumarJain
Active Contributor
0 Kudos

Hi Nadar,

Please first check your database is running or not .if DB is up and running please check listner is running or not.

Most probally listner issue.

you can try

1. IP address is incorrect - try PING

2.The port is not open, or is blocked by a firewall - try TELNET3.

The DB listener is not running or is binding to a different network interface - again, TELNET should confirm this (also use Oracle client tools to connect)

3.No local ports are available for the out-going connection (unlikely) - only if you're making thousands of connections, or creating hundreds of new connections every minute.

BR

Atul

Former Member
0 Kudos

Hi Nadar,

also try to check the UME settings using the configtool, especially the connection string (JDBC).

Maybe you are still pointing to the source system of the copy.

Regards,

Marco

Former Member
0 Kudos

Thanks everyone. It turned out that the DB port had some hidden characters (using vi in Unix). I corrected it and connection was fine.

Thanks again for your reply.

AtulKumarJain
Active Contributor
0 Kudos

Hi Nadar,

it is good to hear that your issue has been resolved.

Please close the thread.

Best Regrads,

Atul