| Author |
Getting EXCEPTION_ACCESS_VIOLATION
|
Mathias Nilsson
Ranch Hand
Joined: Oct 13, 2003
Posts: 107
|
|
Hi ranchers! I'm having difficulties. I get an errormessage and the tomcat shuts down Error message I get this when I try to login 2 times. see this message ServletContextListener Class fails // Mathias [ November 04, 2003: Message edited by: Mathias Nilsson ]
|
SCJP2 , MCP( 70-229 ) , Preparing For SCWDC
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
looks like something is very unhappy, and those types of messages are not *usually* caused by your code (unless of course, you're actually doing JNI) What is the JVM you are using? I'm also quite suspicious of "sun.jdbc.odbc.JdbcOdbcDriver" I'm not a big fan of the jdbc-odbc bridge driver.
|
 |
Mathias Nilsson
Ranch Hand
Joined: Oct 13, 2003
Posts: 107
|
|
What should I use instead of JDBC DBC driver? I have tried with the javax.naming. java:env/jdbc or something like that but i coulden't get it to run. Any suggestion? I use tomcat 4.0.1 , Windows 2003 server , Access 2000 as a database. // Mathias
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
If you're using Access, you have no real choice (amongst free drivers) but to use the odbc-jdbc bridge. It might be that some unhappy combination of the Windows OS and Access and the driver is causing you trouble.
|
 |
Mathias Nilsson
Ranch Hand
Joined: Oct 13, 2003
Posts: 107
|
|
|
Shall I try mySQL instead?
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
|
If you are not tied to using Access, then I would highly recommend using *any* other database. MySql is free, and very stable, very popular and there is lots of people with lots of experience using this database.
|
 |
Mathias Nilsson
Ranch Hand
Joined: Oct 13, 2003
Posts: 107
|
|
I have now downloaded MySQL but it does not support Stored procedures?? That is not good at all. how do you do a search with multiple conditions? ex // Mathias [ November 07, 2003: Message edited by: Mathias Nilsson ]
|
 |
 |
|
|
subject: Getting EXCEPTION_ACCESS_VIOLATION
|
|
|