We upgraded from the nightly of 22-09. For the add operation, I don’t really care if it is in the transaction or not, I just want it to be able to complete the request
This is the complete server log:
=== 2010-12-01 23:43:55,101 [l0-1] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Over_start.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,112 [l0-3] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,114 [l0-6] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Over_end.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,387 [l0-6] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Down_start.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,391 [l0-3] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Down_stretch.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,395 [l0-1] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/button/button_Down_end.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,533 [l0-1] INFO RequestContext - URL: '/smartgwt2/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:43:55,537 [l0-1] DEBUG XML - Parsed XML from (in memory stream): 2ms
=== 2010-12-01 23:43:55,541 [l0-1] DEBUG RPCManager - Processing 1 requests.
=== 2010-12-01 23:43:55,543 [l0-1] DEBUG RPCManager - Request #1 (DSRequest) payload: {
criteria:{
cstm_pk:1
},
values:{
cstm_name:"A Lab Inc",
cstm_pk:1
},
operationConfig:{
dataSource:"Customer",
operationType:"update"
},
componentId:"isc_DynamicForm_0",
appID:"builtinApplication",
operation:"Customer_update",
oldValues:{
cstm_name:"A Lab Inc",
cstm_pk:1
}
}
=== 2010-12-01 23:43:55,543 [l0-1] INFO IDACall - Performing 1 operation(s)
=== 2010-12-01 23:43:55,560 [l0-1] DEBUG Reflection - adaptArgsAndInvoke:
public com.isomorphic.datasource.DSResponse test.server.DMIService.updateCustomer(com.isomorphic.datasource.DSRequest,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpSession) throws java.lang.Exception
requiredArgs: [] optionalArgs: [com.isomorphic.servlet.RequestContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, javax.servlet.http.HttpSession, com.isomorphic.rpc.RPCManager, com.isomorphic.datasource.DSRequest, com.isomorphic.datasource.DataSource, java.sql.Connection, com.isomorphic.log.Logger, java.util.Map]
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: com.isomorphic.servlet.RequestContext fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletRequest fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletResponse fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.ServletContext fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpSession fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: com.isomorphic.rpc.RPCManager fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: com.isomorphic.datasource.DSRequest fulfills type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - Successfully adapted optional arg type: com.isomorphic.datasource.DSRequest to type: com.isomorphic.datasource.DSRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: com.isomorphic.servlet.RequestContext fulfills type: javax.servlet.http.HttpServletRequest
=== 2010-12-01 23:43:55,561 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletRequest fulfills type: javax.servlet.http.HttpServletRequest
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - Successfully adapted optional arg type: javax.servlet.http.HttpServletRequest to type: javax.servlet.http.HttpServletRequest
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - checking whether type: com.isomorphic.servlet.RequestContext fulfills type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletRequest fulfills type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpServletResponse fulfills type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.ServletContext fulfills type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - checking whether type: javax.servlet.http.HttpSession fulfills type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - Successfully adapted optional arg type: javax.servlet.http.HttpSession to type: javax.servlet.http.HttpSession
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - method takes: 3 args. I've assembled: 3 args
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG Reflection - invoking method:
com.isomorphic.datasource.DSResponse test.server.DMIService.updateCustomer(com.isomorphic.datasource.DSRequest, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpSession) throws java.lang.Exception
with arg types: com.isomorphic.datasource.DSRequest, com.isomorphic.servlet.ISCHttpServletRequest, org.mortbay.jetty.servlet.HashSessionManager$Session
=== 2010-12-01 23:43:55,562 [l0-1] DEBUG AppBase - [builtinApplication.Customer_update] No userTypes defined, allowing anyone access to all operations for this application
=== 2010-12-01 23:43:55,563 [l0-1] DEBUG AppBase - [builtinApplication.Customer_update] No public zero-argument method named '_Customer_update' found, performing generic datasource operation
=== 2010-12-01 23:43:55,563 [l0-1] INFO SQLDataSource - [builtinApplication.Customer_update] Performing update operation with
criteria: {cstm_pk:1} values: {cstm_name:"A Lab Inc",cstm_pk:1}
=== 2010-12-01 23:43:55,576 [l0-1] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Customer_update] Returning pooled Connection
=== 2010-12-01 23:43:55,577 [l0-1] DEBUG SQLTransaction - [builtinApplication.Customer_update] Started new transaction "2423780"
=== 2010-12-01 23:43:55,577 [l0-1] INFO SQLDriver - [builtinApplication.Customer_update] Executing SQL update on 'Mysql': UPDATE Customer SET cstm_name='A Lab Inc' WHERE (Customer.cstm_pk='1')
=== 2010-12-01 23:43:55,597 [l0-1] DEBUG SQLDataSource - [builtinApplication.Customer_update] update operation affected 1 rows
=== 2010-12-01 23:43:55,598 [l0-1] INFO SQLDataSource - [builtinApplication.Customer_update] primaryKeys: {cstm_pk=1}
=== 2010-12-01 23:43:55,599 [l0-1] INFO SQLDriver - [builtinApplication.Customer_update] Executing SQL query on 'Mysql': SELECT Customer.cstm_name, Customer.cstm_pk FROM Customer WHERE (Customer.cstm_pk='1')
=== 2010-12-01 23:43:55,600 [l0-1] INFO DSResponse - [builtinApplication.Customer_update] DSResponse: List with 1 items
=== 2010-12-01 23:43:55,601 [l0-1] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations for this application
=== 2010-12-01 23:43:55,602 [l0-1] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing generic datasource operation
=== 2010-12-01 23:43:55,602 [l0-1] INFO SQLDataSource - [builtinApplication.null] Performing add operation with
criteria: {} values: {cntn_fk_contenttype:1,cntn_status:20,cntn_fk_customer:1,cntn_id:"id"}
=== 2010-12-01 23:43:55,602 [l0-1] INFO SQLValuesClause - [builtinApplication.null] Ignored data for non-existent columns: [cntn_fk_contenttype, cntn_status]
=== 2010-12-01 23:43:55,608 [l0-1] DEBUG SQLValuesClause - [builtinApplication.null] Sequences: {cntn_pk=__default}
=== 2010-12-01 23:43:55,624 [l0-1] DEBUG PoolableSQLConnectionFactory - [builtinApplication.null] Returning pooled Connection
=== 2010-12-01 23:43:55,624 [l0-1] INFO SQLDriver - [builtinApplication.null] Executing SQL update on 'Mysql': INSERT INTO content (cntn_fk_customer, cntn_id) VALUES (1, 'id')
=== 2010-12-01 23:44:46,644 [l0-1] INFO SQLDriver - [builtinApplication.null] Execute of update: INSERT INTO content (cntn_fk_customer, cntn_id) VALUES (1, 'id') on db: Mysql threw exception: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction - assuming stale connection and retrying update.
=== 2010-12-01 23:44:46,665 [l0-1] DEBUG PoolableSQLConnectionFactory - [builtinApplication.null] Returning pooled Connection
=== 2010-12-01 23:45:37,537 [l0-1] DEBUG DataSourceDMI - Invocation threw exception
java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at com.isomorphic.sql.SQLDriver.doUpdate(SQLDriver.java:458)
at com.isomorphic.sql.SQLDriver.update(SQLDriver.java:423)
at com.isomorphic.sql.SQLDriver.executeUpdate(SQLDriver.java:532)
at com.isomorphic.sql.SQLDataSource.executeNativeUpdate(SQLDataSource.java:360)
at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1335)
at com.isomorphic.sql.SQLDataSource.execute(SQLDataSource.java:257)
at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:721)
at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
at com.isomorphic.application.AppBase.execute(AppBase.java:491)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1418)
at test.server.DMIService.updateCustomer(DMIService.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:908)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:575)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1415)
at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:173)
at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:130)
at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:95)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
=== 2010-12-01 23:45:37,542 [l0-1] WARN RequestContext - dsRequest.execute() failed:
java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at com.isomorphic.sql.SQLDriver.doUpdate(SQLDriver.java:458)
at com.isomorphic.sql.SQLDriver.update(SQLDriver.java:423)
at com.isomorphic.sql.SQLDriver.executeUpdate(SQLDriver.java:532)
at com.isomorphic.sql.SQLDataSource.executeNativeUpdate(SQLDataSource.java:360)
at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1335)
at com.isomorphic.sql.SQLDataSource.execute(SQLDataSource.java:257)
at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:721)
at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
at com.isomorphic.application.AppBase.execute(AppBase.java:491)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1418)
at test.server.DMIService.updateCustomer(DMIService.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:908)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:575)
at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1415)
at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:173)
at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:130)
at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:95)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
=== 2010-12-01 23:45:37,543 [l0-1] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
=== 2010-12-01 23:45:37,544 [l0-1] DEBUG SQLTransaction - Rolling back transaction "2423780"
=== 2010-12-01 23:45:37,577 [l0-1] DEBUG SQLTransaction - Ending transaction "2423780"
=== 2010-12-01 23:45:37,579 [l0-1] DEBUG RPCManager - non-DMI response, dropExtraFields: false
=== 2010-12-01 23:45:37,580 [l0-1] INFO Compression - /smartgwt2/sc/IDACall: 160 -> 147 bytes
=== 2010-12-01 23:45:37,607 [l0-1] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/Dialog/warn.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header
=== 2010-12-01 23:45:37,660 [l0-1] INFO RequestContext - URL: '/smartgwt2/sc/skins/Enterprise/images/headerIcons/close.png', User-Agent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12': Moz (Gecko) with Accept-Encoding header