synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charith Wickramarachchi <charith.dhanus...@gmail.com>
Subject Re: Problem while Running the Synapse sample client
Date Tue, 17 Mar 2009 09:12:59 GMT
yes Hiranya now axis2 transport jars are added separately(So that it will be
easy to manage).I'll will do this change and provide a patch
thank you,
Charith



On Tue, Mar 17, 2009 at 2:39 PM, Hiranya Jayathilaka
<hiranya911@gmail.com>wrote:

> OK. Apparently some changes are made to the parent POM in the trunk.  The
> parent POM refers to  a set of specific transport jars now. And TCP
> transport jar is not specified as a dependency. So I guess we need to add
> that.
>
> Thanks,
> Hiranya
>
>
> On Tue, Mar 17, 2009 at 2:33 PM, Hiranya Jayathilaka <hiranya911@gmail.com
> > wrote:
>
>> Usually when the Synapse trunk is built axis2-transport-tcp jar falls into
>> the lib directory. I don't think anything changed drastically in our POM to
>> prevent this jar from being downloaded. Could it be due to a change outside
>> Synapse?
>>
>> Thanks,
>> Hiranya
>>
>>
>> On Tue, Mar 17, 2009 at 2:30 PM, Charith Wickramarachchi <
>> charith.dhanushka@gmail.com> wrote:
>>
>>> Asanka I was wondering what is the correct way of resolving it ?is it
>>> putting TCP transport as a dependency or making the client depend only http
>>> transport in the default  case ?
>>>
>>> thank you,
>>> Charith
>>>
>>>
>>>
>>> On Tue, Mar 17, 2009 at 2:24 PM, Asanka Abeysinghe <asankaa@wso2.com>wrote:
>>>
>>>>  I do get the same issue in the trunk.
>>>> - Asanka
>>>> Hiranya Jayathilaka wrote:
>>>>
>>>> That's odd. I haven't encountered this situation ever with the trunk. I
>>>> believe axis2-transports dependency is in the parent POM which should take
>>>> care of adding all the necessary transports jars. Is anybody else
>>>> experiencing the same problem?
>>>>
>>>> Thanks,
>>>> Hiranya
>>>>
>>>> On Tue, Mar 17, 2009 at 1:52 PM, Charith Wickramarachchi <
>>>> charith.dhanushka@gmail.com> wrote:
>>>>
>>>>> HI devs,
>>>>>
>>>>> while trying to run the Synapse sample client in synapse trunk as
>>>>> follows
>>>>>
>>>>>  ant stockquote -Daddurl=
>>>>> http://localhost:8280/axis2/services/StockQuoteProxy
>>>>>
>>>>> i got a ClassNotfound exception
>>>>>
>>>>>      [java] org.apache.axis2.deployment.DeploymentException:
>>>>> org.apache.axis2.transport.tcp.TCPTransportSender
>>>>>      [java]     at
>>>>> org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:694)
>>>>>      [java]     at
>>>>> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:121)
>>>>>      [java]     at
>>>>> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:707)
>>>>>      [java]     at
>>>>> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
>>>>>      [java]     at
>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>>>>>      [java]     at
>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)
>>>>>      [java]     at
>>>>> samples.userguide.StockQuoteClient.executeClient(Unknown Source)
>>>>>      [java]     at samples.userguide.StockQuoteClient.main(Unknown
>>>>> Source)
>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>> org.apache.axis2.transport.tcp.TCPTransportSender
>>>>>
>>>>> this is because the axis2 tcp transport jar is missing in the class
>>>>> path
>>>>> and they are not defined in the parent pom
>>>>>
>>>>> this can be solved by adding these jars to the classpath (by defining
>>>>> in the pom)
>>>>>
>>>>> thanks you,
>>>>>
>>>>> Charith
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Charith Dhanushka Wickramarachchi
>>>>> http://charithwiki.blogspot.com/
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Charith Dhanushka Wickramarachchi
>>> http://charithwiki.blogspot.com/
>>>
>>>
>>
>


-- 
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/

Mime
View raw message