[ https://issues.apache.org/jira/browse/GERONIMO-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649652#action_12649652 ]
Jürgen Weber commented on GERONIMO-2451: ---------------------------------------- Problem still there with 2.1.3 D:\JMSJCA>D:\java\geronimo-jetty6-javaee5-2.1.3\bin\deploy --user system --password manager -host linda deploy MQMessageBean.jar openejb-jar.xml Using GERONIMO_BASE: D:\java\geronimo-jetty6-javaee5-2.1.3 Using GERONIMO_HOME: D:\java\geronimo-jetty6-javaee5-2.1.3 Using GERONIMO_TMPDIR: var\temp Using JRE_HOME: D:\jdk1.6.0_10\jre Uploading 2 file(s) to server Connection refused: connect Error: Unable to distribute MQMessageBean.jar: java.io.FileNotFoundException: D:/JMSJCA/MQMessageBean.jar (No such file or directory) D:/JMSJCA/MQMessageBean.jar (No such file or directory) D:\JMSJCA>dir MQMessageBean.jar Datenträger in Laufwerk D: ist Java Volumeseriennummer: 58CA-83F4 Verzeichnis von D:\JMSJCA 19.11.2008 19:58 3.671 MQMessageBean.jar 1 Datei(en) 3.671 Bytes 0 Verzeichnis(se), 51.428.167.680 Bytes frei > 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 > Environment: Windows XP Professional, Sun JDK 1.4.2_12, > geronimo-tomcat-j2ee-1.1.1.zip > Reporter: Ali Sadik Kumlali > > 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/[EMAIL > PROTECTED] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.