[jboss-user] [JBoss AOP] - Re: JBoss 4.2.0 EnableLoadtimeWeaving true prevents server s
bartvh
do-not-reply at jboss.com
Wed Jun 20 10:41:43 EDT 2007
I too have a situation where the 4.2.0 with loadtime weaving server fails to start from time to time. It does not occur every time. I am running on Linux, using sun jdk 1.5.
I did a stack trace (kill -3) of the java process and these two interesting parts are printed:
"main" prio=1 tid=0x00002aaaaab49590 nid=0x28a9 in Object.wait() [0x0000000040bcb000..0x0000000040bd0ba0]
| at java.lang.Object.wait(Native Method)
| - waiting on <0x00002ba5125494f8> (a java.util.Collections$SynchronizedList)
| at java.lang.Object.wait(Object.java:474)
| at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:351)
| - locked <0x00002ba5125494f8> (a java.util.Collections$SynchronizedList)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
| - locked <0x00002ba509e86918> (a org.jboss.mx.loading.UnifiedClassLoader3)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| - locked <0x00002ba509e86918> (a org.jboss.mx.loading.UnifiedClassLoader3)
| at org.jboss.aop.Advisor.<init>(Advisor.java:135)
| at org.jboss.aop.ClassAdvisor.<init>(ClassAdvisor.java:131)
| at org.jboss.aop.AspectManager.translate(AspectManager.java:893)
| at org.jboss.aop.AspectManager.transform(AspectManager.java:821)
| at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
| at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
| at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
| at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
| at java.lang.reflect.Proxy.defineClass0(Native Method)
| at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
| at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
| at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:395)
| at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:349)
| at org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:112)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
| 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: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)
| at $Proxy0.create(Unknown Source)
| at org.jboss.system.ServiceController.create(ServiceController.java:330)
| - locked <0x00002ba512548f18> (a org.jboss.system.ServiceController)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| - locked <0x00002ba512548f18> (a org.jboss.system.ServiceController)
| at sun.reflect.GeneratedMethodAccessor2.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.create(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| .... goes on for another screen or two....
and also:
"Finalizer" daemon prio=1 tid=0x00000000401c1fd0 nid=0x28a2 waiting for monitor entry [0x00000000404c6000..0x00000000404c9c20]
| at org.jboss.aop.Advisor.<init>(Advisor.java:135)
| at org.jboss.aop.ClassAdvisor.<init>(ClassAdvisor.java:131)
| at org.jboss.aop.AspectManager.translate(AspectManager.java:893)
| at org.jboss.aop.AspectManager.transform(AspectManager.java:821)
| at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
| at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
| at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
| at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
| at java.lang.ClassLoader.defineClass1(Native Method)
| at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
| at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
| at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
| at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675)
| at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| - locked <0x00002ba512549070> (a org.jboss.mx.loading.UnifiedClassLoader3)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193)
| at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
| at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
| - locked <0x00002ba512549070> (a org.jboss.mx.loading.UnifiedClassLoader3)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| - locked <0x00002ba512549070> (a org.jboss.mx.loading.UnifiedClassLoader3)
| at com.arjuna.ats.arjuna.AtomicAction.finalize(AtomicAction.java:96)
| at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
all other threads are either waiting on a socket (accept) or some timer.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056061#4056061
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056061
More information about the jboss-user
mailing list