aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1687221 - /aries/trunk/jpa/examples/tasklist-ds/README.txt
Date Wed, 24 Jun 2015 09:44:58 GMT
Author: cschneider
Date: Wed Jun 24 09:44:57 2015
New Revision: 1687221

URL: http://svn.apache.org/r1687221
Log:
Updated installation instructions of ds example

Modified:
    aries/trunk/jpa/examples/tasklist-ds/README.txt

Modified: aries/trunk/jpa/examples/tasklist-ds/README.txt
URL: http://svn.apache.org/viewvc/aries/trunk/jpa/examples/tasklist-ds/README.txt?rev=1687221&r1=1687220&r2=1687221&view=diff
==============================================================================
--- aries/trunk/jpa/examples/tasklist-ds/README.txt (original)
+++ aries/trunk/jpa/examples/tasklist-ds/README.txt Wed Jun 24 09:44:57 2015
@@ -0,0 +1,26 @@
+Installation instructions on Karaf 4
+
+# Install DB and create DataSource service
+feature:repo-add pax-jdbc 0.6.0
+feature:install jdbc pax-jdbc-h2 pax-jdbc-config pax-jdbc-pool-dbcp2
+jdbc:ds-create -dn H2-pool-xa -url jdbc:h2:mem:tasklist tasklist
+
+# Install hibernate, aries jpa and example
+feature:install scr jpa hibernate/4.3.6.Final http-whiteboard
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.model/2.0.0
+install -s mvn:org.apache.aries.jpa.example/org.apache.aries.jpa.example.tasklist.ds/2.0.0
+
+# This should show three active DS components
+scr:list
+
+# This should show the TaskService
+service:list TaskService
+
+# This should show the TasklistServlet
+http:list
+
+
+# Now open the url 
+http://localhost:8181/tasklist
+# You should see one task named Task1
+ 
\ No newline at end of file



Mime
View raw message