App-server: Orion 1.51, Windows 2000
Databas: Sybase 11.9.2 on Solaris
JDBC: JConnect 5.2
Hi!
We have a problem with an stateful session bean creating two entity beans.
About one time out of four, only one of them is created and we get a
rollback. We cannot find a pattern. And the exception we get is really hard
to decipher.
We have tested the application on other machines, and cannot reproduce the
bug. We have Orion and Sybase running in the developing environment too.
The big things that happen in the code is this:
We try to create a entity bean called WizardData. This always succeedes.
Then we try to create another entity bean, and that fails sometimes.
The message from the exception is this:
Exception.toString()-> java.lang.ClassCastException: [Ljava.lang.String;
Exception.getMessage()-> [Ljava.lang.String;
[Ljava.lang.String seems to be an array of Strings. Why does the exception
return an array? How can we get more information about this exception from
Orion?
/Markus