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

 

 

[Post Views: 86]

Brijesh Gogia

I’m an experienced Oracle Applications DBA with more than a decade of full-time DBA experience. I have gained a wide knowledge of the Oracle software stack and have worked on several big projects for multi-national companies. I enjoy working with the leading-edge technology and have passion for database performance and stability. Thankfully my work allows me time for researching new technologies (and to write about them).
  
You can connect with me on LinkedIn.

Be First to Comment

Leave a Reply

Required fields are marked *

error: Alert: Content is protected !!