• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting EXCEPTION_ACCESS_VIOLATION

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shall I try mySQL instead?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic