[jboss-user] [JBoss Cache] Document updated/added: "ConfigurationForWebLogic8.1.xSeries"

Manik Surtani do-not-reply at jboss.com
Mon Feb 22 10:37:47 EST 2010


User development,

The document "ConfigurationForWebLogic8.1.xSeries", was updated Feb 22, 2010
by Manik Surtani.

To view the document, visit:
http://community.jboss.org/docs/DOC-9369#cf

Document:
--------------------------------------------------------------
After you start WebLogic, you will need to configure the startup and shutdown class in your web based admin console.  Log in, and select 'Deployments -> Startup & Shutdown' on your navigation pane.
 
Select 'Configure a new Startup Class', and fill out details of the j2ee service class as follows:
 
http://community.jboss.org/servlet/JiveServlet/download/9369-6-4319/WL815_1.png 
 
 
Now select 'Configure a new Shutdown Class', and fill out the details of the j2ee service class as follows:
 
http://community.jboss.org/servlet/JiveServlet/download/9369-6-4317/WL815_2.png 
 
 
If you click 'Startup & Shutdown classes' now, it should look like:
 
http://community.jboss.org/servlet/JiveServlet/download/9369-6-4318/WL815_3.png 
 
 
h4.  About the j2ee service class
 
This class is a simple one that takes in a single parameter, either start or stop.  This parameter tells the class how to behave. 
 
start mode: In this mode, the class simply creates a new instance of org.jboss.cache.TreeCache, starts it as a service, and binds it in JNDI.
 
stop mode: In this mode, the class retrieves the TreeCache from JNDI and stops the caching service.
 
Note that the TreeCache takes care of discovering other TreeCaches in the cluster and replicating.  This is all configured in the jboss-cache configuration XML.
 

--------------------------------------------------------------




More information about the jboss-user mailing list