[JBoss-dev] ControllerContext state is going through the roof

Adrian Brock adrian_brock at jboss.org
Tue Aug 15 10:07:38 EDT 2006


This should be fixed as soon as it appears on
repository.jboss.com:

http://repository.jboss.com/jboss/microcontainer/snapshot/lib/
(jboss-dependency.jar)

$ cksum jboss-dependency.jar
4174139428 20818 jboss-dependency.jar

I got bored of waiting and copied it manually into my jboss-head
to test it didn't break anything.

On Tue, 2006-08-15 at 14:57 +0200, Adrian Brock wrote:
> I've managed to reproduce this problem,
> it is a variant of this problem:
> http://jira.jboss.com/jira/browse/JBMICROCONT-56
> except it is not actually recursive,
> but it is caused by recursion elsewhere. ;-)
> 
> I've raised a new bug report:
> http://jira.jboss.com/jira/browse/JBMICROCONT-102
> 
> On Tue, 2006-08-15 at 13:18 +0200, Carlo de Wolf wrote:
> > Hi guys,
> > 
> > I'm looking at this exception and just can't figure out why it goes
> > wrong. Somehow a bean gets installed while there are still unresolved
> > dependencies (MixedConsumer dependant on StatusBean). Then further down
> > the line the bean goes past installation through the roof.
> > 
> > Anyone got a clue?
> > 
> > Carlo
> > 
> > ===8<===
> > 
> > 2006-08-15 10:48:12,528 WARN  [org.jboss.system.ServiceController]
> > Problem starting service
> > jboss.j2ee:jar=interceptors2-test.jar,name=StatusBean,service=EJB3
> > java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
> >    at
> > EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.rangeCheck(CopyOnWriteArrayList.java:752)
> >    at
> > EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:372)
> >    at
> > org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:341)
> >    at
> > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
> >    at
> > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
> >    at
> > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:263)
> >    at
> > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:164)
> >    at
> > org.jboss.system.ServiceController.start(ServiceController.java:376)
> >    at sun.reflect.GeneratedMethodAccessor8.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:157)
> >    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> >    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >    at
> > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> >    at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> >    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> >    at $Proxy71.start(Unknown Source)
> >    at
> > org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:89)
> >    at
> > org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:287)
> >    at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:334)
> >    at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
> >    at
> > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
> >    at
> > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
> >    at sun.reflect.GeneratedMethodAccessor3.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:157)
> >    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> >    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >    at
> > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> >    at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> >    at
> > org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:165)
> >    at $Proxy0.start(Unknown Source)
> >    at
> > org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
> >    at
> > org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
> >    at
> > org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> >    at
> > org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
> >    at
> > org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:186)
> >    at
> > org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:596)
> >    at
> > org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
> >    at
> > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
> >    at
> > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
> >    at
> > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:263)
> >    at
> > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:164)
> >    at
> > org.jboss.system.ServiceController.start(ServiceController.java:376)
> >    at sun.reflect.GeneratedMethodAccessor8.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:157)
> >    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> >    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >    at
> > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> > ...
> > 
> > _______________________________________________
> > jboss-development mailing list
> > jboss-development at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list