This discussion is archived
0 Replies Latest reply: Feb 22, 2013 6:59 AM by 870199 RSS

How to make custom protocol handlers work on weblogic 10.3

870199 Newbie
Currently Being Moderated
Hello, BEA and community!

I have created a simple "bufferedreader" protocol handler as described in JDK documentation:

To activate the protocol I'm explicitly setting the system property before creating the URL:

System.setProperty("java.protocol.handler.pkgs", "");

I have created a unit test that runs perfectly, but when putting the same logic inside web application deployed in Weblogic 10.3 I get MallformedUrlException saying that protocol "bufferedreader" is unknown.

I have also tried to put in the server's start up script, but with the same effect.

Any ideas what could be wrong? Or any information on how WebLogic's url protocol handling is working? Is it different from standard one?

Best regards,
Sameer Tiwari


  • Correct Answers - 10 points
  • Helpful Answers - 5 points