File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC driver problems on session expiration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC driver problems on session expiration" Watch "JDBC driver problems on session expiration" New topic

JDBC driver problems on session expiration

Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
Hello all,

I am having an intermittent problem with session expiration handling.

First, my background specs.
WSAD 5.1.1
Windows XP Pro
using WSAD testing server
using a DB2 backend
using jcc DB2 driver

Here is my scenario which happens maybe 5% of the time:
I log in to my webapp. I let the session expire. When I click on a link, it goes to my error screen and tells me the session is expired. So, I go back to the login(html) page which posts to the LoginVerification servlet. When it gets to line 305(lines 304 and 305 are below for reference), I get the following(labelled First Error below) in my console window. Upon seeing this, I type the url for my login page again and try to log in again. This action produces another error in my console window, labelled Second Error below. I then must restart the test server because the JVM core dumps.

Any ideas? I would hate to have this happen when the application goes live.



First Error

Second Error

[edited to disable smilies]
[ August 04, 2004: Message edited by: Jeanne Boyarsky ]

Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="" target="_blank" rel="nofollow"></a>
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
I think that cheeky little smiley's munched your connect string!


P.S. Sorry, but I haven't a clue.
I agree. Here's the link:
subject: JDBC driver problems on session expiration
It's not a secret anymore!