Whenever I make a change to one of my servlet source files while a user is
in the middle of a session, Orion appears to terminate the session and on
subsequent page requests gives the user a ClassCastException (e.g.
java.lang.ClassCastException: com.quicksweep.BrowseList
at /directory.jsp._jspService(/directory.jsp.java:32)
at com.evermind.server.http.EvermindHttpJspPage.service(JAX)
).
I assume I must just be doing something stupid with my configuration. In
an attempt to keep my configuration relatively simple, I'm just using the
default web app setup. I added the following to
"global-web-application.xml" :
<classpath path="c:\qs\sdev\src" /> (this is where my servlets and
beans are)
<classpath path="c:\qs\sdev\lib\mysql_comp.jar" />
<classpath path="c:\qs\sdev\lib\ewin-jdbc\ewin" />
I also tried taking out the first classpath entry and putting all my source
files in WEB-INF/classes/...
Also, I was wondering what the expected behavior is of doing a RESTART or
SHUTDOWN-then-startup. Should all the user sessions still be valid when the
server comes back up? They aren't for me, currently, but I assume that's
caused by the same problem as above.
If someone can enlighten me, I'd really appreciate it.
Thank you,
Brien Voorhees