« August 2008 | Main | October 2008 »

September 2008 Archives

September 12, 2008

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.

September 29, 2008

Creating a new Weblogic Domain.

Any application server need to provide a requirement to isolate the projects, contents, resources among the development teams in the dev-phase and for managability while in production stage.

Oracle iAS / OC4J allows the user to create a new instance of container and running them parallely (this can be done using command line as well from the Enterprise manager - will create a entry for this soon).

Similarly, BEA Weblogic (Oracle Weblogic I mean :) ) also provides us with a way of creating a new instance of container for managability of the code/projects/content/resources. The concept is same but the terminology is different. Weblogic calls it as domain.

Creating a new domain helps to isolate all the resources allocated to that new domain which also includes development environment (Weblogic calls it as Weblogic Workshop), JVM settings, physical directories, ports, projects and what not. One domain doesnt interfere with another and can parallely. Users have a choice of deploying their projects to one of the domains, except that they need to configure the settings accordingly.

I have an application to test on Weblogic and I have created 8 domains, and was testing my project in each of the domain with different settings. Ofcourse, my RAM is small, so I need to switch on and off the domains accordingly and at a time, 3 of them were running parallely. It really helped me to test my application in a better and faster way.

For the beginners or for those who are new to Weblogic, I guess this writing would help in creating a Weblogic domain as a quick reference. Also, included few issues which I encountered while running my application.

Please feel free to download the PDF here: Download file

About September 2008

This page contains all entries posted to Learn with Pavan in September 2008. They are listed from oldest to newest.

August 2008 is the previous archive.

October 2008 is the next archive.

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