users@glassfish.java.net

Re: ejb: cant call any method from class containing timer after using endpo

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Feb 2009 02:19:32 PST

i think i know the cause. im trying to write login to a static variable in stateless bean. So when one of the endpoint goes down failover will not work.

But i cant use timer in stateful bean, how can i resolve this problem? I need to write login to a static variable to use it with database.
[Message sent by forum member 'freeq1986' (freeq1986)]

http://forums.java.net/jive/thread.jspa?messageID=330266