(oops, sorry for the previous truncated message) It shouldn't crash, it's supposed to serialize all the ODBC calls so you can use it in a multi-threaded program. (ref. the JDBC FAQ: http://java.sun.com/products/jdbc/reference/faqs/index.html ) I've used it in a webapp, for testing during development, with no problems other than poor performance.
However, in case it is a problem with either the JDBC-ODBC bridge or the ODBC driver, you could try to find a straight JDBC driver for your database. Another thing you might check is your code that closes the JDBC connections, since that's where it seems to be crashing. Maybe you're closing a connection twice or something? -- Len
On 5/9/07, Tim Funk <[EMAIL PROTECTED]> wrote: > > You are using the Jdbc-odbc bridge. That JDBC-ODBC bridge is not meant > to be used on a web server or multi threaded environment. > > -Tim > > Massimiliano PASQUALONI wrote: > > Hy Everyone! > > > > I'm develop my first application in jsp. Isn't a real "application", > it's an > > "system integration" job that join 2 application, a tree menu and a > report > > viever. > > > > Many time at day my Tomcat crash, and I don't understand if there are > some > > problems in the server, or if the code cause the Tomcat crash.... > > > > > > Stack: [0x0cd60000,0x0cda0000), sp=0x0cd9ef20, free space=251k > > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, > C=native > > code) > > C [ntdll.dll+0x2f350] > > C [ ODBC32.dll+0x34c16] > > C [ODBC32.dll+0x320d] > > C [ODBC32.dll+0x23482] > > C [ODBC32.dll+0x235bc] > > C [JdbcOdbc.dll+0x4d18] > > j sun.jdbc.odbc.JdbcOdbc.error(JJJ[B[B[B)I+0 > > j sun.jdbc.odbc.JdbcOdbc.createSQLException(JJJ)Ljava/sql/SQLException;+63 > > j sun.jdbc.odbc.JdbcOdbc.standardError(SJJJ)V+86 > > j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+149 > > j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4 > > j sun.jdbc.odbc.JdbcOdbcConnection.close ()V+42 > > j beans.UtentiBean.disconnect()V+4 > > j > > org.apache.jsp.menubutton_jsp._jspService > (Ljavax/servlet/http/HttpServletReq > > uest;Ljavax/servlet/http/HttpServletResponse;)V+1162 > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >