This content has been marked as final.
Show 3 replies
-
1. Re: JBOss start up class issue
peterj Aug 20, 2008 1:36 PM (in response to patwary_shiva)You should place the classes used by the mebean and the mbean info in a sar archive - see http://wiki.jboss.org/wiki/ExampleHelloWorldService for an example.
-
2. Re: JBOss start up class issue
patwary_shiva Aug 20, 2008 1:45 PM (in response to patwary_shiva)Is it possible to refer the class in in ear directory.Beacue this class invokes other classes in ear file..
-
3. Re: JBOss start up class issue
peterj Aug 20, 2008 2:14 PM (in response to patwary_shiva)Try this. Place your mbean classes into the ear file (into an existing jar file or into a new jar file - don't forget to add it to the application.xml). Put your mbean description into a separate *-service.xml file and place it in the ear file also. Then add a META-INF/jboss-app.xml file with this entry:
<jboss-app> <module> <service>xxx-service.xml</service> </module> </jboss-app>