You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2009/07/22 10:37:15 UTC

[jira] Commented: (GERONIMO-4760) Started ejb module cannot be stopped

    [ https://issues.apache.org/jira/browse/GERONIMO-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734034#action_12734034 ] 

Ivan commented on GERONIMO-4760:
--------------------------------

Do you use the latest Geronimo-2.2 snapshot binary file?
This should be fixed a week ago.

> 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.


Re: [jira] Commented: (GERONIMO-4760) Started ejb module cannot be stopped

Posted by Rodger <et...@gmail.com>.
I meet the same problem in

geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip
<http://ce20.cn.ibm.com/geronimo_builds/geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip>
  17-Jul-2009 02:58   95M

It is latest build I can get. I'll test in the new build,if there is.

when stop the ejb,
ERROR [GBeanInstance] Problem in doStop of
org.apache.geronimo.samples/calculator-ejb/2.2.0/jar?J2EEApplication=null,j2eeType=EJBModule,name=org.apache.geronimo.samples/calculator-ejb/2.2.0/jar
java.lang.ClassCastException:
org.apache.geronimo.openejb.DeepBindableContext$ContextWrapper
incompatible with org.apache.openejb.core.ivm.naming.IvmContext