Mantis - Resin
Viewing Issue Advanced Details
1543 major sometimes 01-05-07 23:50 04-05-07 15:38
lschumacher  
ferg  
normal  
closed 3.0.19  
fixed  
none    
none 3.1.1  
0001543: Deadlock between EnvironmentMBeanServer and MBeanView
Thread t@89: (state = BLOCKED)
 - com.caucho.jmx.EnvironmentMBeanServer.getContext(java.lang.ClassLoader) @bci=7, line=103 (Interpreted frame)
 - com.caucho.jmx.MBeanView.getParentView() @bci=20, line=81 (Interpreted frame)
 - com.caucho.jmx.MBeanView.getMBean(javax.management.ObjectName) @bci=39, line=361 (Interpreted frame)
 - com.caucho.jmx.MBeanView.getMBean(javax.management.ObjectName) @bci=52, line=364 (Interpreted frame)
 - com.caucho.jmx.AbstractMBeanServer.getMBean(javax.management.ObjectName) @bci=5, line=1057 (Interpreted frame)
 - com.caucho.jmx.AbstractMBeanServer.getAttribute(javax.management.ObjectName, java.lang.String) @bci=2, line=640 (Interpreted frame)
 - monitor.hub.service.ServerImpl$RIRetriever.run() @bci=43, line=128 (Interpreted frame)
 - java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=417 (Interpreted frame)
 - java.util.concurrent.FutureTask$Sync.innerRunAndReset() @bci=22, line=280 (Interpreted frame)
 - java.util.concurrent.FutureTask.runAndReset() @bci=4, line=135 (Interpreted frame)
 - java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask) @bci=1, line=65 (Interpreted frame)
 - java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic() @bci=1, line=142 (Interpreted frame)
 - java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run() @bci=8, line=166 (Interpreted frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.runTask(java.lang.Runnable) @bci=44, line=650 (Compiled frame)
 - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=28, line=675 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=595 (Interpreted frame)


vs. another thread:

Thread t@1: (state = BLOCKED)
 - com.caucho.jmx.MBeanView.add(javax.management.ObjectName, com.caucho.jmx.MBeanWrapper, boolean) @bci=8, line=315 (Interpreted frame)
 - com.caucho.jmx.MBeanContext.addMBean(javax.management.ObjectName, com.caucho.jmx.MBeanWrapper) @bci=161, line=384 (Compiled frame)
 - com.caucho.jmx.MBeanContext.registerMBean(com.caucho.jmx.MBeanWrapper, javax.management.ObjectName) @bci=101, line=248 (Interpreted frame)
 - com.caucho.jmx.EnvironmentMBeanServer.getContext(java.lang.ClassLoader) @bci=124, line=129 (Interpreted frame)
 - com.caucho.jmx.Jmx.setContextProperties(java.util.Map, java.lang.ClassLoader) @bci=10, line=159 (Interpreted frame)
 - com.caucho.server.deploy.EnvironmentDeployController.configureInstance(com.caucho.server.deploy.EnvironmentDeployInstance) @bci=132, line=423 (Interpreted frame)
 - com.caucho.server.deploy.EnvironmentDeployController.configureInstance(com.caucho.server.deploy.DeployInstance) @bci=5, line=80 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.startImpl() @bci=157, line=619 (Interpreted frame)
 - com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(com.caucho.server.deploy.DeployController) @bci=1, line=72 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.startOnInit() @bci=38, line=509 (Interpreted frame)
 - com.caucho.server.deploy.DeployContainer.start() @bci=124, line=158 (Interpreted frame)
 - com.caucho.server.webapp.ApplicationContainer.start() @bci=15, line=652 (Interpreted frame)
 - com.caucho.server.host.Host.start() @bci=87, line=385 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.startImpl() @bci=161, line=621 (Interpreted frame)
 - com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(com.caucho.server.deploy.DeployController) @bci=1, line=72 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.startOnInit() @bci=38, line=509 (Interpreted frame)
 - com.caucho.server.deploy.DeployContainer.start() @bci=124, line=158 (Interpreted frame)
 - com.caucho.server.host.HostContainer.start() @bci=30, line=501 (Interpreted frame)
 - com.caucho.server.resin.ServletServer.start() @bci=462, line=977 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.startImpl() @bci=161, line=621 (Interpreted frame)
 - com.caucho.server.deploy.AbstractDeployControllerStrategy.start(com.caucho.server.deploy.DeployController) @bci=8, line=56 (Interpreted frame)
 - com.caucho.server.deploy.DeployController.start() @bci=5, line=517 (Interpreted frame)
 - com.caucho.server.resin.ResinServer.start() @bci=48, line=485 (Interpreted frame)
 - com.caucho.server.resin.Resin.init() @bci=570, line=342 (Interpreted frame)
this server never started up - it had to be killed. I have the full jstack out put if you need it.

There are no notes attached to this issue.