incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Sling > App Server Deployment
Date Mon, 10 May 2010 22:33:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=SLING&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="http://cwiki.apache.org/confluence/display/SLING/App+Server+Deployment">App
Server Deployment</a></h2>
    <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~porklip">Pontus
Amberg</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" ># Rename *org.apache.sling.launchpad-6-SNAPSHOT.war*
in *&lt;tomcat&gt;/webapps/* to *sling.war* <br># Start Tomcat <br></td></tr>
            <tr><td class="diff-changed-lines" ># You should now be able to access
Sling at <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">[|http://localhost:8080/sling][http://localhost:8080/sling]</span>
<span class="diff-added-words"style="background-color: #dfd;">[http://localhost:8080/sling]</span>
<br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >Deploying Sling to a <span
class="diff-changed-words">Glass<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">f</span><span
class="diff-added-chars"style="background-color: #dfd;">F</span>ish</span>
3.x can be done by following these steps: <br></td></tr>
            <tr><td class="diff-unchanged" ># Get the sling source as described
here [here|http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource]
<br># Build sling as described [here|http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-BuildingSling]
<br># Copy *&lt;sling&gt;/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war*
to a temporary directory and rename the file to *sling.war* <br></td></tr>
            <tr><td class="diff-changed-lines" ># Deploy Sling to <span class="diff-changed-words">Glass<span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">f</span><span
class="diff-added-chars"style="background-color: #dfd;">F</span>ish</span>
with *&lt;glassfishv3&gt;/bin/asadmin deploy &lt;path to temporary directory&gt;/sling.war*
<br></td></tr>
            <tr><td class="diff-unchanged" ># You should now be able to access
Sling at [http://localhost:8080/sling] <br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="AppServerDeployment-AppServerDeployment"></a>App Server
Deployment</h1>

<p>Deploy Sling to a Tomcat 6.x installation can be done by following these steps:</p>
<ol>
	<li>Get the sling source as described here <a href="http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource"
class="external-link" rel="nofollow">http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource</a><a
href="http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource"
class="external-link" rel="nofollow">here</a></li>
	<li>Build sling as described <a href="http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-BuildingSling"
class="external-link" rel="nofollow">here</a></li>
	<li>Make sure Tomcat isn't running</li>
	<li>Copy the file <b>&lt;sling&gt;/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war</b>
to the <b>&lt;tomcat&gt;/webapps/</b> directory.</li>
	<li>Rename <b>org.apache.sling.launchpad-6-SNAPSHOT.war</b> in <b>&lt;tomcat&gt;/webapps/</b>
to <b>sling.war</b></li>
	<li>Start Tomcat</li>
	<li>You should now be able to access Sling at <a href="http://localhost:8080/sling"
class="external-link" rel="nofollow">http://localhost:8080/sling</a></li>
</ol>


<p>Deploying Sling to a GlassFish 3.x can be done by following these steps:</p>
<ol>
	<li>Get the sling source as described here <a href="http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource"
class="external-link" rel="nofollow">here</a></li>
	<li>Build sling as described <a href="http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-BuildingSling"
class="external-link" rel="nofollow">here</a></li>
	<li>Copy <b>&lt;sling&gt;/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war</b>
to a temporary directory and rename the file to <b>sling.war</b></li>
	<li>Deploy Sling to GlassFish with <b>&lt;glassfishv3&gt;/bin/asadmin
deploy &lt;path to temporary directory&gt;/sling.war</b></li>
	<li>You should now be able to access Sling at <a href="http://localhost:8080/sling"
class="external-link" rel="nofollow">http://localhost:8080/sling</a></li>
</ol>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="http://cwiki.apache.org/confluence/display/SLING/App+Server+Deployment">View
Online</a>
        |
        <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=20645091&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="http://cwiki.apache.org/confluence/display/SLING/App+Server+Deployment?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message