Hello

i want to ask if i can use Jackrabbit on client side using Java Maven to
communicate with an Apache server (Apache Module mod_dav)
[image: image.png]

If so, what are the components needed for this and if you can provide me
with a simple code that does the trick I would be very grateful.

I tried to establish a connection using this code :

1.  Repository repository = JcrUtils.getRepository("my url");

2.  Session session = repository.login(

3.  new SimpleCredentials("my username", "my Password".toCharArray()));



 but i get this Error :

Login failed: Unknown workspace 'null'.: javax.jcr.LoginException: Login
failed: Unknown workspace 'null'.

What should I do?
*Zahra Abu Zahra                *
*Software Developer        *
*CGC Building,7th Floor,Al Bireh,Ramallah*

Reply via email to