Re: Tomcat and ClassLoaders

2008-08-18 Thread pmanvi
But for me the issue is different for me. I have some applications in ROOT folder after some time (2 to 3 hours) apparently the class is getting loaded from other jars (having the same class) are getting loaded from other webapps directory. I guess it's related to class caching done at the

Re: Custom URL handlers in Tomcat web app

2008-03-18 Thread pmanvi
wrote: Hi Praveen, pmanvi praveena.manvi at gmail.com writes: ... Do let me know if you find some solution to the same. actually, in the end I got it working using Christoph's suggestion to use the URL(scheme, host, port, path, handler) constructor. Unless that legacy system

Re: Custom URL handlers in Tomcat web app

2008-03-14 Thread pmanvi
Hi Matt, I am trying to port legacy JRun application to Tomcat facing same problem. I also tried out the listed options but without any luck. Do let me know if you are able to crack. Since I have legacy application, I do not want to introduce any new code to make it work. Thanks, Praveen M.

Re: Custom URL handlers in Tomcat web app

2008-03-13 Thread pmanvi
Hi Matt, Today I was trying to port one legacy application from JRun to Tomcat facing same problem with URL. URL.setURLStreamHandlerFactory.java.lang.Error: factory already defined 1. I tried out setting -Djava.protocol.handler.pkgs=my.package pointing to where my CustomURLStreamHander is