TemplateEmailException: Unable to find session for id

View: New views
2 Messages — Rating Filter:   Alert me  

TemplateEmailException: Unable to find session for id

by Matthew_Altman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have four managed Weblogic servers in a cluster behind Apache.
When attempting to send an email, the following exception is thrown:

**** Error      Fri Feb 29 10:49:32 MST 2008    1204307372326   /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-52/atg/userprofiling/PasswordRequestFormHandler        ---     atg.userprofiling.email.TemplateEmailException: Unable to find session for id HLFMWfzhK6HyhSqh5H9rLYLLpP8sd16nvSgJdJHyzW925vvhTncf!-824542368!1204307372295 though we believe this session was created by issuing the request http://int.domain.com:80/dyn/init-session

I've tried several things, such as updating atg/userprofiling/email/TemplateEmailSender to set siteHttpServerName to localhost for each instance. But no go.

Any suggestions?


Re: TemplateEmailException: Unable to find session for id

by Gustavo Recio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think your problem is that the session was created by a different server than the one that tried to send the email (at least I had the same problem with WebSphere).

If I have good memory, the solution I found was to override the configuration of each server (you know, in /ATG/ATG.../home/servers/localconfig...) for the TemplateEmailSender component, setting the properties siteHttpServerName and siteHttpServerPort to the IP and port of each WebLogic machine.

On Tuesday I will be able to check my solution to see if I'm not wrong. Anyway I hope this helps you

regards,
Gustavo
LightInTheBox - Buy quality products at wholesale price!