Jahia in English > Alfresco connector

0 (0 Good)
0 (0 Bad)

Alfresco connector

by  namirat »  2011/06/07 18:40

Hello,
I have configured the the alfresco connector in Jahia United Content Hub.
But I get the following error when I try to browse for a file in the jahia engine :

2010-02-22 11:25:20,484: ERROR [http-8080-6] JUCHStoreProvider, org.jahia.services.content.impl.connectors.JUCHStoreProvider: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;
javax.jcr.RepositoryException: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;
at org.jahia.services.content.impl.connectors.ConnectorRepository.login(ConnectorRepository.java:172)
at org.jahia.services.content.JCRStoreProvider.getSession(JCRStoreProvider.java:479)
at org.jahia.services.content.JCRSessionWrapper.getProviderSession(JCRSessionWrapper.java:281)
at org.jahia.services.content.impl.connectors.JUCHStoreProvider.getUserFolders(JUCHStoreProvider.java:67)
at org.jahia.services.content.JCRStoreService.getUserFolders(JCRStoreService.java:344)
at org.jahia.services.content.JCRStoreService$$FastClassByCGLIB$$5542e717.invoke(/1
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at net.entropysoft.eci.remote.rmi.RemoteContentProviderFactory_Stub.getContentProvider(Unknown Source)
at net.entropysoft.eci.remote.rmi.RMIContentProviderFactoryProxy.newProviderInstance(RMIContentProviderFactoryProxy.java:70)
... 57 more
:shock:
Can you help me please ?
  • Alfresco connector
    2011/06/07 18:40

    namirat Hello,<br/>I have configured the the alfresco connector in Jahia United Content Hub.<br/>But I get the following error when I try to browse for a file in the jahia engine :<br/><br/>2010-02-22 11:25:20,484: ERROR [http-8080-6] JUCHStoreProvider, org.jahia.services.content.impl.connectors.JUCHStoreProvider: Error occurred in server thread; nested exception is: <br/> java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;<br/>javax.jcr.RepositoryException: Error occurred in server thread; nested exception is: <br/> java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;: Error occurred in server thread; nested exception is: <br/> java.lang.NoSuchMethodError: org.alfresco.service.ServiceRegistry.getAuthenticationService()Lorg/alfresco/service/cmr/security/AuthenticationService;<br/> at org.jahia.services.content.impl.connectors.ConnectorRepository.login(ConnectorRepository.java:172)<br/> at org.jahia.services.content.JCRStoreProvider.getSession(JCRStoreProvider.java:479)<br/> at org.jahia.services.content.JCRSessionWrapper.getProviderSession(JCRSessionWrapper.java:281)<br/> at org.jahia.services.content.impl.connectors.JUCHStoreProvider.getUserFolders(JUCHStoreProvider.java:67)<br/> at org.jahia.services.content.JCRStoreService.getUserFolders(JCRStoreService.java:344)<br/> at org.jahia.services.content.JCRStoreService$$FastClassByCGLIB$$5542e717.invoke(/1<br/> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)<br/> at sun.rmi.transport.Transport$1.run(Transport.java:159)<br/> at java.security.AccessController.doPrivileged(Native Method)<br/> at sun.rmi.transport.Transport.serviceCall(Transport.java:155)<br/> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)<br/> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)<br/> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)<br/> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/> at java.lang.Thread.run(Thread.java:619)<br/> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)<br/> at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)<br/> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)<br/> at net.entropysoft.eci.remote.rmi.RemoteContentProviderFactory_Stub.getContentProvider(Unknown Source)<br/> at net.entropysoft.eci.remote.rmi.RMIContentProviderFactoryProxy.newProviderInstance(RMIContentProviderFactoryProxy.java:70)<br/> ... 57 more<br/> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <br/>Can you help me please ?

  • Number of messages  5
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Alfresco connector

    by  trenaud »  2011/06/07 18:40

    Hello,

    Please precise your versions of Alfresco (3.2 labs? 3.2 EE?) and Jahia (6.0 EE ? 6.0 EE Sp1 ?).

    Tristan
  • Re: Alfresco connector
    2011/06/07 18:40

    trenaud Hello,<br/><br/>Please precise your versions of Alfresco (3.2 labs? 3.2 EE?) and Jahia (6.0 EE ? 6.0 EE Sp1 ?).<br/><br/>Tristan

  • Number of messages  71
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Alfresco connector

    by  namirat »  2011/06/07 18:40

    Alfresco-Entreprise-3.2.0r-Full-Setup.exe
    and
    Jahia EE v6 SP1

    Thanks
  • Re: Alfresco connector
    2011/06/07 18:40

    namirat Alfresco-Entreprise-3.2.0r-Full-Setup.exe<br/>and<br/>Jahia EE v6 SP1<br/><br/>Thanks

  • Number of messages  5
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Alfresco connector

    by  trenaud »  2011/06/07 18:40

    OK I see.

    It may come from a very recent change of the signature of the getAuthenticationService() method on the Alfresco ServiceRegistry. They changed this signature within the release of the 3.2 Enterprise edition.

    The Jahia's team received the modifications to be applied to the Entropysoft connector to Alfresco accordingly and 2 jars must be applied therefore.

    The Jahia-Alfresco connector will be modified and a new version will be released for this 3.2 Enterprise Edition of Alfresco but until Jahia released it please contact your account manager at Jahia as you are developping with a Jahia commercial edition. He will assist you on this issue (if the cause comes effectively from using this version of Alfresco, but likely to be so).

    Tristan
  • Re: Alfresco connector
    2011/06/07 18:40

    trenaud OK I see. <br/><br/>It may come from a very recent change of the signature of the getAuthenticationService() method on the Alfresco ServiceRegistry. They changed this signature within the release of the 3.2 Enterprise edition.<br/><br/>The Jahia's team received the modifications to be applied to the Entropysoft connector to Alfresco accordingly and 2 jars must be applied therefore.<br/><br/>The Jahia-Alfresco connector will be modified and a new version will be released for this 3.2 Enterprise Edition of Alfresco but until Jahia released it please contact your account manager at Jahia as you are developping with a Jahia commercial edition. He will assist you on this issue (if the cause comes effectively from using this version of Alfresco, but likely to be so).<br/><br/>Tristan

  • Number of messages  71
    Registration date Jun 7, 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