thanks alarik, I will think about this
marcf |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of |Alarik Myrin |Sent: Monday, April 22, 2002 2:28 PM |To: marc fleury; [EMAIL PROTECTED] |Subject: RE: [JBoss-dev] Re: [JBoss-user] Save the Rabbit Hole |UnifiedClassLoaders - Vote and Argue at the BugParade! - Spread the |Word! | | |Hi Marc -- | |I can't even make it through startup. If I do a thread dump, it sure looks |like a thread deadlock. The only thing that I can think of that might be |weird about my situation is that we are spawning another thread on the |server during startup which then initializes some JMS publishers. We spawn |the thread because in a clustered Weblogic environment (which we use in |production), it is possible that during startup the JNDI context won't have |been replicated yet to the local machine, and so we wait and try |again until |such time as the JNDI context is replicated. Here are the stack |traces from |the two relavent threads: | |"main" prio=5 tid=0xc7d0a0 nid=0x111 waiting for monitor entry |[0x93fd000..0x93ffdc0] | at java.lang.ClassLoader.loadClass(ClassLoader.java:286) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedCla |ssLoader. |java:180) | at |org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoade |rReposito |ry.java:178) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoade |r.java:21 |7) | at java.lang.ClassLoader.loadClass(ClassLoader.java:253) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:486) | at |java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) | 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.UnifiedClassLoader.findClass(UnifiedClassLoade |r.java:17 |2) | at java.lang.ClassLoader.loadClass(ClassLoader.java:297) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedCla |ssLoader. |java:180) | at |org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoade |rReposito |ry.java:156) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoade |r.java:21 |7) | at java.lang.ClassLoader.loadClass(ClassLoader.java:253) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:338) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:626) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:506) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470) | at java.lang.reflect.Method.invoke(Native Method) | at |org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB |eanDispat |cher.java:284) | at |org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) | at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) | at $Proxy4.deploy(Unknown Source) | at |org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploym |entScanne |r.java:350) | at |org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URL |Deploymen |tScanner.java:530) | at |org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymen |tScanner. |java:410) | at |org.jboss.deployment.scanner.AbstractDeploymentScanner.startService |(Abstract |DeploymentScanner.java:237) | at |org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162) | at java.lang.reflect.Method.invoke(Native Method) | at |org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB |eanDispat |cher.java:284) | at |org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) | at |org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContr |oller.jav |a:867) | at $Proxy0.start(Unknown Source) | at |org.jboss.system.ServiceController.start(ServiceController.java:341) | at java.lang.reflect.Method.invoke(Native Method) | at |org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB |eanDispat |cher.java:284) | at |org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) | at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) | at $Proxy3.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:281) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:665) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:507) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:452) | at java.lang.reflect.Method.invoke(Native Method) | at |org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB |eanDispat |cher.java:284) | at |org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:320) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:218) | at org.jboss.Main.boot(Main.java:142) | at org.jboss.Main$1.run(Main.java:375) | at java.lang.Thread.run(Thread.java:484) | |"Thread-35" prio=5 tid=0xb7b6100 nid=0x12a waiting for monitor entry |[0xb8ef000..0xb8efdc0] | at java.lang.ClassLoader.loadClass(ClassLoader.java:286) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedCla |ssLoader. |java:180) | at |org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoade |rReposito |ry.java:178) | at |org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoade |r.java:21 |7) | at java.lang.ClassLoader.loadClass(ClassLoader.java:253) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) | at |com.sknt.picasso.lib.STMessagePublisher.initJMS(STMessagePublisher.java:57) | at |com.sknt.picasso.lib.STMessagePublisher.<init>(STMessagePublisher.java:33) | at |com.sknt.picasso.market.ServerMarketDataSetPublisher.<init>(ServerM |arketData |SetPublisher.java:20) | at |com.sknt.picasso.lib.PicassoServerEnv.startJMS(PicassoServerEnv.java:219) | at |com.sknt.picasso.lib.PicassoServerEnv$TestJMS.run(PicassoServerEnv. |java:770) | at java.lang.Thread.run(Thread.java:484) | |I hope this helps...oh, and by the way, I think JBoss is phenomenal. | |Alarik | |> -----Original Message----- |> From: marc fleury [mailto:[EMAIL PROTECTED]] |> Sent: Monday, April 22, 2002 3:08 PM |> To: Alarik Myrin; [EMAIL PROTECTED] |> Subject: RE: [JBoss-dev] Re: [JBoss-user] Save the Rabbit Hole |> UnifiedClassLoaders - Vote and Argue at the BugParade! - Spread the |> Word! |> |> |> Alarik |> |> We will work on a workaround. Bear with us. It would be useful if you |> describe your "deadlocks" that you get all the time. This |> problem seems to |> be very random and not "reproduceable" by definition. So are |you sure you |> are looking at "loading" problems as opposed to your own |> application? sorry |> to be direct but we need to make sure... if you are sure then a detailed |> description of the problem would be VERY useful. |> |> marcf |> |> |> |-----Original Message----- |> |From: [EMAIL PROTECTED] |> |[mailto:[EMAIL PROTECTED]]On Behalf Of |> |Alarik Myrin |> |Sent: Monday, April 22, 2002 12:02 PM |> |To: [EMAIL PROTECTED] |> |Subject: Re: [JBoss-dev] Re: [JBoss-user] Save the Rabbit Hole |> |UnifiedClassLoaders - Vote and Argue at the BugParade! - Spread the |> |Word! |> | |> | |> |This is a copy of a post I made to the JBoss-Development Mirror |> |forum, but I |> |thought I'd send it out to the list, in case the important |> people who might |> |be able to answer the question below rely more on the list than |> the mirror: |> | |> |Just gave my 3 votes. |> | |> |Out of curiousity, assuming that Sun does nothing with this, or |> takes their |> |sweet time doing something about it, what is the plan from JBoss' |> |perspective? |> | |> |(A) Distribute a patched version of the JDK classloader |> |(B) delay the release of 3.0 |> |(C) modify 3.0 not to use the UnifiedClassLoader (or to use a modified |> |UnifiedClassLoader), or |> |(D) release as is and just live with the deadlocks. |> | |> |Currently, (D) for me would be a real showstopper, because I am |> getting the |> |deadlocks all the time. |> | |> |Just thought I'd ask... |> | |> |Alarik |> | |> | |> |_______________________________________________ |> |Jboss-development mailing list |> |[EMAIL PROTECTED] |> |https://lists.sourceforge.net/lists/listinfo/jboss-development |> |> | | |_______________________________________________ |Jboss-development mailing list |[EMAIL PROTECTED] |https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
