I haven't looked at your code very carefully, but from my experience you can
get that sort of problem when using the jdbc-odbc bridge. A pure java
solution is preferable, your problemws will be easier to analyse.
Try printing out warnings of any errors that occur, rather than just
catching them. Try running the code twice outside of the jsp context.
I would be guessing that an error is occurring at some point during the
first run of the code, and that this is leaving the odbc driver in a fragile
state for the second time the code is run.
-----Original Message-----
From: Steiner, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 27, 2000 8:39 AM
To: [EMAIL PROTECTED]
Subject: Dr. Watson is attacking my computer
I am running JRun under Netscape Enterprise server in a Windows NT4.0
environment. I have an access database that I am attempting to connect to
for testing purposes before sending the application to our production
servers which are running Oracle. I can run the jsp once and it will
retrieve the information from the database and display it on the browser.
When I hit refresh, the good Dr. comes and shuts down the javaw.exe and I
get a connector Proxy error and have to restart JRun.
I am new to both Java and jsp, so please try not to laugh too hard when
viewing my code below. I would appreciate any helpful tips or suggestions
regarding this problem.
TIA
Jeff Steiner
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html