kandula-dev@ws.apache.org
[Top] [All Lists]

Kandula2 building problems

Subject: Kandula2 building problems
From: "Kitipov, Dobri"
Date: Tue, 17 Apr 2007 13:06:40 +0200

Hi everybody,
I am suffeing from building problems with Kandula2. When I update my Kandula and start the Maven (v. 1.0.2) first of all I see compilation problems related to the latest version of Axis2. The problem is that in Kandula AxisFault(e) constructor is used but it is "protected" into the latest Axis2. As it could be read from the latest sources' JavaDoc:

    /**
     * Construct a fault from a Throwable.  This is a protected constructor - in general
     * to make an AxisFault from an Exception, you should be calling AxisFault.makeFault(e),
     * which prevents AxisFaults within AxisFaults.
     *
     * @param cause the Throwable that caused the problem
     */
    protected AxisFault(Throwable cause) {...

The problem is that such method AxisFault.makeFault(e)does not exist. That is why I refactored the code and replaced all AxisFault(e) with a AxisFault("", e) one. I suggest soon the build process will be fixed?

Anyway when I start maven again there are some problems with execution of tests:
[junit] [ERROR] TEST org.apache.kandula.integration.ba.BAParticipantRegistrationTest FAILED
[junit] [ERROR] TEST org.apache.kandula.integration.ba.BAParticipantRegistrationTest FAILED
[junit] [ERROR] TEST org.apache.kandula.integration.CompletionCommitTest FAILED

The problem in these test is:
java.lang.NoClassDefFoundError: org/apache/http/params/BasicHttpParams

And the core of the problem is the project.properties file in the root of the Kandula. There is jakarta.httpcore.version=4.0-alpha3 set but it should be set to jakarta.httpcore.version=4.0-alpha4 because this is the version where there is org/apache/http/params/BasicHttpParams class.

Greetings,
________________________________________________________
Dobri Kitipov
Phone: +359 2 915 36-19 | Fax: +359 2 915 36-23
dobri.kitipov@xxxxxxxxxxxxxx
Software AG Development Centre Bulgaria EOOD
53-55 General Totleben Blvd. | 1606 Sofia | Bulgaria
www.softwareag.com
________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>