avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Issues with Memory Context.
Date Tue, 02 Oct 2001 12:14:17 GMT
On Tue, 2 Oct 2001 06:22, Michael McKibben wrote:
> The reason you are seeing this error is because "java:comp" is being
> interpreted as a URL. By default, the JNDI context looks for a URL context
> implementation for the "java" scheme by consulting the
> Context.URL_PKG_PREFIXES environment property. This property is a colon
> separated list of package prefixes. So for example if I had the prefix
> "org.apache.avalon.jndi.url" it would look for the class
> org.apache.avalon.jndi.url.javaURLContextFactory to create a context for
> the java scheme.
> So, if no URL_PKG_PREFIXES are defined or no object factories match the
> requested URL scheme, then as a last result the underlying initial context
> implementation is consulted.
> There is a nice tutorial on sun's site describing how to support urls in a
> jndi provider implementation at
> http://java.sun.com/products/jndi/tutorial/provider/index.html

URL prefixes is one thing I never got around to doing in the naming library. 
I started a few times but never actually needed it so never got around to 
finishing it ;/



 I don't suffer from insanity. I enjoy every minute of it.

To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org

View raw message