You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Ahmed Elshereay <AE...@idc.com> on 2010/07/14 14:21:08 UTC
URGENT PLEASE - Problem connecting to remote repository
All,
I have jackrabbit on my pc, and I can connect to it just fine, but I also
have jackrabbit running on another linux machine (QA server), and I need
to connect to jackrabbit QA remotly.
I followed the steps mentioned at:
http://wiki.apache.org/jackrabbit/RemoteAccess
But I am gettng the following exception:
Exception in thread "main" javax.jcr.RepositoryException: Unable to access
a repository with the following settings:
org.apache.jackrabbit.repository.uri:
http://the.qa.server:8080/jackrabbit
The following RepositoryFactory classes were consulted:
org.apache.jackrabbit.core.RepositoryFactoryImpl: declined
org.apache.jackrabbit.commons.JndiRepositoryFactory: declined
org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined
org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined
Perhaps the repository you are trying to access is not available at the
moment.
at org.apache.jackrabbit.commons.JcrUtils.getRepository(
JcrUtils.java:199)
at org.apache.jackrabbit.commons.JcrUtils.getRepository(
JcrUtils.java:239)
at
Jackrabbit homeDir is at the root of the server: /jackrabbit
I also have jboss running on port 8080, and jackrabbit is already up
(jackrabbit-jca)
I am trying to connect with the following code:
Repository repository = JcrUtils.getRepository(
"http://the.qa.server:8080/jackrabbit")
Please, can anyone tell me what's wrong? And how to connect to that QA
jackrabbit?
Thank you in advance.
Re: URGENT PLEASE - Problem connecting to remote repository
Posted by Justin Edelson <ju...@gmail.com>.
FYI - Three hours isn't really an appropriate amount of time before
resubmitting a question.
On 7/14/10 8:21 AM, Ahmed Elshereay wrote:
> All,
>
> I have jackrabbit on my pc, and I can connect to it just fine, but I also
> have jackrabbit running on another linux machine (QA server), and I need
> to connect to jackrabbit QA remotly.
> I followed the steps mentioned at:
> http://wiki.apache.org/jackrabbit/RemoteAccess
> But I am gettng the following exception:
>
> Exception in thread "main" javax.jcr.RepositoryException: Unable to access
>
> a repository with the following settings:
> org.apache.jackrabbit.repository.uri:
> http://the.qa.server:8080/jackrabbit
> The following RepositoryFactory classes were consulted:
> org.apache.jackrabbit.core.RepositoryFactoryImpl: declined
> org.apache.jackrabbit.commons.JndiRepositoryFactory: declined
> org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined
> org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined
> Perhaps the repository you are trying to access is not available at the
> moment.
> at org.apache.jackrabbit.commons.JcrUtils.getRepository(
> JcrUtils.java:199)
> at org.apache.jackrabbit.commons.JcrUtils.getRepository(
> JcrUtils.java:239)
> at
>
> Jackrabbit homeDir is at the root of the server: /jackrabbit
>
> I also have jboss running on port 8080, and jackrabbit is already up
> (jackrabbit-jca)
>
> I am trying to connect with the following code:
>
> Repository repository = JcrUtils.getRepository(
> "http://the.qa.server:8080/jackrabbit")
>
> Please, can anyone tell me what's wrong? And how to connect to that QA
> jackrabbit?
>
> Thank you in advance.