2 Replies Latest reply on Jul 24, 2007 7:53 AM by Alex Ka

    Is Seam compatible with JBoss 4.2.1?

    None None Master

      I've been trying for two days to get a Seam app, with some very simple persistent EJB3 entities, to run within JBoss 4.2.1. Is this even possible? If anyone has an example of a .ear file that uses Seam that will run in JBoss 4.2.1 please let me know. I'm also trying to use Seam-gen. I'm making some progress but the resulting seam-genned app needs lots of work to run within JBoss 4.2.1. Right now I'm stuck getting a NullPointerException:

      jboss.j2ee:ear=myproject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3
      java.lang.NullPointerException
       at org.jboss.ejb.txtimer.DatabasePersistencePolicy.
      listTimerHandles(DatabasePersistencePolicy.java:165)


      Any ideas?


        • 1. Re: Is Seam compatible with JBoss 4.2.1?
          Markus Jais Newbie

          I tried several of the examples of the seam book (the one by Michael Yuan) on 4.2.1 without any problems.
          (with Java 6 on Suse Linux, but that shouldn't matter)

          you can find the examples here:
          http://www.michaelyuan.com/blog/seam-next-gen-web-framework


          Markus

          • 2. Re: Is Seam compatible with JBoss 4.2.1?
            Alex Ka Novice

            Yesterday I ported my seam application to JBoss AS 4.2.1GA. I have setup the libraries. I forgot to place my datasource (*-ds.xml) file in the deploy folder but that was easily fixed. So, no problems with me either...

            Here an excerpt from the log that I think matches yours:


            14:50:38,624 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=AuthApplication.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies:
            14:50:38,802 INFO [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
            14:50:38,876 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
            14:50:38,876 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=AuthApplication.ear,jar=jboss-seam.jar,name=EjbTransaction,service=EJB3 with dependencies:
            14:50:38,950 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbTransaction ejbName: EjbTransaction
            14:50:38,994 INFO [EJB3Deployer] Deployed: file:/D:/AuthApplication.ear/jboss-seam.jar
            14:50:38,994 INFO [TomcatDeployer] deploy, ctxPath=/AuthWebApp, warUrl=file:/D:/AuthApplication.ear/AuthWebApp.war/