Good Morning Oliver, I gave it another try this morning, just for good measure.
$ rm -fr sling $ svn co http://svn.apache.org/repos/asf/sling/trunk sling $ mvn -DskipTests clean install # this fails, so I had to revert to r1609744 $ svn update -r r1609744 $ mvn -DskipTests clean install # BUILD SUCCESS $ cp launchpad/base/target/org.apache.sling.launchpad.base-4.4.0-2.5.1-SNAPSHOT-webapp.war /tmp/sling.war $ asadmin deploy /tmp/sling.war Application deployed with name sling. Command deploy executed successfully. # However, server.log reports: [#|2014-07-14T07:07:55.758-0400|SEVERE|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WebModule[/sling]sling: Cannot load Launcher Servlet org.apache.sling.launchpad.base.webapp.SlingServletDelegate java.lang.IllegalArgumentException: Sling Launcher JAR /media/homespace/glassfish3/glassfish/domains/domain1/config/sling/_sling/org.apache.sling.launchpad.base.jar is not accessible at org.apache.sling.launchpad.base.shared.Loader.loadLauncher(Loader.java:104) at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:363) at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:325) ... For what it's worth, note that I am using debian linux (3.2.60-1+deb7u1 x86_64), openJdk 6, maven 3, and glassfish 3. Alex On 7/13/14, Oliver Lietz <apa...@oliverlietz.de> wrote: > On Friday 11 July 2014 14:17:29 Alex Renger wrote: >> Hello Oliver, > > hello Alex, > >> 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. > > it works with GlassFish 4 on OS X 10.9.4 with JDK 7u60 OOTB: > > $ ./asadmin start-domain > Waiting for domain1 to start .... > Successfully started the domain : domain1 > domain Location: /[...]/glassfish4/glassfish/domains/domain1 > Log File: /[...]/glassfish4/glassfish/domains/domain1/logs/server.log > Admin Port: 4848 > Command start-domain executed successfully. > $ ./asadmin deploy /[...]/sling.war > Application deployed with name sling. > Command deploy executed successfully. > $ curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" > http://localhost:8080/sling/content/mynode > <html> > <head> > <title>Content created /content/mynode</title> > </head> > <body> > <h1>Content created /content/mynode</h1> > <table> > <tbody> > <tr> > <td>Status</td> > <td><div id="Status">201</div></td> > </tr> > <tr> > <td>Message</td> > <td><div id="Message">Created</div></td> > </tr> > <tr> > <td>Location</td> > <td><a href="/sling/mynode" > id="Location">/sling/mynode</a></td> > </tr> > <tr> > <td>Parent Location</td> > <td><a href="/sling/content" > id="ParentLocation">/sling/content</a></td> > </tr> > <tr> > <td>Path</td> > <td><div id="Path">/content/mynode</div></td> > </tr> > <tr> > <td>Referer</td> > <td><a href="" id="Referer"></a></td> > </tr> > <tr> > <td>ChangeLog</td> > <td><div > id="ChangeLog"><pre>created("/content");<br/>created("/content/mynode");<br/>modified("/content/mynode/sling:resourceType");<br/>modified("/content/mynode/title");<br/></pre></div></td> > </tr> > </tbody> > </table> > <p><a href="">Go Back</a></p> > <p><a href="/sling/mynode">Modified Resource</a></p> > <p><a href="/sling/content">Parent of Modified Resource</a></p> > </body> > </html> > > > Regards, > O. > >> Alex > [...] >