Hi, >Hi > >For my server app I have a custom URL protocol handler that needs >to be >registered. Normally this is done by setting the >-Djava.protocol.handler.pkgs parameter of the VM. But since my >handler >needs several jars (such as application specific jars and other api >jars) >I need to copy them into phoenix's lib directory to get it to work >(classloaders and all...). And I don't want to do that, of course.
Did you try to package your custom URLStreamHandler into a jar file and add it to the .sar under /SAR-INF/lib (or /lib for the old format)? Then registering the package name in -Djava.protocol.handler.pkgs should work (see http://developer.java.sun.com/developer/onlineTraining/protocolhandlers/ ). Mircea --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]