Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi All,
We are facing the same session invalid issues. I can see more than 5000 times this error popped up in application log.
we are using multi server configuration in production kindly find our environment details below
Coldfusion version:8,0,1,195765
Maximum timeout of session variable:59 mints
Timeout in web.xml:65
I understand that "Session is invalid" exception is happening when CF is trying to access the expired J2ee session. In other words j2ee session expires where as cf session is still alive.
But as per the above settings that can happen only if the cf session only extending and j2ee session is not.
Please let me know if you have any ideas.
Thanks in advance
Thanks,
Prasanna Venkatesan.S
Email:prasi.be@gmail.com
Copy link to clipboard
Copied
Prasanna, have you seen the issue that Tim mentions in his message here (http://forums.adobe.com/message/1002510#1002510), where he determined that his problem was being caused (despite all settings being "right") by his use of a tool that used the undocumented sessiontracker java object? He was saying that using that was in effect confusing the timeouts.
/charlie
Copy link to clipboard
Copied
Hi Charlie,
I have confirmed that we are not using any such classes in our product.
Only recent issue i can think about is, Our exchange integration
functionality (designed using cfexchange tag) started failing after renewal
of
SSL certificate of our OWA. We have added the new certificate to jvm
certificate store using keytool.exe solved this issue.
Couple of days after this we got bunch of "session invalid" exceptions. I am
not sure whether it is related to this.
By switching on the cf monitoring tool we noticed that there were more than
2000 active sessions which were not ended.
After restarting the JRUN those session were dropped out.
Also we were not able to reproduce this in our dev or preprod or internal
environment. In production also we were not able to reproduce this
consistently.
This issue is affecting the considerable amount of production of our
clients.
Please let us know if you have any clues. Thank you so much for your
reply.
Thanks,
Prasanna Venkatesan.S
Copy link to clipboard
Copied
Hi Prasanna, I really would not see CFEXCHANGE or certs having any impact on sessions.
It's good to see that you've used the Server Monitor to confirm the number of sessions that you have. Seeing that they have thousands of sessions can indeed be a surprise for many. Did that seem normal? As for a restart clearing them, that does make sense (since CF sessions are stored in memory for the CF process, which is wiped on a restart).
Finally, you say "This issue is affecting the considerable amount of production of our clients." The original poster in this thread was only observing them in his logs, and found them curious. I don't think it was hurting him. When you say it's hurting your users, in what way? Is it that their sessions timeout earlier than they should? And if so, are you POSITIVE that you're getting "session is invalid"? Because there can be other explanations, such as (simply) CF restarting, because again that causes loss of sessions.
Then, too, if you have implemented the new CF Security hotfix, that can be another cause for users losing sessions in certain circumstances (but I don't think it would result in the "session is invalid" message). Have you (or someone else there) applied that (http://www.adobe.com/support/security/bulletins/apsb11-04.html)? For more on the problem some are having, see the comment in Ray's blog entry about the hotfix:
http://www.coldfusionjedi.com/index.cfm/2011/2/8/Security-Bulletin-for-ColdFusion#c7E731FE4-9508-88B0-AE72320DC225F405
And for a solution to that problem, see this blog entry from an Adobe CF engineer:
http://shilpikm.blogspot.com/2011/02/security-hot-fix-update-for-coldfusion.html
But again, this may not be your problem at all, Prasanna. If it's not, and in that this is affecting your production users, I will note that I am available to help on an on-demand consulting basis, where I can join you in a remote desktop sharing session (using Adobe Connect, over the web, so no firewall holes need be opened nor userid's granted). If you may be interested, see the link in my URL. There may be things I'd see in working with you that you're not thinking to mention here. Totally your call. I'm obviously willing also to answer questions here in the forums.
/charlie arehart
charlie@carehart.org
Providing on-demand troubleshooting services for CF and CFBuilder
at http://www.carehart.org/consulting
Copy link to clipboard
Copied
Great thanks Charlie. I will forward this to my manager and will let you
know the updates.
Thanks,
Prasanna venkatesan.s
Find more inspiration, events, and resources on the new Adobe Community
Explore Now