cancel
Showing results for 
Search instead for 
Did you mean: 

JackRabbit RMI - Connection refused to host: 10.22.100.92

bindiya
Champ in-the-making
Champ in-the-making
Hi

Am using JackRabbit RMI to connect to remote alfresco server.. And i get following exception

java.rmi.ConnectException: Connection refused to host: 10.22.100.92
; nested exception is:
        java.net.ConnectException: Connection refused: connect


As mentioned in http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss , i tried running jboss server with following arguments
-Djava.rmi.server.hostname=<server name or ip address>

Its is of no use…

Can anyone help me with this???

Thanks,
Bindiya
1 REPLY 1

rdanner
Champ in-the-making
Champ in-the-making
Hi

Am using JackRabbit RMI to connect to remote alfresco server.. And i get following exception

java.rmi.ConnectException: Connection refused to host: 10.22.100.92
; nested exception is:
        java.net.ConnectException: Connection refused: connect


As mentioned in http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss , i tried running jboss server with following arguments
-Djava.rmi.server.hostname=<server name or ip address>

Its is of no use…

Can anyone help me with this???

Thanks,
Bindiya

Hi Bindiya

Alfresco does not (unless something changed) run the jackrabbit server.  I am getting a little behind here as I am not able to watch the development as closely this last month. The JCR implementation is a local JCR implementation.  The Jackrabbit libraries can be used to do just what the documentation you reference suggest but the modifications from the server perspective on do not apply.

There may now exist a better way to get this working but the way I am familiar with is:

http://wiki.alfresco.com/wiki/JCR-RMI_Extension