I'm trying to work with a stateful EJB Bean in an application which is deployed on a websphere server. For other customers we deploy on wildfly and I don't have any issues there. On Websphere however, the first lookup works fine as well. But after that, the managed bean that uses the EJB Bean gets serialized via a <t:savestate>
cause it's request scoped but we need it to live longer than that (We're still working on JSF 1 unfortunately, but we will go to JSF 2 soon and hope to fix the issue with view/flow scope. The problem needs to be solved anyway cause we need the feature in an earlier version of our application.) In the next request, trying to access the EJB Bean, it still exists, but throws the following exception:
java.rmi.RemoteException: CORBA BAD_OPERATION 0x0 no
nested exception is:
org.omg.CORBA.BAD_OPERATION:
The delegate has not been set!
vmcid: 0x0 minor code: 0 completed: No
I tried several ways to look the bean up and I have no idea how to solve this. It both occurs on Websphere 8.0.0.4 and 8.5.5.14. The Bean is implementing Serializable and I even tried to make the Remote Interface extend Serializable.