I have now redeplyed with the following log4j ConversionPattern:
%d{ABSOLUTE} %-5p [%c{1}] [%t] %m%n
I've started saving the ip of the user that creates a new session, and
then before returning the current mailuser from the session I do:
public MailUser getCurrentMailuser() {
String currentIp =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getRemoteAddr();
if(currentIp.equals(ip))
return currentMailuser;
log.error(Session.get().getId() + " " + Session.get().hashCode() + " "
+ currentIp + " M: " + currentMailuser != null ?
currentMailuser.getUsername() : "nomailuser");
throw new RuntimeException("Invalid session M: " +
currentMailuser.getUsername() + " " + currentIp + " / " + ip);
}
Will this be enough to get a clearer picture? Tips on what else I can do
to make it easier to debug? I'm not very familiar with log4j..
-- Edvin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]