I don't know about explicit jars needed to support HTTPS (or SSL). In the libs/readme.txt file of the Restlet distribution you can find the dependencies list for all the distributed jars, plus the following statement at the beginning of that file:
"Below is a list of the dependencies between Restlet libraries. You need to ensure that all the dependencies of the libraries that you are using are on the classpath of your Restlet program, otherwise ClassNotFound exceptions will be thrown." Hope this helps, good luck On Tue, Mar 22, 2011 at 2:52 PM, Jason Richards <[email protected]> wrote: > Thanks for the response. I am trying to implement the jetty server now but I > am running into another problem. When I try to run the main class that > implements the server I get the following two errors: > > INFO: Unable to register the helper org.restlet.ext.jetty.AjpServerHelper > > INFO: Unable to register the helper org.restlet.ext.jetty.HttpServerHelper > > > It says that both of them are caused by a class not found error, specifically > this: > > Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Server > > I have attempted to add the org.restlet.ext.jetty.jar to my build path in > eclipse by adding the before mentioned .jar to my project then referencing it > in my configuration build libraries. > > I am I missing something else? > > Here is the code I am actually trying to run: > > > package com.it447.capstone; > > import org.restlet.Component; > import org.restlet.Server; > import org.restlet.data.Parameter; > import org.restlet.data.Protocol; > import org.restlet.util.Series; > > > > > public class HTTPSServer { > > public static void main(String[] args) throws Exception { > Component component = new Component(); > > Server server = component.getServers().add(Protocol.HTTPS, 8183); > Series<Parameter> parameters = server.getContext().getParameters(); > parameters.add("keystorePath", "C:/Program > Files/Java/jre6/lib/security/cacerts/BoomStart.jks"); > parameters.add("keystorePassword", "changeit"); > parameters.add("keyPassword", "audrey06"); > parameters.add("keystoreType", "JKS"); > // Attach the application. > component.getDefaultHost().attach("/Request", new RequestRouter()); > component.start(); > } > > } > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2713235 > -- Fabián Mandelbaum IS Engineer ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2713272

