This content has been marked as final.
Show 2 replies
-
1. Re: T3services in Jboss
didickman Dec 15, 2004 2:21 PM (in response to wxwang)Hi, we did this conversion and used MBeans instead of the weblogic startup classes. We basically had the following under weblogic:
public class A implements T3StartupDef
We converted this to:public interface A extends ServiceMBean
which implements the required methods andpublic class B extends ServiceMBeanSupport implements A
which contains the actual implementation. These classes were all compiled and jarred up along with a META-INF/jboss-service.xml as "custom-startup-service.sar". This file was then placed in the deploy directory.
Hope this helps gets you started. If you are not familiar with writing MBeans, you could read about them in the JBoss Admin Development Guide (see section 2.4.3 in the Jboss 3.2.6 guide). -
2. Re: T3services in Jboss
wxwang Dec 16, 2004 2:03 AM (in response to wxwang)I implemented in by using JMX MBean
Thank you very much.
I have got an other question so far.
Can I Shutdown Jboss. When the Server is failure of Deployment my MBean?
I tried calling org.jboss.Shutdown, but it need to visit shutdown.jar in bin directory.
But I cannot put the shutdown.jar into ClassPath, which will lead to another exception at doing startup process.