[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying Hudson on JBoss5 beta4

gt4431b do-not-reply at jboss.com
Sun Mar 23 22:17:08 EDT 2008


Duh, I should have mentioned -- the server root context, jmx console etc. all comes up okay.  There is no hudson war deployed, or findable.  This is definitely a broken configuration somehow.

I tried your suggestion, with removing all hudson paraphenalia, stopping, starting, and redeploying hudson.war into the deploy of the running server, with the same results as yesterday.  It looks a little different from the one I posted yesterday, but the difference is because I posted a warfile rather than an unexploded war today.  I will post the trace at the bottom.

The message for deploying the war file itself is similar to the one I posted yesterday, but the severity is actually WARN (and yes, from server.log).  See below for the exact trace I got when trying to deploy to an already running server.

Also, given the error message "Error opening jar file" on the main hudson war (or jar, if I'm deploying the exploded version), this is not a minor "read-and-ignore" type error.

Trace:
2008-03-23 22:08:06,359 DEBUG [org.jboss.virtual.plugins.context.file.FileSystemContext] Error opening jar file: file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war reason=Error opening jar file: jar:file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war!/WEB-INF/lib/hudson-core-1.200.jar reason=error in opening zip file
2008-03-23 22:08:06,372 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] Add deployment: vfsfile:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war
2008-03-23 22:08:06,374 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] Scan failed
org.jboss.deployers.spi.DeploymentException: Error determining structure: hudson.war
	at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
	at org.jboss.deployers.vfs.plugins.structure.jar.JARStructure.determineStructure(JARStructure.java:152)
	at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:65)
	at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:194)
	at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:218)
	at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:743)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:280)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:237)
	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
	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:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: File cannot contain children: FileHandler at 15799662[path=hudson.war context=file:/opt/jboss-5.0.0.Beta4/server/default/deploy/ real=file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war]
	at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:361)
	at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.addChildren(AbstractStructureDeployer.java:217)
	at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.addAllChildren(AbstractStructureDeployer.java:198)
	at org.jboss.deployers.vfs.plugins.structure.jar.JARStructure.determineStructure(JARStructure.java:143)
	... 18 more


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138483#4138483

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138483



More information about the jboss-user mailing list