You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/09/17 15:09:33 UTC

[jira] [Comment Edited] (CONNECTORS-1035) Alfresco Repository connector does not find class CookieHandler

    [ https://issues.apache.org/jira/browse/CONNECTORS-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137188#comment-14137188 ] 

Karl Wright edited comment on CONNECTORS-1035 at 9/17/14 1:08 PM:
------------------------------------------------------------------

Hi Edgardo,

This problem should have existed from 1.6 onward, which is when the build process changed.  The issue is that, for a number of reasons, Axis was moved to the basic classloader-level jars in ManifoldCF.  The Alfresco client jar, on the other hand, requires that Axis is able to find classes in the alfresco client jar, which is loaded by the connector-lib classloader.  But Axis 1.4 is pretty stupid about what classloader it uses to pick up the classes specified by its configuration, and there's no way to override it to use the right one.

By including more jars at the basic classloader level, the 1.7.1 RC0 release candidate allows the basic Alfresco integration tests to pass.  But that's not maybe not enough, depending on what alfresco configuration you are using.  Nevertheless, please download and try this RC.

http://people.apache.org/~kwright/apache-manifoldcf-1.7.1

If this *doesn't* work for you, you have no choice other than to use CMIS.  We are trying to develop a Alfresco REST API solution which won't be SOAP based, but that is not ready yet.



was (Author: kwright@metacarta.com):
Hi Edgardo,

This problem should have existed from 1.6 onward, which is when the build process changed.  The issue is that, for a number of reasons, Axis was moved to the basic classloader-level jars in ManifoldCF.  The Alfresco client jar, on the other hand, requires that Axis is able to find classes in the alfresco client jar, which is loaded by the connector-lib classloader.  But Axis 1.4 is pretty stupid about what classloader it uses to pick up the classes specified by its configuration

By including more jars at the basic classloader level, the 1.7.1 RC0 release candidate allows the basic Alfresco integration tests to pass.  But that's not maybe not enough, depending on what alfresco configuration you are using.  Nevertheless, please download and try this RC.

http://people.apache.org/~kwright/apache-manifoldcf-1.7.1

If this *doesn't* work for you, you have no choice other than to use CMIS.  We are trying to develop a Alfresco REST API solution which won't be SOAP based, but that is not ready yet.


> Alfresco Repository connector  does not find class CookieHandler
> ----------------------------------------------------------------
>
>                 Key: CONNECTORS-1035
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1035
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Alfresco connector
>    Affects Versions: ManifoldCF 1.7
>            Reporter: Edgardo Ambrosi
>              Labels: patch
>
> After upgrading from manifoldCF 1.6.1 to 1.7 the repo connector says:
> ERROR:
> Caused by: org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.alfresco.webservice.util.CookieHandler
> The jar of alfresco (4.1.2 previously working with MCF 1.6.1) is present in the connectors-lib-proprietary and defined in the connectors.xml.
> We are using the combined war.
> Best



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)