4 Replies Latest reply on May 13, 2002 2:40 PM by andre gerard

    https tunneling

    andre gerard Newbie

      I am trying to configure jboss so that I can get information from another server within a servlet like this:

      URL url = new URL( "https://hostname:8443/test );

      I have tried the usual stuff:
      -add -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol to the command line.

      set it just before I call the url.

      Nothing seem to work, I always get the following exception.

      2002-05-13 14:59:03,791 ERROR [STDERR] java.net.MalformedURLException: unknown protocol: https
      2002-05-13 14:59:03,791 ERROR [STDERR] at java.net.URL.(URL.java:480)
      2002-05-13 14:59:03,791 ERROR [STDERR] at java.net.URL.(URL.java:376)
      2002-05-13 14:59:03,791 ERROR [STDERR] at java.net.URL.(URL.java:330)

      Anyone know how to do it?