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

Forrest Xia updated GERONIMO-4760:
----------------------------------

    Attachment: bank-ear-2.1.1.2.ear

sample application with ejb module

> Started ejb module cannot be stopped
> ------------------------------------
>
>                 Key: GERONIMO-4760
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4760
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>         Environment: Linux x86
> IBM Java 6
> 2.2 snapshot build 2009.07.16-15:10:04.515-0400
>            Reporter: Forrest Xia
>            Priority: Critical
>         Attachments: bank-ear-2.1.1.2.ear
>
>
> Steps:
> 1. deploy the attached sample app bank, which includes an EJB module
> 2. try to stop it in admin console
> 2. try to uninstall it
> Problem:
> 1. when trying to stop the app, an exception appears in system console as 
> follows:
> 2009-07-22 16:12:19,888 ERROR [GBeanInstance] Problem in doStop of 
> org.apache.geronimo.samples/bank-ear/2.1.1.2/car?J2EEApplication=org.apache.geronimo.samples/bank-ear/2.1.1.2/car,j2eeType=EJBModule,name=bank-ejb-2.1.1.2.jar
> java.lang.ClassCastException: 
> org.apache.geronimo.openejb.DeepBindableContext$ContextWrapper incompatible 
> with org.apache.openejb.core.ivm.naming.IvmContext
>       at 
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:897)
>       at 
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:784)
>       at 
> org.apache.geronimo.openejb.OpenEjbSystemGBean.removeEjbJar(OpenEjbSystemGBean.java:428)
>       at 
> org.apache.geronimo.openejb.EjbModuleImpl.stop(EjbModuleImpl.java:127)
>       at 
> org.apache.geronimo.openejb.EjbModuleImplGBean.doStop(EjbModuleImplGBean.java:43)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1111)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:340)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:189)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:181)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
>       at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.stopRecursive(KernelConfigurationManager.java:227)
>       at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.stop(KernelConfigurationManager.java:207)
>       at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.unloadConfiguration(SimpleConfigurationManager.java:702)
>       at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.unloadConfiguration(SimpleConfigurationManager.java:683)
>       ... more
> 2. After uninstalled it, if you want to redeploy it without restarting 
> server, you will encounter deployment error, that tells you the ejb module is 
> still running.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to