synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiranya Jayathilaka <hiranya...@gmail.com>
Subject Re: Compilation Failure in Sample Axis2 Client - RabbitMQ
Date Sat, 10 Aug 2013 06:11:53 GMT

On Aug 9, 2013, at 8:57 PM, Rajika Kumarasiri <rajika.kumarasiri@gmail.com> wrote:

> This is because stockquote target depends on compile target. Let me check how to fix
 this. 

Can we use JMS to send messages to RabbitMQ?

Thanks,
Hiranya

> 
> Rajika
> 
> 
> On Fri, Aug 9, 2013 at 10:53 PM, Hiranya Jayathilaka <hiranya911@gmail.com> wrote:
> Hi Rajika,
> 
> I'm unable to run the sample axis2 client in the latest builds (I'm just running ant
stockquote):
> 
> init:
>     [mkdir] Created dir: /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/target/classes
> 
> compile:
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/build.xml:392:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
>     [javac] Compiling 24 source files to /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/target/classes
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:29:
package com.rabbitmq.client does not exist
>     [javac] import com.rabbitmq.client.Channel;
>     [javac]                           ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:30:
package com.rabbitmq.client does not exist
>     [javac] import com.rabbitmq.client.Connection;
>     [javac]                           ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:31:
package com.rabbitmq.client does not exist
>     [javac] import com.rabbitmq.client.ConnectionFactory;
>     [javac]                           ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:32:
package com.rabbitmq.client does not exist
>     [javac] import com.rabbitmq.client.QueueingConsumer;
>     [javac]                           ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:61:
cannot find symbol
>     [javac] symbol  : class ConnectionFactory
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]         ConnectionFactory factory = new ConnectionFactory();
>     [javac]         ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:61:
cannot find symbol
>     [javac] symbol  : class ConnectionFactory
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]         ConnectionFactory factory = new ConnectionFactory();
>     [javac]                                         ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:63:
cannot find symbol
>     [javac] symbol  : class Connection
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]         Connection connection = null;
>     [javac]         ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:64:
cannot find symbol
>     [javac] symbol  : class Channel
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]         Channel channel = null;
>     [javac]         ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:94:
cannot find symbol
>     [javac] symbol  : class QueueingConsumer
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]                 QueueingConsumer consumer = new QueueingConsumer(channel);
>     [javac]                 ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:94:
cannot find symbol
>     [javac] symbol  : class QueueingConsumer
>     [javac] location: class samples.userguide.RabbitMQAMQPClient
>     [javac]                 QueueingConsumer consumer = new QueueingConsumer(channel);
>     [javac]                                                 ^
>     [javac] /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/RabbitMQAMQPClient.java:97:
package QueueingConsumer does not exist
>     [javac]                 QueueingConsumer.Delivery delivery = consumer.nextDelivery();
>     [javac]                                 ^
>     [javac] Note: /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/PWCallback.java
uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/src/samples/userguide/LoadbalanceFailoverClient.java
uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 11 errors
> 
> BUILD FAILED
> /Users/hiranya/Projects/synapse/impl/trunk/modules/distribution/target/synapse-2.2.0-SNAPSHOT/samples/axis2Client/build.xml:392:
Compile failed; see the compiler error output for details.
> 
> Can you please take a look?
> 
> Thanks,
> Hiranya
> --
> Hiranya Jayathilaka
> Mayhem Lab/RACE Lab;
> Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
> E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
> Blog: http://techfeast-hiranya.blogspot.com
> 
> 

--
Hiranya Jayathilaka
Mayhem Lab/RACE Lab;
Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
Blog: http://techfeast-hiranya.blogspot.com


Mime
View raw message