2 Replies Latest reply on Jul 18, 2011 4:42 AM by Michael Brinkmann

    Migration from AS 5.1.0: EJB 2.1 Entity Beans

    Michael Brinkmann Newbie

      Hello,

       

      thank you for your great work done implementing JBoss AS 7!

       

       

      I am trying to port our application from AS 5.1.0 to AS 7 and get the following error on deployment:

       

      09:39:52,481 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."xyz.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xyz.jar".PARSE: Failed to process phase PARSE of deployment "xyz.jar"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

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

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

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

      Caused by: java.lang.RuntimeException: <entity> element parsing hasn't yet been implemented

              at org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.parse(EnterpriseBeansMetaDataParser.java:67)

              at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parseEjbJarElements(EjbJarMetaDataParser.java:274)

              at org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parse(EjbJarMetaDataParser.java:142)

              at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitProcessor.deploy(EjbJarParsingDeploymentUnitProcessor.java:145)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

              ... 5 more

       

      Questions:

      - am I correct that EJB 2.1 entity-beans will be supported by AS 7.x in future?

      - if yes, is there a time-schedule?

       

      kind regards

      Michael