users@glassfish.java.net

Re: Deployment problem with a warfile.

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Thu, 24 Jan 2008 11:08:09 -0500

Also can you check if the original war and the uploaded war
(/tmp/s1astempdomain1server-2060868971/webonweb.war) are valid archives
by doing "jar xvf" on it?

ludo wrote:
> glassfish_at_javadesktop.org wrote:
>> We are running in to a deployment issue.
>> Any workaround is appreciated.
>>
>> JDK 1.6 U4 + GF V2 on Ubuntu
>> I also tried with JDK 1.6 U3 and it is the same result.
>>
>> Here is the command output:
>>
>> CLI171 Command deploy failed : Deploying application in domain
>> failed; Error expanding archive
>> /tmp/s1astempdomain1server-2060868971/webonweb.war; please see the
>> server log file for more information
>>
>> Here is the log from appserver.
>>
>> [#|2008-01-23T11:01:15.154-0800|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=14;_ThreadName=httpWorkerThread-4848-1;/tmp/s1astempdomain1server-2060868971/webonweb.war;|ADM1006:Uploading
>> the file to:[/tmp/s1astempdomain1server-2060868971/webonweb.war]|#]
>>
>> [#|2008-01-23T11:01:15.264-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=25;_ThreadName=Thread-35;_RequestID=e0cf4e72-2612-4aa4-b500-3fb2f5ddfed4;|Could
>> not expand entry META-INF/MANIFEST.MF into destination
>> /export/wowhome/glassfish/domains/domain1/applications/j2ee-modules/webonweb
>>
>> java.io.IOException: Error expanding archive
>> /tmp/s1astempdomain1server-2060868971/webonweb.war; please see the
>> server log file for more information
>> at
>> com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359)
>>
>> at
>> com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131)
>>
>> at
>> com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
>>
>> at
>> com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
>>
>> at
>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>>
>> at
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
>>
>> [Message sent by forum member 'pcmreddy' (pcmreddy)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=255512
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
> Can you check/send the content of META-INF/MANIFEST.MF in this war file?
> If you are using Nb, maybe you can run the verifier tool from the
> project popup menu to have more info about what could be wrong...
> Ludo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>