Hi David, We are using Jboss 2.4.4_Tomcat-4.0.1 so I guess mbean is the right way in our case. Thanks david
-Kris ----- Original Message ----- From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 10:18 PM Subject: Re: [JBoss-user] Question about JBoss vs. WLS > On 2002.01.16 15:39:06 -0500 Kris Kristensen wrote: > > We are trying to port our suite from WLS 6.0 to JBoss and came across a > > few hurdles in doing so. First of all we need a way to specify an app. > > that must be started by JBoss upon startup. In WLS this task is > > accomplished by putting the jar-file in a serverclasses directory, and > > point WLS's startup-service to that jar. How to do that in JBoss ?? > > > > > Normally you write an mbean to call your classes when "start" or > "startService (if it descends from ServiceMbeanSupport), and put config for > this mbean in jboss.jcml (jboss 2.x) or mystuff-service.xml (in the deploy > directory) for jboss 3. With jboss 3 the ordering of deployments is not > set very well yet, you may need to put the config file in deploy/lib or add > deploy directories. In jboss 3 you can also package the config and classes > into a sar and deploy it all at once. If not now then very soon you will > be able to put the sar into your app.ear. > > I think how to do this is covered in both the free and for pay manuals. > Otherwise, look at a few mbeans in jboss, it is very simple. > > david jencks > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
