I have exposed a SLSB as a web-service. There is no transaction on this SLSB which i have implemented.
But this SLSB makes calls to Spring Beans on which transaction has been implemented.
I am getting the below error and i am not able to find a reason for this.
I am using Jboss-4.0.3-SP1 and JDK142.
I am using Required transaction attribute when i am creating a transaction with Spring. This behaves the same way as the Required transaction attribute in CMT.
And the transaction attribute in the EJB is also "Required". So in theory there must not be a new transaction which should be created by Spring and the same transaction which has been created by the EJB must be used.
My application runs fine for a long time and then suddenly this error pops up and then all the following request fail with the same error. If Jboss is restarted then it is working fine again.
Not so fast naughty spawn! I want you to know about