Created in: 2006-06-13 00:45:56
Author: martin
Size: 5090 bytes
Last updated: 2006-06-13 00:45:56
There isn't related documents
This article shows how to use the JCRBrowser (http://jcrbrowser.sourceforge.net that Sandro Boehme has contributed and customized for being bundled with jLibrary.
First you have to switch to the JCR Perspective. You can do this through the Window->Show Perspective... menu option, choosing Other... and selecting the JCR perspective.

Now it would be a nice thing to add the repository view to this JCR Perspective. You can do it with the Window->Show View... menu option and choosing the Repository perspective. The result could be something like this:

Now, please just select the jLibrary repository to connect with in the jLibrary Repository Browser. After that you can simply click the login button in the JCR Browser view to login to this repository. If you want to switch to an other local jLibrary repository you can simply select the other one and click the login button again.

Setting the server configuration:
For security reasons RMI remote access to the jLibrary server is disabled by default. To access it anyway, you need to enable it in the server configuration. So, go to the webapps/jlibrary/WEB-INF/ directory on the server and edit the web.xml file. Now, uncomment the "rmi-port" init-parameter of the "RepositoryStartup" servlet. By doing this the default parameters are used as described in the web.xml file. You can change them there if you need special settings.

Setting the JCR Browser preferences
You only need to set any preferences if you want to connect to a remote jLibrary server. The JCR Browser preferences can be found in the preferences dialog of jLibrary ("Admin"==>"Preferences...") under the node "JCR Browser".

First you need to set the connection parameters you configured in the web.xml file. You can set the parameters to connect with, under the node "JCR Browser/Remote Java Content Repository" in the preferences dialog. The following need to be specified:

The next step is setting the credentials. You can set the credentials to connect with, under the node "JCR Browser/Simple Credentials" in the preferences dialog. The following fields need to be specified:

Now finally you have to set the remote connection method. Please click at the "JCR Browser" node in the preferences and choose "Remote Java Content Repository".

Finally you can connect to the remote repository. After that steps you can simply connect to the remote jLibrary server by clicking the login button in the JCR Browser view.

To specify the preferred connection method please choose the "JCR Browser" node in the preference. There you can switch from one connection method to an other.
You can simply drop me an email or you can use the mailing list at http://sourceforge.net/projects/jcrbrowser or also the jLibrary developers maling list.
You can stay up to date by subscribing to the RSS news feed: http://sourceforge.net/export/rss2_projnews.php?group_id=154841
Enjoy!
Sandro and Martin