Skip to Content
Former Member
Mar 30, 2009 at 06:59 PM

JNDI: How to configure an URL ressouce under java:comp/env/...?



I'm looking for a possibility to configure an URL resource in the CE 7.1 Java WAS.

The application needs to lookup an URL resource. The URL resource should be provided

by the application server under the JNDI tree, let's say: "java:comp/env/myURL"

Question: Is this possible with the CE 7.1 Java WAS to register a simple URL resource

in the JNDI tree? If yes, how? Or is it possible to register a custom resource type,

providing an factory class and so on?

It is possible with other JEE application server, such as BEA WebLogic,

Sun Application Server, now known as Glassfish, JBoss or even with an

ordinary servlet container, such as Tomcat.

thanks in advance,