Remy Maucherat writes:

> Quoting [EMAIL PROTECTED]:
> 
> > I am trying to make the <ejb-link> use jnp://ttt1:1099/EJBresource work.
> 
> So it doesn't work either the other way around ?
No: ...
When I call 'lc = (Context)ctx.lookup("jnp://ttt1.ca.com:1099");' in any
form, I get "javax.naming.NameNotFoundException: Name jnp: is not
                        bound in this Context"
When I encode the URL in the <ejb-link> I get
"javax.naming.NamingException: Cannot create resource instance"
> 
> > I need to resolve this type of URL link in Jakarta to allow seperation
> > between the JSP server and the EJB server.
> > The org.apache.naming.NamingContext does not seem to pass the correct
> > information to NamingManager so it can connect to the jnpURLNaming....
> > Can you think of anything else to try?
> 
> If you call (new InitialContext()).lookup("jnp://ttt1:1099/EJBresource"), then 
> it's supposed to work if the jnp URL context factory is in the classpath. 
> Nothing special has to be done in NamingContext (the same is true for the java 
> URLs and JNP - that's why I can't figure out why it doesn't work).
> 

Reply via email to