File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBoss deployment issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss deployment issues" Watch "JBoss deployment issues" New topic
Author

JBoss deployment issues

Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
I have several apps that deploy successfully to JBoss 5.1 but there is one app that will undeploy but not redeploy. Any ideas?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Please TellTheDetails: logs showing undeployment and the subsequent deployment would help; description of the application (WAR? EAR? other?), what technologies used such as Spring, JSF, Seam.

JBoss In Action
Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
All of the deployments are war files. There isn't an error message. Typically it will have the following description for undeploy:

Timestamp INFO [TomcatDeployment] undeploy, ctxPath=name

and the following description for redeploy:

[TomcatDeployment] deploy, ctxPath=name

For the only application that hangs is that it will undeploy but not redeploy, no errors. I got it to work for a little bit this afternoon but I'm now having the same trouble. Once the one application hangs, I try to deploy another app and that one doesn't do any undeploy/redeploy action. I'm not sure what hangs as I only added a sysout in a java file. Any help would be greatly appreciated.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9343
    
111

Try taking a thread dump http://community.jboss.org/wiki/ThreadDump when it hangs and see what's going on

[My Blog] [JavaRanch Journal]
Lydia Vaughan
Greenhorn

Joined: Jul 06, 2010
Posts: 14
Ok but still not sure what is causing it to undeploy and not redeploy. When I start JBoss 5 it deploys the app war along with the others but when I try to change something, do a build, it undeploys and won't redeploy. Below is what I'm seeing from the thread dump:

Full thread dump Java HotSpot(TM) Server VM (17.0-b17 mixed mode):

"http-127.0.0.1-8080-Acceptor-0" daemon prio=6 tid=0x3503b400 nid=0xcb4 runnable [0x44ddf000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1bdf9e38> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:310)
at java.lang.Thread.run(Thread.java:619)

"JBossLifeThread" prio=6 tid=0x35146400 nid=0xc5c in Object.wait() [0x44d8f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2f9b5730> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at org.jboss.bootstrap.AbstractServerImpl$LifeThread.run(AbstractServerImpl.java:866)
- locked <0x2f9b5730> (a java.lang.Object)

"JCA PoolFiller" prio=6 tid=0x350d7c00 nid=0x4dc in Object.wait() [0x44d3f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1c0d3f50> (a java.util.LinkedList)
at java.lang.Object.wait(Object.java:485)
at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:87)
- locked <0x1c0d3f50> (a java.util.LinkedList)
at java.lang.Thread.run(Thread.java:619)

"HSQLDB Timer @164cb94" daemon prio=6 tid=0x38f3ac00 nid=0x1794 in Object.wait() [0x44cef000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1bf14c40> (a org.hsqldb.lib.HsqlTimer$TaskQueue)
at org.hsqldb.lib.HsqlTimer$TaskQueue.park(Unknown Source)
- locked <0x1bf14c40> (a org.hsqldb.lib.HsqlTimer$TaskQueue)
at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
- locked <0x1bf14c40> (a org.hsqldb.lib.HsqlTimer$TaskQueue)
at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

"WorkManager(2)-1" daemon prio=6 tid=0x390df400 nid=0x11e0 waiting on condition [0x44c9f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x1bff0990> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:220)
at org.jboss.resource.adapter.mail.inflow.NewMsgsWorker.run(NewMsgsWorker.java:76)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

"AOPListner" daemon prio=6 tid=0x37436400 nid=0x1788 waiting on condition [0x44c4f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.jboss.console.plugins.AOPLister$RefreshPoller.run(AOPLister.java:898)

"ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon prio=6 tid=0x350a3c00 nid=0x1708 waiting on condition [0x44bff000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-4444" daemon prio=6 tid=0x3525d400 nid=0x1510 runnable [0x44baf000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1bba2308> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)

"PooledInvokerAcceptor#0-4445" prio=6 tid=0x357b0400 nid=0x1688 runnable [0x44b5f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1c0dee48> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.java:262)
at java.lang.Thread.run(Thread.java:619)

"Thread-9" prio=6 tid=0x3924ac00 nid=0xc08 in Object.wait() [0x44b0f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2f9d6e20> (a java.lang.Object)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doPeriodicWait(PeriodicRecovery.java:675)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:434)
- locked <0x2f9d6e20> (a java.lang.Object)

"Listener:4712" daemon prio=6 tid=0x38c6bc00 nid=0x1520 runnable [0x44abf000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1c0dfc60> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.arjuna.ats.internal.arjuna.recovery.Listener.run(Listener.java:118)

"Thread-8" daemon prio=6 tid=0x392b2c00 nid=0x16c0 waiting on condition [0x44a6f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor.run(ExpiredEntryMonitor.java:237)

"Thread-7" daemon prio=6 tid=0x38f1ac00 nid=0x944 in Object.wait() [0x44a1f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1c0e0250> (a java.util.LinkedList)
at java.lang.Object.wait(Object.java:485)
at com.arjuna.ats.arjuna.coordinator.TransactionReaper.waitForCancellations(TransactionReaper.java:504)
- locked <0x1c0e0250> (a java.util.LinkedList)
at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:74)

"Thread-6" daemon prio=6 tid=0x35e91400 nid=0x12d0 in Object.wait() [0x449cf000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1c0e0130> (a com.arjuna.ats.arjuna.coordinator.TransactionReaper)
at com.arjuna.ats.internal.arjuna.coordinator.ReaperThread.run(ReaperThread.java:98)
- locked <0x1c0e0130> (a com.arjuna.ats.arjuna.coordinator.TransactionReaper)

"Listener:4713" daemon prio=6 tid=0x38f42c00 nid=0x5b4 runnable [0x4497f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1c0e05e8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.arjuna.ats.internal.arjuna.recovery.Listener.run(Listener.java:118)

"AcceptorThread[ServerSocket[addr=/127.0.0.1,port=0,localport=4446]]" prio=6 tid=0x35360c00 nid=0x884 runnable [0x4492f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1bcf50a0> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.remoting.transport.socket.SocketServerInvoker.accept(SocketServerInvoker.java:1109)
at org.jboss.remoting.transport.socket.SocketServerInvoker.access$200(SocketServerInvoker.java:70)
at org.jboss.remoting.transport.socket.SocketServerInvoker$AcceptThread.run(SocketServerInvoker.java:1020)

"ServerSocketRefresh" daemon prio=6 tid=0x346d1400 nid=0x828 in Object.wait() [0x448df000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1bcf6d38> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at org.jboss.remoting.transport.socket.SocketServerInvoker$ServerSocketRefresh.run(SocketServerInvoker.java:844)
- locked <0x1bcf6d38> (a java.lang.Object)

"HDScanner" prio=6 tid=0x3e277400 nid=0x298 runnable [0x4488d000]
java.lang.Thread.State: RUNNABLE
at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
at java.io.File.isDirectory(File.java:754)
at sun.net.www.ParseUtil.fileToEncodedURL(ParseUtil.java:242)
at sun.security.provider.PolicyFile.canonicalizeCodebase(PolicyFile.java:1816)
at sun.security.provider.PolicyFile.access$700(PolicyFile.java:266)
at sun.security.provider.PolicyFile$7.run(PolicyFile.java:1262)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1258)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1205)
at org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.getProtectionDomain(VFSClassLoaderPolicy.java:658)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:547)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)
- locked <0x192098f8> (a org.jboss.classloader.spi.base.BaseClassLoader)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)
at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
- locked <0x2f018298> (a org.jboss.classloader.spi.base.BaseClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at javassist.bytecode.annotation.MemberValue.loadClass(MemberValue.java:51)
at javassist.bytecode.annotation.Annotation.toAnnotationType(Annotation.java:293)
at javassist.CtClassType.toAnnoType(CtClassType.java:587)
at javassist.CtClassType.toAnnotationType(CtClassType.java:570)
at javassist.CtBehavior.getParameterAnnotations(CtBehavior.java:235)
at javassist.CtBehavior.getAvailableParameterAnnotations(CtBehavior.java:220)
at org.jboss.deployers.plugins.annotations.GenericAnnotationResourceVisitor.handleCtMembers(GenericAnnotationResourceVisitor.java:237)
at org.jboss.deployers.plugins.annotations.GenericAnnotationResourceVisitor.handleCtClass(GenericAnnotationResourceVisitor.java:197)
at org.jboss.deployers.plugins.annotations.GenericAnnotationResourceVisitor.visit(GenericAnnotationResourceVisitor.java:102)
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264)
at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:361)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:376)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:376)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:376)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:376)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:376)
at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:306)
at org.jboss.virtual.VFS.visit(VFS.java:421)
at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:437)
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:101)
at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:160)
at org.jboss.deployers.vfs.plugins.annotations.FilteredAnnotationEnvironmentDeployer.visitModule(FilteredAnnotationEnvironmentDeployer.java:88)
at org.jboss.deployers.vfs.plugins.annotations.AnnotationEnvironmentDeployer.deploy(AnnotationEnvironmentDeployer.java:244)
at org.jboss.deployers.vfs.plugins.annotations.AnnotationEnvironmentDeployer.deploy(AnnotationEnvironmentDeployer.java:48)
at org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer.deploy(AbstractOptionalVFSRealDeployer.java:57)
at org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer.internalDeploy(AbstractOptionalRealDeployer.java:74)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
- locked <0x1c0e0928> (a org.jboss.system.server.profileservice.hotdeploy.HDScanner)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Connection(idle)" daemon prio=6 tid=0x34e0e400 nid=0x1664 waiting on condition [0x4483f000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x15664988> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

"RMI RenewClean-[127.0.0.1:1864]" daemon prio=6 tid=0x34f77400 nid=0x145c in Object.wait() [0x447ef000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1c0d3850> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x1c0d3850> (a java.lang.ref.ReferenceQueue$Lock)
at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
at java.lang.Thread.run(Thread.java:619)

"RMI Scheduler(0)" daemon prio=6 tid=0x37d9e400 nid=0x131c waiting on condition [0x4479f000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x15673c18> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Connection(idle)" daemon prio=6 tid=0x3c1c8400 nid=0x10a8 waiting on condition [0x4474f000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x15664988> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=6 tid=0x3b872400 nid=0xe94 runnable [0x3c69f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1c0d3c40> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-1090" daemon prio=6 tid=0x39437400 nid=0x9ac runnable [0x3c64f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1bddab30> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)

"SubscriptionWatchDog" prio=6 tid=0x36337c00 nid=0x82c waiting on condition [0x3c6ff000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager$WatchDog.run(SubscriptionManager.java:653)
at java.lang.Thread.run(Thread.java:619)

"JBoss System Threads(1)-2" daemon prio=6 tid=0x35eb9400 nid=0x14c runnable [0x385ff000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x1620a1f8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jnp.server.Main$AcceptHandler.run(Main.java:597)
at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

"GC Daemon" daemon prio=2 tid=0x34b81800 nid=0x1718 in Object.wait() [0x385af000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x155d0800> (a sun.misc.GC$LatencyLock)
at sun.misc.GC$Daemon.run(GC.java:100)
- locked <0x155d0800> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=6 tid=0x35384400 nid=0x1374 in Object.wait() [0x3855f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x155d0938> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x155d0938> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:333)
at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-1098" daemon prio=6 tid=0x356f0800 nid=0x6dc runnable [0x3850f000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x155d0ad8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)

"JBoss System Threads(1)-1" daemon prio=6 tid=0x35410400 nid=0x1538 runnable [0x384bf000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x14fee028> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.web.WebServer.run(WebServer.java:320)
at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

"Timer-Log4jService" daemon prio=6 tid=0x35881800 nid=0x113c in Object.wait() [0x361cf000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x14ffd2a0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x14ffd2a0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"ZipFile Lock Reaper" daemon prio=6 tid=0x346da800 nid=0x450 in Object.wait() [0x3497f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x144612f8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x144612f8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"Timer-0" daemon prio=6 tid=0x344f3400 nid=0xee0 in Object.wait() [0x3492f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x14461c60> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x14461c60> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=6 tid=0x002b7c00 nid=0x1638 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE

"Low Memory Detector" daemon prio=6 tid=0x33d81800 nid=0xdc runnable [0x00000000]
java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x33d7e400 nid=0x16f4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x33d79000 nid=0x1500 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x33d77800 nid=0x1234 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x33d76400 nid=0x1640 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x33d67400 nid=0x668 in Object.wait() [0x33fbf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1405bdf0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x1405bdf0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x33d62800 nid=0x14b4 in Object.wait() [0x33f6f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1405bda8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x1405bda8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x33d60000 nid=0x13f0 runnable

"GC task thread#0 (ParallelGC)" prio=6 tid=0x002bf400 nid=0x1134 runnable

"GC task thread#1 (ParallelGC)" prio=6 tid=0x33c90800 nid=0x123c runnable

"GC task thread#2 (ParallelGC)" prio=6 tid=0x33c92000 nid=0x894 runnable

"GC task thread#3 (ParallelGC)" prio=6 tid=0x33c93400 nid=0xba8 runnable

"VM Periodic Task Thread" prio=10 tid=0x33d8b800 nid=0x155c waiting on condition

JNI global references: 1689

Heap
PSYoungGen total 135808K, used 97665K [0x28f30000, 0x339d0000, 0x339d0000)
eden space 99136K, 72% used [0x28f30000,0x2d57a198,0x2f000000)
from space 36672K, 70% used [0x2f000000,0x30916458,0x313d0000)
to space 37760K, 0% used [0x314f0000,0x314f0000,0x339d0000)
PSOldGen total 251008K, used 152064K [0x139d0000, 0x22ef0000, 0x28f30000)
object space 251008K, 60% used [0x139d0000,0x1ce50000,0x22ef0000)
PSPermGen total 66432K, used 54756K [0x039d0000, 0x07ab0000, 0x139d0000)
object space 66432K, 82% used [0x039d0000,0x06f49280,0x07ab0000)
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Looks like the thread named HDScanner (about the middle of the listing, the one with the large stack trace) is in the middle of doing a deployment. If you wait a few seconds and do another thread dump, is that thread still at the same location? If it is, that could indicate some kind of bug which would need to be reported to the development team.

BTW, please don't post long text blocks like the thread dump - instead place the thread dump in a file and attach the file to the post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss deployment issues
 
Similar Threads
j_security_check fwd to original url
Free EJB Server
configure passivation time and session time out
third-party library classpath
websphere or weblogic