----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

What I have done is create a JavaBean that performs all the JDBC/ODBC
connectivity and then I call it using the useBean tag with application
scope: in this way the database connection can never be called repeatedly
causing the crash. I also intend to use this class to maintain efficient use
of multiple connections (I hope ) Yours...

-- 
Ricardo Gladwell, Web Developer
Demon Internet, Westhumble House,
Dorking Business Park, Dorking. RH4 1HJ
Tel: +44 (0)1306 732 356

> -----Original Message-----
> From: Steve Downey [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 06, 2000 3:15 PM
> To: Java Apache Users
> Subject: RE: java.exe terminal crash
> 
> Ricardo,
> 
> This is very similar to a problem I posted earlier.  You say 
> you manage to
> get the page (JSP) running and the first or second refresh 
> causes java.exe
> to fail.  I was running a servlet (not JSP) and did not get expected
> results, but a refresh did cause java.exe to die.
> 
> The similarity?  jdbc:odbc.  Another poster warned that this is flaky,
> especially going against MS-Access.  I got virtually 
> identical code to run
> in a java class outside JServ.
> 
> This is not much help but: see if you can run the db access 
> code outside of
> the servlet environment so you know your database access code 
> works.  Try
> running againt another db with jdbc through a means other 
> than odbc.  If
> both these work then you'll know that the jdbc:odbc with your 
> JVM doesn't
> want to work in JServ.
> 
> Good luck.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to