Bug 751 - Clustered Web Applications Lead to NPEs
Summary: Clustered Web Applications Lead to NPEs
Status: CONFIRMED
Alias: None
Product: E3
Classification: Unclassified
Component: user (show other bugs)
Version: trunk
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Richard Harms
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 22:37 CST by Richard Harms
Modified: 2017-07-15 11:04 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Harms 2008-12-15 22:37:34 CST
When running in a cluster and a .war is undeployed, the UserVisitStatus cannot be retrieved because on undeployment they were removed by calling the .ear on other nodes, but the UserVisit is still active in user's cookies. Perhaps fix by allowing allowing the UserVisit to come back to life?

22:29:35,188 ERROR [[main]] Servlet.service() for servlet main threw exception
java.lang.NullPointerException
	at com.echothree.model.control.user.server.UserControl.createUserVisitCommand(UserControl.java:1051)
	at com.echothree.util.server.control.BaseCommand.run(BaseCommand.java:462)
	at com.echothree.control.user.user.server.UserBean.getUserSession(UserBean.java:183)
Comment 1 Richard Harms 2008-12-29 22:40:52 CST
There doesn't appear to be a fix for this currently. JBoss doesn't check to see if the war is still deployed on other nodes, and calls valueUnbound for all sessions, but leaves them in the session cache.