Skip to main content

Summary This article clarifies package name changes in the Jetty version shipped with Artix.
Environment

Artix 5.6.2 Java (JAX-WS runtime)

All Supported Operating Systems

Question/Problem Description Cannot find class org.mortbay.jetty.security.SslSocketConnector in Artix 5.6 after upgrading from Artix 5.5
Clarifying Information Jetty is a pure Java-based HTTP (Web) server and Java Servlet container developed as a free and open source project as part of the Eclipse Foundation, and is included in Artix Java runtime (JAX-WS).
Error Message java.lang.ClassNotFoundException: org.mortbay.jetty.security.SslSocketConnector
Defect/Enhancement Number
Cause
Artix 5.5 JAX-WS included Jetty 6 whereas Artix 5.6.2 Java (JAX-WS) includes Jetty 7.

As described in the Jetty wiki below, package names have changed between Jetty 6 and Jetty 7:
https://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7/Packages_and_Classes


Resolution

The SSLConnector class is now:

org.eclipse.jetty.server.ssl.SslSocketConnector.class

and is available in the following JAR file:

<Artix 5.6.2 install dir>/lib/cxf/jetty-server-7.4.5.v20110725.jar

Workaround
Notes
Attachment

#Orbix
#KnowledgeDocs