-
1. Re: MBean Management exception with JournalModule
julien1 Jul 28, 2003 11:57 AM (in response to cwa)first you should download the version bundled with tomcat : jboss-3.2.2rc2 with tomcat.
then the jboss-service.xml file is wrong, it has just been corrcted in the cvs but due to the public cvs update latency here it is :
you have to replace the content of journal/src/resources/nukes-journal-sar/META-INF/jboss-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<mbean
code="org.jboss.nukes.addons.modules.journal.JournalModule"
name="nukes.modules:name=journal"
xmbean-dd=""
xmbean-code="org.jboss.nukes.component.NukesMBean">
nukes.modules:name=core
jboss.j2ee:service=EJB,jndiName=nukes/journal/Journal
jboss.j2ee:service=EJB,jndiName=nukes/journal/Stat
jboss.j2ee:service=EJB,jndiName=nukes/journal/Comment
<operation
name="main"
display-name="Journal"
description=""
image=""
hint=""/>
julien -
2. Re: MBean Management exception with JournalModule
cwa Jul 28, 2003 1:51 PM (in response to cwa)Thanks for the help.
Now, I am stuck with the same error but for JmxModule:
org.jboss.deployment.DeploymentException: create operation failed for package file:/usr/local/jboss-3.2.2RC2/server/default/tmp/deploy/tmp44074nukes-distrib.ear-contents/nukes-jmx.sar; - nested throwable: (org.jboss.deployment.DeploymentException: Class does not expose a management interface: org.jboss.nukes.addons.modules.jmx.JmxModule; - nested throwable: (javax.management.NotCompliantMBeanException: Class does not expose a management interface: org.jboss.nukes.addons.modules.jmx.JmxModule))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
...
Should I simply update jmx/src/resources/nukes-jmx-sar/jboss-service.xml and add the following XML attributes?
xmbean-dd=""
xmbean-code="org.jboss.nukes.component.NukesMBean"
Also, the reason I was using the jetty version is that the build fails with "server/default/deploy/jbossweb-jetty.sar not found" if I don't use it. So, I assumed that nukes was targeted at jetty. I'll switch to the tomcat version for further deployment attempts. -
3. Re: MBean Management exception with JournalModule
cwa Jul 28, 2003 2:53 PM (in response to cwa)Alright. That did it. Along with the etra tag around .
Now, I have to fix adminmessages and all the other ones that are going to break. But that's ok. I am happy to be able to keep going!
Thanks for the help!