Start up jboss with the -Xdebug option to the JVM. It will then show the
locking. 

On Mon, 2002-04-22 at 21:13, marc fleury wrote:
> Unfortunately this VM doesn't show what object it locks on so I can't do the
> same analysis I did with Dave Smith's dump, Dave, what VM were you using???
> alarik please use the same if you can
> 
> I will try to code this solution tonight or tomorrow morning, I am kind of
> tired and down but I think I got this problem in my head,
> 
> marcf
> 
> 
> |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)
> |
> 
> 
> _______________________________________________
> 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

Reply via email to