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

Reply via email to