Hello Oliver, Thank you for your attempt to help and for the suggestion. However, you'll note from earlier in this thread that I referenced those same instructions. Unless there were recent changes to the sling baseline (i.e., within the past 24 hours) related to webapp deployment, then I would expect to run into the same problems I've had when following those steps.
That is to say, I have indeed started from scratch multiple times and followed those instructions -- but upon deployment it reports an error that "org.apache.sling.launchpad.base.jar" cannot be found. When I get past that problem (by setting sling.home in the web.xml file to a directory where said file is located), it deploys without error but returns 404. Alex On 7/11/14, Oliver Lietz <apa...@oliverlietz.de> wrote: > On Friday 11 July 2014 12:54:49 Alex Renger wrote: >> Hello Carsten, > > hello Alex, > >> I get the same 404 error when I try to access the base URL >> (http://localhost:8080/sling). For clarification/confirmation, here's >> how to reproduce what I'm seeing: >> >> 1. Get the latest source from subversion >> 2. rm -fr ~/.m2/repository #just to be sure i'm working with the latest >> stuff) 3. set sling.home in the >> launchpad/base/src/main/webapp/WEB-INF/web.xml file such that it >> points to my sling/launchpad/base directory >> 4. mvn clean install (from the main sling directory; that of the >> sling-builder project) >> 5. move org.apache.sling.launchpad.base-4.4.0-2.5.1-SNAPSHOT-webapp.war >> from launchpad/base/target to launchpad/base and call it "sling.war" >> 6. also move org.apache.sling.launchpad.base-4.4.0-2.5.1-SNAPSHOT.jar >> up one directory and call it "org.apache.sling.launchpad.base.jar". >> 7. deploy sling.war in a web container >> >> There are more steps here than are mentioned in the wiki for apache >> sling web app deployment, but this is the only way I could get it to >> deploy. The webapp war apparently needs to be able to find the >> "org.apache.sling.launchpad.base.jar" file, which is why I set >> sling.home to the directory in which it can be found. >> >> After your latest change, the above procedure deploys the app without >> any errors in the server.log file, but returns 404 status from all >> http requests. > > please start from scratch as described at > https://cwiki.apache.org/confluence/display/SLING/App+Server+Deployment and > > use the *org.apache.sling.launchpad-7-SNAPSHOT.war* from > launchpad/builder/target. > > Regards, > O. > >> Alex > [...] >