dev@glassfish.java.net

Re: do ear files deploy?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 25 Feb 2009 16:06:38 -0500

Hi, Vince
    Just wanted to let you know I have just checked in the fix for
this. It should be available in tomorrow's nightly build.

- Hong

Vince Kraemer wrote:

> Good to hear.
>
> vbk
>
> Hong Zhang wrote:
>
>> Hi, Vince
>>
>>> I have attached the ear file.
>>
>>
>> I can reproduce the problem. It's the gfv3ee6.dpf which the code
>> tries to expand as a jar file and failed. I will look into this (we
>> should only expand the component modules) and let you know when I get
>> it fixed. For now, please workaround it by removing the gfv3ee6.dpf
>> from the ear.
>>
>> - Hong
>>
>>>
>>>
>>>> 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
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>