Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 29949 invoked from network); 23 Oct 2007 18:59:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 18:59:44 -0000 Received: (qmail 46112 invoked by uid 500); 23 Oct 2007 18:59:31 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 45573 invoked by uid 500); 23 Oct 2007 18:59:30 -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 45266 invoked by uid 99); 23 Oct 2007 18:59:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 11:59:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 18:59:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 27F5C714238 for ; Tue, 23 Oct 2007 11:58:51 -0700 (PDT) Message-ID: <10462051.1193165931160.JavaMail.jira@brutus> Date: Tue, 23 Oct 2007 11:58:51 -0700 (PDT) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3544) Offline deployer busted when adding sharedlib reference into offline-deployer-config.xml In-Reply-To: <24939270.1193067351766.JavaMail.jira@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-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537112 ] Vamsavardhana Reddy commented on GERONIMO-3544: ----------------------------------------------- How about we change the sharedlibs's dependency on rmi-naming to classes and add another dependency on j2ee-system? > Offline deployer busted when adding sharedlib reference into offline-deployer-config.xml > ---------------------------------------------------------------------------------------- > > Key: GERONIMO-3544 > URL: https://issues.apache.org/jira/browse/GERONIMO-3544 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.0.2 > Environment: Windows XP SP2 > Reporter: Aman Nanner > Assignee: Vamsavardhana Reddy > Fix For: 2.0.x, 2.1 > > Attachments: GERONIMO-3544.patch, offline-deployer-bug.zip > > > For EAR applications that have references shared libraries and depend upon the sharedlib config, the offline-deployer-config.xml needs to be modified to add the following line: > > This allows for the EAR application to be deployed offline. If this line were not to be added, the offline deployment would fail. > This was working in Geronimo 2.0.1. As of Geronimo 2.0.2, it seems that adding this line causes the offline deployment process to hang with the following error: > ---- > Exception in thread "main" java.lang.NullPointerException > at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:138) > at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:114) > at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) > at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > Deployer operation failed: Module Apache/TestingJMS/1/rar already exists in the server. Try to undeploy it first or use > the redeploy command. > org.apache.geronimo.common.DeploymentException: Module Apache/TestingJMS/1/rar already exists in the server. Try to und > eploy it first or use the redeploy command. > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126) > at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:595) > Completed with id Apache/TestingJMS/1/rar > ---- > Checking the repository and the config.xml shows that the deployment actually succeeds, but then the process hangs with the "already deployed" error above. This error is strange because the specified resource was NOT already deployed. > I've attached a very simple test case that can reproduce the error. > 1) Unzip the contents into your top-level Geronimo folder > 2) Modify the offline-deployer-config.xml to add the "" configuration. > 3) Execute offline deployment with the following command: > java -jar bin\deployer.jar --user system --password manager --offline deploy geronimo-activemq-ra-2.0.2.rar jms-dest.xml > This should reproduce the error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.