App Server Deployment
Deploy Sling to a Tomcat 6.x installation can be done by following these steps:
- Get the sling source as described here here
- Build sling as described here
- Make sure Tomcat isn't running
- Copy the file <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to the <tomcat>/webapps/ directory.
- Rename org.apache.sling.launchpad-6-SNAPSHOT.war in <tomcat>/webapps/ to sling.war
- Start Tomcat
- You should now be able to access Sling at http://localhost:8080/sling
Deploying Sling to a GlassFish 3.x can be done by following these steps:
- Get the sling source as described here here
- Build sling as described here
- Copy <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to a temporary directory and rename the file to sling.war
- Deploy Sling to GlassFish with <glassfishv3>/bin/asadmin deploy <path to temporary directory>/sling.war
- You should now be able to access Sling at http://localhost:8080/sling