This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Does anyone know why I might be getting 'access violation' errors from my jsp pages? I am running ms-sql on win NT4 with Tomcat. A jsp page will sometimes display a resultset from a database table but intermittantly it crashes tomcat and displays : java.exe Exception: access violation ( at a certain address ) please help! code is: <%@ page import = "java.sql.*" %> <% //params String url = "jdbc dbc:callLog"; String username = "root"; String password = ""; String theDriver = "sun.jdbc.odbc.JdbcOdbcDriver"; Class.forName ( theDriver ); Connection conn = DriverManager.getConnection ( url, username, password ); Statement statement = conn.createStatement(); ResultSet rs = statement.executeQuery ( "Select * from clientCompany" );
Have you tried a different driver, other than the jdbc-odbc bridge. It's not very fast, and not a recommended driver. I apologize if there is no other one, but the access violation with a HEX number seems a bit awful.
Joined: Jul 11, 2001
thanks Mike, I am trying it with a different jdk - I was using jdk1.2.2, now jdk1.3 and the problem seems to have stopped.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com