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:31: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>added</b> by             <a href="http://cwiki.apache.org/confluence/display/~porklip">Pontus
Amberg</a>
    </h4>
         <br/>
    <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><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/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