Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 3948 invoked from network); 7 Aug 2009 02:57:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 02:57:30 -0000 Received: (qmail 35390 invoked by uid 500); 7 Aug 2009 02:57:37 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35305 invoked by uid 500); 7 Aug 2009 02:57:37 -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 35297 invoked by uid 99); 7 Aug 2009 02:57:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 02:57:37 +0000 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; Fri, 07 Aug 2009 02:57:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 27ADA234C1EA for ; Thu, 6 Aug 2009 19:57:15 -0700 (PDT) Message-ID: <612663817.1249613835161.JavaMail.jira@brutus> Date: Thu, 6 Aug 2009 19:57:15 -0700 (PDT) From: "Forrest Xia (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-4787) EJB module cannot be removed cleanly if uninstalling an application with ejb modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org EJB module cannot be removed cleanly if uninstalling an application with ejb modules ------------------------------------------------------------------------------------ Key: GERONIMO-4787 URL: https://issues.apache.org/jira/browse/GERONIMO-4787 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: OpenEJB Affects Versions: 2.2 Environment: Geronimo build: 2009.08.06 Platform: any OS JDK: IBM JDK 6 Reporter: Forrest Xia Priority: Critical Steps: 1. get an installable daytrader sample 2. deploy it 3. undeploy it and then redeploy it Problem: this error appears on console output: 2009-08-07 09:47:40,034 ERROR [DeploymentPortlet] The application was not successfully started start of org.apache.geronimo.daytrader/daytrader/2.1.1.2/car failed org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.daytrader/daytrader/2.1.1.2/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2d8a8789.startConfiguration() at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67) at java.lang.Thread.run(Thread.java:735) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) ... 14 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.daytrader/daytrader/2.1.1.2/car failed to start due to the following reasons: The service EJBModule=dt-ejb.jar,J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=StatelessSessionBean,name=DirectSLSBBean did not start because org.apache.geronimo.daytrader/daytrader/2.1.1.2/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=EJBModule,name=dt-ejb.jar did not start. The service EJBModule=dt-ejb.jar,J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=StatelessSessionBean,name=TradeSLSBBean did not start because org.apache.geronimo.daytrader/daytrader/2.1.1.2/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=EJBModule,name=dt-ejb.jar did not start. The service EJBModule=dt-ejb.jar,J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=MessageDrivenBean,name=DTBroker3MDB did not start because org.apache.geronimo.daytrader/daytrader/2.1.1.2/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=EJBModule,name=dt-ejb.jar did not start. The service EJBModule=dt-ejb.jar,J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=MessageDrivenBean,name=DTStreamer3MDB did not start because org.apache.geronimo.daytrader/daytrader/2.1.1.2/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=EJBModule,name=dt-ejb.jar did not start. The service J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.1.1.2/car,j2eeType=EJBModule,name=dt-ejb.jar did not start because Creating application failed: /home/forrestxm/temp/g22ss/var/temp/geronimo-deploymentUtil450773663474228598.jar: Error deploying 'DTStreamer3MDB'. Exception: class java.lang.NullPointerException: null: null at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485) ... 16 more Another problem is, when starting geronimo, the ever disappeared problem happens again like this: Module 56/76 org.apache.geronimo.configs/uddi-tomcat/2.2-SNAPSHOT/car 2009-08-07 10:11:37,665 WARN [NamingContextListener] Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.