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!
Yes. that should work. Although you might be better off instantiating the class that A.jar invokes rather than running a command like java -jar A.jar.