3 Replies Latest reply on Aug 12, 2013 2:26 AM by Wolf-Dieter Fink Branched from an earlier discussion.

    EJB2 entity bean deployment failure

    chandra sekaran Newbie

      Hi All,

       

      Can you provide me a doc or steps that you have done to configure ejb2 entities on jboss 7.1.

      I am deploying application ear which has several ejb jars and wars. My ejb jars could bind for session beans successfully. But my war failed due to the below error trace:

       

      02:18:46,952 ERROR [org.jboss.msc.service.fail94] MSC00001: Failed to start service jboss.deployment.subunit."spinnaker_im.ear"."tunnel-web.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."spinnaker_im.ear"."tunnel-web.war".INSTALL: Failed to process phase INSTALL of subdeployment "tunnel-web.war" of deployment "spinnaker_im.ear"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014543: No EJB found with interface of type 'com.liferay.portal.ejb.RoleLocalManagerHome' and name 'com_liferay_portal_ejb_RoleLocalManager' for binding java:module/env/ejb/liferay/RoleLocalManagerHome

          at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)

          at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:227)

          at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:118)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

       

      My web.xml has the following entries:

      <web-app>

      ...

          <ejb-local-ref>

              <ejb-ref-name>ejb/liferay/RoleLocalManagerHome</ejb-ref-name>

              <ejb-ref-type>Session</ejb-ref-type>

              <local-home>com.liferay.portal.ejb.RoleLocalManagerHome</local-home>

              <local>com.liferay.portal.ejb.RoleLocalManager</local>

              <ejb-link>com_liferay_portal_ejb_RoleLocalManager</ejb-link>

          </ejb-local-ref>

      </web-app>

       

      Could any of you provide me a solution how to fix this issue: