Jahia in English > ConnectException...

0 (0 Good)
0 (0 Bad)

ConnectException with JUCH

by  bdumas »  2011/10/04 09:28

Hello,

I try to connect Jahia to Alfresco with the JUCH connector but I get this exception :

WARN  [JCRSessionWrapper] - repository exception : alfresco / org.jahia.services.content.impl.connectors.JUCHStoreProvider : Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
ERROR [ConnectorRepository] - Error during login to connector alfresco
net.entropysoft.eci.remote.RemoteBaseException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
at net.entropysoft.eci.remote.rmi.RMIContentProviderFactoryProxy.newProviderInstance(RMIContentProviderFactoryProxy.java:92)
at net.entropysoft.eci.spi.BaseContentProviderFactory.getContentProvider(BaseContentProviderFactory.java:47)
at net.entropysoft.eci.alfresco.foundation.proxy.AlfrescoContentProviderFactory.newProviderInstance(AlfrescoContentProviderFactory.java:38)
at net.entropysoft.eci.spi.BaseContentProviderFactory.getContentProvider(BaseContentProviderFactory.java:47)
at org.jahia.services.content.impl.connectors.ConnectorRepository.login(ConnectorRepository.java:175)
[...]

The remoteFactoryUrl parameter is well set in the applicationcontext-juch.xml file. What do I have forgotten ?

Jahia and Alfresco aren't on the same host. But when I run a Jahia on the same host than Alfresco, there is no problem. Has anyone an idea ?

Thank you.

Regards,
Benjamin

 

  • ConnectException with JUCH
    2011/10/04 09:28

    bdumas <p> Hello,</p> <p> I try to connect Jahia to Alfresco with the JUCH connector but I get this exception :</p> <p> WARN&nbsp; [JCRSessionWrapper] - repository exception : alfresco / org.jahia.services.content.impl.connectors.JUCHStoreProvider : Connection refused to host: 127.0.0.1; nested exception is:<br /> java.net.ConnectException: Connection refused<br /> ERROR [ConnectorRepository] - Error during login to connector alfresco<br /> net.entropysoft.eci.remote.RemoteBaseException: Connection refused to host: 127.0.0.1; nested exception is:<br /> java.net.ConnectException: Connection refused<br /> at net.entropysoft.eci.remote.rmi.RMIContentProviderFactoryProxy.newProviderInstance(RMIContentProviderFactoryProxy.java:92)<br /> at net.entropysoft.eci.spi.BaseContentProviderFactory.getContentProvider(BaseContentProviderFactory.java:47)<br /> at net.entropysoft.eci.alfresco.foundation.proxy.AlfrescoContentProviderFactory.newProviderInstance(AlfrescoContentProviderFactory.java:38)<br /> at net.entropysoft.eci.spi.BaseContentProviderFactory.getContentProvider(BaseContentProviderFactory.java:47)<br /> at org.jahia.services.content.impl.connectors.ConnectorRepository.login(ConnectorRepository.java:175)<br /> [...]</p> <p> The remoteFactoryUrl parameter is well set in the applicationcontext-juch.xml file. What do I have forgotten ?</p> <p> Jahia and Alfresco aren&#39;t on the same host. But when I run a Jahia on the same host than Alfresco, there is no problem. Has anyone an idea ?</p> <p> Thank you.</p> <p> Regards,<br /> Benjamin<br /> <br /> &nbsp;</p>

  • Number of messages  6
    Registration date Oct 4, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: ConnectException with JUCH

    by  rvt »  2011/10/05 12:55

    Hello,

    I try to connect Jahia to Alfresco with the JUCH connector but I get this exception :

    WARN  [JCRSessionWrapper] - repository exception : alfresco / org.jahia.services.content.impl.connectors.JUCHStoreProvider : Connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: Connection refused
    ERROR [ConnectorRepository] - Error during login to connector alfresco
    net.entropysoft.eci.remote.RemoteBaseException: Connection refused to host: 127.0.0.1; nested exception is:

    ....

    Jahia and Alfresco aren't on the same host.

    Bejamin,

    you are mentioning that Alfresco and Jahia aren't on the same host, but the error shows that the connection is rufsed to 127.0.0.1 a localhost address. This sounds to me if you didn't put the host IP address corectly?

    Unless it's a trick question wink

    Ries

  • Re: ConnectException with JUCH
    2011/10/05 12:56

    rvt <blockquote> <p> Hello,</p> <p> I try to connect Jahia to Alfresco with the JUCH connector but I get this exception :</p> <p> WARN&nbsp; [JCRSessionWrapper] - repository exception : alfresco / org.jahia.services.content.impl.connectors.JUCHStoreProvider : Connection refused to host: 127.0.0.1; nested exception is:<br /> java.net.ConnectException: Connection refused<br /> ERROR [ConnectorRepository] - Error during login to connector alfresco<br /> net.entropysoft.eci.remote.RemoteBaseException: Connection refused to host: 127.0.0.1; nested exception is:</p> <p> ....</p> <p> Jahia and Alfresco aren&#39;t on the same host.</p> </blockquote> <p> Bejamin,</p> <p> you are mentioning that Alfresco and Jahia aren&#39;t on the same host, but the error shows that the connection is rufsed to <strong>127.0.0.1</strong> a localhost address. This sounds to me if you didn&#39;t put the host IP address corectly?</p> <p> Unless it&#39;s a trick question&nbsp;<img alt="wink" height="20" src="https://www.jahia.com/modules/assets/javascript/ckeditor/plugins/smiley/images/wink_smile.gif" title="wink" width="20" /></p> <p> Ries</p>

  • Number of messages  185
    Registration date Oct 5, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page