You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/01/14 17:02:14 UTC

svn commit: r611836 - in /incubator/sling/trunk/usling/usling-webapp: README.txt pom.xml

Author: bdelacretaz
Date: Mon Jan 14 08:02:11 2008
New Revision: 611836

URL: http://svn.apache.org/viewvc?rev=611836&view=rev
Log:
SLING-149 - merge usling into Sling - added org.apache.felix.commons.xml-apis bundle for org.apache.sling.jcr.jackrabbit.server, but repository still not created automatically at startup

Modified:
    incubator/sling/trunk/usling/usling-webapp/README.txt
    incubator/sling/trunk/usling/usling-webapp/pom.xml

Modified: incubator/sling/trunk/usling/usling-webapp/README.txt
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/usling/usling-webapp/README.txt?rev=611836&r1=611835&r2=611836&view=diff
==============================================================================
--- incubator/sling/trunk/usling/usling-webapp/README.txt (original)
+++ incubator/sling/trunk/usling/usling-webapp/README.txt Mon Jan 14 08:02:11 2008
@@ -22,15 +22,14 @@
 Once the webapp starts, http://localhost:8080/sling should display the Sling 
 web console.
 
-KNOWN PROBLEM: currently the org.apache.sling.jcr.jackrabbit.server bundle jar
-must be installed manually before running the tests shown below. For some reason 
-the bundle cannot be loaded automatically, see pom.xml
+KNOWN PROBLEM: The org.apache.sling.jcr.jackrabbit.server bundle currently does not
+create the Jackrabbit repository at startup. If you get an error message saying 
 
-Use the "install or update" button of http://localhost:8080/sling/list to load
-the bundle, and start it from that page.
-
-If the bundle is missing you'll get an error saying
-"No Repository available to SlingAuthenticator, cannot authenticate".
+	"No Repository available to SlingAuthenticator, cannot authenticate".
+	
+Try stopping and restarting the "Sling - Jackrabbit Embedded Repository" bundle
+from the http://localhost:8080/sling/list page. When restarting, the log at
+ sling/logs/error.log should indicate that the repository is being created. 	
 
 4) Test node creation and display
 To create a node with curl:

Modified: incubator/sling/trunk/usling/usling-webapp/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/usling/usling-webapp/pom.xml?rev=611836&r1=611835&r2=611836&view=diff
==============================================================================
--- incubator/sling/trunk/usling/usling-webapp/pom.xml (original)
+++ incubator/sling/trunk/usling/usling-webapp/pom.xml Mon Jan 14 08:02:11 2008
@@ -260,15 +260,16 @@
       <artifactId>org.apache.sling.scripting.javascript</artifactId>
       <version>2.0.0-incubator-SNAPSHOT</version>
     </dependency>
-    <!--
-      TODO causes java.lang.ClassNotFoundException: org.apache.xerces.jaxp.SAXParserFactoryImpl
-      but works if started manually via the Sling web console 
     <dependency>
       <groupId>org.apache.sling</groupId>
       <artifactId>org.apache.sling.jcr.jackrabbit.server</artifactId>
       <version>2.0.0-incubator-SNAPSHOT</version>
     </dependency>
-     -->
+    <dependency>
+      <groupId>org.apache.felix.commons</groupId>
+      <artifactId>org.apache.felix.commons.xml-apis</artifactId>
+      <version>1.3.4-0002-SNAPSHOT</version>
+    </dependency>
     
     <!--
       Commons Dependencies provided by the Apache Felix project