On 30/09/2016 11:30, Chinoy Gupta wrote: > Hi, > > I have a web application which runs on tomcat. In server.xml, I > provide some resources under "<GlobalNamingResources> section" and > then provide a ResourceLink to the same in context.xml. And then I > fetch that resource in my application. This was working properly > earlier but started breaking with 8.0.37.
Define breaking. Ideally with a stack trace. Mark > I think the reason is the > extra validation check introduced in ResourceLinkFactory class. My > application has its own classloader and when I try to fetch the JNDI > resource, the Thread's classloader is my custom one rather than the > default one. Because of that validation fails and tomcat returns > NULL. Is there a way to fix this through configuration or any other > means? > > Regards, Chinoy > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org