This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting EXCEPTION_ACCESS_VIOLATION

 
Mathias Nilsson
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shall I try mySQL instead?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic