tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "$Bill Dossett" <postmas...@bill.co.uk>
Subject bad state 2
Date Tue, 01 Aug 2000 11:43:49 GMT

you're either on the list or you're off the list and
I'm back on it :-)  I'm having problems doing
an SQL update using apache, tomcat and the
freetds driver and MS SQL 7.  I am using
MacroMedia Dreamweaver Ultradev to create
the application, when I update, I get...

Internal Servlet error

Root cause:

java.sql.SQLException: Internal error.  Bad State 2
        at
com.internetcds.jdbc.tds.Constructors.newPreparedStatement(Constructors.java:251)

        at
com.internetcds.jdbc.tds.Connection_base.prepareStatement(Connection_base.java:532)

        at
_0002fir_0005fform_0002ejspir_0005fform_jsp_0._jspService(_0002fir_0005fform_0002ejspir_0005fform_jsp_0.java:128)

        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)

        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)

        at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)

        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at

org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)

        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)

        at java.lang.Thread.run(Thread.java:475)

I've checked the code that MM produces and don't see anything offensive
so
far, but their code isn't the easiest to read either...  does anyone
have any
clues as to what this error could be caused by?  Looks like it could be
in the
freetds driver, maybe I have to contact them?  And finally, is there any

log
that would show me the sql statement being executed?  the servelet,
tomcat
and jasper logs don't, but perhaps I have to change debugging level
somewhere?

Thanks

Bill Dossett
Emtex Ltd.




Mime
View raw message