Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- 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 Source code of 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 Source code of 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 Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.jboss.mx.util.MBeanProxyExt Source code of 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

©2008 junlu.com - Jax Systems, LLC, U.S.A.