« Telecommunications Setup example | Main | Creating a new Weblogic Domain. »

Quick Reference 1 : Client-side JAR Files required for OEMS JMS In-Memory and File-Based Lookup and Database Lookup

I am planning to write a quick reference section (QR) with all the tips for the programmers / administrators. This will help us to quickly check the list of to-do things. So, this is my first QR.

This is a quick reference to know what client side jar files are needed to be added in the CLASSPATH when we are trying to use JMS (in-memory/file or database) from an application client (java code or any other 3rd party JMS client). Following are the JAR files needed in the classpath:

Client-side JAR Files Required for OEMS JMS In-Memory and File-Based Lookup:

oc4jclient.jar -- $ORACLE_HOME/j2ee/<instance_name>
jta.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
jms.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
jndi.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
javax77.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
optic.jar -- $ORACLE_HOME/opmn/lib

(Required only if the opmn:ormi prefix is used in Oracle Application Server environment.)


Client-side JAR Files Required for OEMS JMS Database Lookup:

oc4jclient.jar -- $ORACLE_HOME/j2ee/<instance_name>
ejb.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
jta.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
jms.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
jndi.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
javax77.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
adminclient.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
ojdbc14dms.jar -- $ORACLE_HOME/j2ee/<instance_name>/../../oracle/jdbc/lib
dms.jar -- $ORACLE_HOME/j2ee/<instance_name>/../../oracle/lib
bcel.jar -- $ORACLE_HOME/j2ee/<instance_name>/lib
optic.jar -- $ORACLE_HOME/opmn/lib

(Required only if the opmn:ormi prefix is used in Oracle Application Server environment.)

Note: If you cant find jndi.jar in the above specified location, then it should be there available in $ORACLE_HOME/datadirect/sun/lib directory.

This quick reference should be helpful when programming with OC4J JMS.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mte1521/mt-tb.cgi/6360

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on September 12, 2008 10:20 AM.

The previous post in this blog was Telecommunications Setup example.

The next post in this blog is Creating a new Weblogic Domain..

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type and Oracle