Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 96034 invoked from network); 17 Dec 2008 20:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 20:17:09 -0000 Received: (qmail 9339 invoked by uid 500); 17 Dec 2008 20:17:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 9284 invoked by uid 500); 17 Dec 2008 20:17:17 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 9233 invoked by uid 99); 17 Dec 2008 20:17:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 12:17:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 20:17:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3AE2B234C422 for ; Wed, 17 Dec 2008 12:16:44 -0800 (PST) Message-ID: <2010945963.1229545004224.JavaMail.jira@brutus> Date: Wed, 17 Dec 2008 12:16:44 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2451) Deployment fails In-Reply-To: <2601182.1159565720804.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-2451: ----------------------------------- Fix Version/s: (was: 2.1.4) (was: 2.2) Verification Required Need further details from the user, since the Console deploys and local cmdline deploy works. Have you modified the default ports or hostnames in config-substitutions.properties or config.xml? Is there a firewall on the remote machine that blocks non-HTTP traffic? Have you changed the default Geronimo admin uid/pwd (system/manager) on the remote machine? > 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: Verification Required > > > 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() > 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.(ZipFile.java:111) > at java.util.jar.JarFile.(JarFile.java:127) > at java.util.jar.JarFile.(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() > 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() > 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() > 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.(ZipFile.java:111) > at java.util.jar.JarFile.(JarFile.java:127) > at java.util.jar.JarFile.(JarFile.java:92) > at org.apache.geronimo.deployment.util.NestedJarFile.(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.