We want to set an URLStreamHandlerFactory from our web application running in
Tomcat. Well, in fact we just want to support an additional protocol, and this seems to be the only way to do that.
Problem is that the factory is only allowed to be set once per JVM via URL.setURLStreamHandlerFactory, and Tomcat seems to already set one. We have no idea what to do - our hope is that Tomcat might provide a workaround for that limitation, but didn't find anything googling. (What did the Sun developers think when they designed it that way???
)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus