Community
Participate
Working Groups
When running with the ECF SDK installed, I get: osgi> [log;+0100 2010.08.26 22:23:06:804;INFO;org.eclipse.ecf;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf;code=0;message=Unexpected Error in ECFPlugin.start;severity4;exception=java.lang.NoClassDefFoundError: javax/net/SocketFactory;children=[]]] java.lang.NoClassDefFoundError: javax/net/SocketFactory at org.eclipse.ecf.internal.ssl.ECFTrustManager.start(ECFTrustManager.java:83) at org.eclipse.ecf.internal.core.ECFPlugin.start(ECFPlugin.java:113) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783) It appears that the ECFTrustManager, defined in the org.eclipse.ecf.ssl bundle, doesn't import javax.net. As a result, you end up with a NoClassDefFoundError as above. Bundle-SymbolicName: org.eclipse.ecf.ssl Bundle-Version: 1.0.0.v20100615-1452 Export-Package: org.eclipse.ecf.internal.ssl;x-internal:=true Ant-Version: Apache Ant 1.7.1 Bundle-Vendor: %plugin.provider Bundle-Name: %plugin.name Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.) Import-Package: org.eclipse.osgi.service.security,javax.net.ssl Bundle-ManifestVersion: 2
Removing the org.eclipse.ecf.ssl bundle from my runtime removes this problem, so I'm pretty sure that's the problem
Resolving as duplicate of 316500. As indicated on comment on 316500 comment 1 I still don't quite understand why this wasn't showing up in testing, but perhaps it has something to do with the JRE version. I'm also going to add Matt Flaher of IBM to 316500...as he is one of the authors of the *.ssl bundles. *** This bug has been marked as a duplicate of bug 316500 ***