Hey everybody,
Got a problem with my JBoss configuration and can't seem to solve it, hence i've made a post!
Trying to add my own services to JBoss so they appear inthe JMX management interface. To this end i have implemented the org.jboss.system.ServiceMBeanSupport in the service object (mapshop) and the org.jboss.system.ServiceMBean in the services MBean interface (mapshopMBean). So i've filled out the interfaces, packaged up my code and put it in the lib directory of the server i'm using. Then added the below to jboss-service.xml
<mbean code="meta.mapshop.MapShop" name="java:\Mapshop"> <constructor><arg type="java.lang.String" value="java:\Mapshop"></arg></constructor> <depends>jboss:service=Naming</depends> <depends>jboss.system:type=Log4jService,service=Logging</depends> </mbean>
10:53:39,647 INFO [Server] Starting General Purpose Architecture (GPA)... 10:53:40,750 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc. 10:53:40,750 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_03-b07,Sun Microsystems Inc. 10:53:40,750 INFO [ServerInfo] OS-System: Linux 2.6.11-1.27_FC3smp,i386 10:53:41,707 INFO [Server] Core system initialized