"[EMAIL PROTECTED]" wrote : It should not happen. Do you see any other errors during first deployment? As a matter of fact, I do. If I convert just a couple of beans to the new container configuration, I get:13:20:36,526 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ReceivableHome,service=EJB | java.lang.ClassCastException | at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.start(JDBCStoreManager2.java:172) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | ... I can provide the complete stack trace if that's not enough.
It is worth noting that I get this exception whether or not the entity bean in question is configured to use "cmp2.x jdbc2 pm". It seems like this bean fails to deploy if any other bean uses that container configuration. So I tried changing all of them, thinking maybe it was an all-or-nothing arrangement. The stack trace is different, but I still get a failure:13:48:53,480 ERROR [EjbModule] Initialization failed jboss.j2ee:module=ejbs.jar,service=EjbModule | java.lang.ClassCastException | at org.jboss.ejb.EjbModule.createEntityContainer(EjbModule.java:651) | at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:549) | at org.jboss.ejb.EjbModule.createService(EjbModule.java:330) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:328) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | ... What can I do to further diagnose the problem? All these beans deploy and function without trouble if I use either the default container configuration or the "instance per transaction" configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858417#3858417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858417 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
