This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes unknown protocol error. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "unknown protocol error." Watch "unknown protocol error." New topic
Author

unknown protocol error.

naresh babu
Greenhorn

Joined: Feb 12, 2002
Posts: 12
Hi,
I have a question. My code :

When i run the test class using:
java -Dhttps.set=true -Dhttps.host=https://proxy1.test.com -Dhttps.port=443
test https://proxy1.test.com
i get error as "unknown proctocol:https".

Actually, the url "https://proxy1.sun.com" is a proxy server which redirects
to actual host.When i put this code in webserver , this code works
even if https proxy url is passed , but when i run it standalone i get the above error. Please, suggest how can i make this work using standalone
also.
Thanks
[ September 30, 2003: Message edited by: Cindy Glass ]
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
When i put this code in webserver , this code works
even if https proxy url is passed , but when i run it standalone i get the above error.

What version of JDK do you use? Do you have a jsse.jar in your classpath? If not, you need to download and configure it.
 
GeeCON Prague 2014
 
subject: unknown protocol error.