[ http://jira.jboss.com/jira/browse/JBAS-575?page=history ]
Scott M Stark resolved JBAS-575:
--------------------------------
Resolution: Rejected
This is an obsolete jetty related issue.
> Servlet sessions not working with LocalStore-fallback
> -----------------------------------------------------
>
> Key: JBAS-575
> URL: http://jira.jboss.com/jira/browse/JBAS-575
> Project: JBoss Application Server
> Type: Bug
> Components: Web (Tomcat) service
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Scott M Stark
> Priority: Critical
>
>
> SourceForge Submitter: eivindt .
> I had a web application with a web.xml saying it was
> distributable. Not having set up any distributable
> storage in JBoss, this naturally caused an error
> message. The error message says that sessions will not
> be distributable, and that it's falling back to a
> in-memory local storage.
> Without the <distributable/>-tag in web.xml,
> HashSessionManager seems to be chosen for local
> in-memory storage. With <distributable/>,
> org.mortbay.j2ee.session.Manager is used, together with
> LocalStore in the same package. I guess this is to be
> expected, although it really had me baffled as to why
> sessions was working in another application, but not mine.
> Everything _seems_ to be working perfectly, but the
> session is always dropped and you get a new one.
> Interestingly, this also happens when I use
> getSession(false).
> I've traced the problem down to LocalStore. Aquiring a
> new session is done by newState(), finding an old
> session is done by loadState(). _Storing_ a session is
> done by storeState(). However, I cannot find anyone
> actually calling storeState(), and the session is never
> stored. Adding a call to storeState() in newState()
> fixed the problem for me, but I don't know if this is
> the preferred solution.
> Eivind
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development