I am trying to call an EJB in a different JBoss instance (I have 2 instances of JBoss running each on different ports on the same machine). However, I keep getting an exception when I call the EJB create() method:
java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: org.jboss.tm.TransactionImpl
I've been trying to figure out why I get this. I've tried, recompiling, cleaning the build directory, recreating the EJB jar file and re-deploying. But still, I get the same error.
Anybody know what's going on, I don't understand why I get this error.
What version of JBoss?
Do you get it when only one JBoss is running?