File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Crashing server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Crashing server?" Watch "Crashing server?" New topic

Crashing server?

Kevin Wright
Ranch Hand

Joined: Jul 10, 2001
Posts: 38
Hi -
I am developing an application where two things happen:
1. A static html form submits to the servlet, where the jdbc dbc bridge is used to input the information into a MSAccess Database. and...
2. I use javamail to fire an email notification at someone.
Fine, each thing seems to work well independently (There is a separate class for sending emails via static methods). When I add the email part of the class to the mix, I get the following:
<*********BEGIN ERROR MESSAGE****************************>
JAVA caused an invalid page fault in
module <unknown> at 0000:1f43b3f0.
EAX=077d105c CS=017f EIP=1f43b3f0 EFLGS=00010297
EBX=077d09b8 SS=0187 ESP=050dfd2c EBP=050dfd4c
ECX=077d0294 DS=0187 ESI=077d0294 FS=8d1f
EDX=077d0294 ES=0187 EDI=00000000 GS=0000
Bytes at CS:EIP:
I am running tomcat 3.2.2. After this message, tomcat closes.
What can I do to fix this? Is it a thread issue?
Thank you,
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
The JDBC-ODBC bridge is known to be buggy - especially in a multi-threaded environment. That would be my first suspect.
Subbu Aswathanarayan
Ranch Hand

Joined: Jun 22, 2001
Posts: 73
I had a similar problem.As Bill says the JDBC-ODBC bridge might be a problem.This is due to the fact that the bridge cannot open more than one connection to the database.i was also using a similar setup and my servlet engine (JRun)used to crash everytime I executed the servlet.
The solution to this problem is: u have to use a JDBC driver for MS Access.There are a few JDBC drivers available for MS Access but you have to buy them.What i did was i changed my database to
MySql. both mysql and the JDBC driver for mysql( are free.u can try that.
if you want to look at the list of drivers available for MS Access go to (
Hope this helps.

Kevin Wright
Ranch Hand

Joined: Jul 10, 2001
Posts: 38
Thanks - I am using a vendor's JDBC Driver (type 3) and it works fine-and-dandy.
sumeet iitg

Joined: Jul 10, 2001
Posts: 3
Hi Kevin
Could you please tell me which vendor's driver are you using, and where can I get it from? I'm in extremely urgent need of it.
Thanks in advance
Kevin Wright
Ranch Hand

Joined: Jul 10, 2001
Posts: 38
Point your browser to:
Their jadozoom (or something to that effect) is pretty good, if temporary. And a type 3 driver, which is better than jdbc dbc.
I agree. Here's the link:
subject: Crashing server?
It's not a secret anymore!