-
1. Re: Binding Dynamic Remote Object in Jboss 7.1.1
avis71 Jan 16, 2013 10:58 AM (in response to avis71)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?
-
2. Re: Binding Dynamic Remote Object in Jboss 7.1.1
kc7bfi Apr 6, 2017 10:28 AM (in response to avis71)Did you ever solve this problem? I am having a similar problem in WildFly 10. David
-
3. Re: Binding Dynamic Remote Object in Jboss 7.1.1
andey Apr 6, 2017 10:38 AM (in response to kc7bfi)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
// OR
ic.rebind("java:module/SomeProcess",test); // WRONG
// OR
ic.rebind("java:comp/SomeProcess",test); // WRONG