dev@glassfish.java.net

Re: do ear files deploy?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 23 Feb 2009 21:14:55 -0500

Hi, Vince
   I can deploy an ear with single war with no problem. Can you send me
your ear file for me to take a look?

   The temporary file was created in order to figure out the proper
archive handler for the subarchive, then to expand the archive, create
classloader etc..

- Hong

Vince Kraemer wrote:

> promoted build 37...
>
> vbk
>
> Vince Kraemer wrote:
>
>> I have a Java EE 5 ear file with a single web app inside.
>>
>> The ear does not have an application.xml file in it.
>>
>> When I try to use 'asadmin deploy <complete name of ear file>' I run
>> into this error message:
>>
>> > bin/asadmin deploy --upload=false
>> /export/home/vkraemer/NetBeansProjects/EnterpriseApplication182/dist/EnterpriseApplication182.ear
>>
>> remote failure: Error while expanding jar file : java.io.IOException:
>> error in opening zip file -- invalid zip file:
>> jar:/var/tmp/deploy2452004777351166463jar
>>
>> Command deploy failed.
>>
>>
>> If I directory deploy the app from NB 6.7 it appears to work...
>> I am very confused by the fact that asadmin is trying to open a file
>> in /var/tmp... I had set --upload to false. I guess the server is
>> trying to unzip the embedded war file?
>>
>> Thanks,
>> vbk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>