title: Config error Jetty
body: <p>I am trying to install and run <strong><a href="http://www.eclipse.org/jetty/" rel="nofollow">Jetty 7</a></strong> for the <em>Shibboleth Identity Provider</em> on my server, but i get this error:</p>
  
  <pre><code>[iam@web333 jetty]$ java -jar start.jar jetty.port=27335
  2013-06-29 12:01:47.490:WARN:oejx.XmlConfiguration:Config error at &lt;Call name="addConnector"&gt;|    &lt;Arg&gt;|      &lt;New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"&gt;|         &lt;Arg&gt;|           &lt;New class="net.shibboleth.utilities.jetty7.DelegateToApplicationSslContextFactory"&gt;|             &lt;Set name="keyStore"&gt;/home/iam/opt/shibboleth-idp/credentials/idp.jks&lt;/Set&gt;|             &lt;Set name="keyStorePassword"&gt;*****&lt;/Set&gt;|           &lt;/New&gt;|          &lt;/Arg&gt;|        &lt;Set name="port"&gt;27335&lt;/Set&gt;|        &lt;Set name="maxIdleTime"&gt;30000&lt;/Set&gt;|      &lt;/New&gt;|    &lt;/Arg&gt;|  &lt;/Call&gt; java.lang.ClassNotFoundException: net.shibboleth.utilities.jetty7.DelegateToApplicationSslContextFactory
  Exception in thread "main" java.lang.ClassNotFoundException: net.shibboleth.utilities.jetty7.DelegateToApplicationSslContextFactory
          at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
          at org.eclipse.jetty.util.Loader.loadClass(Loader.java:100)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.nodeClass(XmlConfiguration.java:354)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:754)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1126)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1029)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:777)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1126)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1029)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:722)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:388)
          at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:343)
          at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:296)
          at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1247)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182)
  </code></pre>
  
  <p>I followed this guide: <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPJetty7Prepare" rel="nofollow">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPJetty7Prepare</a> and i modify the ports 8080 and 8443 to my port 27335 in the <strong>jetty.xml</strong> and <strong>jetty-ssl.xml</strong> config files.</p>
  
  <p>And also in <strong>shib-delegatessl.xml</strong> i have modified the port 8443 to 27335.</p>
  
  <pre><code>&lt;Configure id="Server" class="org.eclipse.jetty.server.Server"&gt;
    &lt;Call name="addConnector"&gt;
      &lt;Arg&gt;
        &lt;New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"&gt;
           &lt;Arg&gt;
             &lt;New class="net.shibboleth.utilities.jetty7.DelegateToApplicationSslContextFactory"&gt;
               &lt;Set name="keyStore"&gt;/home/iam/opt/shibboleth-idp/credentials/idp.jks&lt;/Set&gt;
               &lt;Set name="keyStorePassword"&gt;********&lt;/Set&gt;
             &lt;/New&gt;
            &lt;/Arg&gt;
          &lt;Set name="port"&gt;27335&lt;/Set&gt;
          &lt;Set name="maxIdleTime"&gt;30000&lt;/Set&gt;
        &lt;/New&gt;
      &lt;/Arg&gt;
    &lt;/Call&gt;
  &lt;/Configure&gt;
  </code></pre>
  
  <p>How do I fix this error? and how can i test Jetty if it works?
  Thank you very much.</p>
  
  <p>Best regards!</p>