|
| Apache Geronimo > Discussion Forums | User List | Dev List | Wiki | Issue Tracker |
|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
deploy-offline, Deployer operation failed: Failed to expand the module archiveI'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 |
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveI 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 <jeff_k_lu@...> 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. > > |
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveI 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
|
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveIf 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 <jeff_k_lu@...> 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 <jeff_k_lu@...> 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. > > |
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveI 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)
|
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveI 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@...> 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. > > |
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveI 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
|
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveOk, 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@...> 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@...> 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. > > |
|
|
Re: deploy-offline, Deployer operation failed: Failed to expand the module archiveCool, will the fix be in the next build?
|
