geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2451) Deployment fails
Date Fri, 21 Nov 2008 18:45:44 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649743#action_12649743
] 

Donald Woods commented on GERONIMO-2451:
----------------------------------------

Can you access the remote Jetty web server directly (not going through a proxy or HTTP mod-rewrite)?
 Is the remote server using the default :8080/8443 ports?  Is the hostname "linda" a static
IP address or defined in the hosts file on each machine?
BTW - Remote deploy also accesses the /remote-deploy servlet on the target machine to upload
the app being deployed, whereas list-modules does not need to access the web container....


> Deployment fails
> ----------------
>
>                 Key: GERONIMO-2451
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2451
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.1.1, 2.1.3
>         Environment: Windows XP Professional, Sun JDK 1.4.2_12, geronimo-tomcat-j2ee-1.1.1.zip
>            Reporter: Ali Sadik Kumlali
>             Fix For: 2.1.4, 2.2
>
>
> Hi,
> 1) When I deploy the sample application's[1] jms-resource-plan.xml from Geronimo Server
Console, I get "Deployer operation failed" exception [2]. When I deploy it from the command
line[3] it is deployed without any problem. 
> 2) When I  deploy sample's ear file (Order.ear) I get the same error [4]. But this time,
deploying from command line[5] doesn't work either[6] 
> 3) When I extract ejb jar (OrderEjb.jar) from the ear (Order.ear) and deploy it from
Geronimo Server Console, it works without a problem.
> I made some Googling and found a very similar problem[7] regarding 1.0 release which
was expected to be fixed in 1.1. I, in fact, didn't see this problem with 1.1.
> [1] http://cwiki.apache.org/confluence/display/GMOxDOC11/JMS+and+MDB+sample+application
> [2] 
> --------------------------------------------------------------------------------
> Deployer operation failed: Cound not open module file: D:\programs\geronimo\var\
> temp\geronimo-deployer25421.tmpdir\jms-resource-plan.xml
> org.apache.geronimo.common.DeploymentException: Cound not open module file: D:\p
> rograms\geronimo\var\temp\geronimo-deployer25421.tmpdir\jms-resource-plan.xml
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:221)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
> nvoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:852)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:106)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:60)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.util.zip.ZipException: error in opening zip file
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:111)
>         at java.util.jar.JarFile.<init>(JarFile.java:127)
>         at java.util.jar.JarFile.<init>(JarFile.java:92)
>         at org.apache.geronimo.deployment.util.DeploymentUtil.createJarFile(Depl
> oymentUtil.java:187)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:219)
>         ... 10 more
> [Fatal Error] :1:1: Content is not allowed in prolog.
> --------------------------------------------------------------------------------
> [3] java -jar deployer.jar --user system --password manager deploy c:\tmp\ge-activemq-rar-1.1.1.rar
c:\tmp\jms-resource-plan.xml
> [4] 
> --------------------------------------------------------------------------------
> Deployer operation failed: Invalid moduleFile: OrderEjb.jar
> org.apache.geronimo.common.DeploymentException: Invalid moduleFile: OrderEjb.jar
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARCo
> nfigBuilder.java:748)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARCo
> nfigBuilder.java:364)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPla
> n(EARConfigBuilder.java:263)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
> B$$38e56ec6.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
> $a8fb27a3.getDeploymentPlan(<generated>)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
> nvoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:852)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:106)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:60)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.util.zip.ZipException: The system cannot find the file specified
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:111)
>         at java.util.jar.JarFile.<init>(JarFile.java:127)
>         at java.util.jar.JarFile.<init>(JarFile.java:92)
>         at org.apache.geronimo.deployment.util.NestedJarFile.<init>(NestedJarFil
> e.java:44)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARCo
> nfigBuilder.java:746)
>         ... 22 more
> --------------------------------------------------------------------------------
> [5] java -jar deployer.jar --user system --password manager deploy c:\tmp\Order.ear
> [6] 
> --------------------------------------------------------------------------------
>     Error: Unable to distribute Order.ear: Invalid moduleFile:
>     OrderEjb.jar
>         The system cannot find the file specified
> --------------------------------------------------------------------------------
> [7] http://mail-archives.apache.org/mod_mbox/geronimo-user/200604.mbox/%3C74e15baa0604071143x161de984jcf77e8f95fbc8599@mail.gmail.com%3E

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message