alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (jetty-ssl.xml)

This example Jetty source code file (jetty-ssl.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

arg, arg, bay, call, configure, configure, mort, new, new, obf:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4, server, set, set, systemproperty

The Jetty jetty-ssl.xml source code

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">

<!-- =============================================================== -->
<!-- Configure SSL for the Jetty Server                              -->
<!-- this configuration file should be used in combination with      -->
<!-- other configuration files.  e.g.                                -->
<!--    java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml          -->
<!-- =============================================================== -->
<Configure id="Server" class="org.mortbay.jetty.Server">



  <Call name="addConnector">
    <Arg>
      <New class="org.mortbay.jetty.security.SslSocketConnector">
        <Set name="Port">8443
        <Set name="maxIdleTime">30000
        <Set name="handshakeTimeout">2000
        <Set name="keystore">/etc/keystore
        <Set name="password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
        <Set name="keyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g
        <Set name="truststore">/etc/keystore
        <Set name="trustPassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
        <Set name="handshakeTimeout">2000
        <!-- Set name="ThreadPool">
          <New class="org.mortbay.thread.BoundedThreadPool">
            <Set name="minThreads">10
            <Set name="maxThreads">250
         </New>
        </Set -->
      </New>
    </Arg>
  </Call>
</Configure>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty jetty-ssl.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.