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 [...]
