Hi,
I try to use a coma separated list of url for initializing my InitialContext.
When I use a single url with jnp, it works fine:
String url = "jnp://localhost:1099";
When I use a list of url with jnp, it works fine:
String url = "jnp://thisIsAFakeServer:1099,jnp://localhost:1099";
When I use a single url over http (when HTTPInvoker is activated), it works fine (This is my actual configuration in production):
String url = "http://localhost:8080/invoker/JNDIFactory";
BUT When I use a list of url over http, I got a MalformedUrlException
String url = "http://thisIsAFakeServer:8080/invoker/JNDIFactory,http://localhost:8080/invoker/JNDIFactory";
Is this coming from the HTTPInvoker configuration? The problem is that I'd like to use a list of URL, but the use of HTTP is necessary too... But if it works with jnp, it must be possible with http too?
Any idea?