I'm running my server over JBoss 2.4.4, where I deploy application in a
single ear file and using several MBeans to start some of my services.
Previosly I had same jars in deploy and lib/ext directory and for
development it was nice and convinient, but for production environment ear
is necessary. But currently I start jboss and got exceptions about not
finding of MBeans

[ERROR,ConfigurationService] Could not create MBean
DefaultDomain:service=BlobService(com.filonet.filosafe.server.app.space.blob
.BlobService)
java.lang.ClassNotFoundException:
com.filonet.filosafe.server.app.space.blob.BlobService
        at javax.management.loading.MLet.findClass(MLet.java:800)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at
com.sun.management.jmx.MBeanServerImpl.findClass(MBeanServerImpl.java:2466)
        at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:751)
        at
org.jboss.configuration.ConfigurationService.create(ConfigurationService.jav
a:683)
        at
org.jboss.configuration.ConfigurationService.loadConfiguration(Configuration
Service.java:461)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at org.jboss.Main.<init>(Main.java:200)
        at org.jboss.Main$1.run(Main.java:110)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:106)


This is only one service. All of my services are not derived from
org.jboss...Service and independent of jboss service infrastructure. The
only part I'm missing in my understanding about jboss and probably JMX is:

        - where my service jar should be located under jboss tree
        - should I use mbean in jboss.jcml or just mlet in jboss.conf

Do I need to put service jar into lib/ext and this is the only solution or
there is some workaround.
BTW, I don't have any other problems with ear and deployment.

Igor Rabinovich
Senior Software Engineer
Filonet Corporation
Vancouver, BC


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to