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.
