Hi,
I've got a very strange problem with a Websphere 5.1 cluster attached to DB2
database in Mainframe z/OS.
I have a J2EE deployed application running normally fine agains the DB2
host. But, sometimes, the application stop working. In the moment that
application fails, the only way to get it working again is to restart
WebSphere server or JDBC pool.
After diagnose the problem we see a normal SELECT like
SELECT MYCOLUM FROM MYTABLE WHERE A=?
where A is an integer column, and we set the variable using JDBC setInt
method.
The code is fixed, like
mystatement.setInt(1,1); // The column ALWAYS is set to 1
The SELECT works fine regullarly, and we see the DB2 Host Trace
SELECT MYCOLUMN FROM MYTABLE WHERE A=?
PARAMETER MARKER 1 = 1
but when it begins failing, we see
SELECT MYCOLUMN FROM MYTABLE WHERE A=?
PARAMETER MARKER 1 = 16777216
The second number is 1, but with the bytes inverted. I suspect that, in a
determinated moment, the variable suffers a Big Endian -> Little Endian
conversion incorrectly.
Could you help me?
IBM Spain is working in the problem, but any suggestion, comment or
workaround will we welcome.
Jose Manuel
ClimberBear - 10 Mar 2005 18:49 GMT
Hi,
I have confirmed that the problem is that the int parameters are inverted
from little endian to big endian.
I have reproduced the problem with diferent SELECTs, always failing with int
fields.
Please, I'm totally desesperated. Do any of you have any suggestion (even
nonsenses). It will be welcome
"ClimberBear" <yomismo_QUITE_ESTO_SPAMERO@jmalbarran.com> wrote in message
news:...
> Hi,
>
[quoted text clipped - 35 lines]
>
> Jose Manuel
Richard Che So - 11 Apr 2005 16:36 GMT
Hi,
The company I work for has the same problem with DB2/Websphere.. Has
someone forund a work around or Is there an fix pack or update from IBM ??
Thanks
Email at: richeso(xx... xxat ....xx)hotmail.com