problems with ssl / tls support
[email protected] Tue, 3 Jan 2006 14:50:59 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to port my app which is running withint the jetty webserver
over to sablevm. My app is currently running fine with jdk 1.4.2_10,
but produces the following errors under sablevm version
SableVM version 1.11.3
- compile date and time: 2006-01-02 19:59:16 UTC
- gcc version: 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- inline-threaded interpreter
It seems to be missing SSL implementation classes from sun. I tried
adding in jsse.jar, jce.jar, and sunjce_provider.jar from the sun 1.4
jre, but that didn't help.
Any help appreciated
--- stack trace ---
2006/01/03 14:41:10:903 GMT-05:00 [ERROR] EasySSLProtocolSocketFactory - com.sun.net.ssl.SSLContext not found in java.lang.ClassLoader$
1{urls=[file:/home/matighet/pb/jetty/../dist/PhishProxy.jar,file:/home/matighet/pb/jetty/../redist/commons-httpclient-3.0-rc4.jar,file:
/home/matighet/pb/jetty/../redist/commons-codec-1.3.jar,file:/home/matighet/pb/jetty/../redist/commons-net-1.3.0.jar,file:/home/matighe
t/pb/jetty/../redist/dnsjava-1.6.6.jar,file:/home/matighet/pb/jetty/../redist/bcprov.jar,file:/home/matighet/pb/jetty/lib/org.mortbay.j
etty.jar,file:/home/matighet/pb/jetty/ext/commons-logging.jar,file:/home/matighet/pb/jetty/lib/javax.servlet.jar,file:/home/matighet/pb
/jetty/ext/jasper-compiler.jar,file:/home/matighet/pb/jetty/ext/jasper-runtime.jar,file:/home/matighet/pb/jetty/../redist/log4j.jar], p
arent=null} <java.lang.ClassNotFoundException: com.sun.net.ssl.SSLContext not found in java.lang.ClassLoader$1{urls=[file:/home/matighe
t/pb/jetty/../dist/PhishProxy.jar,file:/home/matighet/pb/jetty/../redist/commons-httpclient-3.0-rc4.jar,file:/home/matighet/pb/jetty/..
/redist/commons-codec-1.3.jar,file:/home/matighet/pb/jetty/../redist/commons-net-1.3.0.jar,file:/home/matighet/pb/jetty/../redist/dnsja
va-1.6.6.jar,file:/home/matighet/pb/jetty/../redist/bcprov.jar,file:/home/matighet/pb/jetty/lib/org.mortbay.jetty.jar,file:/home/matigh
et/pb/jetty/ext/commons-logging.jar,file:/home/matighet/pb/jetty/lib/javax.servlet.jar,file:/home/matighet/pb/jetty/ext/jasper-compiler
.jar,file:/home/matighet/pb/jetty/ext/jasper-runtime.jar,file:/home/matighet/pb/jetty/../redist/log4j.jar], parent=null}>java.lang.Clas
sNotFoundException: com.sun.net.ssl.SSLContext not found in java.lang.ClassLoader$1{urls=[file:/home/matighet/pb/jetty/../dist/PhishPro
xy.jar,file:/home/matighet/pb/jetty/../redist/commons-httpclient-3.0-rc4.jar,file:/home/matighet/pb/jetty/../redist/commons-codec-1.3.j
ar,file:/home/matighet/pb/jetty/../redist/commons-net-1.3.0.jar,file:/home/matighet/pb/jetty/../redist/dnsjava-1.6.6.jar,file:/home/mat
ighet/pb/jetty/../redist/bcprov.jar,file:/home/matighet/pb/jetty/lib/org.mortbay.jetty.jar,file:/home/matighet/pb/jetty/ext/commons-log
ging.jar,file:/home/matighet/pb/jetty/lib/javax.servlet.jar,file:/home/matighet/pb/jetty/ext/jasper-compiler.jar,file:/home/matighet/pb
/jetty/ext/jasper-runtime.jar,file:/home/matighet/pb/jetty/../redist/log4j.jar], parent=null}
at java.net.URLClassLoader.findClass (URLClassLoader.java:841)
at java.lang.ClassLoader.loadClass (ClassLoader.java:360)
at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1285)
at java.lang.ClassLoader.loadClass (ClassLoader.java:304)
at java.lang.VirtualMachine.createClass (VirtualMachine.java:116)
at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.createEasySSLContext (EasySSLProtocolSocketFactory.java:12
1)
at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.getSSLContext (EasySSLProtocolSocketFactory.java:136)
at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.createSocket (EasySSLProtocolSocketFactory.java:148)
at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.createSocket (EasySSLProtocolSocketFactory.java:193)
at org.apache.commons.httpclient.HttpConnection.open (HttpConnection.java:704)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry (HttpMethodDirector.java:384)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod (HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod (HttpClient.java:324)
at com.bbn.pb.probes.BlackListSubClient.run (BlackListSubClient.java:97)
at java.util.Timer$Scheduler.run (Timer.java:344)
at java.lang.Thread.run (Thread.java:709)
at java.lang.VMThread.callRun (VMThread.java:119)
at java.lang.Thread.callRun (Thread.java:397)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:137)
--
Michael Atighetchi [email protected] BBN Technologies