I am trying to use the http invoker with the NamingContextFactory in
jboss 3.2 beta

I have the following properties 

Properties p = System.getProperties();   
p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");    
p.put(Context.PROVIDER_URL,"jnp://localhost:8080/invoker/restricted/JNDIFactory");   
p.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
System.setProperties(p);

I am getting back
Root exception is java.io.StreamCorruptedException: InputStream does not
contain a serialized object

I believe the problem is that HttpNamingContextFactory is missing the
Authenticator code that is in HttpInvokerProxy and the request is
sending back an authenication failure.

So am I using the right naming facory and if I am why is in the server
jar files instead of the client jar files?







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to