App Server Deployment

Deploy Sling to a Tomcat 6.x installation can be done by following these steps:

  1. Get the sling source as described here here
  2. Build sling as described here
  3. Make sure Tomcat isn't running
  4. Copy the file <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to the <tomcat>/webapps/ directory.
  5. Rename org.apache.sling.launchpad-6-SNAPSHOT.war in <tomcat>/webapps/ to sling.war
  6. Start Tomcat
  7. 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:

  1. Get the sling source as described here here
  2. Build sling as described here
  3. Copy <sling>/launchpad/builder/target/org.apache.sling.launchpad-6-SNAPSHOT.war to a temporary directory and rename the file to sling.war
  4. Deploy Sling to GlassFish with <glassfishv3>/bin/asadmin deploy <path to temporary directory>/sling.war
  5. You should now be able to access Sling at http://localhost:8080/sling
  • No labels