Hi,
I'm trying to startto use Sling from the samples in code base. I succeeded
in setting up the sample espblog, but failed with the sample simple-demo. "
http://localhost:8888/content/espblog/*.html" display the "Sling ESP blog
sample" page, with the Home/Admin/New Post/... menu. However, "
http://localhost:8888/content/sling/sample/*.html" display the Sling's
default HTML rendition instead("Resource dumped by HtmlRendererServlet"),
while http://localhost:8888/apps/sling/sample/html.jsp returns return the
html.jsp script.
I found this information in the readme.txt under sample espblog:
> If you get Sling's default HTML rendition instead ("Resource dumped by
HtmlRendererServlet") that's probably because the "path-based-rtp" bundle
is not installed. Run the above "mvn...clean install" command in the
sling/samples/path-based-rtp folder to install it, and reload the page.
So I reinstalled the "path-based-rtp" bundle again, and there're
bundles "Apache
Sling ESP blog sample
<http://localhost:8888/system/console/bundles/43>", "Apache
Sling Sample Application <http://localhost:8888/system/console/bundles/45>"
and "Apache Sling Sample Path Based Resource Type
Provider<http://localhost:8888/system/console/bundles/44>"
whose status are "Active" in the console page(
http://localhost:8888/system/console/bundles).
But the same problem still occurred.
Is there anything I missed?
Thank you.
--
Ming Jin
Consultant
Thoughtworks, Inc
Twitter: https://twitter.com/mingjin