You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rex Wang (JIRA)" <ji...@apache.org> on 2009/08/20 03:53:14 UTC

[jira] Closed: (GERONIMO-4787) EJB module cannot be removed cleanly if uninstalling an application with ejb modules

     [ https://issues.apache.org/jira/browse/GERONIMO-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rex Wang closed GERONIMO-4787.
------------------------------

    Resolution: Fixed

duplicated.

> 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(<generated>)
> 	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.