users@glassfish.java.net

Re: Glassfish 3.1b26: asadmin

From: <noreply_at_java.net>
Date: Wed, 03 Nov 2010 11:47:11 -0700

I can reproduce the same problem on 64 bit-Linux (Ubuntu 10.04, JDK 1.6.0_22,
Glassfish 3.1-b26, Hudson 1.383 from http://hudson-ci.org/latest/hudson.war).

In jvisualvm, I can see Glassfish is busy trying to deploy the WAR, but it
never finishes. Below is an excerpt from a thread dump, which may provide a
clue, but I have no idea what's going wrong.

Regards,

Harald

 

"admin-thread-pool-4848(2)" daemon prio=10 tid=0x00000000414b5000 nid=0x4535
runnable [0x00007f7c7f5f2000]    java.lang.Thread.State: RUNNABLE    
at java.lang.Object.<init>(Object.java:20)    
at java.util.zip.ZipFile.<init>(ZipFile.java:100)    
at java.util.jar.JarFile.<init>(JarFile.java:135)    
at java.util.jar.JarFile.<init>(JarFile.java:72)    
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)    
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)    
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)    
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
   
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
   
at java.net.JarURLConnection.getManifest(JarURLConnection.java:217)    
at
org.apache.jasper.runtime.TldScanner.addManifestClassPath(TldScanner.java:686)
   
at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:640)    
at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:295)    
at org.apache.jasper.runtime.TldScanner.onStartup(TldScanner.java:229)    
at
org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5423)
   
at
com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:557)
   
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5320)
    - locked <0x00007f7caf73cdb8> (a com.sun.enterprise.web.WebModule)
   
at com.sun.enterprise.web.WebModule.start(WebModule.java:497)     - locked
<0x00007f7caf73cdb8> (a com.sun.enterprise.web.WebModule)    
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
    - locked <0x00007f7ca2aa4130> (a java.util.LinkedHashMap)    
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
   
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
   
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934)
   
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1611)
   
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
   
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)    
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242)     -
locked <0x00007f7caf7b4200> (a org.glassfish.internal.data.ModuleInfo)    
at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:262)
   
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:429)
   
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:243)
   
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:351)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1079)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1256)
   
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1245)
   
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:396)
   
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:216)
   
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
   
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
   
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
   
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
   
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)    
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
   
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)    
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   
at java.lang.Thread.run(Thread.java:662)    

Locked ownable synchronizers:     - <0x00007f7ca94a4470> (a
java.util.concurrent.locks.ReentrantLock$NonfairSync)

 

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv]]" daemon
prio=10 tid=0x00007f7c804dd800 nid=0x44e9 waiting for monitor entry
[0x00007f7c858fa000]    java.lang.Thread.State: BLOCKED (on object
monitor)    
at
org.apache.catalina.core.ContainerBase.findChildren(ContainerBase.java:987)
    - waiting to lock <0x00007f7ca2aa4130> (a java.util.LinkedHashMap)
   
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1795)
   
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1798)
   
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1777)
   
at java.lang.Thread.run(Thread.java:662)    

Locked ownable synchronizers:     - None

 

 


--
[Message sent by forum member 'hwellmann']
View Post: http://forums.java.net/node/711380