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 to check this discussion
[1].

Regards,
Violeta

[1] http://marc.info/?t=137908844800007&r=1&w=2

> But that returns null.
>
> Thanks
> Best Regards
> /Thusitha
>
> On Wed, Mar 25, 2015 at 2:48 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
> > 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:
> > >>
> >
http://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.html
> > Thanks a lot for the quick response and I'm really sorry for the delay
and
> > any inconvenience caused due to that
> >
> > Best Regards
> > /Thusitha
> >
> > On Wed, Mar 25, 2015 at 2:28 PM, Mark Thomas <ma...@apache.org> wrote:
> >
> >> 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.
> >>
> >> You want:
> >>
> >>
http://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.html
> >>
> >> Mark
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> >
> > --
> > Thusitha Dayaratne
> > Software Engineer
> > WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> >
> > Mobile  +94712756809
> > Blog      alokayasoya.blogspot.com
> > About    http://about.me/thusithathilina
> >
> >
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina

Reply via email to