6 Replies Latest reply on Oct 2, 2008 2:24 AM by Rick Reumann

    JBOSS 5 (rev 74649) having EJB rmote injection issues

    Rick Vederman Newbie

      This problem does not exist in Beta4. I pulled down the trunk and built it to get around the file locking issues on redeploy in Beta4 which were real annoying.

      My stateless POJO has only the @Stateless annotation and the interface only has @Remote -- each of them has NO additional attributes. As I said, it works in Beta4, so can I assume it's a bug?

      If you go to http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/injection/EJBRemoteHandler.java/?revision=73523&r1=73523&r2=73522, this code shows where the warning is generated.

      Also, what's this "java.lang.IllegalStateException: Resolution should not happen via injection container" error at the end?

      Any direction on this issue (including any work-arounds), would be appreciated. I am new to EJB3, but not EJB's/JNDI/CORBA, etc.

      tia, Rick
      Here is the log:

      03:38:17,540 INFO [STDOUT] ======> Creating interceptor metadata bridge
      03:38:18,130 INFO [JBossASKernel] Created KernelDeployment for: EJB3TestEJB.jar
      03:38:18,137 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=EJB3Test.ear,jar=EJB3TestEJB.jar,name=CoverageWCBean,service=EJB3
      03:38:18,138 INFO [JBossASKernel] with dependencies:
      03:38:18,138 INFO [JBossASKernel] and demands:
      03:38:18,138 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
      03:38:18,138 INFO [JBossASKernel] and supplies:
      03:38:18,138 INFO [JBossASKernel] jndi:CoverageWCBean
      03:38:18,139 INFO [JBossASKernel] jndi:CoverageWCBean/remote
      03:38:18,139 INFO [JBossASKernel] jndi:CoverageWCBean/remote-ic.poc.wc.CoverageWC
      03:38:18,139 INFO [JBossASKernel] Class:ic.poc.wc.CoverageWC
      03:38:18,139 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=EJB3Test.ear,jar=EJB3TestEJB.jar,name=CoverageWCBean,service=EJB3) to KernelDeployment of: EJB3TestEJB.jar
      03:38:18,988 INFO [TomcatDeployment] deploy, ctxPath=/EJB3TestWeb, vfsUrl=EJB3Test.ear/EJB3TestWeb.war
      03:38:19,147 WARN [EJBRemoteHandler] EJBTHREE-1289: Using legacy EjbEncInjector, because mappedName for enc "env/CoverageWCBean", field "wc" is null (container.environmentRefGroup.annotatedEjbReferences = [])
      03:38:19,190 ERROR [TomcatDeployment] ENC setup failed
      java.lang.IllegalStateException: Resolution should not happen via injection container
       at org.jboss.web.tomcat.service.TomcatInjectionContainer.getEjbJndiName(TomcatInjectionContainer.java:456)
       at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:80)
       at org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:268)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:515)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
       at $Proxy35.start(Unknown Source)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:271)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:595)
      03:38:19,194 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/EJB3TestWeb state=Create mode=Manual requiredState=Installed
      org.jboss.deployers.spi.DeploymentException: URL file:/home/maloney/ejb3work/jboss-5.0.0.CR1/server/default/tmp/deploy/EJB3TestWeb47080-exp.war/ deployment failed
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:351)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
       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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
       at $Proxy35.start(Unknown Source)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:271)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Resolution should not happen via injection container
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:538)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
       ... 51 more
      Caused by: java.lang.IllegalStateException: Resolution should not happen via injection container
       at org.jboss.web.tomcat.service.TomcatInjectionContainer.getEjbJndiName(TomcatInjectionContainer.java:456)
       at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:80)
       at org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:268)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:515)
       ... 54 more
      03:38:19,198 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
      03:38:19,507 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-context.war
      03:38:19,590 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
      03:38:19,645 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      03:38:19,688 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
      03:38:20,317 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      03:38:21,127 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
      03:38:21,189 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      03:38:21,192 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      03:38:21,193 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
      03:38:21,205 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
      03:38:21,205 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
      03:38:21,206 INFO [JobStoreCMT] JobStoreCMT initialized.
      03:38:21,206 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
      03:38:21,207 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      03:38:21,216 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
      03:38:21,220 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
      03:38:21,220 INFO [JobStoreCMT] Recovery complete.
      03:38:21,220 INFO [JobStoreCMT] Removed 0 'complete' triggers.
      03:38:21,220 INFO [JobStoreCMT] Removed 0 stale fired job entries.
      03:38:21,225 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
      03:38:21,508 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
      03:38:21,869 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      03:38:21,869 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@17b5f00 started
      03:38:21,892 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      03:38:21,894 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      03:38:21,895 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      03:38:21,896 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      03:38:21,897 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      03:38:21,897 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@fccc53 started
      03:38:21,902 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      03:38:21,902 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@13639a5 started
      03:38:21,904 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      03:38:22,258 INFO [EJBContainer] STARTED EJB: ic.poc.wc.CoverageWCBean ejbName: CoverageWCBean
      03:38:22,593 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.web.deployment:war=/EJB3TestWeb -> java.lang.IllegalStateException: Resolution should not happen via injection container
      
      
      03:38:22,614 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      03:38:22,682 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      03:38:22,702 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806170259)] Started in 53s:228ms
      


        • 1. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
          jaikiran pai Master

           

          03:38:19,147 WARN [EJBRemoteHandler] EJBTHREE-1289: Using legacy EjbEncInjector, because mappedName
          for enc "env/CoverageWCBean", field "wc" is null (container.environmentRefGroup.annotatedEjbReferences = [])


          Post your EJB code.

          • 2. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
            Rick Vederman Newbie

            As I said, this worked in Beta4 and the approach is right out of the Manning EJB3 book.

            Interface:

            package ic.poc.wc;
            
            import javax.ejb.Remote;
            
            @Remote
            public interface CoverageWC {
             public int retrieveSubmission(int covSubmissionId);
            }


            Implementation:
            package ic.poc.wc;
            
            import javax.ejb.Stateless;
            
            @Stateless
            public class CoverageWCBean implements CoverageWC {
             public int retrieveSubmission(int covSubmissionId) {
             return 1;
             }
            }


            Usage:
            import java.io.IOException;
            import javax.servlet.ServletException;
            import javax.servlet.http.HttpServletRequest;
            import javax.servlet.http.HttpServletResponse;
            import javax.ejb.EJB;
            import ic.poc.wc.*;
            
             public class EJB3TestServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
             static final long serialVersionUID = 1L;
             @EJB
             private CoverageWC wc;
            
             public EJB3TestServlet() {
             super();
             }
            
             protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
             response.setContentType("text/plain");
             System.out.println(new java.util.Date()+"XXXXXXXEEEEEEEEEEEE");
             response.getOutputStream().println("Go !");
             response.getOutputStream().println(new java.util.Date()+"");
             response.getOutputStream().println(wc.retrieveSubmission(1));
             }
            
             protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
             // TODO Auto-generated method stub
             }
            }


            I did find a work-around...it required two things:
            1. Added 'mappedName="EJB3Test1/CoverageWCBean/remote"' to the @EJB annotation in the servlet.
            2. That then created another exception which required that I set CallByValue=true in the Naming service.

            Why are these required now?

            tia, Rick

            • 3. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
              Rick Reumann Newbie

              I'm curious on the status of this is well.

              Just using @EJB in a servlet does not seem to work. The bug report on this hasn't been updated that I can tell either.

              Thanks for any info.

              • 4. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
                Rick Reumann Newbie

                Sorry, I apologize. The @EJB annotation is most definitely working.



                • 5. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
                  Rick Reumann Newbie

                  crap. I give up maybe I spoke to soon again. If anyone is out there please confirm that this @EJB injection should work in a servlet (using RC2)

                  (Does JBoss cache things somewhere? I'm deleting my ear each time I do a deploy to make sure I get valid changes, but maybe something else is going on.)

                  I do have this warning in the logs, not sure if it somehow it's related to things at all:

                  13:59:02,066 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: net.learntechnology:archive=user-adminstration.ear for vfszip:/Users/rick/java/jboss-5.0.0.CR2/server/default/deploy/user-administration.ear use classloading metadata not loader repository config

                  • 6. Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
                    Rick Reumann Newbie

                    In case someone is here from an archive search, my issue that jaikiran solved was related to my web.xml web-app definition

                    See this post for the detailshttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179933#4179933