geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Date Wed, 02 Jul 2008 21:05:50 GMT
Ok, found the problem. You were deploying an ear while I was deploying
a war. War deployments worked fine but ear deployments were broken.
Anyway, committed a fix for that issue. Thanks.

Jarek

On Wed, Jul 2, 2008 at 3:11 PM, jklcom99 <jeff_k_lu@yahoo.com> wrote:
>
> I downloaded the latest build from 0702 2.1
> run the command like you were doing, got the same error with or without Ant.
>
> C:\RSSP\Dev\Cerberus\console>C:\Geronimo-2.1.2\bin\deploy --offline deploy
> --inPlace C:\apps\myApp.ear
> Using GERONIMO_BASE:   C:\Geronimo-2.1.2
> Using GERONIMO_HOME:   C:\Geronimo-2.1.2
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0\jre
> Deployer operation failed: Failed to expand the module archive
> org.apache.geronimo.common.DeploymentException: Failed to expand the module
> archive
>
> ....
>
> Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\appmain.war
> (Access is denied)
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>        at java.util.jar.JarFile.<init>(JarFile.java:133)
>        at java.util.jar.JarFile.<init>(JarFile.java:70)
>        at
> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServ
> ices(WARWebServiceFinder.java:109)
>        ... 22 more
>
>
>
> Jarek Gawor-2 wrote:
>>
>> I do not see that problem with the 0702 2.1 build. Here's what I'm doing:
>>
>> jgawor@homer:~/target>
>> 0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT/bin/deploy.sh --offline
>> deploy --inPlace
>> ~/development/branches/geronimo/2.1/testsuite/webservices-testsuite/jaxws-tests/jaxws-partial/target/jaxws-partial-2.1.2-SNAPSHOT
>> Using GERONIMO_BASE:
>> /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT
>> Using GERONIMO_HOME:
>> /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT
>> Using GERONIMO_TMPDIR: var/temp
>> Using JRE_HOME:        /home/jgawor/software/jdk1.5.0_12/jre
>>     Deployed JEE5/JAXWSPartial/1.0/war
>>     ....
>>
>> Maybe try the same without Ant and let me know how it goes. Also,
>> download latest 0702 build as it just got updated again.
>>
>> Jarek
>>
>> On Wed, Jul 2, 2008 at 12:10 PM, jklcom99 <jeff_k_lu@yahoo.com> wrote:
>>>
>>> I pulled it from the nightly build
>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080702
>>> The line number is different for
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109)
>>>
>>>
>>>
>>> Jarek Gawor-2 wrote:
>>>>
>>>> If you still see the following root exception with exactly the same
>>>> line numbers (especially in WARWebServiceFinder) then you do not have
>>>> the latest code.
>>>>
>>>> C:\apps\myApp.ear\appmain.war (Access is denied)
>>>>     [java]     at java.util.zip.ZipFile.open(Native Method)
>>>>     [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>>>>     [java]     at java.util.jar.JarFile.<init>(JarFile.java:133)
>>>>     [java]     at java.util.jar.JarFile.<init>(JarFile.java:70)
>>>>     [java]     at
>>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103)
>>>>
>>>> Jarek
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18241151.html
>>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18244680.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message