on 12-14-2012 9:32 AM
Hi!
We faced with a problem after client copy to our quality system, which was done with copying and renaming of productive system. Eventually, we've got a dual-stack system, ABAP part is ok, but Java cannot be started. It's even not possible to launch Configtool to make necessary changes in Secure Store area. I tried to apply changes according to the SAP Notes recommendations: 1592575 and 997510.
The SecStore.properties file was generated, but I can't access SecStore data in config tool - the error is –“Secure store is not available. To show it use default connection or connect via Secure Store.”
The jvm_bootstrap log:
Exception occurred: com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:155)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
----------==[ Caused by: ]==----------com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
At com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection
(DBConnectionPool.java:364)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.
<init>(DBConnectionPool.java:129
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.
<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.
<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.
init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.
<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:155)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: com.sap.sql.log.OpenSQLException: Could not load class com.sap.portals.jdbc.oracle.OracleDriver.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:143)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection
(DBConnectionPool.java:306)
Caused by: java.lang.ClassNotFoundException: com.sap.portals.jdbc.oracle.OracleDriver
at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:134)
The error message in dev_bootstarp file:
JLaunchIExitJava: exit hook is called (rc = 66)
[Thr 05] *** ERROR => The Java VM terminated with a non-zero exit code.
The link to RDBMS driver location is set properly /oracle/client/11x_64/instantclient/ojdbc14.jar the same as other connection properties as it is in <j2ee_home>/cluster/bootstrap/bootstrap.properties file. But according to the log system can’t find necessary file .
I know that the copy wasn’t made correct as SAP recommends, but I don’t believe that what can be made by SAPInst is impossible to make by a man. Could you guide me what I should check to start my Java part?
Thank you in advance and best regards,
Ekaterina
Hi Ekaterina,
Hope you are doing good.
Also run the JdbcCheckup tool as mentioned in SAP Note No. 867176: FAQ: Oracle JDBC to check if the communication between the j2ee server and the DB is fine.
below notes too would be useful:
SAP Note No. 23345- Consistency check of ORACLE database
SAP Note No. 915079: J2EE on Oracle: Updating the JDBC drivers
SAP Note No. 867176: FAQ: Oracle JDBC
Thank you and have a nice day :).
_____________
Kind Regards,
Hemanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemanth!
First of all thank you very much for links to notes. I've checked the communication according to note 867176, here is the result:
connected.
=============
Database Product Name is ... Oracle
Database Product Version is Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning and Real Application Testing options
=============
JDBC Driver Name is ........ Oracle JDBC driver
JDBC Driver Version is ..... 10.2.0.5.0
=============
Hello World
Your JDBC installation is correct.
but the problem with "Caused by: java.lang.ClassNotFoundException: com.sap.portals.jdbc.oracle.OracleDriver" still appers.
Can you suggest what else is possible to do?
Thank you in advance and best regards!
Hi Ekaterina,
What usage types of your dual-stack system? Do you use Enterprise Portal usage type? Check also Note 864823 - Using a JDBC driver from a portal application
and Note 773401 - Configuring Portal JDBC System connection properties if relevant.
Regards,
Roman
Dear Ekaterina
The problem seems to be coming because of wrong Oracle Driver in the system.
Please download and apply original Oracle driver (ojdbc14.jar and orai18n.jar) from URL:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
I hope this will help you.
Tapan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ekaterina
Note 764417 https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=764417 offers a lot of hints for how to deal with a rc of 66 (out of memory).
Bets regards,
Duncan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.