Hi,
I would like for my ejb module to be dependent on a service (SAR file). If the service
code fails I don't want JBoss 4.0.5 to deploy my ejb module. Where inside jBoss does
the mbean for this module get created? In the root of the jboss deploy folder in my apps
service file I have the code:
<mbean code="org.jboss.ejb.EjbModule"
name="jboss.j2ee:service=EjbModule,module=ejb-files.jar">
| <depends>myclass.package:service=serviceName</depends>
| </mbean>
If I run this I get the error:
Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@8a11c4ff {
url=file:/usr/share/jboss4/server/default/deploy/myapps-service.xml }
deployer: org.jboss.deployment.SARDeployer@6caf16
status: Deployment FAILED reason: org.jboss.ejb.EjbModule.(); - nested throwable:
(java.lang.NoSuchMethodException: org.jboss.ejb.EjbModule.())
state: FAILED
watch: file:/usr/share/jboss4/server/default/deploy/myapps-service.xml
altDD: null
lastDeployed: 1171288650635
lastModified: 1171288650000
mbeans:
I think it is because I am not supplying the correct mbean attributes for the ejbmodule.
For the container to initialise it needs certain attributes - what are they? Also if I am
forcing the creation of the MBean for the ejbmodule will this ot clash with JBoss
attempting to start it automatically?
Any help would be much appreciated!
Thanks
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015086#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...