Connection to CQ via JCR API
Hi to everybody,
I'm new to CQ and I'm tryng to connect to CRX's CQ from a custom component in LiveCycle.
First of all, i made a project in Eclipse in which do all the operation required (retrieve a node, store node, etc..), and testing the methods inside Eclipse it works
My problem starts when importing and executing the custom component inside LiveCycle, because cannot connect to CRX (while testing it in Eclipse, calling the same method, everything works)
The error:
javax.jcr.RepositoryException: Unable to access a repository with the following settings:
org.apache.jackrabbit.repository.uri: http://172.31.0.51:8080/lc/crx/server
The following RepositoryFactory classes were consulted:
Perhaps the repository you are trying to access is not available at the moment.
I see other post relative to this error, but these suggests doesn't have helped me
- http://forums.adobe.com/message/5228023
- http://forums.adobe.com/message/4734716
For who wants, it's possible to download the project (.zip) from here
[note that the file it's 60MB because included the jar jackrabbit-standalone-2.4.5 - thats the way i found to make it works in Eclipse]
Zip of the Eclipse project
https://drive.google.com/file/d/0B9WReKLIV7H-bTdFVGNTLXVzUnM/edit?usp=sharing
Jar to deploy in Livecycle
https://drive.google.com/file/d/0B9WReKLIV7H-ZDluQml6S3RHbTQ/edit?usp=sharing
Could someone help me?
Any help would be really appreciate :)