It turns out that my solution mentioned above didn't work. I am using EJB3 and when I deploy my application with above settings, I got the following exceptions for each EJB I deploy:
| 19:54:33,504 INFO ejb3.JmxKernelAbstraction - installing MBean: jboss.j2ee:ear=app.ear,jar=app.jar, | name=AdminServiceBean,service=EJB3 with dependencies: | 19:54:33,514 WARN system.ServiceController - Problem starting service jboss.j2ee:ear=app.ear,jar=app.jar,name=AllocationServiceBean,service=EJB3 | java.lang.NullPointerException | at org.jboss.ejb3.injection.ResourceHandler.loadFieldInjectors(ResourceHandler.java:283) | at org.jboss.ejb3.injection.ResourceHandler.loadFieldInjectors(ResourceHandler.java:271) | at org.jboss.ejb3.injection.ResourceHandler.loadInjectors(ResourceHandler.java:401) | at org.jboss.ejb3.injection.ResourceHandler.loadInjectors(ResourceHandler.java:381) | at org.jboss.ejb3.EJBContainer.resolveInjectors(EJBContainer.java:640) | at org.jboss.ejb3.EJBContainer.initializePool(EJBContainer.java:576) | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:507) | at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:82) | at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:80) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | | ...... | And of course the EAR failed to deploy. Any help is appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006127#4006127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006127 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
