This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi - I am developing an application where two things happen: 1. A static html form submits to the servlet, where the jdbcdbc 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. Registers: 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: <*****************************end**********************> 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, Kevin
Hi, 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(www.worldserver.com/mm.mysql/) are free.u can try that. if you want to look at the list of drivers available for MS Access go to (http://industry.java.sun.com/products/jdbc/drivers) Hope this helps. Subbu
Subbu
Kevin Wright
Ranch Hand
Joined: Jul 10, 2001
Posts: 38
posted
0
Thanks - I am using a vendor's JDBC Driver (type 3) and it works fine-and-dandy. Kevin.
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 Sumeet
Kevin Wright
Ranch Hand
Joined: Jul 10, 2001
Posts: 38
posted
0
Point your browser to: http://www.infozoom.de Their jadozoom (or something to that effect) is pretty good, if temporary. And a type 3 driver, which is better than jdbc dbc. Later, Kevin