<?xml version="1.0"?>
<!--
    $Id: installation-novell.xml 481833 2006-12-03 17:32:52Z niallp $

    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at
   
         http://www.apache.org/licenses/LICENSE-2.0
   
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<document url="installation-novell.html">

    <properties>
        <title>The Struts Framework Project - Installation - Novell ExteNd
            Application Server</title>
    </properties>

    <body>
        <section name="6.2 Installation" href="installation">
            <subsection name="Installing Struts with your servlet container"
                        href="Containers">

                <h4 id="orion">Novell ExteNd Application Server 4.0</h4>

                <strong>Using the ExteNd Workbench to deploy a WAR to the
                    Novell ExteNd
                    application server:</strong>
                <ul>
                    <li>Start the Novell ExteNd application server.</li>
                    <li>Using the ExteNd Workbench, create a new project:
                        <ol>
                            <li>File &gt; New Project</li>
                            <li>Select
                                <em>Deploy-Only</em>
                                and click
                                <code>OK</code>
                            </li>
                            <li>Under Archive File select the appropriate
                                Struts WAR file</li>
                            <li>Indicate the type of file (i.e. WAR 1.2)</li>
                            <li>Give the Deploy-Only project a name (i.e.
                                struts-example)</li>
                            <li>Give the Deploy-Only project a location
                                (i.e.
                                <code>D:\Struts</code>
                                )
                            </li>
                            <li>Click
                                <code>Next</code>
                            </li>
                            <li>Review the material to be sure everything is
                                correct</li>
                            <li>Click
                                <code>Finish</code>
                            </li>
                        </ol>
                    </li>
                    <li>Setting up a deployment plan and server profile:
                        <ol>
                            <li>Right click on the project icon you just
                                created and
                                select
                                <em>Deployment Plan</em>
                            </li>
                            <li>Select
                                <code>OK</code>
                                when asked to create a new deployment
                                plan
                            </li>
                            <li>Save the deployment plan</li>
                            <li>Create a server profile: Projects &gt;
                                Deployment Settings</li>
                            <li>Click on the Server Profiles tab</li>
                            <li>Select a server profile and click
                                <code>OK</code>
                            </li>
                        </ol>
                    </li>
                    <li>Deploy the project:
                        <ol>
                            <li>Project &gt; Deploy Archive</li>
                        </ol>
                    </li>
                </ul>

                <strong>Deploying a WAR from a command line using
                    SilverCmd:</strong>
                <ul>
                    <li>Start the SilverStream application server.</li>
                    <li>Create an XML deployment plan for the
                        <code>struts-example.war</code>
                        application.
                    </li>
                    <li>Call the file
                        <code>struts-example-depl-plan.xml</code>
                        . You
                        can use the following contents for the file:
                        <pre><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE warJarOptions PUBLIC
  "-//Silverstream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
  "deploy_war.dtd">
<warJarOptions>
  <warJar>
    <warJarName>struts-example.war</warJarName>
    <isEnabled>true</isEnabled>
    <urls>
      <el>struts-example</el>
    </urls>
  </warJar>
</warJarOptions>
]]></pre>
                    </li>
                    <li>Create an XML deployment plan for the
                        <code>struts-documentation.war</code>
                        application.
                    </li>
                    <li>Call the file
                        <code>struts-documentation-depl-plan.xml</code>
                        . You
                        can use the following contents for the file:
                        <pre><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE warJarOptions PUBLIC
  "-//Silverstream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
  "deploy_war.dtd">
<warJarOptions>
  <warJar>
    <warJarName>struts-documentation.war</warJarName>
    <isEnabled>true</isEnabled>
    <urls>
      <el>struts-documentation</el>
    </urls>
  </warJar>
</warJarOptions>
]]></pre>
                    </li>
                    <li>Run the following "SilverCmd DeployWAR" commands to
                        deploy the
                        applications. You can change 'localhost' to whatever
                        server you
                        are deploying to. You can change 'Silvermaster' to
                        whatever
                        database you are deploying to.
                        <pre><![CDATA[
SilverCmd DeployWar localhost Silvermaster struts-example.war
  -f struts-example-depl-plan.xml
SilverCmd DeployWar localhost Silvermaster struts-documentation.war
  -f struts-documentation-depl-plan.xml
]]></pre>
                    </li>
                </ul>

                <hr/>
                <p>Back to
                    <a href="installation.html#Containers">Installation</a>
                </p>
            </subsection>
        </section>
    </body>
</document>
