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

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


User development,

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

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

Document:
--------------------------------------------------------------
WebLogic 9.1, in a bid to make things easier, have made things that much harder when deploying startup and shutdown classes.
 
h4.  Step 1
 
When you log in to the web based admin console, click the "Startup and Shutdown classes" link.  You should see:
 
http://community.jboss.org/servlet/JiveServlet/download/9370-7-4324/WL910_1.png
 
h4.  Step 2 
 
Select 'Startup Class' and click next.  Enter the name of your startup class (+org.jboss.cache.example.j2eeservices.JBossCacheManager+)
 
http://community.jboss.org/servlet/JiveServlet/download/9370-7-4322/WL910_2.png
 
Then click next and target the class to your cluster or individual servers.
 
 
h4.  Step 3
 
Here is where things get a bit roundabout.  Click on 'Startup and Shutdown Classes' again, so you see a list of configured classes.  Click on the hyperlinked configuration you just created above and you should see a details page, which you should add the argument the class takes ("start") and check the box that says the class should be loaded before any applications are deployed.
 
http://community.jboss.org/servlet/JiveServlet/download/9370-7-4321/WL910_3.png
 
Click ok to save this.
 
h4.  Step 4
 
Repeat steps 1 and 2 for the shutdown class.  If you are using the sample code provided, the shutdown class is the same as the startup class.
 
Once you have done this, go to the list of configured classes again, click on your newly configured shutdown class to get the details page - as you did in step 3 above.  This time, enter "stop" as an argument.
 
http://community.jboss.org/servlet/JiveServlet/download/9370-7-4323/WL910_4.png
 
h4.  Step 5
 
When you finally look at the list of startup and shutdown classes, you should see something like:
 
http://community.jboss.org/servlet/JiveServlet/download/9370-7-4320/WL910_5.png
 
Don't forget to "Activate Configuration Changes" otherwise WebLogic won't pick these up!!
 
 

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




More information about the jboss-user mailing list