cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: SQL processor & Informix question
Date Wed, 01 Mar 2000 20:21:31 GMT
> I get the following stackstrace in the error log:
> 
> java.sql.SQLException: Not in transaction.
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Compiled Code)
>         at java.lang.Throwable.<init>(Compiled Code)
>         at java.lang.Exception.<init>(Compiled Code)
>         at java.sql.SQLException.<init>(SQLException.java:43)
>         at
> com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:263)
>         at com.informix.jdbc.IfxSqli.errorDone(IfxSqli.java:2919)
>         at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:2804)
>         at com.informix.jdbc.IfxSqli.receiveMessage(Compiled Code)
>         at com.informix.jdbc.IfxSqli.executeRollback(IfxSqli.java:448)
>         at
> com.informix.jdbc.IfxSqliConnect.rollback(IfxSqliConnect.java:904)
>         at
> org.apache.cocoon.processor.sql.SQLProcessor.processQuery(Compiled Code)
> 
>         at org.apache.cocoon.processor.sql.SQLProcessor.process(Compiled
> Code)
>         at org.apache.cocoon.Engine.handle(Compiled Code)
>         at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> 
>         at
> org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:479)
> 
> Any ideas?

Sure. I'm stupidly explicitly commiting transactions even when not
necessary. I should be checking to see if the connection is in autocommit
mode. Would you like to send in a patch?

- donald


Mime
View raw message