|
|
|
JCR server and FunambolIn order to setup a test framework for the Funambol JCR connector, I had to setup a JCR repository server. This blog entry, will guide you to set up the test tools. To do this you need:
Installing and configuring TomcatAs Funambol Data Synchronization server already runs on a Tomcat server,
you will need to change the new Tomcat listening ports. You can do this by
editing the conf/server.xml file. To run and stop the server there are
bin/startup.sh and bin/shutdown.sh in tomcat. I will assume
here that the tomcat server containing the JCR servlet listens HTTP requests
on 8081 port and the funambol one listens on 8080 port. In order to use the manager in the next section, you will need to add a new user with manager role in conf/tomcat-users.xml <user username="admin" password="admin" roles="manager"/> Deploying jackrabbit-serverTo easily deploy the jackrabbit server, you just have to download the corresponding war file on the jackrabbit download page (see link below). Then, open the following URL in your web browser: http://localhost:8080/manager/html. There you will need to authenticate using the login and password you added to tomcat-users.xml (see the previous section). From this page, select the downloaded war file and deploy it: it's done. You can use this page to reload the web application after some configuration changes. Setting up jackrabbit-server for RMIBy default, the jackrabbit-server servlet only provide a WebDAV access to the repository, but you will be able to configure the RMI support easily by changing the WEB-INF/web.xml file to have the following lines:
<init-param>
As you can see it, these values are defining the RMI
You should uncomment the following lines too and change to the right RMI url (see above for the url)
<!--
Testing with FunambolBefore considering to have a working tomcat repository server, please check that the server has been launched as root. Otherwise you might experience some end of file problems at runtime. To check if the RMI registry is correctly launched, execute netstat -l: you should have the following line: tcp 0 0 jcrserver:rmiregistry *:* LISTEN Then, you will have to download the latest Funambol JCR connector sources on Nuxeo SVN (see links below). You will need to build both org.nuxeo.sync.jcr and org.nuxeo.sync.jcr.extensions modules and deploy them into Funambol (see the projects README files for detailled instructions). Then use funamboladmin program to create a new JCR source instance. You will have to set
Now you should be able to test this connector using the Funambol command-line client. There is nothing to synchronize as the methods aren't implemented in the connector yet. Thus stay tuned...
On this page you will find the necessary jackrabbit-server*.war file. There is no need to download any thing else as its already included in the connector.
You can download the Funambol Bundle and command line client to test the connector. The connector is developed with the 3.0 beta 1 version: don't try with other versions or you will have errors.
Here are the sources of the connector to build and use with Funambol. Please mind that this is still in development: this connector may be quite empty
Here are the sources containing the RMI specific code to build and use with Funambol.
Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior. Trackback PingsTrackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2006_04_24_jcr-server-and-funambol/tbping
Posted by Cedric Bosdonnat @ 04/24/2006 10:13 PM.
-
Categories:
apogee
-
0 comments
|
Nuxeo Bloggers: Log in!
Search
Search Nuxeo Blogs
Categories
Nuxeo Bloggers
Photos and Pictures
|
|
Nuxeo -
Indesko -
Nuxeo 5 Project
All content is copyrighted by their author. CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS. |