Well, copying jars over the existing installation did screw me up. After
copying the whole new dist and then replacing original server.xml and a
few apps-*.xml files with my own, things are now finally working fine.
I promise never ever to take shortcuts... until the next time I do ;-)
And just
Thanks Mel,
I had a brief look at the server.xml file and the SessionIdGenerator is
there. Actually I just copied the new jars over from the build (maybe
that screwed me up after all :-)
Does the order matter? I diffed my file against the file that comes with
Tomcat 3.3 CVS and there are no sign
Bojan,
This sounds like the same error I ran into a couple of
weeks ago. Do you have SessionIdGenerator enabled in
your server.xml file? Unfortunately, if you don't the
default behavior is to barf because it (the sid
generator) never gets started and so the first time a
jsp page or servlet tri
You were right on the money there. The SessionIdGenerator's method
sessionState never gets called... I'll have to look more closely into my
configuration.
Bojan
[EMAIL PROTECTED] wrote:
>
> Thanks Bojan,
>
> I'll try to find the problem.
>
> The SessionIdGenerator ( or another module that gen
Thanks Bojan,
I'll try to find the problem.
The SessionIdGenerator ( or another module that generates random ids
) should fill the id with random during ServerSession initialization.
session.setState( ... ) should notify all modules that a session object
was created ( or recycled ) and needs
Another silly reply to my own post...
I went a bit further with debugging and it seems that getNewSession()
method in SimpleSessionManager calls 'new ServerSession()' when this
happens. This is all fine. The id within ServerSession is 'new
MessageBytes()', which is also OK. That's why session.get
I'm not sure if this is something I'm doing... Anyway, latest Tomcat 3.3
from CVS gives me this:
2001-04-10 20:23:06 - JspFactoryImpl: Exception initializing page
context - java.lang.NullPointerException
at java.util.Hashtable.remove(Hashtable.java:421)
at
org.apache.tomcat.module