3 Replies Latest reply on May 11, 2010 7:07 PM by William Drai

    Weld and EJB3 seem broken on JBoss 6 M3

    William Drai Newbie

      I've just tried migrating an existing Weld + EJB3 application from JBoss 6 M2 to JBoss 6 M3.


      Everything worked correctly on M2, but when I try to deploy the app on M3, I get useless deployment error messages that don't give any clue on what the problem is. Here is the relevant part of the boot logs. Sorry if that is not enough information, I really don't have anything more (I've only removed redundant errors for all EJB3) or can anyone tell what kind of logs I could enable to get more info.


      Note that I've upgraded JBoss M3 to Weld 1.0.1 final and Weld-int 6beta11 following instructions in a previous post, but the problem was already present with the built-in Weld version.


      14:48:49,556 INFO  [Version] WELD-000900 1.0.1 (Final)
      ... Startup of EJB3
      ... Startup of Hibernate
      ... Binding of EJB3
      15:02:04,265 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=myapp.ear,jar=myapp.jar,name=ProjectServiceBean,service=EJB3
      15:02:04,279 INFO  [EJBContainer] STARTED EJB: com.myapp.services.ProjectServiceBean ejbName: ProjectServiceBean
      15:02:04,290 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
           myapp/ProjectServiceBean/local - EJB3.x Default Local Business Interface
           myapp/ProjectServiceBean/local-com.myapp.services.ProjectService - EJB3.x Local Business Interface
      
      15:02:04,369 INFO  [TomcatDeployment] deploy, ctxPath=/myapp
      15:02:11,279 WARN  [Servlet] WELD-000700 Not starting Weld/Servlet integration as Weld failed to initialize
      ...
      DEPLOYMENTS MISSING DEPENDENCIES:
      ... Lots of stuff
        Deployment "jboss.j2ee:ear=myapp.ear,jar=myapp.jar,name=ProjectServiceBean,service=EJB3" is missing the following dependencies:
          Dependency "jboss.ejb3:application=myapp,component=ProjectServiceBean,module=myapp,service=EjbEncFactory" (should be in state "Installed", but is actually in state "Described")
        Deployment "jboss.j2ee:ear=myapp.ear,jar=myapp.jar,name=ProjectServiceBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=myapp.ear,jar=myapp.jar,name=ProjectServiceBean,service=EJB3" (should be in state "Installed", but is actually in state "Instantiated")
        Deployment "vfs:///E:/Java/jboss-6.0.0.M3/server/default/deploy/myapp.ear_WBInjector" is missing the following dependencies:
          Dependency "vfs:///E:/Java/jboss-6.0.0.M3/server/default/deploy/myapp.ear_WeldBootstrapBean" (should be in state "Installed", but is actually in state "Create")
        Deployment "vfs:///E:/Java/jboss-6.0.0.M3/server/default/deploy/myapp.ear_WeldBootstrapBean" is missing the following dependencies: