You might want to compare your UserCounterListener to the latest one
in Subversion. Fisheye will allow you to search for this class:

http://fisheye4.cenqua.com/browse/appfuse

Matt

On 2/27/07, Amin Lalji <[EMAIL PROTECTED]> wrote:

 Hey All,

 I have the following setup:

 I have Appfuse 1.9.4 (Acegi 1.0.2) running in a two node cluster formation
(with Session Replication enabled between each node).
 It seems that the following exception is thrown whenever the DeltaManager
(a tomcat clustering component) tries to notify either node of a session
variable change:

 DeltaManager.setAttribute(1327) | Session attribute event listener threw
exception
 java.lang.ClassCastException: java.lang.String

 This occurs whenever the following is called (either in
UserCounterListener, or my own SiteVisitListener):

 User user = (User) ctx.getAuthentication().getPrincipal();

 In a non-clustered deployment, the code works with no issues...

 Any ideas?


 Thanks



--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to