Jetty Setup Information

This is a step by step guide to configuring your application on Jetty. (Running the default slide.war is simple though) If you find anything missing, vague, or inaccurate feel free to make corrections.

jetty.xml Configuration

<Configure class="org.mortbay.jetty.plus.Server">
...
        <Call name="addWebApplication">
                <Arg>/</Arg>
                <Arg>./webapps/cansaswebdav.war</Arg>
                <Set name="extractWAR">false</Set>
                <Set name="Realm">
                        <New class="org.mortbay.jaas.JAASUserRealm">
                                <Set name="Name">Cansas JAAS Realm</Set>
                                <Set name="LoginModuleName">cansas_login</Set>
                        </New>
                </Set>
        </Call>
</Configure>

web.xml notes

Setting up JAAS

JVM start parameters

-DSTART=extra/etc/start-plus.config -Djava.security.auth.login.config=/Applications/jettyplus/etc/jaas.conf

JettySetup (last edited 2009-09-20 22:02:36 by localhost)