axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez" <>
Subject Re: [Axis2]Turn off JMS from the default axis2.xml
Date Mon, 27 Feb 2006 06:42:30 GMT
Hi All,
I came across the same problem when I tried to run some of the SAAJ TCK tests.
One reason for the error was in the axis2_default.xml, the following
section had some problems:

<transportReceiver name="jms"
        <parameter name="transport.jms.Destination"
        <parameter name="java.naming.factory.initial" locked="false">
        <parameter name="java.naming.provider.url"

As can be seen, the value of, <parameter
name="java.naming.factory.initial" locked="false">, is not simply
org.activemq.jndi.ActiveMQInitialContextFactory, but there is an end
of line character plus some leading spaces. It seems that, when this
parameter is read in, it is not trimmed. So this leads to a No Class
Def found error. I have removed the leading spaces and committed the
relevant file. Perhaps, for parameters, we should consider trimming
the text value.

Once this is done, and the activemq.jar is placed in the classpath,
everything worked fine.

Also *NOTE* sometimes, when you use the auto format feature of the
IDE, newlines and leading spaces may be introduced.


On 2/24/06, Srinath Perera <> wrote:
> Hi All;
> Shall we comment out (So user can enable easily) the JMS transport
> from the axis2.xml file.
> Otherwise there is a error saying class not found!!
> If it do not lead to any other problem I will do it
> Thanks
> Srinath
> --
> ============================
> Srinath Perera:

Afkham Azeez

View raw message