on 05-06-2010 11:51 AM
Hi. I've developed a custom adapter module bean for my SOAP channel. It does what it needs to do however when the process method returns i get the following exception:
Message processing failed. Cause: javax.ejb.RemoveException: An attemp was made to remove stateful instance while it still participates in a transaction.This is strictly forbidden by the EJB Specification. However the current transaction won't be marked for rollback allowing you to recover from the error
I've removed all the code and have deployed just the skeleton of the process method in order to test -
public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
throws ModuleException
{
return inputModuleData;
}
However i still get this error.
Any assistance would be greatly appreciated.
Thanks
This happens when the created EJB is not made stateless. Recreate a new EJB as stateless session bean and it should work.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.