We have a java app that write records to a database and this morning after websphere server had started and someone started using the application the database has one character field expanded using CHGPF. We ended and restarted that java app but when the user went to use it the server was throwing a data truncation error when it tried to write to the database. We started the same app on the test server and it worked fine. Back on the production server we found the app would work for some people but not others. We believe the server has cached the SQL statement for the connection pool based on the old field sizes and wanted to clear it to see if it fixed the problem. We did think about restarting the app server but that would take down a lot of applications.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Haas, Matt (CL Tech Sv)
Sent: Thursday, December 06, 2007 2:21 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Websphere SQL prepared statement cache
Ending WebSphere does that but I have to ask why would you want to?
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Thursday, December 06, 2007 2:14 PM
To: 'web400@xxxxxxxxxxxx'
Subject: [WEB400] Websphere SQL prepared statement cache
Does anyone know if there is a way to clear the SQL prepared statement cache in Websphere?
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.