Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat 8.0.20? I tried TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler(jndi); But that returns null. Thanks Best Regards /Thusitha On Wed, Mar 25, 2015 at 2:48 PM, Thusitha Thilina Dayaratne

Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi 2015-04-06 14:33 GMT+03:00 Thusitha Thilina Dayaratne thusit...@wso2.com: Hi Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat 8.0.20? I tried TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler(jndi); jndi schema is removed in Tomcat 8. You may want

Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Violeta Georgieva
Hi, 2015-04-06 14:33 GMT+03:00 Thusitha Thilina Dayaratne thusit...@wso2.com: Hi Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat 8.0.20? I tried TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler(jndi); jndi schema is removed in Tomcat 8. You may want

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-25 Thread Mark Thomas
On 25/03/2015 08:14, Thusitha Thilina Dayaratne wrote: snip/ Thanks all for responses. But what I actually want is to register a URLStreamHandlerService for JNDI Finally. More than 2 weeks since the first e-mail in this thread the list members know what it is you are actually trying to do.

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-25 Thread Thusitha Thilina Dayaratne
Hi how can that be modified to load the jndi.properties file? The javadoc for InitialContext seems to indicate that this file will be processed automatically. If it isn't processed automatically, I'd suggest trying to figure out why. Good to know, thank you. Amazingly, this is the only

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-25 Thread Thusitha Thilina Dayaratne
Hi Mark, Thanks all for responses. But what I actually want is to register a URLStreamHandlerService for JNDI Finally. More than 2 weeks since the first e-mail in this thread the list members know what it is you are actually trying to do. You want:

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thufir, On 3/9/15 12:47 PM, Thufir wrote: On Mon, 09 Mar 2015 08:59:33 +, Mark Thomas wrote: On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: Hi, I want to access the JNDI Directory context in Tomcat8. I've used

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thufir
On Mon, 09 Mar 2015 08:59:33 +, Mark Thomas wrote: On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: Hi, I want to access the JNDI Directory context in Tomcat8. I've used *DirContextURLStreamHandler* class which was in Tomcat 7. But now that has been removed. Can someone tell me

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thufir
On Mon, 09 Mar 2015 14:11:08 -0400, Christopher Schultz wrote: how can that be modified to load the jndi.properties file? The javadoc for InitialContext seems to indicate that this file will be processed automatically. If it isn't processed automatically, I'd suggest trying to figure out

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Mark Thomas
On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: Hi, I want to access the JNDI Directory context in Tomcat8. I've used *DirContextURLStreamHandler* class which was in Tomcat 7. But now that has been removed. Can someone tell me how can I access the JNDI Directory Context in Tomcat 8?

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thusitha Thilina Dayaratne
Hi Mark, Thanks for the quick response. Regards /Thusitha On Mon, Mar 9, 2015 at 2:29 PM, Mark Thomas ma...@apache.org wrote: On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: Hi, I want to access the JNDI Directory context in Tomcat8. I've used *DirContextURLStreamHandler* class

How to access JNDI Directory Context in Tomcat 8

2015-03-08 Thread Thusitha Thilina Dayaratne
Hi, I want to access the JNDI Directory context in Tomcat8. I've used *DirContextURLStreamHandler* class which was in Tomcat 7. But now that has been removed. Can someone tell me how can I access the JNDI Directory Context in Tomcat 8? Thanks Best Regards /Thusitha -- Thusitha Dayaratne