We are now in the middle of migration from jboss 4.2 to jboss 7.1.1, this is a real blocker.
I tried to use an EJB as mapping between names and Remote Objects, however this requires deep serialization of the remote object.
Any solution for this? someone?
Did you ever solve this problem? I am having a similar problem in WildFly 10. David
The error which you mentioned like [ JBAS011859: Naming context is read-only] you will get if you will try to bind custom objects to read only contexts
like "java:module" or "java:module", "java:comp" ..etc"
InitialContext ic = new InitialContext();
aaa.bbb.Test test = new aaa.bbb.Test();
ic.rebind("java:app/SomeProcess",test); // WRONG
ic.rebind("java:module/SomeProcess",test); // WRONG
ic.rebind("java:comp/SomeProcess",test); // WRONG