This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Crashing server?

 
Kevin Wright
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JDBC-ODBC bridge is known to be buggy - especially in a multi-threaded environment. That would be my first suspect.
Bill
 
Subbu Aswathanarayan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kevin Wright
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks - I am using a vendor's JDBC Driver (type 3) and it works fine-and-dandy.
Kevin.
 
sumeet iitg
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic