Re: [Carbon-dev] Build broken due to synapse failure

2011-03-08 Thread Supun Kamburugamuva
This error is pretty strange. The method in ProtocolEndpoint class is

public abstract EndpointReference[] getEndpointReferences(AxisService
service, String ip) throws AxisFault;

This method has being correctly implemented in the pipe transport. But
the error says, the pipe transport hasn't implemented

abstract method getEndpointReferences(java.lang.String) that is not
there in the ProtocolEndpoint.

Since we are in the process of branching synapse, lets have look after
the branching.

Thanks,
Supun..

On Tue, Mar 8, 2011 at 6:41 PM, Samisa Abeysinghe sam...@wso2.com wrote:


 -- Forwarded message --
 From: WSO2 Builder buil...@wso2.org
 Date: Tue, Mar 8, 2011 at 5:28 PM
 Subject: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED
 To: carbon-dev@wso2.org


 [INFO] [compiler:compile {execution: default-compile}]
 Compiling 42 source files to
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/classes
 [INFO] [dependency:copy {execution: copy}]
 [INFO] Configured Artifact: org.aspectj:aspectjweaver:?:jar
 [INFO] Copying aspectjweaver-1.6.1.jar to
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/lib/aspectjweaver.jar
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using encoding: 'UTF-8' to copy filtered resources.
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
 to
 /home/carbon/.m2/repository/org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
 [INFO] Installing
 org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
 [INFO] Writing OBR metadata
 [INFO]
 
 [INFO] Building Apache Synapse - PIPE Transport
 [INFO]    task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target
 [INFO] [remote-resources:process {execution: default}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using encoding: 'UTF-8' to copy filtered resources.
 [INFO] [compiler:compile {execution: default-compile}]
 Compiling 9 source files to
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target/classes
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[33,7]
 org.apache.synapse.transport.pipe.PipeEndpoint is not abstract and does not
 override abstract method getEndpointReferences(java.lang.String) in
 org.apache.axis2.transport.base.ProtocolEndpoint

 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[59,4]
 method does not override or implement a method from a supertype

 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpointListener.java:[107,28]
 receive(java.net.SocketAddress,org.apache.axis2.transport.base.datagram.DatagramEndpoint,byte[],int)
 in org.apache.axis2.transport.base.datagram.DatagramDispatcherCallback
 cannot be applied to
 (org.apache.synapse.transport.pipe.PipeEndpoint,byte[],int,nulltype)

 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeListener.java:[59,45]
 cannot find symbol
 symbol  : method getTransportInDescription()
 location: class org.apache.synapse.transport.pipe.PipeListener

 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeListener.java:[57,4]
 method does not override or implement a method from a supertype


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 14 minutes 35 seconds
 [INFO] Finished at: Tue Mar 08 17:27:56 IST 2011
 

Re: [Carbon-dev] Build broken due to synapse failure

2011-03-08 Thread Thilina Buddhika
On Tue, Mar 8, 2011 at 7:24 PM, Supun Kamburugamuva su...@wso2.com wrote:

 This error is pretty strange. The method in ProtocolEndpoint class is

 public abstract EndpointReference[] getEndpointReferences(AxisService
 service, String ip) throws AxisFault;

 This method has being correctly implemented in the pipe transport. But
 the error says, the pipe transport hasn't implemented

 abstract method getEndpointReferences(java.lang.String) that is not
 there in the ProtocolEndpoint.

 Since we are in the process of branching synapse, lets have look after
 the branching.


Yes. This might be due to the version mismatch we had earlier between
transports trunk and Synapse trunk. Hopefully it will be vanished when
versions are fixed after branching.

Thanks,
Thilina



 Thanks,
 Supun..

 On Tue, Mar 8, 2011 at 6:41 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 
 
  -- Forwarded message --
  From: WSO2 Builder buil...@wso2.org
  Date: Tue, Mar 8, 2011 at 5:28 PM
  Subject: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED
  To: carbon-dev@wso2.org
 
 
  [INFO] [compiler:compile {execution: default-compile}]
  Compiling 42 source files to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/classes
  [INFO] [dependency:copy {execution: copy}]
  [INFO] Configured Artifact: org.aspectj:aspectjweaver:?:jar
  [INFO] Copying aspectjweaver-1.6.1.jar to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/lib/aspectjweaver.jar
  [INFO] [resources:testResources {execution: default-testResources}]
  [INFO] Using encoding: 'UTF-8' to copy filtered resources.
  [INFO] [compiler:testCompile {execution: default-testCompile}]
  [INFO] Not compiling test sources
  [INFO] [surefire:test {execution: default-test}]
  [INFO] Tests are skipped.
  [INFO] [bundle:bundle {execution: default-bundle}]
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  to
 
 /home/carbon/.m2/repository/org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  [INFO] [bundle:install {execution: default-install}]
  [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
  [INFO] Installing
 
 org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  [INFO] Writing OBR metadata
  [INFO]
  
  [INFO] Building Apache Synapse - PIPE Transport
  [INFO]task-segment: [clean, install]
  [INFO]
  
  [INFO] [clean:clean {execution: default-clean}]
  [INFO] Deleting directory
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target
  [INFO] [remote-resources:process {execution: default}]
  [INFO] [resources:resources {execution: default-resources}]
  [INFO] Using encoding: 'UTF-8' to copy filtered resources.
  [INFO] [compiler:compile {execution: default-compile}]
  Compiling 9 source files to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target/classes
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] Compilation failure
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[33,7]
  org.apache.synapse.transport.pipe.PipeEndpoint is not abstract and does
 not
  override abstract method getEndpointReferences(java.lang.String) in
  org.apache.axis2.transport.base.ProtocolEndpoint
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[59,4]
  method does not override or implement a method from a supertype
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpointListener.java:[107,28]
 
 receive(java.net.SocketAddress,org.apache.axis2.transport.base.datagram.DatagramEndpoint,byte[],int)
  in org.apache.axis2.transport.base.datagram.DatagramDispatcherCallback
  cannot be applied to
  (org.apache.synapse.transport.pipe.PipeEndpoint,byte[],int,nulltype)
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeListener.java:[59,45]
  cannot find symbol
  symbol  : method getTransportInDescription()
  location: class org.apache.synapse.transport.pipe.PipeListener
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeListener.java:[57,4]
  method does 

Re: [Carbon-dev] Build broken due to synapse failure

2011-03-08 Thread Amila Maha Arachchi
On Tue, Mar 8, 2011 at 7:28 PM, Thilina Buddhika thili...@wso2.com wrote:



 On Tue, Mar 8, 2011 at 7:24 PM, Supun Kamburugamuva su...@wso2.comwrote:

 This error is pretty strange. The method in ProtocolEndpoint class is

 public abstract EndpointReference[] getEndpointReferences(AxisService
 service, String ip) throws AxisFault;

 This method has being correctly implemented in the pipe transport. But
 the error says, the pipe transport hasn't implemented

 abstract method getEndpointReferences(java.lang.String) that is not
 there in the ProtocolEndpoint.

 Since we are in the process of branching synapse, lets have look after
 the branching.


 Yes. This might be due to the version mismatch we had earlier between
 transports trunk and Synapse trunk. Hopefully it will be vanished when
 versions are fixed after branching.


Yes, I also raised this error several times. But didn't find a solution.
This error doesn't occur when doing an online build IIRC.

Thanks,
AmilaM.


 Thanks,
 Thilina



 Thanks,
 Supun..

 On Tue, Mar 8, 2011 at 6:41 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:
 
 
  -- Forwarded message --
  From: WSO2 Builder buil...@wso2.org
  Date: Tue, Mar 8, 2011 at 5:28 PM
  Subject: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED
  To: carbon-dev@wso2.org
 
 
  [INFO] [compiler:compile {execution: default-compile}]
  Compiling 42 source files to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/classes
  [INFO] [dependency:copy {execution: copy}]
  [INFO] Configured Artifact: org.aspectj:aspectjweaver:?:jar
  [INFO] Copying aspectjweaver-1.6.1.jar to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/lib/aspectjweaver.jar
  [INFO] [resources:testResources {execution: default-testResources}]
  [INFO] Using encoding: 'UTF-8' to copy filtered resources.
  [INFO] [compiler:testCompile {execution: default-testCompile}]
  [INFO] Not compiling test sources
  [INFO] [surefire:test {execution: default-test}]
  [INFO] Tests are skipped.
  [INFO] [bundle:bundle {execution: default-bundle}]
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/nhttp/target/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  to
 
 /home/carbon/.m2/repository/org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  [INFO] [bundle:install {execution: default-install}]
  [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
  [INFO] Installing
 
 org/apache/synapse/synapse-nhttp-transport/2.1.0-SNAPSHOT/synapse-nhttp-transport-2.1.0-SNAPSHOT.jar
  [INFO] Writing OBR metadata
  [INFO]
  
  [INFO] Building Apache Synapse - PIPE Transport
  [INFO]task-segment: [clean, install]
  [INFO]
  
  [INFO] [clean:clean {execution: default-clean}]
  [INFO] Deleting directory
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target
  [INFO] [remote-resources:process {execution: default}]
  [INFO] [resources:resources {execution: default-resources}]
  [INFO] Using encoding: 'UTF-8' to copy filtered resources.
  [INFO] [compiler:compile {execution: default-compile}]
  Compiling 9 source files to
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/target/classes
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] Compilation failure
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[33,7]
  org.apache.synapse.transport.pipe.PipeEndpoint is not abstract and does
 not
  override abstract method getEndpointReferences(java.lang.String) in
  org.apache.axis2.transport.base.ProtocolEndpoint
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpoint.java:[59,4]
  method does not override or implement a method from a supertype
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeEndpointListener.java:[107,28]
 
 receive(java.net.SocketAddress,org.apache.axis2.transport.base.datagram.DatagramEndpoint,byte[],int)
  in org.apache.axis2.transport.base.datagram.DatagramDispatcherCallback
  cannot be applied to
  (org.apache.synapse.transport.pipe.PipeEndpoint,byte[],int,nulltype)
 
 
 /home/carbon/stratos/carbon/dependencies/synapse/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/PipeListener.java:[59,45]
  cannot find symbol
  symbol  : method getTransportInDescription()