java-8websphereejb-2.x

Using IBM WAS 8.5.5.9 and JAVA-8, but EJB 2.1 is not getting deployed giving error


Using IBM WAS 8.5.5.9 and JAVA-8, but EJB 2.1 is not getting deployed giving error.

failed with exception: com.ibm.ejs.container.EJBConfigurationException: Bean class 
    com.abc.def.EJSLocalStatelessEmployeeEjb_4333dc could not be found or loaded
at com.ibm.ws.metadata.ejb.EJBMDOrchestrator.loadGeneratedImplementationClasses    
    (EJBMDOrchestrator.java:4858)
at com.ibm.ws.metadata.ejb.EJBMDOrchestrator.finishBMDInitWithReferenceContext 
    (EJBMDOrchestrator.java:1076)

Please provide help, thanks.


Solution

  • @Guest is accurate. EJBDeploy in WAS 8.5.5.9 is not usable with Java 8. The limitation was documented here: https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/rtrb_ejbdeploy390.html

    The underlying library updates required to run EJBDeploy with Java 8 were too extensive and disruptive for a service stream. Full support with EJBDeploy and Java 8 are provided in the updated v9 of WebSphere Application Server.