File: installation-sas.xml

package info (click to toggle)
libstruts1.2-java 1.2.9-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 47,756 kB
  • ctags: 29,808
  • sloc: xml: 90,345; java: 71,107; jsp: 31,692; makefile: 9; sh: 2
file content (83 lines) | stat: -rw-r--r-- 2,785 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0"?>
<document url="installation-sas.html">

  <properties>
   <author>John Rousseau</author>
    <title>The Struts Framework Project - Installation - Silverstream Application Server</title>
  </properties>

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

<h4 id="sas">SilverStream Application Server 3.7.1 and later</h4>

<ul>
  <li>Start the SilverStream application server.</li>
  <li>Create an XML deployment plan for the &quot;<code>struts-example.war</code>&quot;
      application. Call the file &quot;<code>struts-example-depl-plan.xml</code>&quot;.
      You can use the following contents for the file</li>
</ul>

<hr/>

<p>----- cut here -----</p>

<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE warJarOptions PUBLIC
  &quot;-//SilverStream Software, Inc.//DTD J2EE WAR Deployment Plan//EN&quot;
  &quot;deploy_war.dtd&quot;&gt;
&lt;warJarOptions&gt;
&lt;warJar&gt;
&lt;warJarName&gt;struts-example.war&lt;/warJarName&gt;
&lt;isEnabled&gt;true&lt;/isEnabled&gt;
&lt;urls&gt;&lt;el&gt;struts-example&lt;/el&gt;&lt;/urls&gt;
&lt;/warJar&gt;
&lt;/warJarOptions&gt;
</pre>

<p>----- cut here -----</p>

<hr/>

<p>Create an XML deployment plan for the &quot;<code>struts-documentation.war</code>&quot;
    application. Call the file &quot;struts-documentation-depl-plan.xml&quot;.
    You can use the following contents for the file:</p>

<hr/>
<p>----- cut here -----</p>

<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE warJarOptions PUBLIC
  &quot;-//SilverStream Software, Inc.//DTD J2EE WAR Deployment Plan//EN&quot;
  &quot;deploy_war.dtd&quot;&gt;
&lt;warJarOptions&gt;
&lt;warJar&gt;
&lt;warJarName&gt;struts-documentation.war&lt;/warJarName&gt;
&lt;isEnabled&gt;true&lt;/isEnabled&gt;
&lt;urls&gt;&lt;el&gt;struts-documentation&lt;/el&gt;&lt;/urls&gt;
&lt;/warJar&gt;
&lt;/warJarOptions&gt;
</pre>

<p>----- cut here -----</p>
<hr/>

<p>Run the following &quot;<code>SilverCmd DeployWAR</code>&quot; 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.</p>
   <ul>
     <li>SilverCmd DeployWar localhost Silvermaster struts-example.war -f struts-example-depl-plan.xml</li>
     <li>SilverCmd DeployWar localhost Silvermaster struts-documentation.war -f struts-documentation-depl-plan.xml</li>
   </ul>
  <hr/>
  <ul><li>Author: John Rousseau</li></ul>
  <hr/>
  <p>Back to <a href="installation.html#Containers">Installation</a></p>
</section>

</body>
</document>