1 Reply Latest reply on Mar 29, 2005 10:20 AM by raja05

    Loading an app through MBean's startService()?

    charles_so

      Hello,

      I am trying to start a custom application. This application is supposed to get started via a A.jar (which contains a META-INF/MANIFEST.MF and org/abc/*.class files)

      I've build a .SAR directory (placed in server/default/deploy), and have written 2 .java files - (AService.java extends ServiceMBeanSupport, AServiceMBean extends ServiceMBean.)

      What should I put in AService.java in order to tell it to kick off A.jar? I assume AService.java 's startService() is where the code goes.... is this correct?

      A.jar (the application starting point) can run without JBoss by executing java -jar A.jar

      Please help!