Re: [Dev] [CEP] Multithreading support in Siddhi

2014-07-15 Thread Sachini Jayasekara
Hi,

Here is the performance results for filter queries with and without using
disruptor.

*1 filter query (events per second)*
withwithout512032866489365050505675219451124746896552510986266401065291005
6626905535045569541035125577683994550994396887052561797869252085122951
6715917


*2 sequential filter queries (events per second)*withwithout5004130525
5503577421407550864704212300469263341545496056935423370049261084198153
51546394101723643086841101525200208414593751046454182350
*3 sequential filter queries (events per second)*
withwithout479156742480884997501417710949900204122012468603642016814228330
4226543465332742140754640371418935947892724175365443262442247574928536
4142372

*4 sequential filter queries* *(events per second)*withwithout43591983615329
4646840375375442390843692762466635637037043891051373273640306333757986
46317743738318385802536913994474273368459844464213695492

*8 sequential filter queries (events per second)*
withwithout326583921362963245699211595430759772089427328515121190933282994
2115954318369921349273174603214086932237272147305321543421172983162555
2108815

*12 sequential filter queries (events per second)*
withwithout248818115101182333178152299722406451528818227998215262522409639
1529520248323815202192440215151952623820871522765225937615267182360160
1532802

*16 sequential filter queries (events per second)*
withwithout195694712004801968504122249418281541222494196463712135921912046
1209190193050212300121956947122249418903591190476189035912150671923077
1190476


On Mon, Jul 14, 2014 at 5:30 PM, Sriskandarajah Suhothayan s...@wso2.com
wrote:



 Please get the initial pref results with the disruptor,
 so we can plan more on how we are going to use that in Siddhi.

 Suho


 On Mon, Jul 14, 2014 at 5:25 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi all,

 We are in the process of rewriting Siddhi to support multi-threading. We
 are planning to use disruptor to improve performance.
 Siddhi API is also changed accordingly to facilitate new functionalities.

 Thanks

 --



 *Thanks  Regards,Sachini Jayasekara Software Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware



 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




-- 



*Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13-build error

2014-07-15 Thread Sinthuja Ragendran
Hi Prasad,

Please fix this ASAP. It's delaying getting the pack for QA for chunk-13
release.

Thanks,
Sinthuja.



On Tue, Jul 15, 2014 at 10:55 AM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 No still not
 Features are broken..Please check ASAP

 NFO] Generating MANIFEST.MF

 [INFO] Updating Advice file (p2.inf)

 [INFO] Copying bundle dependencies

 [INFO]org.wso2.carbon.identity.application.common:4.2.1

 [INFO]org.wso2.carbon.idp.mgt:4.2.3

 [INFO] Generating feature archive:
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/target/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip

 [INFO]

 [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
 org.wso2.carbon.idp.mgt.server.feature ---

 [INFO] Installing
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/pom.xml
 to
 /root/.m2/repository/org/wso2/carbon/org.wso2.carbon.idp.mgt.server.feature/4.2.4/org.wso2.carbon.idp.mgt.server.feature-4.2.4.pom

 [INFO] Installing
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/target/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip
 to
 /root/.m2/repository/org/wso2/carbon/org.wso2.carbon.idp.mgt.server.feature/4.2.4/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip

 [INFO]

 [INFO] --- maven-antrun-plugin:1.1:run (clean_target) @
 org.wso2.carbon.idp.mgt.server.feature ---

 [INFO] Executing tasks

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src/main/resources

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src/main

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src

 [INFO] Executed tasks

 [INFO]


 [INFO]
 

 [INFO] Building Trusted Identity Provider Management Feature 4.2.4

 [INFO]
 

 [WARNING] The POM for
 org.wso2.carbon:org.wso2.carbon.idp.mgt.ui.feature:zip:4.2.2 is missing, no
 dependency information available

 [INFO]
 

 [INFO] Reactor Summary:

 [INFO]

 [INFO] WSO2 Stratos - Common Core Feature  SUCCESS [4.362s]

 [INFO] WSO2 Stratos - Common Composite Feature ... SUCCESS [1.157s]

 [INFO] WSO2 Carbon - Api management Core Feature . SUCCESS [6.213s]

 [INFO] WSO2 Carbon - Api management Gateway Feature .. SUCCESS [0.668s]

 [INFO] WSO2 Carbon - API Publisher Feature ... SUCCESS [3.549s]

 [INFO] WSO2 Carbon - Api management Server Startup Publisher Feature
 SUCCESS [1.033s]

 [INFO] WSO2 Carbon - API Store Feature ... SUCCESS [3.924s]

 [INFO] WSO2 Carbon - Api management Feature .. SUCCESS [5.857s]

 [INFO] WSO2 Carbon - Synapse Nhttp Transport Feature . SUCCESS [0.333s]

 [INFO] WSO2 Carbon - Synapse Feature . SUCCESS [0.646s]

 [INFO] Identity Provider Management Server Feature ... SUCCESS [0.117s]

 [INFO] Trusted Identity Provider Management Feature .. FAILURE [0.038s]

 [INFO] WSO2 Carbon - Tasks Core Feature .. SKIPPED

 [INFO] WSO2 Carbon - Tasks Feature ... SKIPPED

 [INFO] WSO2 Carbon - New Datasource Management UI Feature  SKIPPED

 [INFO] WSO2 Carbon - New Datasource Management Feature ... SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Commons Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Core Server Feature ... SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Thrift Reciever Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Data Receiver Aggregate Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Cassandra Data Sink Server Feature
 SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - All Cassandra Features Aggregator
 Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Thrift Agent Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
 SKIPPED

 [INFO] WSO2 Carbon - Hive Analytics Feature .. SKIPPED

 [INFO] WSO2 Carbon - Analytics Feature ... SKIPPED

 [INFO] WSO2 Carbon - Analytics Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM ToolBox Deployer Server Feature . SKIPPED

 [INFO] WSO2 Carbon - BAM Tool Box Deployer Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM Message Tracer Server Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM Message Tracer Handler Aggregate Feature  SKIPPED

 [INFO] WSO2 Carbon - BAM Notification Task Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Dashboard Server Side Feature ... SKIPPED

 [INFO] WSO2 Carbon - 

Re: [Dev] [CEP] Multithreading support in Siddhi

2014-07-15 Thread Sriskandarajah Suhothayan
The results looks great, proving we are going in the correct path.
Keep up the good work

Suho


On Tue, Jul 15, 2014 at 12:06 PM, Sachini Jayasekara sachi...@wso2.com
wrote:

 Hi,

 Here is the performance results for filter queries with and without using
 disruptor.

 *1 filter query (events per second)*
 with without51203286648936 50505056752194 511247468965525109862 6640106
 52910056626905 53504556954103 512557768399455099439 688705256179786925208
 51229516715917


 *2 sequential filter queries (events per second) * withwithout 500
 41305255503577 421407550864704212300 46926334154549 605693542337004926108
 419815351546394101723 64308684110152 520020841459375104645 4182350
 *3 sequential filter queries (events per second)*
 with without47915674248088 49975014177109 499002041220124686036 4201681
 42283304226543 46533274214075 464037141893594789272 417536544326244224757
 49285364142372

 *4 sequential filter queries* *(events per second)* with without4359198
 3615329 46468403753754 423908436927624666356 370370438910513732736 4030633
 3757986 463177437383183858025 369139944742733684598 44464213695492

 *8 sequential filter queries (events per second)*
  withwithout 326583921362963245699 211595430759772089427 32851512119093
 328299421159543183699 213492731746032140869 32237272147305 32154342117298
 3162555 2108815

 *12 sequential filter queries (events per second)*
 with without24881811510118 23331781522997 224064515288182279982 1526252
 24096391529520 24832381520219 244021515195262382087 152276522593761526718
 23601601532802

 *16 sequential filter queries (events per second)*
  withwithout 195694712004801968504 122249418281541222494 19646371213592
 191204612091901930502 123001219569471222494 18903591190476 18903591215067
 1923077 1190476


 On Mon, Jul 14, 2014 at 5:30 PM, Sriskandarajah Suhothayan s...@wso2.com
 wrote:



 Please get the initial pref results with the disruptor,
 so we can plan more on how we are going to use that in Siddhi.

 Suho


 On Mon, Jul 14, 2014 at 5:25 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi all,

 We are in the process of rewriting Siddhi to support multi-threading. We
 are planning to use disruptor to improve performance.
 Siddhi API is also changed accordingly to facilitate new functionalities.

 Thanks

 --



 *Thanks  Regards,Sachini Jayasekara Software Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware



 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/ twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




-- 

*S. Suhothayan*
Technical Lead  Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* http://wso2.com/*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan
http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13-build error

2014-07-15 Thread Prasad Tissera
Hi Sithuja,

This is fixed, Please take a svn up from turing/features/idp-mg/. Thanks.

Regards,
Prasad.


On Tue, Jul 15, 2014 at 12:20 PM, Sinthuja Ragendran sinth...@wso2.com
wrote:

 Hi Prasad,

 Please fix this ASAP. It's delaying getting the pack for QA for chunk-13
 release.

 Thanks,
 Sinthuja.



 On Tue, Jul 15, 2014 at 10:55 AM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 No still not
 Features are broken..Please check ASAP

 NFO] Generating MANIFEST.MF

 [INFO] Updating Advice file (p2.inf)

 [INFO] Copying bundle dependencies

 [INFO]org.wso2.carbon.identity.application.common:4.2.1

 [INFO]org.wso2.carbon.idp.mgt:4.2.3

 [INFO] Generating feature archive:
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/target/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip

 [INFO]

 [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
 org.wso2.carbon.idp.mgt.server.feature ---

 [INFO] Installing
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/pom.xml
 to
 /root/.m2/repository/org/wso2/carbon/org.wso2.carbon.idp.mgt.server.feature/4.2.4/org.wso2.carbon.idp.mgt.server.feature-4.2.4.pom

 [INFO] Installing
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/target/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip
 to
 /root/.m2/repository/org/wso2/carbon/org.wso2.carbon.idp.mgt.server.feature/4.2.4/org.wso2.carbon.idp.mgt.server.feature-4.2.4.zip

 [INFO]

 [INFO] --- maven-antrun-plugin:1.1:run (clean_target) @
 org.wso2.carbon.idp.mgt.server.feature ---

 [INFO] Executing tasks

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src/main/resources

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src/main

[delete] Deleting directory
 /opt/checkout_chunk13/platform/branches/turing/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/4.2.4/src

 [INFO] Executed tasks

 [INFO]


 [INFO]
 

 [INFO] Building Trusted Identity Provider Management Feature 4.2.4

 [INFO]
 

 [WARNING] The POM for
 org.wso2.carbon:org.wso2.carbon.idp.mgt.ui.feature:zip:4.2.2 is missing, no
 dependency information available

 [INFO]
 

 [INFO] Reactor Summary:

 [INFO]

 [INFO] WSO2 Stratos - Common Core Feature  SUCCESS
 [4.362s]

 [INFO] WSO2 Stratos - Common Composite Feature ... SUCCESS
 [1.157s]

 [INFO] WSO2 Carbon - Api management Core Feature . SUCCESS
 [6.213s]

 [INFO] WSO2 Carbon - Api management Gateway Feature .. SUCCESS
 [0.668s]

 [INFO] WSO2 Carbon - API Publisher Feature ... SUCCESS
 [3.549s]

 [INFO] WSO2 Carbon - Api management Server Startup Publisher Feature
 SUCCESS [1.033s]

 [INFO] WSO2 Carbon - API Store Feature ... SUCCESS
 [3.924s]

 [INFO] WSO2 Carbon - Api management Feature .. SUCCESS
 [5.857s]

 [INFO] WSO2 Carbon - Synapse Nhttp Transport Feature . SUCCESS
 [0.333s]

 [INFO] WSO2 Carbon - Synapse Feature . SUCCESS
 [0.646s]

 [INFO] Identity Provider Management Server Feature ... SUCCESS
 [0.117s]

 [INFO] Trusted Identity Provider Management Feature .. FAILURE
 [0.038s]

 [INFO] WSO2 Carbon - Tasks Core Feature .. SKIPPED

 [INFO] WSO2 Carbon - Tasks Feature ... SKIPPED

 [INFO] WSO2 Carbon - New Datasource Management UI Feature  SKIPPED

 [INFO] WSO2 Carbon - New Datasource Management Feature ... SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Commons Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Core Server Feature ... SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Thrift Reciever Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Data Receiver Aggregate Feature
 SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Cassandra Data Sink Server Feature
 SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - All Cassandra Features Aggregator
 Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Thrift Agent Server Feature  SKIPPED

 [INFO] WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
 SKIPPED

 [INFO] WSO2 Carbon - Hive Analytics Feature .. SKIPPED

 [INFO] WSO2 Carbon - Analytics Feature ... SKIPPED

 [INFO] WSO2 Carbon - Analytics Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM ToolBox Deployer Server Feature . SKIPPED

 [INFO] WSO2 Carbon - BAM Tool Box Deployer Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM Message Tracer Server Feature ... SKIPPED

 [INFO] WSO2 Carbon - BAM Message 

[Dev] Kernel gives issue in chunk13

2014-07-15 Thread Vijayaratha Vijayasingam
Hi core team;

We are getting following issue..

packs can not be started  .ou can find packs here[1]


[1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014/

2014-07-15 13:49:21,852] ERROR - ContainerBase A child container failed
during start

java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

at java.util.concurrent.FutureTask.get(FutureTask.java:83)

at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:695)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: java.lang.NullPointerException

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:249)

at
org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)

at
org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)

at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)

at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

[2014-07-15 13:49:21,854] ERROR - ContainerBase A child container failed
during start

java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

at java.util.concurrent.FutureTask.get(FutureTask.java:83)

at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at
org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

at
org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)

at java.lang.Thread.run(Thread.java:695)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardEngine[Catalina].StandardHost[localhost]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

... 1 more

Caused by: org.apache.catalina.LifecycleException: A child container failed
during start

at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)

at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

[2014-07-15 13:49:21,855] ERROR - ServerManager tomcat life-cycle exception

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

at

Re: [Dev] Kernel gives issue in chunk13

2014-07-15 Thread Sameera Jayasoma
This is again related to spring-framework jar.

KasunG, can you fix this properly?

Thanks,
Sameera.


On Tue, Jul 15, 2014 at 1:52 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 Hi core team;

 We are getting following issue..

 packs can not be started  .ou can find packs here[1]


 [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014/

 2014-07-15 13:49:21,852] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 ... 7 more

 Caused by: java.lang.NullPointerException

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:249)

 at
 org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)

 at
 org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)

 at
 org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)

 at
 org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

 at
 org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 ... 7 more

 [2014-07-15 13:49:21,854] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

 at
 org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component [StandardEngine[Catalina].StandardHost[localhost]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

 ... 1 more

 Caused by: org.apache.catalina.LifecycleException: A child container
 failed during start

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)

 at
 org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 ... 7 more

 [2014-07-15 13:49:21,855] ERROR - ServerManager 

Re: [Dev] Kernel gives issue in chunk13

2014-07-15 Thread Kasun Gajasinghe
The fix was to remove the
META-INF/services/javax.servlet.ServletContainerInitializer file. But, with
that patch, the file was not removed but only the content was removed.
@Sameera, could you please remove the said file, and commit it? It seems
there's no easy to provide a patch that deletes a file! :-) I did svn
delete, and then svn diff to create the patch!

Thanks,
KasunG



On Tue, Jul 15, 2014 at 1:56 PM, Sameera Jayasoma same...@wso2.com wrote:

 This is again related to spring-framework jar.

 KasunG, can you fix this properly?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 1:52 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi core team;

 We are getting following issue..

 packs can not be started  .ou can find packs here[1]


 [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014/

 2014-07-15 13:49:21,852] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 ... 7 more

 Caused by: java.lang.NullPointerException

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:249)

 at
 org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)

 at
 org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)

 at
 org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)

 at
 org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

 at
 org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 ... 7 more

 [2014-07-15 13:49:21,854] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

 at
 org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component [StandardEngine[Catalina].StandardHost[localhost]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 

Re: [Dev] Kernel gives issue in chunk13

2014-07-15 Thread Sameera Jayasoma
Done. Thanks KasunG for the fix.


On Tue, Jul 15, 2014 at 2:07 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 The fix was to remove the
 META-INF/services/javax.servlet.ServletContainerInitializer file. But, with
 that patch, the file was not removed but only the content was removed.
 @Sameera, could you please remove the said file, and commit it? It seems
 there's no easy to provide a patch that deletes a file! :-) I did svn
 delete, and then svn diff to create the patch!

 Thanks,
 KasunG



 On Tue, Jul 15, 2014 at 1:56 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 This is again related to spring-framework jar.

 KasunG, can you fix this properly?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 1:52 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi core team;

 We are getting following issue..

 packs can not be started  .ou can find packs here[1]


 [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014/

 2014-07-15 13:49:21,852] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 ... 7 more

 Caused by: java.lang.NullPointerException

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:249)

 at
 org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)

 at
 org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)

 at
 org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)

 at
 org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

 at
 org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 ... 7 more

 [2014-07-15 13:49:21,854] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

 at
 org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component [StandardEngine[Catalina].StandardHost[localhost]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)


[Dev] Spotted a migration issue in BPS git repository

2014-07-15 Thread Amal Gunatilake
Hi Maheshika,

https://github.com/wso2/carbon-business-process/blob/master/features/bpel/org.wso2.carbon.bpel.b4p.feature

It seems the B4P feature has not been migrated properly to the git
repository. Instead of a directory it has created a file and inserted the
pom.xml code inside.
Anyhow the bpel server feature already contains the b4p component,
therefore the following file is unnecessary.

I did the updates in my local repo. Please let me know the procedure to
merge the changes to main branch.

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-07-15 Thread Nandika Jayawardana
Hi Pubudu,

Looks good, Shall we do another review session. Let us know a convenient
time for you. Also attach all your source code and documentation to the
jira.

Regards
Nandika


On Tue, Jul 15, 2014 at 11:49 AM, Pubudu Gunatilaka pubudu...@gmail.com
wrote:

 Hi,

 According to the previous mail, I was able to complete the tasks under the
 toolbox, which includes some modifications to the BAM toolbox. I have
 attached new screen shots of the BAM Dashboard. Modification mainly
 includes the search option and the pagination. In addition to that I have
 changed the method of calculating the average completion time of human
 tasks. The average completion time is calculated using the time of first
 interaction of the officer and the time of task complete.

 Currently I am working on the other section which improves the event
 listeners and the data publisher. The git repository can be found in [1].

 [1] - https://github.com/pubudu538/Gsoc-repo/tree/master/bps-stats

 Thank you.


 On Tue, Jun 24, 2014 at 1:22 PM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 According to the review I had with Nandika, Hasitha and Thilini,
 following are the improvements that are needed.

 *In Event listeners and data publisher*

 1. Include the event listeners and the data publisher into a carbon
 component in order to provide a UI for the user to configure BAM Url, user
 name and password. Additionally the user will be able to configure load
 balancing data publisher as well.

 Currently I have used carbon.xml to get the BAM url, user name and
 password. So this will be changed.
 In [1] I have used a static hash-map to maintain the data publisher
 instance. With the change to the carbon component, I will be able to use
 the registry to include the data publisher instance. So this leads not to
 use a static hash-map.

 *In toolbox*

 1. Use pagination when showing instances.

 2. Add a search option to get the instances.


 I have attached screen shots of the BAM dashboard. I will work on the
 above mentioned changes and let know the progress.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/blob/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel/BamDataPublisher.java

 Thank you.




 On Wed, Jun 4, 2014 at 10:19 PM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 I changed the data publisher class according to the feedback I got. I
 used a hash map and added the data publishing instance. So when it calls
 again, it will check from the hash map and takes the instance if exists.
 The source code can be found in [1]. Currently I am working on the BAM
 dashboard.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/tree/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel

 Thank you.


 On Tue, May 27, 2014 at 8:11 PM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 Thank you for the feedback. I will follow above mentioned approach.

  Thank you.


 On Tue, May 27, 2014 at 7:33 PM, Nandika Jayawardana nand...@wso2.com
 wrote:

 Hi Pubudu,

 I had a look at your code. You are creating a Data Publisher object
 every time an event is fired which is not an efficient way to do it. We
 need to create the Data publisher once and when were an event is written,
 reuse that data publisher instance. You can have a look at the existing 
 bps
 data publishing code to see how we have implemented that. I think you can
 follow the same approach for your implementation.

 Regards
 Nandika


 On Tue, May 27, 2014 at 7:18 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 I was able to complete BPEL event listener, Human task event listener
 and the data publisher. The source code can be found in my git repo in 
 [1].
 I have attached the jar file and [2] contains the instructions to add the
 jar file to WSO2 BPS in order to publish events to WSO2 BAM. I will start
 working on the BAM toolbox.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/tree/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel

 [2] -
 https://docs.google.com/document/d/16r46euqiVnppT6F483UFs9BxnAxbbnQGuShqrFbqZuw/
 https://docs.google.com/document/d/16r46euqiVnppT6F483UFs9BxnAxbbnQGuShqrFbqZuw/edit

 Thank you.



 On Thu, May 22, 2014 at 2:29 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 I will publish those instance information as well.

 Thank you.


 On Thu, May 22, 2014 at 2:00 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 Good progress Pubudu,

 On Thu, May 22, 2014 at 1:21 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 For the BPEL Processes, I was able to write a custom event
 listener using the BPELEventListener from the
 *org.apache.ode.bpel.iapi* package.

 According to my proposal in [1] I have shown the instance
 information through the BAM Dashboard which is in figure 3. Same 
 details
 also can be viewed from the BPS console as well. As the BAM dashboard 
 needs
 to show the summarized details, I feel like it is not needed. What 

Re: [Dev] Spotted a migration issue in BPS git repository

2014-07-15 Thread Maheshika Goonetilleke
Hi Amal

It should go through the pr-builder and merge automatically.

We will have to wait till the build completes to see if it is been merged.


On Tue, Jul 15, 2014 at 2:33 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Maheshika,


 https://github.com/wso2/carbon-business-process/blob/master/features/bpel/org.wso2.carbon.bpel.b4p.feature

 It seems the B4P feature has not been migrated properly to the git
 repository. Instead of a directory it has created a file and inserted the
 pom.xml code inside.
 Anyhow the bpel server feature already contains the b4p component,
 therefore the following file is unnecessary.

 I did the updates in my local repo. Please let me know the procedure to
 merge the changes to main branch.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




-- 

Thanks  Best Regards,

Maheshika Goonetilleke
Engineering Process Coordinator

*WSO2 Inc*
*email   : mahesh...@wso2.com mahesh...@wso2.com*
*mobile : +94 773 596707*
*www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jaggery documentation put function parameter order correction

2014-07-15 Thread Amal Gunatilake
Hi Team,

In the jaggery documentation put function guide (
http://jaggeryjs.org/documentation.jag?api=put),
 it explains the parameters order should be as follows

put(url[, data][, type][, headers][, success(data, xhr)])

but when I do the coding, I noticed that it should be in following order.

put(url[, data]*[, headers]**[, type]*[, success(data, xhr)])

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Spotted a migration issue in BPS git repository

2014-07-15 Thread Kasun Gajasinghe
Hi Amal,

You need to commit your fix to the forked repo in wso2-dev, and send a Pull
Request to wso2 main repo.

KasunG


On Tue, Jul 15, 2014 at 2:43 PM, Maheshika Goonetilleke mahesh...@wso2.com
wrote:

 Hi Amal

 It should go through the pr-builder and merge automatically.

 We will have to wait till the build completes to see if it is been merged.


 On Tue, Jul 15, 2014 at 2:33 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Maheshika,


 https://github.com/wso2/carbon-business-process/blob/master/features/bpel/org.wso2.carbon.bpel.b4p.feature

 It seems the B4P feature has not been migrated properly to the git
 repository. Instead of a directory it has created a file and inserted the
 pom.xml code inside.
 Anyhow the bpel server feature already contains the b4p component,
 therefore the following file is unnecessary.

 I did the updates in my local repo. Please let me know the procedure to
 merge the changes to main branch.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --

 Thanks  Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator

 *WSO2 Inc*
 *email   : mahesh...@wso2.com mahesh...@wso2.com *
 *mobile : +94 773 596707 %2B94%20773%20596707*
 *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware





 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-07-15 Thread Pubudu Gunatilaka
Hi Nandika,

This week I am busy with University work and will be free in next week. I
will let you know the time for a review session.

Thank you.


On Tue, Jul 15, 2014 at 2:35 PM, Nandika Jayawardana nand...@wso2.com
wrote:

 Hi Pubudu,

 Looks good, Shall we do another review session. Let us know a convenient
 time for you. Also attach all your source code and documentation to the
 jira.

 Regards
 Nandika


 On Tue, Jul 15, 2014 at 11:49 AM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 According to the previous mail, I was able to complete the tasks under
 the toolbox, which includes some modifications to the BAM toolbox. I have
 attached new screen shots of the BAM Dashboard. Modification mainly
 includes the search option and the pagination. In addition to that I have
 changed the method of calculating the average completion time of human
 tasks. The average completion time is calculated using the time of first
 interaction of the officer and the time of task complete.

 Currently I am working on the other section which improves the event
 listeners and the data publisher. The git repository can be found in [1].

 [1] - https://github.com/pubudu538/Gsoc-repo/tree/master/bps-stats

 Thank you.


 On Tue, Jun 24, 2014 at 1:22 PM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 According to the review I had with Nandika, Hasitha and Thilini,
 following are the improvements that are needed.

 *In Event listeners and data publisher*

 1. Include the event listeners and the data publisher into a carbon
 component in order to provide a UI for the user to configure BAM Url, user
 name and password. Additionally the user will be able to configure load
 balancing data publisher as well.

 Currently I have used carbon.xml to get the BAM url, user name and
 password. So this will be changed.
 In [1] I have used a static hash-map to maintain the data publisher
 instance. With the change to the carbon component, I will be able to use
 the registry to include the data publisher instance. So this leads not to
 use a static hash-map.

 *In toolbox*

 1. Use pagination when showing instances.

 2. Add a search option to get the instances.


 I have attached screen shots of the BAM dashboard. I will work on the
 above mentioned changes and let know the progress.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/blob/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel/BamDataPublisher.java

 Thank you.




 On Wed, Jun 4, 2014 at 10:19 PM, Pubudu Gunatilaka pubudu...@gmail.com
 wrote:

 Hi,

 I changed the data publisher class according to the feedback I got. I
 used a hash map and added the data publishing instance. So when it calls
 again, it will check from the hash map and takes the instance if exists.
 The source code can be found in [1]. Currently I am working on the BAM
 dashboard.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/tree/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel

 Thank you.


 On Tue, May 27, 2014 at 8:11 PM, Pubudu Gunatilaka pubudu...@gmail.com
  wrote:

 Hi,

 Thank you for the feedback. I will follow above mentioned approach.

  Thank you.


 On Tue, May 27, 2014 at 7:33 PM, Nandika Jayawardana nand...@wso2.com
  wrote:

 Hi Pubudu,

 I had a look at your code. You are creating a Data Publisher object
 every time an event is fired which is not an efficient way to do it. We
 need to create the Data publisher once and when were an event is written,
 reuse that data publisher instance. You can have a look at the existing 
 bps
 data publishing code to see how we have implemented that. I think you can
 follow the same approach for your implementation.

 Regards
 Nandika


 On Tue, May 27, 2014 at 7:18 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 I was able to complete BPEL event listener, Human task event
 listener and the data publisher. The source code can be found in my git
 repo in [1]. I have attached the jar file and [2] contains the 
 instructions
 to add the jar file to WSO2 BPS in order to publish events to WSO2 BAM. 
 I
 will start working on the BAM toolbox.

 [1] -
 https://github.com/pubudu538/Gsoc-repo/tree/master/bpelevents/bpelEL/src/main/java/org/wso2/bps/custom/event/listener/bpel

 [2] -
 https://docs.google.com/document/d/16r46euqiVnppT6F483UFs9BxnAxbbnQGuShqrFbqZuw/
 https://docs.google.com/document/d/16r46euqiVnppT6F483UFs9BxnAxbbnQGuShqrFbqZuw/edit

 Thank you.



 On Thu, May 22, 2014 at 2:29 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 I will publish those instance information as well.

 Thank you.


 On Thu, May 22, 2014 at 2:00 PM, Hasitha Aravinda hasi...@wso2.com
  wrote:

 Good progress Pubudu,

 On Thu, May 22, 2014 at 1:21 PM, Pubudu Gunatilaka 
 pubudu...@gmail.com wrote:

 Hi,

 For the BPEL Processes, I was able to write a custom event
 listener using the BPELEventListener from the
 *org.apache.ode.bpel.iapi* package.

 According to my proposal in [1] I have 

Re: [Dev] ESB sample 363 giving eoor

2014-07-15 Thread Waruna Perera
Hi,

I found that in the document[1] synapse config should be changed as follows.

existing config

urlrmi://localhost:2199/url

Correct config
urlrmi://localhost:/url


[1]
http://docs.wso2.com/display/ESB481/Sample+363%3A+Reusable+Database+Connection+Pools


On Tue, Jul 15, 2014 at 10:54 AM, Waruna Perera waru...@wso2.com wrote:


 Hi,

 I tried to run ESB sample 363 with mysql configuration. It gives following
 exception. Any idea on it?

 ERROR - DataSourceFinder Error looking up DataSource : lookupdb using JNDI
 properties : javax.naming.InitialContext@4ec44deb
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
 java.net.ConnectException: Connection refused]

 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Multithreading support in Siddhi

2014-07-15 Thread Srinath Perera
what do you mean by 16 sequential CEP queries? are they running in
parallel? :)

Also how much was the load average (use top) when you running 16 queries
and how many cores do you have?

--Srinath


On Tue, Jul 15, 2014 at 12:29 PM, Sriskandarajah Suhothayan s...@wso2.com
wrote:

 The results looks great, proving we are going in the correct path.
 Keep up the good work

 Suho


 On Tue, Jul 15, 2014 at 12:06 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi,

 Here is the performance results for filter queries with and without
 using disruptor.

 *1 filter query (events per second)*
 with without51203286648936 50505056752194 511247468965525109862 6640106
 52910056626905 53504556954103 512557768399455099439 688705256179786925208
 51229516715917


 *2 sequential filter queries (events per second) * withwithout 500
 41305255503577 421407550864704212300 46926334154549 605693542337004926108
 419815351546394101723 64308684110152 520020841459375104645 4182350
 *3 sequential filter queries (events per second)*
 with without47915674248088 49975014177109 499002041220124686036 4201681
 42283304226543 46533274214075 464037141893594789272 417536544326244224757
 49285364142372

 *4 sequential filter queries* *(events per second)* with without4359198
 3615329 46468403753754 423908436927624666356 370370438910513732736
 40306333757986 463177437383183858025 369139944742733684598 44464213695492

 *8 sequential filter queries (events per second)*
  withwithout 326583921362963245699 211595430759772089427 32851512119093
 328299421159543183699 213492731746032140869 32237272147305 32154342117298
 3162555 2108815

 *12 sequential filter queries (events per second)*
 with without24881811510118 23331781522997 224064515288182279982 1526252
 24096391529520 24832381520219 244021515195262382087 152276522593761526718
 23601601532802

 *16 sequential filter queries (events per second)*
  withwithout 195694712004801968504 122249418281541222494 19646371213592
 191204612091901930502 123001219569471222494 18903591190476 18903591215067
 1923077 1190476


 On Mon, Jul 14, 2014 at 5:30 PM, Sriskandarajah Suhothayan s...@wso2.com
  wrote:



 Please get the initial pref results with the disruptor,
 so we can plan more on how we are going to use that in Siddhi.

 Suho


 On Mon, Jul 14, 2014 at 5:25 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi all,

 We are in the process of rewriting Siddhi to support multi-threading.
 We are planning to use disruptor to improve performance.
 Siddhi API is also changed accordingly to facilitate new
 functionalities.

 Thanks

 --



 *Thanks  Regards,Sachini Jayasekara Software Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware



 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/ twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




-- 

Director, Research, WSO2 Inc.
Visiting Faculty, University of Moratuwa
Member, Apache Software Foundation
Research Scientist, Lanka Software Foundation
Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
Site: http://people.apache.org/~hemapani/
Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Spotted a migration issue in BPS git repository

2014-07-15 Thread Amal Gunatilake
Thanks for the info. I'll follow the instructions.

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


On Tue, Jul 15, 2014 at 2:47 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Amal,

 You need to commit your fix to the forked repo in wso2-dev, and send a
 Pull Request to wso2 main repo.

 KasunG


 On Tue, Jul 15, 2014 at 2:43 PM, Maheshika Goonetilleke 
 mahesh...@wso2.com wrote:

 Hi Amal

 It should go through the pr-builder and merge automatically.

 We will have to wait till the build completes to see if it is been merged.


 On Tue, Jul 15, 2014 at 2:33 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Maheshika,


 https://github.com/wso2/carbon-business-process/blob/master/features/bpel/org.wso2.carbon.bpel.b4p.feature

 It seems the B4P feature has not been migrated properly to the git
 repository. Instead of a directory it has created a file and inserted the
 pom.xml code inside.
 Anyhow the bpel server feature already contains the b4p component,
 therefore the following file is unnecessary.

 I did the updates in my local repo. Please let me know the procedure to
 merge the changes to main branch.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --

 Thanks  Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator

 *WSO2 Inc*
 *email   : mahesh...@wso2.com mahesh...@wso2.com *
 *mobile : +94 773 596707 %2B94%20773%20596707*
 *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware





 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery post method doesn't modify the content type when header is passed

2014-07-15 Thread Amal Gunatilake
Hi Dakshika,

The Users and Roles menu is missing in the Configuration navigation bar.
Hence I'm unable to create new users in the new ALPHA4 pack provided.
Please check and let me know.

[image: Inline image 1]

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


On Mon, Jul 14, 2014 at 4:09 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Dakshika,

 The new pack seems to work fine. Thank you for the support.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Jul 14, 2014 at 4:02 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Need to use latest build ALPHA4. :)

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Mon, Jul 14, 2014 at 9:46 AM, Amal Gunatilake am...@wso2.com wrote:

 Hi Dakshika,

 I used the pack that is currently available to download @
 http://jaggeryjs.org/.
 jaggery-0.9.0-SNAPSHOT_ALPHA3
 http://dist.wso2.org/products/jaggery/dl/jaggery-0.9.0-SNAPSHOT_ALPHA3.zip

 Please let me know which version I should use.


 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Jul 14, 2014 at 2:47 PM, Dakshika Jayathilaka daksh...@wso2.com
  wrote:

 Hi,

 I have checked code and seems its fixed on latest version.

 What's the pack that your using currently?



 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Thu, Jul 10, 2014 at 12:13 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Hi Team,

 As mentioned in the documentation
 http://jaggeryjs.org/documentation.jag?api=post I passed the header
 to change the Content-Type to application/json but still it tends to 
 pass
 the default Content-Type (application/x-www-form-urlencoded; 
 charset=UTF-8
 ).

 My jaggery code is as follows:

 var httpUrl = http://localhost:;;
 var headers = {
 Content-Type:application/json,
 Authorization:Basic YWRtaW46YWRtaW4= 
 };
 var url = /bpmnrest/runtime/tasks/408;
 var data = request.getContent();
 var result = post( httpUrl + url, data, headers, json);

 When I monitor the request through TCPMon I get the following.

 POST /bpmnrest/runtime/tasks/513 HTTP/1.1
 Content-Type: *application/x-www-form-urlencoded; charset=UTF-8 *
 Authorization: Basic YWRtaW46YWRtaW4=
 User-Agent: Jakarta Commons-HttpClient/3.1
 Host: localhost:
 Content-Length: 47

 action=completevariables=%5Bobject%20Object%5D

 The Authentication header seems to get modified but not the
 Content-Type. Please let me know a possible workaround to proceed with
 implementing the BPMN Humantask Jaggery app.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev






___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Multithreading support in Siddhi

2014-07-15 Thread Sachini Jayasekara
It's a chain of 16 filter queries. Results of one filter query goes to next
one.

processor: corei7
load average: 2.43

Thanks


On Tue, Jul 15, 2014 at 2:54 PM, Srinath Perera srin...@wso2.com wrote:

 what do you mean by 16 sequential CEP queries? are they running in
 parallel? :)

 Also how much was the load average (use top) when you running 16 queries
 and how many cores do you have?

 --Srinath


 On Tue, Jul 15, 2014 at 12:29 PM, Sriskandarajah Suhothayan s...@wso2.com
  wrote:

 The results looks great, proving we are going in the correct path.
 Keep up the good work

 Suho


 On Tue, Jul 15, 2014 at 12:06 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi,

 Here is the performance results for filter queries with and without
 using disruptor.

 *1 filter query (events per second)*
 with without51203286648936 50505056752194 511247468965525109862 6640106
 52910056626905 53504556954103 512557768399455099439 68870525617978
 6925208 51229516715917


 *2 sequential filter queries (events per second) * withwithout 500
 41305255503577 421407550864704212300 46926334154549 60569354233700
 4926108 419815351546394101723 64308684110152 520020841459375104645
 4182350
 *3 sequential filter queries (events per second)*
 with without47915674248088 49975014177109 499002041220124686036 4201681
 42283304226543 46533274214075 464037141893594789272 41753654432624
 4224757 49285364142372

 *4 sequential filter queries* *(events per second)* with without4359198
 3615329 46468403753754 423908436927624666356 370370438910513732736
 40306333757986 463177437383183858025 369139944742733684598 4446421
 3695492

 *8 sequential filter queries (events per second)*
  withwithout 326583921362963245699 211595430759772089427 32851512119093
 328299421159543183699 213492731746032140869 32237272147305 3215434
 21172983162555 2108815

 *12 sequential filter queries (events per second)*
 with without24881811510118 23331781522997 224064515288182279982 1526252
 24096391529520 24832381520219 244021515195262382087 15227652259376
 1526718 23601601532802

 *16 sequential filter queries (events per second)*
  withwithout 195694712004801968504 122249418281541222494 19646371213592
 191204612091901930502 123001219569471222494 18903591190476 1890359
 12150671923077 1190476


 On Mon, Jul 14, 2014 at 5:30 PM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:



 Please get the initial pref results with the disruptor,
 so we can plan more on how we are going to use that in Siddhi.

 Suho


 On Mon, Jul 14, 2014 at 5:25 PM, Sachini Jayasekara sachi...@wso2.com
 wrote:

 Hi all,

 We are in the process of rewriting Siddhi to support multi-threading.
 We are planning to use disruptor to improve performance.
 Siddhi API is also changed accordingly to facilitate new
 functionalities.

 Thanks

 --



 *Thanks  Regards,Sachini Jayasekara Software Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware



 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/ twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan 
 http://lk.linkedin.com/in/suhothayan*




 --



 *Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

 *lean . enterprise . middleware |  http://wso2.com http://wso2.com *




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/ twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --
 
 Director, Research, WSO2 Inc.
 Visiting Faculty, University of Moratuwa
 Member, Apache Software Foundation
 Research Scientist, Lanka Software Foundation
 Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
 Site: http://people.apache.org/~hemapani/
 Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902




-- 



*Thanks  Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery post method doesn't modify the content type when header is passed

2014-07-15 Thread Dakshika Jayathilaka
Hi,

We'll check that, for the time being try to install from p2.

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Tue, Jul 15, 2014 at 9:43 AM, Amal Gunatilake am...@wso2.com wrote:

 Hi Dakshika,

 The Users and Roles menu is missing in the Configuration navigation bar.
 Hence I'm unable to create new users in the new ALPHA4 pack provided.
 Please check and let me know.

 [image: Inline image 1]

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Jul 14, 2014 at 4:09 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Dakshika,

 The new pack seems to work fine. Thank you for the support.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Jul 14, 2014 at 4:02 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Need to use latest build ALPHA4. :)

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Mon, Jul 14, 2014 at 9:46 AM, Amal Gunatilake am...@wso2.com wrote:

 Hi Dakshika,

 I used the pack that is currently available to download @
 http://jaggeryjs.org/.
 jaggery-0.9.0-SNAPSHOT_ALPHA3
 http://dist.wso2.org/products/jaggery/dl/jaggery-0.9.0-SNAPSHOT_ALPHA3.zip

 Please let me know which version I should use.


 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Jul 14, 2014 at 2:47 PM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Hi,

 I have checked code and seems its fixed on latest version.

 What's the pack that your using currently?



 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Thu, Jul 10, 2014 at 12:13 PM, Amal Gunatilake am...@wso2.com
 wrote:

 Hi Team,

 As mentioned in the documentation
 http://jaggeryjs.org/documentation.jag?api=post I passed the
 header to change the Content-Type to application/json but still it 
 tends
 to pass the default Content-Type (application/x-www-form-urlencoded;
 charset=UTF-8 ).

 My jaggery code is as follows:

 var httpUrl = http://localhost:;;
 var headers = {
 Content-Type:application/json,
 Authorization:Basic YWRtaW46YWRtaW4= 
 };
 var url = /bpmnrest/runtime/tasks/408;
 var data = request.getContent();
 var result = post( httpUrl + url, data, headers, json);

 When I monitor the request through TCPMon I get the following.

 POST /bpmnrest/runtime/tasks/513 HTTP/1.1
 Content-Type: *application/x-www-form-urlencoded; charset=UTF-8 *
 Authorization: Basic YWRtaW46YWRtaW4=
 User-Agent: Jakarta Commons-HttpClient/3.1
 Host: localhost:
 Content-Length: 47

 action=completevariables=%5Bobject%20Object%5D

 The Authentication header seems to get modified but not the
 Content-Type. Please let me know a possible workaround to proceed with
 implementing the BPMN Humantask Jaggery app.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev







___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Kernel gives issue in chunk13

2014-07-15 Thread Vijayaratha Vijayasingam
It fixed..
Thanks..


On 15 July 2014 14:18, Sameera Jayasoma same...@wso2.com wrote:

 Done. Thanks KasunG for the fix.


 On Tue, Jul 15, 2014 at 2:07 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 The fix was to remove the
 META-INF/services/javax.servlet.ServletContainerInitializer file. But, with
 that patch, the file was not removed but only the content was removed.
 @Sameera, could you please remove the said file, and commit it? It seems
 there's no easy to provide a patch that deletes a file! :-) I did svn
 delete, and then svn diff to create the patch!

 Thanks,
 KasunG



 On Tue, Jul 15, 2014 at 1:56 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 This is again related to spring-framework jar.

 KasunG, can you fix this properly?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 1:52 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi core team;

 We are getting following issue..

 packs can not be started  .ou can find packs here[1]


 [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014/

 2014-07-15 13:49:21,852] ERROR - ContainerBase A child container failed
 during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component
 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 ... 7 more

 Caused by: java.lang.NullPointerException

 at java.lang.Class.forName0(Native Method)

 at java.lang.Class.forName(Class.java:249)

 at
 org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1658)

 at
 org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1568)

 at
 org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1276)

 at
 org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

 at
 org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 ... 7 more

 [2014-07-15 13:49:21,854] ERROR - ContainerBase A child container
 failed during start

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 [StandardEngine[Catalina].StandardHost[localhost]]

 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

 at java.util.concurrent.FutureTask.get(FutureTask.java:83)

 at
 org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

 at
 org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

 at
 org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:95)

 at
 org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)

 at java.lang.Thread.run(Thread.java:695)

 Caused by: org.apache.catalina.LifecycleException: Failed to start
 component [StandardEngine[Catalina].StandardHost[localhost]]

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

 at 

[Dev] chunk13 packs

2014-07-15 Thread Vijayaratha Vijayasingam
Hi ;
Please find packs
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

@Evanthika..
Please report issues..

Thanks

-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Don't we need to update Maven-site plugin version?

2014-07-15 Thread Vijayaratha Vijayasingam
Hi all;
Im getting following issue;[1] in maven 3.2.2 version;
This issue is reported and solution is to upgrade the site plugin version
to 3.3..[2] i changed locally looks it builds fine to me..

[2]
http://dougchang333.blogspot.com/2013/11/hadoop-build-error-javalangnoclassdeffo.html

[1]

INFO] --- maven-site-plugin:3.0:site (default) @
org.wso2.carbon.registry.core ---

[WARNING] Error injecting:
org.apache.maven.reporting.exec.DefaultMavenReportExecutor

java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)

at java.lang.Class.getDeclaredConstructors(Class.java:1872)

at
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)

at
com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)

at
com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)

at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)

at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)

at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)

at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)

at
com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)

at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)

at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)

at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)

at
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)

at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)

at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)

at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)

at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(Provi


-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] org.wso2.carbon.databridge.cassandra.feature do not have a 4.3.0 counterpart in Github

2014-07-15 Thread Udara Rathnayake
Hi all,

Any reason for the $Subject?

Regards,
UdaraR

-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Don't we need to update Maven-site plugin version?

2014-07-15 Thread Kasun Gajasinghe
I think Carbon products are tested to be buildable in Maven 3.0.x. If you
need to update this plugin version, make sure that it works with Maven
3.0.x as well. The latest Maven release in that branch is 3.0.5.

Thanks,
KasunG


On Tue, Jul 15, 2014 at 4:24 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 Hi all;
 Im getting following issue;[1] in maven 3.2.2 version;
 This issue is reported and solution is to upgrade the site plugin version
 to 3.3..[2] i changed locally looks it builds fine to me..

 [2]
 http://dougchang333.blogspot.com/2013/11/hadoop-build-error-javalangnoclassdeffo.html

 [1]

 INFO] --- maven-site-plugin:3.0:site (default) @
 org.wso2.carbon.registry.core ---

 [WARNING] Error injecting:
 org.apache.maven.reporting.exec.DefaultMavenReportExecutor

 java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter

 at java.lang.Class.getDeclaredConstructors0(Native Method)

 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)

 at java.lang.Class.getDeclaredConstructors(Class.java:1872)

 at
 com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)

 at
 com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)

 at
 com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)

 at
 com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)

 at
 com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)

 at
 com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)

 at
 com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)

 at
 com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)

 at
 com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)

 at
 com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)

 at
 com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)

 at
 org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)

 at
 com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)

 at
 com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)

 at
 com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)

 at
 com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(Provi


 --
 -Ratha
 mobile: (+94)755906608

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error when generating AS JiBX Sample

2014-07-15 Thread Chamila De Alwis
Hi,

I'm getting the following error when running ant from the Jibx sample
folder.

[bind] Using the following binding paths:
 [bind]   conf/jibx_unwrapped.xml
 [bind] Running binding compiler version jibx_1_2_1
 [bind] Error running binding compiler
 [bind] *java.lang.IncompatibleClassChangeError: Found class
org.apache.bcel.util.ClassPath$ClassFile, but interface was expected*
 [bind] at
org.jibx.binding.classes.ClassFile.init(ClassFile.java:279)
 [bind] at
org.jibx.binding.classes.ClassFile.getClassFile(ClassFile.java:307)
 [bind] at
org.jibx.binding.classes.ClassCache.getClassFileImpl(ClassCache.java:144)
 [bind] at
org.jibx.binding.classes.ClassCache.getClassFile(ClassCache.java:208)
 [bind] at
org.jibx.binding.classes.ClassItem.findStaticMethod(ClassItem.java:507)
 [bind] at
org.jibx.binding.def.StringConversion.setSerializer(StringConversion.java:386)


I'm using JDK 1.7 and I added the JVM option as mentioned in the
documentation, but I still get the error.

*export ANT_OPTS=-XX:-UseSplitVerifier *

Any extra workarounds that might be missing from the README?



-- 

Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when generating AS JiBX Sample

2014-07-15 Thread Chamila De Alwis
Forgot to mention that I'm using Application Server version 5.2.1.


On Tue, Jul 15, 2014 at 5:31 PM, Chamila De Alwis chami...@wso2.com wrote:

 Hi,

 I'm getting the following error when running ant from the Jibx sample
 folder.

 [bind] Using the following binding paths:
  [bind]   conf/jibx_unwrapped.xml
  [bind] Running binding compiler version jibx_1_2_1
  [bind] Error running binding compiler
  [bind] *java.lang.IncompatibleClassChangeError: Found class
 org.apache.bcel.util.ClassPath$ClassFile, but interface was expected*
  [bind] at
 org.jibx.binding.classes.ClassFile.init(ClassFile.java:279)
  [bind] at
 org.jibx.binding.classes.ClassFile.getClassFile(ClassFile.java:307)
  [bind] at
 org.jibx.binding.classes.ClassCache.getClassFileImpl(ClassCache.java:144)
  [bind] at
 org.jibx.binding.classes.ClassCache.getClassFile(ClassCache.java:208)
  [bind] at
 org.jibx.binding.classes.ClassItem.findStaticMethod(ClassItem.java:507)
  [bind] at
 org.jibx.binding.def.StringConversion.setSerializer(StringConversion.java:386)


 I'm using JDK 1.7 and I added the JVM option as mentioned in the
 documentation, but I still get the error.

 *export ANT_OPTS=-XX:-UseSplitVerifier *

 Any extra workarounds that might be missing from the README?



 --

 Regards,
 Chamila de Alwis
 Software Engineer | WSO2 | +94772207163
 Blog: code.chamiladealwis.com





-- 

Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13 packs

2014-07-15 Thread Evanthika Amarasiri
Did a smoke test for API-M. The issues we noticed in the previous pack are
all fixed. We will replace the setup with the latest packs and continue
testing.

Regards,
Evanthika

On Tue, Jul 15, 2014 at 4:20 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 Hi ;
 Please find packs
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

 @Evanthika..
 Please report issues..

 Thanks

 --
 -Ratha
 mobile: (+94)755906608

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13 packs

2014-07-15 Thread Vijayaratha Vijayasingam
thanks Evanthika..pls report under 1.7.1..


On 15 July 2014 17:42, Evanthika Amarasiri evanth...@wso2.com wrote:

 Did a smoke test for API-M. The issues we noticed in the previous pack are
 all fixed. We will replace the setup with the latest packs and continue
 testing.

 Regards,
 Evanthika

 On Tue, Jul 15, 2014 at 4:20 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi ;
 Please find packs
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

 @Evanthika..
 Please report issues..

 Thanks

 --
 -Ratha
 mobile: (+94)755906608





-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Commit patch to patch0009

2014-07-15 Thread Nuwan Dias
Hi,

@Kernel team, could you please commit the attached patch to patch0009?

Note that you will need to do an svn add on orbit/poi-ooxml/

Thanks,
NuwanD.

-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729


patch0009.patch
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk13 packs

2014-07-15 Thread Evanthika Amarasiri
Will do.

​Regards,
Evanthika

On Tue, Jul 15, 2014 at 5:47 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 thanks Evanthika..pls report under 1.7.1..


 On 15 July 2014 17:42, Evanthika Amarasiri evanth...@wso2.com wrote:

 Did a smoke test for API-M. The issues we noticed in the previous pack
 are all fixed. We will replace the setup with the latest packs and continue
 testing.

 Regards,
 Evanthika

 On Tue, Jul 15, 2014 at 4:20 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi ;
 Please find packs
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

 @Evanthika..
 Please report issues..

 Thanks

 --
 -Ratha
 mobile: (+94)755906608





 --
 -Ratha
 mobile: (+94)755906608

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is BSD compatible with Apache2.0 license?

2014-07-15 Thread Gimantha Bandara
Hi all,

D3.js[1] has nice graphs and tables for data visualization and can be used
for BAM toolbox dash boards. D3.js comes with BSD license. Is it possible
to use BSD licensed libraries for our products?

[1] http://d3js.org/

Thanks,
Gimantha
-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Build issue]Checksum validation failed

2014-07-15 Thread Vijayaratha Vijayasingam
Hi all;

Anyone knows how to overcome this? if i do offline build then i miss
libraries which are need to be downloaded..

Any fix?



INFO]


[INFO] Building WSO2 Carbon - HostObject for API management 1.2.3

[INFO]


[WARNING] The POM for uddi:uddi4j:jar:1.0.1 is invalid, transitive
dependencies (if any) will not be available, enable debug logging for more
details

[WARNING] The POM for
org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details

[WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid, transitive
dependencies (if any) will not be available, enable debug logging for more
details

Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

[WARNING] Checksum validation failed, expected  but is
62336f94161432092b380de7665aa6c0af3ac893 for
http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

[INFO]


[INFO] BUILD FAILURE

[INFO]


[INFO] Total time: 6.360s

[INFO] Finished at: Tue Jul 15 18:37:47 IST 2014

[INFO] Final Memory: 21M/81M

[INFO]


[ERROR] Failed to execute goal on project
org.wso2.carbon.apimgt.hostobjects: Could not resolve dependencies for
project org.wso2.carbon:org.wso2.carbon.apimgt.hostobjects:bundle:1.2.3:
Failed to collect dependencies for [rhino.wso2:js:jar:1.7.0.R4.wso2v1
(compile), com.google.code.gson:gson:jar:2.1 (compile),
org.wso2.carbon:org.wso2.carbon.governance.api:jar:4.2.0 (compile),
org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0.ALPHA4.wso2v1 (compile),
org.wso2.carbon:org.wso2.carbon.apimgt.api:jar:1.2.2 (compile),
org.wso2.carbon:org.wso2.carbon.apimgt.impl:jar:1.2.3 (compile),
org.jaggeryjs:org.jaggeryjs.hostobjects.web:jar:0.9.0.ALPHA4.wso2v1
(compile),
org.jaggeryjs:org.jaggeryjs.hostobjects.file:jar:0.9.0.ALPHA4.wso2v1
(compile), org.wso2.carbon:org.wso2.carbon.apimgt.usage.client:jar:1.2.2
(compile), org.wso2.carbon:org.wso2.carbon.apimgt.keymgt.client:jar:1.2.0
(compile), commons-io.wso2:commons-io:jar:2.0.0.wso2v1 (compile),
org.wso2.carbon:org.wso2.carbon.user.mgt.stub:jar:4.2.0 (compile),
org.wso2.carbon:org.wso2.carbon.identity.user.registration.stub:jar:4.2.0
(compile), org.owasp.encoder:encoder:jar:1.1 (compile)]: Failed to read
artifact descriptor for
org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800:
Could not transfer artifact
org.eclipse.equinox:org.eclipse.equinox.http.servlet:pom:1.0.200.v20090520-1800
from/to wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/):
Checksum validation failed, expected  but is
62336f94161432092b380de7665aa6c0af3ac893 - [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions,
please read the following articles:

[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

vijayarathas-MacBook-Pro:1.2.3 ratha$


-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Build issue]Checksum validation failed

2014-07-15 Thread Thanuja Jayasinghe
Hi Ratha,

As a work around you can use -c command line option.

Thanks,
Thanuja.



On Tue, Jul 15, 2014 at 6:39 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 Hi all;

 Anyone knows how to overcome this? if i do offline build then i miss
 libraries which are need to be downloaded..

 Any fix?



 INFO]
 

 [INFO] Building WSO2 Carbon - HostObject for API management 1.2.3

 [INFO]
 

 [WARNING] The POM for uddi:uddi4j:jar:1.0.1 is invalid, transitive
 dependencies (if any) will not be available, enable debug logging for more
 details

 [WARNING] The POM for
 org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 is
 invalid, transitive dependencies (if any) will not be available, enable
 debug logging for more details

 [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid,
 transitive dependencies (if any) will not be available, enable debug
 logging for more details

 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [WARNING] Checksum validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 for
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [INFO]
 

 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 6.360s

 [INFO] Finished at: Tue Jul 15 18:37:47 IST 2014

 [INFO] Final Memory: 21M/81M

 [INFO]
 

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.apimgt.hostobjects: Could not resolve dependencies for
 project org.wso2.carbon:org.wso2.carbon.apimgt.hostobjects:bundle:1.2.3:
 Failed to collect dependencies for [rhino.wso2:js:jar:1.7.0.R4.wso2v1
 (compile), com.google.code.gson:gson:jar:2.1 (compile),
 org.wso2.carbon:org.wso2.carbon.governance.api:jar:4.2.0 (compile),
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0.ALPHA4.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.api:jar:1.2.2 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.impl:jar:1.2.3 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.web:jar:0.9.0.ALPHA4.wso2v1
 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.file:jar:0.9.0.ALPHA4.wso2v1
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.usage.client:jar:1.2.2
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.keymgt.client:jar:1.2.0
 (compile), commons-io.wso2:commons-io:jar:2.0.0.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.user.mgt.stub:jar:4.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.identity.user.registration.stub:jar:4.2.0
 (compile), org.owasp.encoder:encoder:jar:1.1 (compile)]: Failed to read
 artifact descriptor for
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800:
 Could not transfer artifact
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:pom:1.0.200.v20090520-1800
 from/to wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/): Checksum
 validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 vijayarathas-MacBook-Pro:1.2.3 ratha$


 --
 -Ratha
 mobile: (+94)755906608

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Thanuja Lakmal*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is BSD compatible with Apache2.0 license?

2014-07-15 Thread Kasun Gajasinghe
BSD licenses are compatible with ASL 2.0 license. Will this library replace
the current graphs library that we ship?

Regards,
KasunG


On Tue, Jul 15, 2014 at 6:37 PM, Gimantha Bandara giman...@wso2.com wrote:

 Hi all,

 D3.js[1] has nice graphs and tables for data visualization and can be used
 for BAM toolbox dash boards. D3.js comes with BSD license. Is it possible
 to use BSD licensed libraries for our products?

 [1] http://d3js.org/

 Thanks,
 Gimantha
 --
 Gimantha Bandara
 Software Engineer
 WSO2. Inc : http://wso2.com
 Mobile : +94714961919

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Jeewantha Dharmaparakrama
Hi All,

We do not ship Tribes now AFAIK. In that case can we cluster axis2 server
with Hazalcast?

Thanks,
Jeewantha

-- 
Jeewantha Dharmaparakrama
Software Engineer; WSO2, Inc.; http://wso2.com/
Phone : (+94) 778403757
Blog: http://jeewanthad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is BSD compatible with Apache2.0 license?

2014-07-15 Thread Gimantha Bandara
Hi Kasun,

Thank for the info and this library will be used only for the log
management toolbox and it won't affect the current graph libraries.

Thanks,
Gimantha


On Tue, Jul 15, 2014 at 6:58 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 BSD licenses are compatible with ASL 2.0 license. Will this library
 replace the current graphs library that we ship?

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 6:37 PM, Gimantha Bandara giman...@wso2.com
 wrote:

 Hi all,

 D3.js[1] has nice graphs and tables for data visualization and can be
 used for BAM toolbox dash boards. D3.js comes with BSD license. Is it
 possible to use BSD licensed libraries for our products?

 [1] http://d3js.org/

 Thanks,
 Gimantha
 --
 Gimantha Bandara
 Software Engineer
 WSO2. Inc : http://wso2.com
 Mobile : +94714961919

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Kasun Gajasinghe
Hi Jeewantha,

What's the exact requirement you are trying to achieve here?


On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2 server
 with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Code Review - APPMGR Publish Application Executors @ Tue Jul 15, 2014 3:30am - 4am (Sumedha Rubasinghe)

2014-07-15 Thread Sumedha Rubasinghe
Did this happen? Notes?


On Sun, Jul 13, 2014 at 7:00 PM, Ruwan Yatawara ruw...@wso2.com wrote:

  more details »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 Code Review - APPMGR Publish Application Executors
 Code Review of the registry life cycle executors for publishing Web
 Applications in App Manager.
 *When*
 Tue Jul 15, 2014 3:30am – 4am Central Time
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/code-review
 https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=cnV3YW55QHdzbzIuY29t.jnh62jcre2bvr95gl16hgjgc0g
 *Calendar*
 Sumedha Rubasinghe
 *Who*
 •
 Ruwan Yatawara - organizer
 •
 Thilini Shanika
 •
 Kasun Dissanayake
 •
 Dinusha Senanayaka
 •
 Roshan Wijesena
 •
 Rajeeva Uthayasangar
 •
 Jenananthan Yogendran
 •
 Sumedha Rubasinghe
 •
 Rushmin Fernando
 •
 Nuwan Dias
 •
 dev@wso2.org
 •
 Chamila Adhikarinayake

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=1tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=3tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=2tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account sume...@wso2.com because you
 are subscribed for invitations on calendar Sumedha Rubasinghe.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Jeewantha Dharmaparakrama
To use dynamic load balancing with multiple axis2 nodes. [1]

[1]
https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2 server
 with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
Jeewantha Dharmaparakrama
Software Engineer; WSO2, Inc.; http://wso2.com/
Phone : (+94) 778403757
Blog: http://jeewanthad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Kasun Gajasinghe
Technically, you should be able to since the Hazelcast clustering in Carbon
has been implemented using Axis2 clustering interfaces. You can try by
replacing the tribes clustering agent with hz clustering agent in
axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
Org.wso2.carbon.core contains the Hz based axis2 clustering code.

Regards,
KasunG


On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Sameera Jayasoma
Hi Kasun/Jeewantha,

I don't think its possible. HZ based clustering implementation uses Carbon
kernel internals. So you cannot simply replace the existing Tribes based
implementation with HZ base impl that easily.

Thanks,
Sameera.


On Tue, Jul 15, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 Technically, you should be able to since the Hazelcast clustering in
 Carbon has been implemented using Axis2 clustering interfaces. You can try
 by replacing the tribes clustering agent with hz clustering agent in
 axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
 Org.wso2.carbon.core contains the Hz based axis2 clustering code.

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Afkham Azeez
Yes, it is coupled with Carbon. Why can't they use AppServer instead of
Axis2?


On Tue, Jul 15, 2014 at 7:38 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Kasun/Jeewantha,

 I don't think its possible. HZ based clustering implementation uses Carbon
 kernel internals. So you cannot simply replace the existing Tribes based
 implementation with HZ base impl that easily.

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 Technically, you should be able to since the Hazelcast clustering in
 Carbon has been implemented using Axis2 clustering interfaces. You can try
 by replacing the tribes clustering agent with hz clustering agent in
 axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
 Org.wso2.carbon.core contains the Hz based axis2 clustering code.

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/*
*email: **az...@wso2.com* az...@wso2.com
* cell: +94 77 3320919 %2B94%2077%203320919 blog: *
*http://blog.afkham.org* http://blog.afkham.org
*twitter: **http://twitter.com/afkham_azeez*
http://twitter.com/afkham_azeez
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
http://lk.linkedin.com/in/afkhamazeez*

*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Commit patch to patch0009

2014-07-15 Thread Sameera Jayasoma
Do we have a public Jira for this issue?

Thanks,
Sameera.


On Tue, Jul 15, 2014 at 5:48 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 @Kernel team, could you please commit the attached patch to patch0009?

 Note that you will need to do an svn add on orbit/poi-ooxml/

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Automated test case for ESB sample 705

2014-07-15 Thread Waruna Perera
Hi,

I am trying to write a test case for [1]. In this scenario ESB uses Message
Forwarding Processor to forwards requests in a load balance scenario. My
first approach was to alter the sample a bit by sending messages to three
different JMS queues and check the message count. As I understood it will
not work as forwarding Processor will send the message as soon as the end
point is available.

What would be the best way to implement this test case?



-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Jeewantha Dharmaparakrama
On Tue, Jul 15, 2014 at 7:59 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, it is coupled with Carbon. Why can't they use AppServer instead of
 Axis2?


 On Tue, Jul 15, 2014 at 7:38 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Kasun/Jeewantha,

 I don't think its possible. HZ based clustering implementation uses
 Carbon kernel internals. So you cannot simply replace the existing Tribes
 based implementation with HZ base impl that easily.

 In that case should we ship Tribes with ESB to support  sample 57? [1]
[1]
https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Technically, you should be able to since the Hazelcast clustering in
 Carbon has been implemented using Axis2 clustering interfaces. You can try
 by replacing the tribes clustering agent with hz clustering agent in
 axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
 Org.wso2.carbon.core contains the Hz based axis2 clustering code.

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*
 http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*


 *Lean . Enterprise . Middleware*




-- 
Jeewantha Dharmaparakrama
Software Engineer; WSO2, Inc.; http://wso2.com/
Phone : (+94) 778403757
Blog: http://jeewanthad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Sameera Jayasoma
We can ask people to use WSO2 AS instead of the simple axis2 server. Just a
thought.


On Tue, Jul 15, 2014 at 9:29 PM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:




 On Tue, Jul 15, 2014 at 7:59 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, it is coupled with Carbon. Why can't they use AppServer instead of
 Axis2?


 On Tue, Jul 15, 2014 at 7:38 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Kasun/Jeewantha,

 I don't think its possible. HZ based clustering implementation uses
 Carbon kernel internals. So you cannot simply replace the existing Tribes
 based implementation with HZ base impl that easily.

 In that case should we ship Tribes with ESB to support  sample 57? [1]
 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Technically, you should be able to since the Hazelcast clustering in
 Carbon has been implemented using Axis2 clustering interfaces. You can try
 by replacing the tribes clustering agent with hz clustering agent in
 axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
 Org.wso2.carbon.core contains the Hz based axis2 clustering code.

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*
 http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*


 *Lean . Enterprise . Middleware*




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Code Review - APPMGR Publish Application Executors @ Tue Jul 15, 2014 3:30am - 4am (Sumedha Rubasinghe)

2014-07-15 Thread Ruwan Yatawara
Yes. We did this today.

Dinusha will be sharing the notes shortly.

One point we came across during this is that, the publish application
request rejection workflow is currently broken. This is because of us not
being able to make a connection between the created - rejected state in
the registry life cycle xml, as this will lead to the dynamically generated
graph getting broken, as a workaround what we discussed was to go ahead
with a custom 'static' implementation of the life cycle graph for app
manager.

But for the time being we are trying to go ahead with bringing an
application back to the 'created' state upon rejection of publish workflow.

Thanks and Regards,

Ruwan Yatawara

Senior Software Engineer,
WSO2 Inc.

email : ruw...@wso2.com
mobile : +94 77 9110413
blog : http://thoughts.ruwan-ace.com/
www: :http://wso2.com



On Tue, Jul 15, 2014 at 7:15 PM, Sumedha Rubasinghe sume...@wso2.com
wrote:

 Did this happen? Notes?


 On Sun, Jul 13, 2014 at 7:00 PM, Ruwan Yatawara ruw...@wso2.com wrote:

  more details »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 Code Review - APPMGR Publish Application Executors
 Code Review of the registry life cycle executors for publishing Web
 Applications in App Manager.
 *When*
 Tue Jul 15, 2014 3:30am – 4am Central Time
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/code-review
 https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=cnV3YW55QHdzbzIuY29t.jnh62jcre2bvr95gl16hgjgc0g
 *Calendar*
 Sumedha Rubasinghe
 *Who*
 •
 Ruwan Yatawara - organizer
 •
 Thilini Shanika
 •
 Kasun Dissanayake
 •
 Dinusha Senanayaka
 •
 Roshan Wijesena
 •
 Rajeeva Uthayasangar
 •
 Jenananthan Yogendran
 •
 Sumedha Rubasinghe
 •
 Rushmin Fernando
 •
 Nuwan Dias
 •
 dev@wso2.org
 •
 Chamila Adhikarinayake

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=1tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=3tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=2tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account sume...@wso2.com because you
 are subscribed for invitations on calendar Sumedha Rubasinghe.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we cluster axis2 server with Hazalcast?

2014-07-15 Thread Sagara Gunathunga
On Tue, Jul 15, 2014 at 9:37 PM, Sameera Jayasoma same...@wso2.com wrote:

 We can ask people to use WSO2 AS instead of the simple axis2 server. Just
 a thought.


+1 AFAIK Simple Axis2 server is not recommended for productions systems it
was not developed to support production qualities instead users should use
Axis2 supported application server or deploy axis2.war in a unsupported
application servers.

Thanks !



 On Tue, Jul 15, 2014 at 9:29 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:




 On Tue, Jul 15, 2014 at 7:59 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, it is coupled with Carbon. Why can't they use AppServer instead of
 Axis2?


 On Tue, Jul 15, 2014 at 7:38 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Kasun/Jeewantha,

 I don't think its possible. HZ based clustering implementation uses
 Carbon kernel internals. So you cannot simply replace the existing Tribes
 based implementation with HZ base impl that easily.

 In that case should we ship Tribes with ESB to support  sample 57? [1]
 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 7:31 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:


 Technically, you should be able to since the Hazelcast clustering in
 Carbon has been implemented using Axis2 clustering interfaces. You can try
 by replacing the tribes clustering agent with hz clustering agent in
 axis2.xml, and adding org.wso2.carbon.core/Hz as a dependency.
 Org.wso2.carbon.core contains the Hz based axis2 clustering code.

 Regards,
 KasunG


 On Tue, Jul 15, 2014 at 7:20 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 To use dynamic load balancing with multiple axis2 nodes. [1]

 [1]
 https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes


 On Tue, Jul 15, 2014 at 7:16 PM, Kasun Gajasinghe kas...@wso2.com
 wrote:

 Hi Jeewantha,

 What's the exact requirement you are trying to achieve here?


 On Tue, Jul 15, 2014 at 7:05 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi All,

 We do not ship Tribes now AFAIK. In that case can we cluster axis2
 server with Hazalcast?

 Thanks,
 Jeewantha

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*
 http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*


 *Lean . Enterprise . Middleware*




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 778403757
 Blog: http://jeewanthad.blogspot.com/




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Code Review - APPMGR Publish Application Executors @ Tue Jul 15, 2014 3:30am - 4am (Sumedha Rubasinghe)

2014-07-15 Thread Dinusha Senanayaka
On Tue, Jul 15, 2014 at 7:15 PM, Sumedha Rubasinghe sume...@wso2.com
wrote:

 Did this happen? Notes?

Yes.. Sorry for not sending the notes earlier.

Review Notes:
- There were several places that has only logged the exceptions, need to
throw them and handle exceptions properly.
- Other major thing discussed was, we could not consider application life
cycle workflow extension is as completed. Because currently we could not
handle if a publishing an app is rejected by the workflow admin. This is
what Ruwan has explained above. We need to work on this.

Regards,
Dinusha.



 On Sun, Jul 13, 2014 at 7:00 PM, Ruwan Yatawara ruw...@wso2.com wrote:

  more details »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 Code Review - APPMGR Publish Application Executors
 Code Review of the registry life cycle executors for publishing Web
 Applications in App Manager.
 *When*
 Tue Jul 15, 2014 3:30am – 4am Central Time
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/code-review
 https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=cnV3YW55QHdzbzIuY29t.jnh62jcre2bvr95gl16hgjgc0g
 *Calendar*
 Sumedha Rubasinghe
 *Who*
 •
 Ruwan Yatawara - organizer
 •
 Thilini Shanika
 •
 Kasun Dissanayake
 •
 Dinusha Senanayaka
 •
 Roshan Wijesena
 •
 Rajeeva Uthayasangar
 •
 Jenananthan Yogendran
 •
 Sumedha Rubasinghe
 •
 Rushmin Fernando
 •
 Nuwan Dias
 •
 dev@wso2.org
 •
 Chamila Adhikarinayake

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=1tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=3tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQrst=2tok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=am5oNjJqY3JlMmJ2cjk1Z2wxNmhnamdjMGcgc3VtZWRoYUB3c28yLmNvbQtok=MTUjcnV3YW55QHdzbzIuY29tY2Q4YjRjZjM3YjUwNzIwMmI4NzEyMzBiYzQ3OTljY2Q0ZDViZjQyMgctz=America/Chicagohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account sume...@wso2.com because you
 are subscribed for invitations on calendar Sumedha Rubasinghe.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Commit patch to patch0009

2014-07-15 Thread Nuwan Dias
Just created one. Here it is [1]

[1] - https://wso2.org/jira/browse/APIMANAGER-2610


On Tue, Jul 15, 2014 at 8:02 PM, Sameera Jayasoma same...@wso2.com wrote:

 Do we have a public Jira for this issue?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 5:48 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 @Kernel team, could you please commit the attached patch to patch0009?

 Note that you will need to do an svn add on orbit/poi-ooxml/

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Commit patch to patch0009

2014-07-15 Thread Sameera Jayasoma
Committed the patch.


On Tue, Jul 15, 2014 at 10:17 PM, Nuwan Dias nuw...@wso2.com wrote:

 Just created one. Here it is [1]

 [1] - https://wso2.org/jira/browse/APIMANAGER-2610


 On Tue, Jul 15, 2014 at 8:02 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Do we have a public Jira for this issue?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 5:48 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 @Kernel team, could you please commit the attached patch to patch0009?

 Note that you will need to do an svn add on orbit/poi-ooxml/

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Commit patch to patch0009

2014-07-15 Thread Nuwan Dias
Thanks Sameera.

Regards,
NuwanD.


On Tue, Jul 15, 2014 at 10:23 PM, Sameera Jayasoma same...@wso2.com wrote:

 Committed the patch.


 On Tue, Jul 15, 2014 at 10:17 PM, Nuwan Dias nuw...@wso2.com wrote:

 Just created one. Here it is [1]

 [1] - https://wso2.org/jira/browse/APIMANAGER-2610


 On Tue, Jul 15, 2014 at 8:02 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Do we have a public Jira for this issue?

 Thanks,
 Sameera.


 On Tue, Jul 15, 2014 at 5:48 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 @Kernel team, could you please commit the attached patch to patch0009?

 Note that you will need to do an svn add on orbit/poi-ooxml/

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Build issue]Checksum validation failed

2014-07-15 Thread Vijayaratha Vijayasingam
Thanks that works..


On 15 July 2014 18:49, Thanuja Jayasinghe than...@wso2.com wrote:

 Hi Ratha,

 As a work around you can use -c command line option.

 Thanks,
 Thanuja.



 On Tue, Jul 15, 2014 at 6:39 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi all;

 Anyone knows how to overcome this? if i do offline build then i miss
 libraries which are need to be downloaded..

 Any fix?



 INFO]
 

 [INFO] Building WSO2 Carbon - HostObject for API management 1.2.3

 [INFO]
 

 [WARNING] The POM for uddi:uddi4j:jar:1.0.1 is invalid, transitive
 dependencies (if any) will not be available, enable debug logging for more
 details

 [WARNING] The POM for
 org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 is
 invalid, transitive dependencies (if any) will not be available, enable
 debug logging for more details

 [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid,
 transitive dependencies (if any) will not be available, enable debug
 logging for more details

 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [WARNING] Checksum validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 for
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [INFO]
 

 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 6.360s

 [INFO] Finished at: Tue Jul 15 18:37:47 IST 2014

 [INFO] Final Memory: 21M/81M

 [INFO]
 

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.apimgt.hostobjects: Could not resolve dependencies for
 project org.wso2.carbon:org.wso2.carbon.apimgt.hostobjects:bundle:1.2.3:
 Failed to collect dependencies for [rhino.wso2:js:jar:1.7.0.R4.wso2v1
 (compile), com.google.code.gson:gson:jar:2.1 (compile),
 org.wso2.carbon:org.wso2.carbon.governance.api:jar:4.2.0 (compile),
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0.ALPHA4.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.api:jar:1.2.2 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.impl:jar:1.2.3 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.web:jar:0.9.0.ALPHA4.wso2v1
 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.file:jar:0.9.0.ALPHA4.wso2v1
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.usage.client:jar:1.2.2
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.keymgt.client:jar:1.2.0
 (compile), commons-io.wso2:commons-io:jar:2.0.0.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.user.mgt.stub:jar:4.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.identity.user.registration.stub:jar:4.2.0
 (compile), org.owasp.encoder:encoder:jar:1.1 (compile)]: Failed to read
 artifact descriptor for
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800:
 Could not transfer artifact
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:pom:1.0.200.v20090520-1800
 from/to wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/): Checksum
 validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 vijayarathas-MacBook-Pro:1.2.3 ratha$


 --
 -Ratha
 mobile: (+94)755906608

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891




-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] org.wso2.carbon.databridge.cassandra.feature do not have a 4.3.0 counterpart in Github

2014-07-15 Thread Mohanadarshan Vivekanandalingam
Hi Udara,

I think there are some databridge features not moved to github. Not
only databridge.cassandra.feature, some other databridge features are also
missing.
Above features are actually required for BAM product. Since BAM team is not
doing any active development in github, these are not affected before.

Anyway, If these features required then you can send a pull request to
wso2-dev repo. But i think you also need to add
databridge.datasink.cassandra.server.feature since it is required for
databridge.cassandra.feature ..


Thanks,
Mohan




On Tue, Jul 15, 2014 at 4:37 PM, Udara Rathnayake uda...@wso2.com wrote:

 Hi all,

 Any reason for the $Subject?

 Regards,
 UdaraR

 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Build issue]Checksum validation failed

2014-07-15 Thread Ruwan Yatawara
Hi Ratha,

Rather than doing a -c,  u can change the check sum policy to warn instead
of fail. That will fix this issue. Currently it should be fail.

Thanks,
Ruwan

- sent from my mobile.
On 15 Jul 2014 22:42, Vijayaratha Vijayasingam rat...@wso2.com wrote:

 Thanks that works..


 On 15 July 2014 18:49, Thanuja Jayasinghe than...@wso2.com wrote:

 Hi Ratha,

 As a work around you can use -c command line option.

 Thanks,
 Thanuja.



 On Tue, Jul 15, 2014 at 6:39 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

  Hi all;

 Anyone knows how to overcome this? if i do offline build then i miss
 libraries which are need to be downloaded..

 Any fix?



 INFO]
 

 [INFO] Building WSO2 Carbon - HostObject for API management 1.2.3

 [INFO]
 

 [WARNING] The POM for uddi:uddi4j:jar:1.0.1 is invalid, transitive
 dependencies (if any) will not be available, enable debug logging for more
 details

 [WARNING] The POM for
 org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 is
 invalid, transitive dependencies (if any) will not be available, enable
 debug logging for more details

 [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is invalid,
 transitive dependencies (if any) will not be available, enable debug
 logging for more details

 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [WARNING] Checksum validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 for
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/equinox/org.eclipse.equinox.http.servlet/1.0.200.v20090520-1800/org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800.pom

 [INFO]
 

 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 6.360s

 [INFO] Finished at: Tue Jul 15 18:37:47 IST 2014

 [INFO] Final Memory: 21M/81M

 [INFO]
 

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.apimgt.hostobjects: Could not resolve dependencies for
 project org.wso2.carbon:org.wso2.carbon.apimgt.hostobjects:bundle:1.2.3:
 Failed to collect dependencies for [rhino.wso2:js:jar:1.7.0.R4.wso2v1
 (compile), com.google.code.gson:gson:jar:2.1 (compile),
 org.wso2.carbon:org.wso2.carbon.governance.api:jar:4.2.0 (compile),
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0.ALPHA4.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.api:jar:1.2.2 (compile),
 org.wso2.carbon:org.wso2.carbon.apimgt.impl:jar:1.2.3 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.web:jar:0.9.0.ALPHA4.wso2v1
 (compile),
 org.jaggeryjs:org.jaggeryjs.hostobjects.file:jar:0.9.0.ALPHA4.wso2v1
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.usage.client:jar:1.2.2
 (compile), org.wso2.carbon:org.wso2.carbon.apimgt.keymgt.client:jar:1.2.0
 (compile), commons-io.wso2:commons-io:jar:2.0.0.wso2v1 (compile),
 org.wso2.carbon:org.wso2.carbon.user.mgt.stub:jar:4.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.identity.user.registration.stub:jar:4.2.0
 (compile), org.owasp.encoder:encoder:jar:1.1 (compile)]: Failed to read
 artifact descriptor for
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800:
 Could not transfer artifact
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:pom:1.0.200.v20090520-1800
 from/to wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/): Checksum
 validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 vijayarathas-MacBook-Pro:1.2.3 ratha$


 --
 -Ratha
 mobile: (+94)755906608

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891




 --
 -Ratha
 mobile: (+94)755906608

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add a new User member to a Group in SCIM

2014-07-15 Thread Darshana Gunawardana
Hi Gayan,

Have you found the way to do $subject?

AFAIK, this functionality does not supported. If you have to add user to
some group using scim,
* Either you have to include that user while creating the group
* Or you have to update role list of user.

Thanks,
Darshana



On Mon, Jul 14, 2014 at 11:45 AM, Gayan Gunawardana ga...@wso2.com wrote:

 Hi Ishara,

 While writing integration test for patch operation I wanted to modify user
 list of a group. I have tried following method

 setMember(String id)

 setUserMember(String id)

 setGroupMember(String id)

 but it gives

 org.apache.wink.client.ClientRuntimeException:
 org.wso2.charon.core.exceptions.AbstractCharonException
 at
 org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:240)
 at
 org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:189)
 at
 org.apache.wink.client.internal.ResourceImpl.put(ResourceImpl.java:326)
 at
 org.wso2.carbon.identity.tests.scim.SCIMServiceProviderGroupTestCase.updateGroup(SCIMServiceProviderGroupTestCase.java:208)
 Caused by: org.wso2.charon.core.exceptions.AbstractCharonException
 at
 org.wso2.charon.core.encoder.json.JSONDecoder.decodeException(JSONDecoder.java:153)
 at
 org.wso2.charon.core.client.SCIMClient.decodeSCIMException(SCIMClient.java:219)
 at
 org.wso2.carbon.identity.tests.scim.utils.SCIMResponseHandler.handle(SCIMResponseHandler.java:51)
 at
 org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52)
 at
 org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:227)
 ... 36 more

 seems like after modifying user list of a group, json decoder fails some
 where. This does not happen for updating group name only.

 Can you point the correct method to add new user member to a group from id
 ?  (org.wso2.charon.core.objects.Group).



 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Regards,


*Darshana Gunawardana *Software Engineer
WSO2 Inc.; http://wso2.com

* E-mail: darsh...@wso2.com darsh...@wso2.com*
*Mobile: +94718566859*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Webapps are not shown in Store UI in App-Manager Distributed Setup

2014-07-15 Thread Ajith Vitharana
This can be due to registry caching not updating properly in the
distributed setup. Please double check the mount config.

Thanks
Ajith


On Fri, Jul 11, 2014 at 12:15 PM, Rajeeva Uthayasangar raje...@wso2.com
wrote:

 Hi,
 I'm testing the App-Manager in a distributed deployment with mounted
 registry. I have created webapp and published from Publisher and it is not
 being shown in Store UI.

 But if i rename the lastAccessTimeLocation of indexingConfiguration  in
 registry.xml, it gets listed in the Store. Every time when the webapp is
 created i need to rename this configuration to see the newly created webapp
 in the Store UI.





 Thanks,
 Rajeeva.
 --
 *Rajeeva Uthayasangar*
 Software Engineer
 WSO2, Inc.:http://wso2.com


 Mobile: +94777298873




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automated test case for ESB sample 705

2014-07-15 Thread Krishantha Samaraweera
Hi Waruna,

You can use WireMonitor server [1] provided by TAF for this. Wire Monitor
Server can be used to capture messages sent from ESB to the backend server.
You can configure the sample to send messages to the wire monitor endpoint
instead of the real backend and check whether the wire level messages
contain the correct information. You need to start three WireMonitor serves
and alter the sample a bit to to refer new endpoints.

[1]
http://docs.wso2.com/display/TA430/Using+WireMonitorServer+in+Integration+Tests

Thanks,
Krishantha.




On Tue, Jul 15, 2014 at 9:28 PM, Waruna Perera waru...@wso2.com wrote:


 Hi,

 I am trying to write a test case for [1]. In this scenario ESB uses
 Message Forwarding Processor to forwards requests in a load balance
 scenario. My first approach was to alter the sample a bit by sending
 messages to three different JMS queues and check the message count. As I
 understood it will not work as forwarding Processor will send the message
 as soon as the end point is available.

 What would be the best way to implement this test case?



 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Errors in ESB sample 101

2014-07-15 Thread Amalka Subasinghe
Hi,

After I execute the ESB sample 101; noticed the following errors in
consoles, Any idea about this?

*ESB console*

[2014-07-16 10:19:17,004] ERROR - AxisEngine The service cannot be found
for the endpoint reference (EPR)
http://www.w3.org/2005/08/addressing/anonymous
org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) http://www.w3.org/2005/08/addressing/anonymous
at
org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251)
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109)
at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(SenderWorker.java:710)
at org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:410)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)


*Axis2Server console*

Wed Jul 16 10:19:11 IST 2014 samples.services.ReliableStockQuoteService ::
Generating quote for : IBM
14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
message 7 has been waiting for a MakeConnection call. The message will
continue to wait, but there may be a problem with the client
configuration.  The sequence ID is
urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.

Thanks
Amalka

-- 

Amalka Subasinghe

Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors in ESB sample 101

2014-07-15 Thread Sandamal Weerasinghe
Hi Amalka,

First you need to deploy the ReliableStockQuoteService in Axis2.

Then in {ESB HOME}/repository/conf/carbon.xml change the configuration file
to axis2_nhttp.xml

COMMENT THIS -
ConfigurationFile${carbon.home}/repository/conf/axis2/axis2.xml/ConfigurationFile
ADD THIS -
ConfigurationFile${carbon.home}/repository/conf/axis2/axis2_nhttp.xml/ConfigurationFile

Thanks.

Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd


On Wed, Jul 16, 2014 at 10:24 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi,

 After I execute the ESB sample 101; noticed the following errors in
 consoles, Any idea about this?

 *ESB console*

 [2014-07-16 10:19:17,004] ERROR - AxisEngine The service cannot be found
 for the endpoint reference (EPR)
 http://www.w3.org/2005/08/addressing/anonymous
 org.apache.axis2.AxisFault: The service cannot be found for the endpoint
 reference (EPR) http://www.w3.org/2005/08/addressing/anonymous
 at
 org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251)
 at
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(SenderWorker.java:710)
 at org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:410)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)


 *Axis2Server console*

 Wed Jul 16 10:19:11 IST 2014 samples.services.ReliableStockQuoteService ::
 Generating quote for : IBM
 14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
 message 7 has been waiting for a MakeConnection call. The message will
 continue to wait, but there may be a problem with the client
 configuration.  The sequence ID is
 urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
 Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.

 Thanks
 Amalka

 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] LoginListener not catching login events

2014-07-15 Thread Denuwanthi De Silva
Hi,

The LoginListener (RXTLoader.java) does not seems to catch the login events
invoked inside 'AuthenticationAdmin' backend service login method. (but
works fine with the UI loggings)

What could be the cause?


Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LoginListener not catching login events

2014-07-15 Thread Ajith Vitharana
On Wed, Jul 16, 2014 at 10:54 AM, Denuwanthi De Silva denuwan...@wso2.com
wrote:

 Hi,

 The LoginListener (RXTLoader.java) does not seems to catch the login
 events invoked inside 'AuthenticationAdmin' backend service login method.
 (but works fine with the UI loggings)

 What could be the cause?


What is your requirement ?  If you are going to do some governance artifact
access from a client/API,  first should invoke GovernanceUtils.
loadGovernanceArtifacts().

Thanks
Ajith.




 Thanks,
  --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors in ESB sample 101

2014-07-15 Thread Amalka Subasinghe
Hi Sandamal,

Yeah I did the changes you have specified before execute the query.
That's y i'm getting following message

*Wed Jul 16 10:19:11 IST 2014 samples.services.*
*ReliableStockQuoteService :: Generating quote for : IBM*
14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
message 7 has been waiting for a MakeConnection call. The message will
continue to wait, but there may be a problem with the client
configuration.  The sequence ID is
urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.



On Wed, Jul 16, 2014 at 10:47 AM, Sandamal Weerasinghe sanda...@wso2.com
wrote:

 Hi Amalka,

 First you need to deploy the ReliableStockQuoteService in Axis2.

 Then in {ESB HOME}/repository/conf/carbon.xml change the configuration
 file to axis2_nhttp.xml

 COMMENT THIS -
 ConfigurationFile${carbon.home}/repository/conf/axis2/axis2.xml/ConfigurationFile
 ADD THIS -
 ConfigurationFile${carbon.home}/repository/conf/axis2/axis2_nhttp.xml/ConfigurationFile

 Thanks.

 Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd


 On Wed, Jul 16, 2014 at 10:24 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi,

 After I execute the ESB sample 101; noticed the following errors in
 consoles, Any idea about this?

 *ESB console*

 [2014-07-16 10:19:17,004] ERROR - AxisEngine The service cannot be found
 for the endpoint reference (EPR)
 http://www.w3.org/2005/08/addressing/anonymous
 org.apache.axis2.AxisFault: The service cannot be found for the endpoint
 reference (EPR) http://www.w3.org/2005/08/addressing/anonymous
 at
 org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251)
 at
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(SenderWorker.java:710)
 at
 org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:410)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)


 *Axis2Server console*

 Wed Jul 16 10:19:11 IST 2014 samples.services.ReliableStockQuoteService
 :: Generating quote for : IBM
 14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
 message 7 has been waiting for a MakeConnection call. The message will
 continue to wait, but there may be a problem with the client
 configuration.  The sequence ID is
 urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
 Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.

 Thanks
 Amalka

 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 

Amalka Subasinghe

Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors in ESB sample 101

2014-07-15 Thread Amalka Subasinghe
On Wed, Jul 16, 2014 at 11:11 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi Sandamal,

 Yeah I did the changes you have specified before execute the query.
 That's y i'm getting following message


 *Wed Jul 16 10:19:11 IST 2014 samples.services.*
 *ReliableStockQuoteService :: Generating quote for : IBM*
 14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
 message 7 has been waiting for a MakeConnection call. The message will
 continue to wait, but there may be a problem with the client
 configuration.  The sequence ID is
 urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
 Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.

 When I use the TCPMon in between ESB and axis2Server; couldn;t see the
sequence termination message too

Thanks
Amalka



 On Wed, Jul 16, 2014 at 10:47 AM, Sandamal Weerasinghe sanda...@wso2.com
 wrote:

 Hi Amalka,

 First you need to deploy the ReliableStockQuoteService in Axis2.

 Then in {ESB HOME}/repository/conf/carbon.xml change the configuration
 file to axis2_nhttp.xml

 COMMENT THIS -
 ConfigurationFile${carbon.home}/repository/conf/axis2/axis2.xml/ConfigurationFile
 ADD THIS -
 ConfigurationFile${carbon.home}/repository/conf/axis2/axis2_nhttp.xml/ConfigurationFile

 Thanks.

 Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd


 On Wed, Jul 16, 2014 at 10:24 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi,

 After I execute the ESB sample 101; noticed the following errors in
 consoles, Any idea about this?

 *ESB console*

 [2014-07-16 10:19:17,004] ERROR - AxisEngine The service cannot be found
 for the endpoint reference (EPR)
 http://www.w3.org/2005/08/addressing/anonymous
 org.apache.axis2.AxisFault: The service cannot be found for the endpoint
 reference (EPR) http://www.w3.org/2005/08/addressing/anonymous
 at
 org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251)
 at
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(SenderWorker.java:710)
 at
 org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:410)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)


 *Axis2Server console*

 Wed Jul 16 10:19:11 IST 2014 samples.services.ReliableStockQuoteService
 :: Generating quote for : IBM
 14/07/16 10:20:31 WARN workers.Sender: A WS-Reliable messaging protocol
 message 7 has been waiting for a MakeConnection call. The message will
 continue to wait, but there may be a problem with the client
 configuration.  The sequence ID is
 urn:uuid:6822867B15853194A11405486150546. The internal sequence ID is
 Sandesha2InternalSequence:urn:uuid:964627EF8A91C865E71405486150955.

 Thanks
 Amalka

 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --

 Amalka Subasinghe

 Senior Software Engineer
 WSO2 Inc.
 Mobile: +94 77 9401267




-- 

Amalka Subasinghe

Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Webapps are not shown in Store UI in App-Manager Distributed Setup

2014-07-15 Thread Rajeeva Uthayasangar
Hi,
Please find the mount config below:

registry.xml (Publisher/Store/Gateway)
--

dbConfig name=govregistry
  dataSourcejdbc/WSO2REG_DB/dataSource
/dbConfig
remoteInstance url=https://store.apim-wso2.com;
   idgov/id
   dbConfiggovregistry/dbConfig
   readOnlyfalse/readOnly
   enableCachetrue/enableCache
   registryRoot//registryRoot
cacheIdroot@jdbc
:mysql://localhost:3306/regdb?autoReconnect=trueamp;relaxAutoCommit=true/cacheId
/remoteInstance

mount path=/_system/config overwrite=true
   instanceIdgov/instanceId
   targetPath/_system/config/targetPath
/mount

mount path=/_system/governance overwrite=true
   instanceIdgov/instanceId
   targetPath/_system/governance/targetPath
/mount


Cache is not being updated when there is a state transition. Had a offline
discussion with Ajith and reported Jira [1].

[1]. https://wso2.org/jira/browse/REGISTRY-2229

Thanks,
Rajeeva.


On Wed, Jul 16, 2014 at 7:01 AM, Ajith Vitharana aji...@wso2.com wrote:

 This can be due to registry caching not updating properly in the
 distributed setup. Please double check the mount config.

 Thanks
 Ajith


 On Fri, Jul 11, 2014 at 12:15 PM, Rajeeva Uthayasangar raje...@wso2.com
 wrote:

 Hi,
 I'm testing the App-Manager in a distributed deployment with mounted
 registry. I have created webapp and published from Publisher and it is not
 being shown in Store UI.

 But if i rename the lastAccessTimeLocation of indexingConfiguration  in
 registry.xml, it gets listed in the Store. Every time when the webapp is
 created i need to rename this configuration to see the newly created webapp
 in the Store UI.





 Thanks,
 Rajeeva.
 --
 *Rajeeva Uthayasangar*
 Software Engineer
 WSO2, Inc.:http://wso2.com


 Mobile: +94777298873




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 
*Rajeeva Uthayasangar*
Software Engineer
WSO2, Inc.:http://wso2.com


Mobile: +94777298873
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev