3/18/18 10:40:34:338 CST] 00000066 SystemOut O [OBA][Logger/debug][03/18 10:40:34][DEBUG][Sev4] **************validationsPaymentLineDetail start**********
[3/18/18 10:40:38:726 CST] 00000066 SystemOut O [OBA][Logger/trace][03/18 10:40:38][TRACE][Sev4] SELECT DISTINCT A.CONTRACT FROM D230OBM.T_PLINE AS A, D230OBM.T_PPRODUCT AS B WHERE A.CPNO = ? AND COALESCE(A.DEL_FLAG,'') = '' AND ST_VALID = ? AND A.CPNO = B.CPNO AND A.LINE_NO = B.LINE_NO AND A.DEL_FLAG = B.DEL_FLAG
[3/18/18 10:40:39:944 CST] 00000066 SystemOut O [OBA][Logger/debug][03/18 10:40:39][DEBUG][Sev4] *******Unique contract size is: 1*********
[3/18/18 10:42:08:343 CST] 00000066 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_4d3411dd_18.03.18_10.42.08.3288396732173874831394.txt com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.getString 1955
[3/18/18 10:42:09:945 CST] 00000066 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_4d3411dd_18.03.18_10.42.09.9454763547339318845805.txt com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next 2624
[OBA][Logger/trace][03/18 10:42:16][TRACE][Sev4] TxController.commit() com.ibm.ws.rsadapter.jdbc.WSJccSQLJPDQConnection@325ed414
[3/18/18 10:42:16:803 CST] 00000066 SystemOut O [OBA][Logger/error][03/18 10:42:16][ERROR][Sev2] validation????
CORE_00000,S0002,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null:,S0002,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null::
at jp.sales.oio.oiobama.comp.validation.detail.PaymentLineDetailValidationManager.execute(PaymentLineDetailValidationManager.java:160)
at jp.sales.oio.oiobama.comp.validation.ValidationWork.run(ValidationWork.java:72)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:265)
at java.security.AccessController.doPrivileged(AccessController.java:229)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1165)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:199)
at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:236)
at java.lang.Thread.run(Thread.java:770)
Caused by: S0002,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null,com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null:
at jp.sales.oio.oiobama.dao.TPLineDaoImpl.selectValidListByCpnoAndContract(TPLineDaoImpl.java:2520)
at jp.sales.oio.oiobama.comp.validation.detail.PaymentLineDetailValidationManager.getPaymentLineObjects(PaymentLineDetailValidationManager.java:545)
at jp.sales.oio.oiobama.comp.validation.detail.PaymentLineDetailValidationManager.validationsStart(PaymentLineDetailValidationManager.java:196)
at jp.sales.oio.oiobama.comp.validation.detail.PaymentLineDetailValidationManager.execute(PaymentLineDetailValidationManager.java:126)
... 7 more
Caused by: com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][3.69.24] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
at com.ibm.db2.jcc.am.gd.a(Unknown Source)
at com.ibm.db2.jcc.am.gd.a(Unknown Source)
at com.ibm.db2.jcc.am.gd.a(Unknown Source)
at com.ibm.db2.jcc.am.ResultSet.checkForClosedResultSet(Unknown Source)
at com.ibm.db2.jcc.am.ResultSet.nextX(Unknown Source)
at com.ibm.db2.jcc.am.ResultSet.next(Unknown Source)
at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJdbcResultSet.java:3108)
at jp.sales.oio.oiobama.dao.TPLineDaoImpl.selectValidListByCpnoAndContract(TPLineDaoImpl.java:2450)
... 10 more
[3/18/18 10:46:09:251 CST] 00000063 SystemOut O [OBA][Logger/trace][03/18 10:46:09][TRACE][Sev4] TxController.commit() com.ibm.ws.rsadapter.jdbc.WSJccSQLJPDQConnection@2d0a7ceb
[3/18/18 10:46:09:373 CST] 00000063 SystemOut O [OBA][Logger/debug][03/18 10:46:09][DEBUG][Sev4] From Link! Going on!
[3/18/18 10:46:09:374 CST] 00000063 SystemOut O [OBA][Logger/debug][03/18 10:46:09][DEBUG][Sev4] Forward! Going On!!
说明,我用的是本地安装的websphere8.5.5.0,
jdbc provider is DB2 Universal JDBC Driver Provider
and java 6
source debug
说明程序正常运行的时候,有时候会出错 ,有时候正常,
debug的时候肯定会出错,
这个问题好像是14日db2 升级之后发现的,
我在确认确认,db2 server端应该是db2 10.1
db2 client 10.0.5
qq 402235823