Hi,
I am binding an object to a session...when the session get unbound and
valueUnbound() function is executed, i want to add something to database, so
i write connection.createSatement() but it gives the following error:
java.sql.SQLException: General error
 at sun.jdbc.odbc.JdbcOdbc.throwGenericSQLException(JdbcOdbc.java:6160)
 at sun.jdbc.odbc.JdbcOdbc.SQLAllocStmt(JdbcOdbc.java:167)
 at
sun.jdbc.odbc.JdbcOdbcConnection.createStatement(JdbcOdbcConnection.java:411
)
 at
sun.jdbc.odbc.JdbcOdbcConnection.createStatement(JdbcOdbcConnection.java:394
)
 at middleware.CustomProxy$Recoder.valueUnbound(CustomProxy.java:85)
 at
org.apache.tomcat.session.StandardSession.removeAttribute(StandardSession.ja
va:659)
 at
org.apache.tomcat.session.StandardSession.expire(StandardSession.java:372)
 at
org.apache.tomcat.session.StandardManager.processExpires(StandardManager.jav
a:406)
 at org.apache.tomcat.session.StandardManager.run(StandardManager.java:476)
 at java.lang.Thread.run(Thread.java:484)

Can anybody tell what might be the problem

Thanks in advance

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to