This content has been marked as final.
Show 2 replies
-
1. Re: how to bind a serializable object into HA-JNDI
lac_raz Jun 28, 2004 7:29 AM (in response to maroni)bind it to port 1100, not to 1099(where the local JNDI is)
props.put(javax.naming.Context.PROVIDER_URL, "localhost:1100"); -
2. Re: how to bind a serializable object into HA-JNDI
maroni Jun 29, 2004 10:21 AM (in response to maroni)Sorry, that´s a misunderstanding. I was not precise enough.
Using port 1100, that´s what I did, and the name IS definitely in HA-JNDI. When I do a lookup on all the nodes of the cluster, the name is bound and there. But when I want to access the returned object, it´s null.
For binding, I used the NonSerializableFactory class, and obviously that´s the reason why this does not work (according to what I read in the forum). But what can I use instead? How can I bind an object to HA-JNDI so that it stays serializable?