5 Replies Latest reply on Aug 18, 2009 9:23 AM by alesj

    simple: bean name of ejb local in inject tag

    jjfraney

      0Sorry for the simple question. I think its too simple to show up on searches of this forum.

      I use the jndi name of an ejb for the bean attribute of the inject tag and am not successful. What am I not understanding correctly?

      Here is the log from AS when the ejb is deployed:

      2009-08-15 17:44:49,087 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: engine-beans.jar
      2009-08-15 17:44:49,089 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=engine-beans.jar,name=GooGooEngine,service=EJB3
      2009-08-15 17:44:49,089 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/remote
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:com.gc.bluejay.beans.EngineLocal
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/local-com.gc.bluejay.beans.EngineLocal
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/local
      2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=engine-beans.jar,name=GooGooEngine,service=EJB3) to K
      ernelDeployment of: engine-beans.jar
      


      Here is the segment from my jboss-beans.xml file:

      <inspect bean="GooGooEngine/local"/>
      



      This is the error that shows in the AS server.log:
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      DEPLOYMENTS MISSING DEPENDENCIES:
       Deployment "HWService" is missing the following dependencies:
       Dependency "GooGooEngine/local" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'GooGooEngine/local' **")
      
      DEPLOYMENTS IN ERROR:
       Deployment "GooGooEngine/local" is in error due to the following reason(s): ** NOT FOUND Depends on 'GooGooEngine/local' **
      
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      


      Thanks.