Monday, November 8, 2010

The system classes in the classpath are not compatible with this version of Java when trying to start application using adstrtal.sh

Hello All,

Today when trying to start one of the mid-tier services using adstrtal.sh apps/apps, the script failed with the below message :-

Note :- This was a 11i EBS system.

apphost1:/d51/oracle/viscomn/admin/scripts/vis_apphost1> adstrtal.sh apps/apps

You are running adstrtal.sh version 115.11

The system classes in the classpath are not compatible with this
version of Java.
  Please check that the classpath is correct.
CLASSPATH = /opt/jdk1.3.1_20/j2se/jre/lib/rt.jar:/opt/jdk1.3.1_20/j2se/jre/lib/i18n.jar:/d51/oracle/viscomn/java/appsborg.zip:/d51/oracle/viscomn/java/apps.zip:/d51/oracle/visora/8.0.6/forms60/java:/d51/oracle/viscomn/java:/d51/oracle/visappl/ad/11.5.0/java/adconfig.zip:/opt/jdk1.3.1_20/j2se/bin/../classes:/opt/jdk1.3.1_20/j2se/bin/../lib/classes.zip:/d51/oracle/viscomn/java/loadjava.zip:/d51/oracle/visappl/ad/11.5.0/java/adconfig.zip:/d51/oracle/visappl/fnd/11.5.0/java/3rdparty/stdalone/xmlparserv2.zip:/d51/oracle/viscomn/util/jre/1.1.8/bin/../classes:/d51/oracle/viscomn/util/jre/1.1.8/bin/../lib/classes.zip
Check logfile /d51/oracle/viscomn/admin/log/vis_apphost1/11040716.log for details.


After analysing for minutes found that the tools java home was incorrectly set and pointing to a wrong directory.

1. Took a backup of the Context file and replaced the s_tools_java to point to the correct java location.

<JAVA_HOME oa_var="s_tools_java">/opt/jdk1.3.1_20/j2se</JAVA_HOME>

2. Then ran autoconfig .

3. Now tried to start the application services and it started successfully.

No comments:

Post a Comment