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