Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 95128 invoked from network); 20 Nov 2006 10:19:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 10:19:27 -0000 Received: (qmail 79937 invoked by uid 500); 20 Nov 2006 10:19:35 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 79910 invoked by uid 500); 20 Nov 2006 10:19:34 -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 79899 invoked by uid 99); 20 Nov 2006 10:19:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 02:19:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Mon, 20 Nov 2006 02:19:24 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81B447142CD for ; Mon, 20 Nov 2006 02:19:02 -0800 (PST) Message-ID: <27898615.1164017942513.JavaMail.jira@brutus> Date: Mon, 20 Nov 2006 02:19:02 -0800 (PST) From: "Rakesh Midha (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-2584) Hot deploy module/server restart, throws IllegalArgumentException if application deployed using hotdeployment In-Reply-To: <2046025.1164017823244.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 [ http://issues.apache.org/jira/browse/GERONIMO-2584?page=all ] Rakesh Midha reassigned GERONIMO-2584: -------------------------------------- Assignee: Rakesh Midha > Hot deploy module/server restart, throws IllegalArgumentException if application deployed using hotdeployment > ------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-2584 > URL: http://issues.apache.org/jira/browse/GERONIMO-2584 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Hot Deploy Dir > Affects Versions: 1.2 > Environment: Windows XP, but should be valid for all platforms > Reporter: Rakesh Midha > Assigned To: Rakesh Midha > Fix For: 1.2 > > > This is a problem similar to one reported in https://issues.apache.org/jira/browse/GERONIMO-2402, the server restart or hot-deploy module restart fails with followng error if in a previous run you deployed an application using hot deployment. > The exception trace is : > 00:54:43,008 ERROR [DirectoryMonitor] Unable to scan file C:\geronimo\geronimobu > ild\geronimo-tomcat-j2ee-1.2-SNAPSHOT\deploy\sampleHello during initialization > java.lang.IllegalArgumentException: Invalid id: sampleHello > at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:4 > 9) > at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.getDeployment > Time(DirectoryHotDeployer.java:216) > at org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(Direct > oryMonitor.java:233) > at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMoni > tor.java:206) > at java.lang.Thread.run(Thread.java:534) > 00:54:47,014 INFO [DirectoryHotDeployer] Deploying sampleHello > 00:54:51,350 WARN [TomcatModuleBuilder] Web application . does not contain a WE > B-INF/geronimo-web.xml deployment plan. This may or may not be a problem, depen > ding on whether you have things like resource references that need to be resolve > d. You can also give the deployer a separate deployment plan file on the comman > d line. > 00:54:51,841 ERROR [GBeanInstance] Problem in doFail of default/sampleHello/1163 > 964291070/war?J2EEApplication=null,j2eeType=WebModule,name=default/sampleHello/1 > 163964291070/war > java.lang.RuntimeException: java.lang.NullPointerException > at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContai > ner.java:339) > at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b07 > 3.invoke() > ... 31 more > 00:54:51,841 ERROR [GBeanInstanceState] Error while starting; GBean is now in th > e FAILED state: abstractName="default/sampleHello/1163964291070/war?J2EEApplicat > ion=null,j2eeType=WebModule,name=default/sampleHello/1163964291070/war" > java.lang.IllegalArgumentException: addChild: Child name '/sampleHello' is not > unique > at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase > .java:749) > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuratio > n default/sampleHello/1163964291070/war failed to start due to the following rea > sons: > The service J2EEApplication=null,j2eeType=WebModule,name=default/sampleHello/1 > 163964291070/war did not start because the doStart method threw an exception. > java.lang.IllegalArgumentException: addChild: Child name '/sampleHello' is not > unique > at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase > .java:749) > Steps to recreate: > 1. Start server > 2. Deploy sample application, by placing sampleApp folder in deploy directory > 3. Application will be deployed and runs fine. > 4. Restart server, or restart hot-deploy module > 5. The above mentioned exception is thrown. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira