Shalini U [
http://community.jboss.org/people/Shalini_Cool] created the discussion
"Resolution should not happen via injection container-jboss 5 for ejb3"
To view the discussion, visit:
http://community.jboss.org/message/547548#547548
--------------------------------------------------------------
Hi!
I'm trying to implement stateless session bean in ejb 3 by using the editor
netbeans6.8. It was working fine with Glassfish server version2. But, When I try to deploy
the same in jboss 5.1.0, I'm getting the exception as follows:
2010-06-07 10:48:59,483 ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment]
(main) ENC setup failed java.lang.IllegalStateException: Resolution should not happen via
injection container at
org.jboss.web.tomcat.service.TomcatInjectionContainer.getEjbJndiName(TomcatInjectionContainer.java:640)
at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:80) at
org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:482)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:471)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388) at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at
org.jboss.web.deployers.WebModule.start(WebModule.java:97) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at.........
What Changes I need to do to make it run through jboss 5.1.0? I'm new to ejb 3
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/547548#547548]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]