You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Ole Ersoy <ol...@gmail.com> on 2013/08/07 06:39:06 UTC
Attempting to play with Sling
Hi,
I'm attempting to get through the "Getting Started" documentation. When I start the launchpad I get the issue described here:
http://stackoverflow.com/questions/7552260/apache-sling-exception-when-starting
Subsequently I tried the war. When I issue the first curl command I get this:
HTTP Status 404 - /content/mynode</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/content/mynode</u></p><p><b>description</b> <u>The requested resource is not available......
I looked in the tomcat logs and there's this:
INFO: sling: Setting sling.home=sling/_org.apache.sling.launchpad-6 (servlet context path)
Aug 06, 2013 11:21:28 PM org.apache.catalina.core.ApplicationContext log
SEVERE: sling: Failed to start Sling in sling/_org.apache.sling.launchpad-6
java.lang.IllegalArgumentException: Sling Home /var/lib/tomcat7/sling/_org.apache.sling.launchpad-6 cannot be created as a directory
at org.apache.sling.launchpad.base.shared.Loader.getSlingHomeFile(Loader.java:381)
at org.apache.sling.launchpad.base.shared.Loader.<init>(Loader.java:67)
at org.apache.sling.launchpad.webapp.SlingServlet$2.<init>(SlingServlet.java:281)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:281)
at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:111)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1274)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5033)
Aug 06, 2013 11:21:28 PM org.apache.catalina.core.ApplicationContext log
Thoughts?
Thanks,
- Ole
Re: Attempting to play with Sling
Posted by Robert Munteanu <ro...@lmn.ro>.
On Wed, Aug 7, 2013 at 8:38 PM, Ole Ersoy <ol...@gmail.com> wrote:
>
>> As noted there it's probably
>> https://issues.apache.org/jira/browse/SLING-2348
>
>
> It has been closed and marked as fixed. What's the best way to move
> forward?
>
Building your own version of the Sling Launchpad, as described at [1]
Robert
[1]: http://sling.apache.org/documentation/development/getting-and-building-sling.html
--
Sent from my (old) computer
Re: Attempting to play with Sling
Posted by Ole Ersoy <ol...@gmail.com>.
> As noted there it's probably https://issues.apache.org/jira/browse/SLING-2348
It has been closed and marked as fixed. What's the best way to move forward?
Thanks,
- Ole
Re: Attempting to play with Sling
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Aug 7, 2013 at 6:39 AM, Ole Ersoy <ol...@gmail.com> wrote:
> ...I'm attempting to get through the "Getting Started" documentation. When I
> start the launchpad I get the issue described here:
>
> http://stackoverflow.com/questions/7552260/apache-sling-exception-when-starting
As noted there it's probably https://issues.apache.org/jira/browse/SLING-2348
-Bertrand