Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 82575 invoked from network); 17 Mar 2009 08:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 08:55:25 -0000 Received: (qmail 18092 invoked by uid 500); 17 Mar 2009 08:55:22 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 18040 invoked by uid 500); 17 Mar 2009 08:55:21 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 18003 invoked by uid 99); 17 Mar 2009 08:55:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 01:55:21 -0700 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 17 Mar 2009 08:55:13 +0000 Received: (qmail 29308 invoked from network); 17 Mar 2009 08:54:49 -0000 Received: from 123.231.64.242 (HELO ?10.100.1.136?) (123.231.64.242) by relay00.pair.com with SMTP; 17 Mar 2009 08:54:49 -0000 X-pair-Authenticated: 123.231.64.242 Message-ID: <49BF6558.60204@wso2.com> Date: Tue, 17 Mar 2009 14:24:48 +0530 From: Asanka Abeysinghe User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: dev@synapse.apache.org Subject: Re: Problem while Running the Synapse sample client References: <558af1840903170147w4be52f20tc3795df694a92c68@mail.gmail.com> In-Reply-To: <558af1840903170147w4be52f20tc3795df694a92c68@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------070203060004080409010300" X-Virus-Checked: Checked by ClamAV on apache.org --------------070203060004080409010300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > > 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/ > > --------------070203060004080409010300 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/



--------------070203060004080409010300--