Skip to main content

Default phoneME advanced build doesn't allow https protocol?

1 reply [Last post]
Joined: 2009-01-06

I have a phoneME build based on mr2-b47. I was trying to get the Felix OSGI framework to run on it and got an error about https protocol not being supported. So I wrote a quick test app:

URL url = null;
try {
url = new URL("");
} catch (MalformedURLException e) {
BufferedReader bin = new BufferedReader(new InputStreamReader(url.openStream()));

String line;
while ((line = bin.readLine()) != null)

When I ran it through a regular JVM (Mac OS X 1.5 default) it ran just fine and dumped the http response. When I ran it through phoneME I got the follow exception instead:
# cvm -jar HttpsTest.jar unknown protocol: https
at Source)
at Source)
at Source)
at Tester.main(Unknown Source)
at sun.misc.CVM.runMain(Unknown Source)
at Tester.main(Unknown Source)
at sun.misc.CVM.runMain(Unknown Source)

I checked out mr2-b103 and built it on Ubuntu and confirmed that I get the same exception with that, too. I'm relatively new to all this so I'm probably missing something simple. What do I need to change to enable https?

Thanks in advance,

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-10-16

https is not part of the CDC or FP specs. It is included in the Security Optional Package (SecOP) spec, but there is no SecOP implementation in the PMEA open source. You would need to license it from Sun or some other vendor.