> 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 did some testing on this.
The integrated ENC was running fine even if the JNP URL prefix was appended
before org.apache.naming (I had put jnpserver.jar in common/lib).
However, trying to resolve a jnp: URL always failed :-(

It could be a classloader problem after all. Where did you put the jnp JAR
and its dependencies (if any) ?

Remy

Reply via email to