com.ibm.wsspi.injectionengine.InjectionException: The injection engine encountered an error injecting Employee into private com.ibm.ejb.EmployeeSessionLocal com.ibm.servlets.EmployeeSearch.employeeSession: com.ibm.wsspi.injectionengine.InjectionException: The com.ibm.ws.ejbcontainer.injection.factory.EJBLinkObjectFactory factory encountered a problem getting the object instance for the Reference:com.ibm.ejb.EmployeeSessionLocal binding object.

Coderanch | Miran Cvenkel | 3 years ago
  1. 0

    IBM RAD/sample/deployment assembly

    Coderanch | 3 years ago | Miran Cvenkel
    com.ibm.wsspi.injectionengine.InjectionException: The injection engine encountered an error injecting Employee into private com.ibm.ejb.EmployeeSessionLocal com.ibm.servlets.EmployeeSearch.employeeSession: com.ibm.wsspi.injectionengine.InjectionException: The com.ibm.ws.ejbcontainer.injection.factory.EJBLinkObjectFactory factory encountered a problem getting the object instance for the Reference:com.ibm.ejb.EmployeeSessionLocal binding object.
  2. 0

    WebSphere:WebSphere Application Server:Embeddable container with multiple maven projects - WebSphere Application Server Forum

    ibm.com | 1 year ago
    com.ibm.ejs.container.EJBNotFoundException: EJB w ith interface com.ing.crs.data.dao.ServiceMetricSummaryEJBLocal not present in a pplication embeddable at com.ibm.ws.ejbcontainer.injection.factory.EJBLinkObjectFactory.getObj ectInstance(EJBLinkObjectFactory.java:220) at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObjectInst ance(InjectionBinding.java:1212) at com.ibm.ws.injectionengine.processor.EJBInjectionBinding.getInjection ObjectInstance(EJBInjectionBinding.java:1170) at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(Inj ectionBinding.java:1091) at com.ibm.ws.injectionengine.processor.EJBInjectionBinding.getInjection Object(EJBInjectionBinding.java:1107) at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectableObject(In jectionBinding.java:1030) at com.ibm.wsspi.injectionengine.InjectionTarget.inject(InjectionTarget. java:118) at com.ibm.ws.injectionengine.AbstractInjectionEngine.inject(AbstractInj ectionEngine.java:1072) at com.ibm.ejs.container.SingletonBeanO.initialize(SingletonBeanO.java:3 78)

    Root Cause Analysis

    1. com.ibm.ejs.container.EJBNotFoundException

      EJB with interface com.ibm.ejb.EmployeeSessionLocal not present in application EmployeeWebEAR

      at com.ibm.ejs.container.HomeOfHomes.getHomeByInterface()
    2. com.ibm.ejs
      HomeOfHomes.getHomeByInterface
      1. com.ibm.ejs.container.HomeOfHomes.getHomeByInterface(HomeOfHomes.java:929)
      1 frame
    3. com.ibm.ws
      EJBInjectionBinding.getInjectionObject
      1. com.ibm.ws.ejbcontainer.injection.factory.EJBLinkObjectFactory.getObjectInstance(EJBLinkObjectFactory.java:261)
      2. com.ibm.ws.ejbcontainer.injection.factory.EJBLinkObjectFactory.getObjectInstance(EJBLinkObjectFactory.java:167)
      3. com.ibm.ws.injectionengine.processor.EJBInjectionBinding.getInjectionObject(EJBInjectionBinding.java:1181)
      3 frames
    4. com.ibm.wsspi
      InjectionTarget.inject
      1. com.ibm.wsspi.injectionengine.InjectionBinding.getInjectableObject(InjectionBinding.java:1003)
      2. com.ibm.wsspi.injectionengine.InjectionTarget.inject(InjectionTarget.java:110)
      2 frames
    5. com.ibm.ws
      WASAnnotationHelper.inject
      1. com.ibm.ws.injectionengine.AbstractInjectionEngine.inject(AbstractInjectionEngine.java:866)
      2. com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.inject(WASAnnotationHelper.java:373)
      2 frames
    6. WebSphere
      WSWebContainer.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.createTarget(ServletWrapperImpl.java:261)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper$1.run(ServletWrapper.java:1474)
      3. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      4. com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:1460)
      5. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:618)
      6. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
      7. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
      8. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032)
      9. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
      10. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
      11. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
      11 frames
    7. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
      1 frame
    8. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
      4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      6. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      7. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      7 frames
    9. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    10. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1690)
      1 frame