[jboss-user] [Management, JMX/JBoss] - failed to start web module
fuzebest
do-not-reply at jboss.com
Fri Sep 29 05:58:38 EDT 2006
I have web module dependant on MBean (plain mbean, not JBoss Service)
with jboss-web.xml like
| <jboss-web>
| <class-loading>
| <loader-repository>dot.com:loader=MyLoader</loader-repository>
| </class-loading>
|
| <depends>my.service.dot.com:service=MyService</depends>
| </jboss-web>
|
upon redeployment of referenced MBean a got
| java.lang.NullPointerException
| at org.jboss.web.WebModule.startModule(WebModule.java:82)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| ......
|
If web module undeployed, and then deployed again everything works fine.
How can i fix this?
JBoss is 4.0.4.GA
Sar dependant on this mbean works just fine
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975093#3975093
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975093
More information about the jboss-user
mailing list