  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - NullPointerException When Re-joining a Cluster | - NullPointerException When Re-joining a Cluster 2007-08-08 - By waynebaylor
Back I'm running JBossAS 4.2.0GA and using the farm-service.
I have clustered two app. servers and the farming is working for the most part, but I get a NPE when the following sequence happens:
1) Kill one of the servers manually (server A). 2) Manually remove all archives in the farm/ dir of server A. 3) Restart server A 4) server A pulls deployments 5) server A attempts to deploy, gets NPE
Here's a partial stack trace from the log:
anonymous wrote : 2007-08-08 14:50:33,372 INFO [org.jboss.ejb3.EJBContainer] STOPPED EJB: cluster1.bean.HelloWorldBean ejbName: HelloWorldBean | 2007-08-08 14:50:33,387 DEBUG [org.jboss.ejb3.stateless .StatelessDelegateWrapper] Starting failed jboss.j2ee:ear=Cluster1.ear,jar=ejb .jar,name=HelloWorldBean,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 (Method.java:585) | 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 (MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt (MBeanProxyExt.java:210) | at $Proxy30.listTimerHandles(Unknown Source)
Any idea what's causing this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072195#4072195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072195 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |