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
On Wed, Jul 2, 2008 at 10:35 AM, jklcom99 <[EMAIL PROTECTED]> wrote:
>
> I pulled the latest code and am still getting that same error.
> Here's the command being executed in my ant target:
>
> <target name="deployEar">
> <java jar="${deployDir}/bin/deployer.jar"
> fork="yes" jvm="${JAVA_HOME}\bin\java.exe"
> dir="${deployDir}/bin"
> failonerror="yes">
> <arg value="--user" />
> <arg value="*****" />
> <arg value="--password" />
> <arg value="*****" />
>
> <arg value="--offline" />
>
> <arg value="--verbose" />
> <arg value="deploy" />
> <arg value="--inPlace" />
> <arg value=""${apps.myAppEar}"" />
> </java>
> </target>
>
> And yes, C:\apps\myApp.ear\appmain.war is a directory.
>
> Thank you
>
>
>
> Jarek Gawor-2 wrote:
>>
>> I think I already fixed that today. Try with very latest code.
>>
>> If it doesn't, please make sure to include in your email the exact
>> command you are executing. Are you also specifying --inPlace option
>> and is C:\apps\myApp.ear\appmain.war is a directory?
>>
>> Jarek
>>
>> On Tue, Jul 1, 2008 at 6:37 PM, jklcom99 <[EMAIL PROTECTED]> wrote:
>>>
>>> I'm using today build, G2.1.2. When deploy offline, I'm getting this
>>> error
>>> (Access is denied):
>>>
>>> [java] Deployer operation failed: Failed to expand the module archive
>>> [java] org.apache.geronimo.common.DeploymentException: Failed to
>>> expand
>>> the module archive
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109)
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:68)
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
>>> [java] at
>>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
>>> [java] at
>>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
>>> [java] at
>>> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
>>> [java] at
>>> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
>>> [java] at
>>> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>>> [java] at
>>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>>> [java] at
>>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
>>> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>> [java] at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> [java] at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> [java] at java.lang.reflect.Method.invoke(Method.java:597)
>>> [java] at
>>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>> [java] at
>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>> [java] at
>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>>> [java] at
>>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>>> [java] at
>>> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>>> [java] at
>>> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>>> [java] at java.lang.Thread.run(Thread.java:619)
>>> [java] Caused by: java.io.FileNotFoundException:
>>> 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)
>>> [java] ... 22 more
>>> [java] Error: Unable to distribute myApp.ear: Failed to expand
>>> the
>>> [java] module archive
>>> [java]
>>> [java] org.apache.geronimo.common.DeploymentException: Failed to
>>> expand the
>>> [java] module archive
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:68)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
>>> [java]
>>> [java] at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>> [java]
>>> [java] at
>>> [java]
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> [java]
>>> [java] at
>>> [java]
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> [java]
>>> [java] at
>>> java.lang.reflect.Method.invoke(Method.java:597)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>>> [java]
>>> [java] at java.lang.Thread.run(Thread.java:619)
>>> [java]
>>> [java] Caused by: java.io.FileNotFoundException:
>>> [java] C:\apps\myApp.ear\appmain.war
>>> [java] (Access is denied)
>>> [java]
>>> [java] at java.util.zip.ZipFile.open(Native Method)
>>> [java]
>>> [java] at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>>> [java]
>>> [java] at java.util.jar.JarFile.<init>(JarFile.java:133)
>>> [java]
>>> [java] at java.util.jar.JarFile.<init>(JarFile.java:70)
>>> [java]
>>> [java] at
>>> [java]
>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103)
>>> [java]
>>> [java] ... 22 more
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18226797.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-tp18226797s134p18238911.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>