8 messages in org.apache.jackrabbit.usersRe: How to configure jcr plugin to po...
FromSent OnAttachments
sudhirOct 10, 2007 2:01 am 
Felix MeschbergerOct 10, 2007 11:43 am 
Markus ReisOct 16, 2007 5:47 am 
Felix MeschbergerOct 18, 2007 6:20 am 
Markus ReisOct 18, 2007 6:48 am 
Felix MeschbergerOct 18, 2007 7:10 am 
Edgar PoceOct 18, 2007 10:17 am 
VpupkinNov 6, 2007 9:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: How to configure jcr plugin to point to existing repositoryActions...
From:Felix Meschberger (fmes@gmail.com)
Date:Oct 18, 2007 7:10:33 am
List:org.apache.jackrabbit.users

Hi Markus,

Am Donnerstag, den 18.10.2007, 15:49 +0200 schrieb Markus Reis:

Could you either tell me whether a) //localhost:1099/jcrServer works for you (if the repsitory is running on JBoss - after you've set up this environment :-)) b) what files I'd have to change (and how) in order to correctly configure the RMI interface for the jackrabbit server side

Well, honestly. I do not have any JBoss knowledge at all. So I cannot tell you whether and how it works.

If on the other hand JBoss implements something on port 4444, you might want to configure Jackrabbit such, that the Jackrabbit interface tries to register with the registry on port 4444 instead of the default setting rmi-port parameter in the RepositoryStartup servlet of the Jackrabbit web app.

Regards Felix

many thanks, Markus

Felix Meschberger schrieb:

Hi Markus,

Am Dienstag, den 16.10.2007, 14:48 +0200 schrieb Markus Reis:

Hi Felix,

if I try to connect (i.e. click on "Finish") to my jackrabbit repos (running on jboss) via rmi://localhost:1099/jcrServer (I also tried //localhost:1099/jcrServer in "Repository RMI URL" field), I get the following exception: javax.jcr.RepositoryException: non-JRMP server at remote endpoint: non-JRMP server at remote endpoint

The correct URL is the one without the scheme, //localhost... that is. The name you add to the URL is the one used to register the Repository in the ServerAdapterFactory. If you enter //localhost:1099 in the URL field (provided your RMI registry is running on the default port 1099) you may click on the "Browse..." button to the right to get a list of repositories registered at the addressed RMI registry.

Selecting one of those, should do the trick.

Client side: CRX Feature for Eclipse, Version 3.5.1

The most recent version is 3.6.2. You might want to update your feature from http://www.day.com/eclipse using the Eclipse Update Manager.

Did you already test with repositories running on JBoss?

To be honest, now :-) But this should actually not make a difference. If the repository is registered using the Jackrabbit RMI ServerAdapterFactory the standard Java RMI implementation should be used, which AFAIK is not different for JBoss.

Hope this helps.

Regards Felix