Skip to content

Java Classpath missing in Oracle Apps 11i

If you need to add any new classpath to the $CLASSPATH variable in Oracle Apps 11i please see below example:

VERIFY:

$ echo $CLASSPATH
/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/jre/lib/rt.jar:/fh02/DBNAME/oraapps/common/util/
java/1.6/jdk1.6.0_45/lib/dt.jar:/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/lib/tools.jar:
/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/jre/lib/charsets.jar:/fh02/DBNAME/oraapps/common/
java/appsborg2.zip:/fh02/DBNAME/oraapps/8.0.6/forms60/java:/fh02/DBNAME/oraapps/common/java


$ echo $CONTEXT_FILE
/fh02/DBNAME/oraapps/11iApp/admin/DBNAME_SERVER.xml

ADD NEW CLASSPATH

1) Take backup of $CONTEXT_FILE
2) Take backup of $APPL_TOP/admin/adovars.env
3) Modify $APPL_TOP/admin/adovars.env and append new classpath value (in our case /fh02/DBNAME/applcust
/11iApp/xxmwa/java) that user has sent to the "CLASSPATH" variable in it.
4) Modify $CONTEXT_FILE and append new classpath value to the "CLASSPATH" variable in it also so that
 Autoconfig don't overwrite the changes.
5) Log out and Log in back to the server so that environment get set again.
5) Bounce Apache

VERIFY AGAIN:

$ echo $CLASSPATH
/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/jre/lib/rt.jar:/fh02/DBNAME/oraapps/common/util/
java/1.6/jdk1.6.0_45/lib/dt.jar:/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/lib/tools.jar:
/fh02/DBNAME/oraapps/common/util/java/1.6/jdk1.6.0_45/jre/lib/charsets.jar:/fh02/DBNAME/oraapps/common/
java/appsborg2.zip:/fh02/DBNAME/oraapps/8.0.6/forms60/java:/fh02/DBNAME/oraapps/common/java:/fh02/DBNAME/
applcust/11iApp/xxmwa/java

 

 

Brijesh Gogia
Leave a Reply