4 Replies Latest reply on Jun 14, 2011 2:00 PM by Jason Porter

    Seam 3 EJB 3.1

    Krešimir Popović Newbie

      Hello,


      does Seam 3 supports EJB 3.1 ? For example @Singleton beans ?
      does Seam 2 supports EJB 3.1 ?

        • 1. Re: Seam 3 EJB 3.1
          Krešimir Popović Newbie
          <blockquote>
          _Krešimir Popović wrote on Apr 04, 2011 13:45:_<br/>

          Hello,

          does Seam 3 supports EJB 3.1 ? For example @Singleton beans ?
          does Seam 2 supports EJB 3.1 ?
          </blockquote>

          I ask this because I get this error when deploy @Singleton bean on JBoss Seam 2.2.1

          19:59:25,568 INFO  [AMFMessageFilter] Using configuration: {closeStreams=true, inputBufferSize=null, outputBufferSize=nu
          ll}
          19:59:25,606 INFO  [TomcatDeployment] deploy, ctxPath=/
          19:59:25,668 INFO  [service] Removing bootstrap log handlers
          19:59:25,909 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymen
          tException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

          DEPLOYMENTS MISSING DEPENDENCIES:
            Deployment "jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3,type=nointerface-view-jndi-binder" is mis
          sing the following dependencies:
              Dependency "jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3" (should be in state "Installed", but i
          s actually in state "** NOT FOUND Depends on 'jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3' **")
            Deployment "jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3_endpoint" is missing the following depend
          encies:
              Dependency "jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3" (should be in state "Installed", but i
          s actually in state "** NOT FOUND Depends on 'jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3' **")

          DEPLOYMENTS IN ERROR:
            Deployment "jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3" is in error due to the following reason(
          s): ** NOT FOUND Depends on 'jboss.j2ee:jar=PhCoreService.jar,name=SingletonTest,service=EJB3' **

                  at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
                  at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87)
          [:6.0.0.Final]
                  at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegis
          try.java:107) [:0.2.2]
                  at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootst
          rap.java:135) [:6.0.0.Final]
                  at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootst
          rap.java:56) [:6.0.0.Final]
                  at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap
          -impl-base.jar:2.1.0-alpha-5]
                  at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-boots
          trap-impl-base.jar:2.1.0-alpha-5]
                  at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

          Best Regards,
          Krešimir
          • 4. Re: Seam 3 EJB 3.1
            Jason Porter Master

            Could be a bug, could be a configuration issue. Don't know without more info.