my dog learned polymorphism*
The moose likes Servlets and the fly likes Getting EXCEPTION_ACCESS_VIOLATION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting EXCEPTION_ACCESS_VIOLATION" Watch "Getting EXCEPTION_ACCESS_VIOLATION" New topic
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting EXCEPTION_ACCESS_VIOLATION
 
Similar Threads
Why did you close ?
Open window from JApplet
Start Up Class in websphere
Problem with Hibernate test application
Border around cells in JTable