[jboss-user] [Clustering/JBoss] - Autodeploy EJBTrailblazer into cluster

loumaus do-not-reply at jboss.com
Thu Aug 9 08:53:06 EDT 2007


Working with JBoss 4.2.1.GA on a linux ubuntu
Downloaded latest Trailblazer

started first cluster node.
deployed EJB3Trail.ear into deploy/farm ... 
works perfectly

started second node
instance connects to the "cluster"
instance tries to grab EJB3Trail from cluster with the following information:

14:36:32,521 INFO  [FarmMemberService] **** pullNewDeployments ****
14:36:32,522 INFO  [ClusterFileTransfer] Start pull of file EJB3Trail.ear from cluster.
14:36:32,916 INFO  [ClusterFileTransfer] Finished cluster pull of file EJB3Trail.ear to EJB3Trail.ear
14:36:32,926 INFO  [EARDeployer] Init J2EE application: file:/data/home/jboss-dev/clusterA/p1/server/default/farm/EJB3Trail.ear
14:36:33,590 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
14:36:33,596 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail with dependencies:
14:36:33,597 INFO  [JmxKernelAbstraction]       jboss.jca:name=DefaultDS,service=DataSourceBinding
14:36:33,777 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
14:36:33,785 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=ApptransCalculator,service=EJB3 with dependencies:
14:36:33,786 INFO  [JmxKernelAbstraction]       persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
14:36:33,790 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
14:36:33,793 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=EntityCalculator,service=EJB3 with dependencies:
14:36:33,794 INFO  [JmxKernelAbstraction]       persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
14:36:33,797 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
14:36:33,797 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=QueryCalculator,service=EJB3 with dependencies:
14:36:33,797 INFO  [JmxKernelAbstraction]       persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
14:36:33,801 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
14:36:33,801 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=UpdateCalculator,service=EJB3 with dependencies:
14:36:33,801 INFO  [JmxKernelAbstraction]       persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
14:36:33,804 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.mdb.MDB
14:36:33,807 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=CalculatorMDB,service=EJB3 with dependencies:
14:36:33,807 INFO  [JmxKernelAbstraction]       jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=RecordManagerBean,service=EJB3
14:36:33,807 INFO  [JmxKernelAbstraction]       jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=StatelessCalculator,service=EJB3
14:36:33,811 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
14:36:33,811 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=RecordManagerBean,service=EJB3 with dependencies:
14:36:34,007 INFO  [EJBContainer] STARTED EJB: trail.injection.RecordManagerBean ejbName: RecordManagerBean
14:36:34,056 INFO  [EJBContainer] STOPPED EJB: trail.injection.RecordManagerBean ejbName: RecordManagerBean
14:36:34,063 WARN  [ServiceController] Problem starting service jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=RecordManagerBean,service=EJB3

java.lang.NullPointerException

        at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at $Proxy30.listTimerHandles(Unknown Source)

        at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)


has anyone run into this problem before ???

thanks for your help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072469#4072469

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072469



More information about the jboss-user mailing list