Hi team,
I am not able to connect to remote aem repository,I am getting this exception.
Exception Unable to access a repository with the following settings:
org.apache.jackrabbit.repository.uri: http:.//localhost:4503/crx/server
The following RepositoryFactory classes were consulted:
Perhaps the repository you are trying to access is not available at the moment
I have added the below dependencies, but still getting the same exception,
<
dependencies
>
<
dependency
>
<
groupId
>javax.jcr</
groupId
>
<
artifactId
>jcr</
artifactId
>
<
version
>2.0</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.apache.jackrabbit</
groupId
>
<
artifactId
>jackrabbit-jcr2dav</
artifactId
>
<
version
>2.4.0</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.slf4j</
groupId
>
<
artifactId
>slf4j-api</
artifactId
>
<
version
>1.7.5</
version
>
</
dependency
>
</
dependencies
>
Can anyone please help me out in finding a way to connect to remote aem repository using java
Thanks
URL mentioned by you is http:.//localhost:4503/crx/server does not seems to be correct (not sure if extra . (dot) is added by forum)
Also, can you mentioned what you are trying to access from repository of that server?
Views
Replies
Total Likes
Hi,
You need to add the jackrabbit-standalone JAR file in your project. It will work and in fact as praveen said, might be you used wrong URL i.e., http:.//localhost:4503/crx/server (. in between colon and slash)
See this article for more information: Adobe Experience Manager Help | Programmatically Accessing Adobe Experience Manager Content using th... (This will work for 6.x too and download latest jackrabbit-standalone JAR file).
Hope this helps!!
Thanks,
Ratna.
Actually we have a requirement like , to create a workflow so that when we make any change in content to page in server A and start workflow from that server(payload will be that modified page), then that change should be pushed to server B.(from one author to another author env)
So i thought i might try to establish connection from one server to another server first.
Any suggestions in how to implement the above requirement will be really helpful ,
Thanks
Views
Replies
Total Likes
Views
Likes
Replies