1 Reply Latest reply on Sep 15, 2008 6:09 PM by jbossnoob

    Singleton ear deployment question?

    jbossnoob

      Hello,

      I have two ear deployments residing under the same /deploy directory. They have shared properties however one of them needs to be deployed as a HASingleton.

      I don't want just one or a few beans deployed as a HASingleton but the entire application.

      I have tried placing the ear into the deploy-hasingleton directory but it just explodes on startup dumping mass amounts of exceptions.

      I'm using AS 4.2.2 and JBoss Messaging 1.4.0 SP3.

      Any help/suggestions would be appreciated.

      Thanks.

        • 1. Re: Singleton ear deployment question?
          jbossnoob

          I tried placing the ear into the deploy-hasingleton directory but I keep getting these exceptions on all my ejbs at startup.

          13:17:00,991 WARN [ServiceController] Problem starting service jboss.j2ee:ear=x.ear,jar=x.jar,name=x,service=EJB3
          java.lang.NullPointerException
           at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java
          :165)