Re: [Dev] wss4j build fails in jdk 1.7

2014-07-03 Thread Vijayaratha Vijayasingam
We say carbon can run in jdk1 7..In that case, will this work?


On 3 July 2014 11:48, Kasun Dissanayake  wrote:

> Hi Vanjikumaran
>
> Yep It is recommended to build it in JDK 1.6. But you getting this error
> in Kernel.
> If you build platform it doesn't matter. If you are working with products
> just build kernel patches. since these
> build things are in nexus you can proceed. All thing you have to do is
> build kernel patches and add them to your
> local repo.
>
> Regards
>
>
> On Thu, Jul 3, 2014 at 11:42 AM, Vanjikumaran Sivajothy 
> wrote:
>
>> It is recommended to build wso2 products in JDK 1.6. Isn't it?
>>
>>
>> On Thu, Jul 3, 2014 at 11:35 AM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>> hi ;
>>> getting;
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[114,13]
>>> Encryption
>>> Key is internal proprietary API and may be removed in a future release
>>>
>>> [INFO] 28 errors
>>> [INFO] -
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 29.800s
>>> [INFO] Finished at: Thu Jul 03 11:34:30 IST 2014
>>> [INFO] Final Memory: 26M/365M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
>>> (default-compile) on project wss4j: Compilation failure: Com
>>> pilation failure:
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[10,24]
>>> EncryptionK
>>> ey is internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[11,33]
>>> EncTicketPa
>>> rt is internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[12,33]
>>> Ticket is i
>>> nternal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[13,40]
>>> KeyUsage is
>>>  internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[14,24]
>>> DerInputStr
>>> eam is internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[15,24]
>>> DerValue is
>>>  internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[50,2]
>>> EncryptionKe
>>> y is internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[57,9]
>>> EncryptionKe
>>> y is internal proprietary API and may be removed in a future release
>>> [ERROR]
>>> [ERROR]
>>> \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[58,2]
>>> DerInputStre
>>> am is internal proprietary API and may be removed in a future release
>>>
>>> --
>>> -Ratha
>>> mobile: (+94)755906608
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sivajothy Vanjikumaran
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com *
>> *Mobile:(+94)777219209*
>> [image: Facebook]  [image:
>> Twitter]  [image: LinkedIn]
>>  [image:
>> Blogger]  [image: SlideShare]
>> 
>>
>> This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may
>> have received this communication in error, please reply to the
>> sender indicating that fact and delete the copy you received and in
>> addition, you should not print, copy, re-transmit, disseminate, or
>> othe

Re: [Dev] wss4j build fails in jdk 1.7

2014-07-03 Thread Prasad Tissera
Yes, you can run Carbon products on JDK1.7. But you can build Carbon
products only using JDK1.6. You can refer the following documentation.

http://docs.wso2.com/display/IS450/Installation+Prerequisites


On Thu, Jul 3, 2014 at 12:37 PM, Vijayaratha Vijayasingam 
wrote:

> We say carbon can run in jdk1 7..In that case, will this work?
>
>
> On 3 July 2014 11:48, Kasun Dissanayake  wrote:
>
>> Hi Vanjikumaran
>>
>> Yep It is recommended to build it in JDK 1.6. But you getting this error
>> in Kernel.
>> If you build platform it doesn't matter. If you are working with products
>> just build kernel patches. since these
>> build things are in nexus you can proceed. All thing you have to do is
>> build kernel patches and add them to your
>> local repo.
>>
>> Regards
>>
>>
>> On Thu, Jul 3, 2014 at 11:42 AM, Vanjikumaran Sivajothy 
>> wrote:
>>
>>> It is recommended to build wso2 products in JDK 1.6. Isn't it?
>>>
>>>
>>> On Thu, Jul 3, 2014 at 11:35 AM, Vijayaratha Vijayasingam <
>>> rat...@wso2.com> wrote:
>>>
 hi ;
 getting;
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[114,13]
 Encryption
 Key is internal proprietary API and may be removed in a future release

 [INFO] 28 errors
 [INFO] -
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 29.800s
 [INFO] Finished at: Thu Jul 03 11:34:30 IST 2014
 [INFO] Final Memory: 26M/365M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
 (default-compile) on project wss4j: Compilation failure: Com
 pilation failure:
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[10,24]
 EncryptionK
 ey is internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[11,33]
 EncTicketPa
 rt is internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[12,33]
 Ticket is i
 nternal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[13,40]
 KeyUsage is
  internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[14,24]
 DerInputStr
 eam is internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[15,24]
 DerValue is
  internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[50,2]
 EncryptionKe
 y is internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[57,9]
 EncryptionKe
 y is internal proprietary API and may be removed in a future release
 [ERROR]
 [ERROR]
 \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[58,2]
 DerInputStre
 am is internal proprietary API and may be removed in a future release

 --
 -Ratha
 mobile: (+94)755906608

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


>>>
>>>
>>> --
>>> Sivajothy Vanjikumaran
>>> *Senior Software Engineer*
>>> *Integration Technologies Team*
>>> *WSO2 Inc. http://wso2.com *
>>> *Mobile:(+94)777219209*
>>> [image: Facebook]  [image:
>>> Twitter]  [image: LinkedIn]
>>>  [image:
>>> Blogger]  [image: SlideShare]
>>> 
>>>
>>> This communicati

[Dev] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Rushmin Fernando
There is a UI component which I need. Its under MIT license. $subject
please.


-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

email : rush...@wso2.com
mobile : +94772310855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Kasun Gajasinghe
Yes. MIT is compatible with ASL 2.0.


On Thu, Jul 3, 2014 at 1:50 PM, Rushmin Fernando  wrote:

>
> There is a UI component which I need. Its under MIT license. $subject
> please.
>
>
> --
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> email : rush...@wso2.com
> mobile : +94772310855
>
>
>
> ___
> 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] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Paul Fremantle
You can use it from a legal perspective. However, you still need to get it
reviewed and agreed for whether it fits into the architecture!
What is the library?

Paul


On 3 July 2014 09:20, Rushmin Fernando  wrote:

>
> There is a UI component which I need. Its under MIT license. $subject
> please.
>
>
> --
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> email : rush...@wso2.com
> mobile : +94772310855
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, Apache Member

UK: +44 207 096 0336
US: +1 646 595 7614

blog: http://pzf.fremantle.org
twitter.com/pzfreo
p...@wso2.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev] BLOCKER https://wso2.org/jira/browse/CARBON-14842

2014-07-03 Thread Kishanthan Thangarajah
@Pubudu, please have a look at this issue.


On Fri, Jun 27, 2014 at 8:27 PM, Dushan Abeyruwan  wrote:

> Hi Kishanthan,
>  Will you able to looking to this as this due to Carbon changes
>
>
> On Thu, Jun 26, 2014 at 5:07 PM, Dushan Abeyruwan  wrote:
>
>> HI
>>   We hit with blocker (binding invalid ports when ESB starts windows)
>> ,this should be due to carbon changers.
>>
>> https://wso2.org/jira/browse/CARBON-14842
>>
>>
>> Cheers,
>> Dushan Abeyruwan | Associate Tech Lead
>> Integration Technologies Team
>> PMC Member Apache Synpase
>> WSO2 Inc. http://wso2.com/
>> Blog:http://dushansview.blogspot.com/
>> Mobile:(0094)713942042
>>
>>
>
>
> --
> Dushan Abeyruwan | Associate Tech Lead
>  Integration Technologies Team
> PMC Member Apache Synpase
> WSO2 Inc. http://wso2.com/
> Blog:http://dushansview.blogspot.com/
> Mobile:(0094)713942042
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Rushmin Fernando
Its just a Bootstrap extension which I'm planning to use in App Manager
front end. Thought of using it rather than writing it from the scratch.

[1] or [2] are the candidate components.

[1] - http://montrezorro.github.io/bootstrap-checkbox/
[2] - http://silviomoreto.github.io/bootstrap-select/




On Thu, Jul 3, 2014 at 1:58 PM, Paul Fremantle  wrote:

> You can use it from a legal perspective. However, you still need to get it
> reviewed and agreed for whether it fits into the architecture!
> What is the library?
>
> Paul
>
>
> On 3 July 2014 09:20, Rushmin Fernando  wrote:
>
>>
>> There is a UI component which I need. Its under MIT license. $subject
>> please.
>>
>>
>> --
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>
>> email : rush...@wso2.com
>> mobile : +94772310855
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, Apache Member
>
> UK: +44 207 096 0336
> US: +1 646 595 7614
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> p...@wso2.com
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>



-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

email : rush...@wso2.com
mobile : +94772310855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [chunk13-build error] Hive error

2014-07-03 Thread Vijayaratha Vijayasingam
Hi;
What i'm missing? This occurs at builder..

INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
INFO]

INFO] BUILD FAILURE
INFO]

INFO] Total time: 11:39.107s
INFO] Finished at: Thu Jul 03 01:36:21 PDT 2014
INFO] Final Memory: 531M/966M
INFO]

ERROR] Failed to execute goal on project
org.wso2.carbon.analytics.hive.server.feature: Could not resolve
dependencies for project org.wso2.carbon:or
.wso2.carbon.analytics.hive.server.feature:pom:4.2.2: Failure to find
org.apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v6 in
http://maven.wso2.org/ne
us/content/groups/wso2-public/ was cached in the local repository,
resolution will not be reattempted until the update interval of wso2-nexus
has ela
sed or updates are forced -> [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
ERROR]
ERROR] After correcting the problems, you can resume the build with the
command
ERROR]   mvn  -rf :org.wso2.carbon.analytics.hive.server.feature
oot@sr3
:/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to deploy Disruptor and Cassandra Driver jars in nexus

2014-07-03 Thread Kishanthan Thangarajah
Just for the info, please note that once released, we can't do any
modification to those poms. We will have to update to a new version and
then release again, if needed.


On Tue, Jul 1, 2014 at 4:49 PM, Shammi Jayasinghe  wrote:

> Hi Maheshika
>
>
> I have created the orbit directories for above as [1][2]. Could you please
> deploy them to nexus.
>
> [1]https://github.com/wso2/orbit/tree/master/cassandra-driver
> [2]https://github.com/wso2/orbit/tree/master/disruptor
>
> Thanks
> Shammi
>
> --
> Best Regards,
>
> *  Shammi Jayasinghe*
> Associate Tech Lead
> WSO2, Inc.; http://wso2.com,
> mobile: +94 71 4493085
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] RabbitMQ Transport Has Compatibility Issues with Carbon 4.2.0 based Products

2014-07-03 Thread Kishanthan Thangarajah
@HasithaH, you also need to send a pull request to relevant git repo with
these fixes.


On Tue, Jul 1, 2014 at 5:44 PM, Hasitha Hiranya  wrote:

>
> Hi,
>
> When RabbitMQ Transport is configured with ESB according to documentation
> at [1], messages does not get published to RabbitMQ server. I have raised
> the issue at [2], and also attached the solution developed.
>
> Please review and commit.
>
> [1]. https://docs.wso2.com/display/ESB481/RabbitMQ+AMQP+Transport
> [2]. https://wso2.org/jira/browse/CARBON-14850
>
> Thanks
> --
> *Hasitha Abeykoon*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> *cell:* *+94 719363063*
> *blog: **abeykoon.blogspot.com* 
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Prasad Tissera
Hi Rushmin,

There are components which are under MIT licence [1] used in WSO2 products.
All the licence information used in a product is listed in LICENSE.txt [2].

[1] MIT License :  http://www.opensource.org/licenses/mit-license.php
[2]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/LICENSE.txt



On Thu, Jul 3, 2014 at 2:06 PM, Rushmin Fernando  wrote:

> Its just a Bootstrap extension which I'm planning to use in App Manager
> front end. Thought of using it rather than writing it from the scratch.
>
> [1] or [2] are the candidate components.
>
> [1] - http://montrezorro.github.io/bootstrap-checkbox/
> [2] - http://silviomoreto.github.io/bootstrap-select/
>
>
>
>
> On Thu, Jul 3, 2014 at 1:58 PM, Paul Fremantle  wrote:
>
>> You can use it from a legal perspective. However, you still need to get
>> it reviewed and agreed for whether it fits into the architecture!
>> What is the library?
>>
>> Paul
>>
>>
>> On 3 July 2014 09:20, Rushmin Fernando  wrote:
>>
>>>
>>> There is a UI component which I need. Its under MIT license. $subject
>>> please.
>>>
>>>
>>> --
>>> *Rushmin Fernando*
>>> *Technical Lead*
>>>
>>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>>
>>> email : rush...@wso2.com
>>> mobile : +94772310855
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Paul Fremantle
>> CTO and Co-Founder, WSO2
>> OASIS WS-RX TC Co-chair, Apache Member
>>
>> UK: +44 207 096 0336
>> US: +1 646 595 7614
>>
>> blog: http://pzf.fremantle.org
>> twitter.com/pzfreo
>> p...@wso2.com
>>
>> wso2.com Lean Enterprise Middleware
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, retransmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> email : rush...@wso2.com
> mobile : +94772310855
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Prasad Tissera
Software Engineer.
Mobile : +94777223444
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Apply the CARBON-14841 changes to kernel patch0009

2014-07-03 Thread Kishanthan Thangarajah
Waruna, did you send the pull request to the carbon4-kernel repo :
https://github.com/wso2-dev/carbon4-kernel/ also?


On Tue, Jul 1, 2014 at 6:17 PM, Shameera Rathnayaka 
wrote:

> Committed revision 205239 ,
>
> please provide pull request to carbon 4.3.0 branch too.
>
> Thanks,
> Shameera.
>
>
> On Tue, Jul 1, 2014 at 12:11 PM, Waruna Jayaweera 
> wrote:
>
>> Hi ,
>> Please Add this fix for Carbon kernel patch0009.
>>
>> Related Jira
>>
>> https://wso2.org/jira/browse/CARBON-14841
>>
>> --
>> Regards,
>>
>> Waruna Lakshitha Jayaweera
>> Software Engineer
>> WSO2 Inc; http://wso2.com
>> phone: +94713255198
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com  , shameera AT apache.org
> *
> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter : *https://twitter.com/Shameera_R
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev] BLOCKER https://wso2.org/jira/browse/CARBON-14842

2014-07-03 Thread Dushan Abeyruwan
Tested in recent ESB pack built seems like this has been resolved, anyway
better recheck


On Thu, Jul 3, 2014 at 2:04 PM, Kishanthan Thangarajah 
wrote:

> @Pubudu, please have a look at this issue.
>
>
> On Fri, Jun 27, 2014 at 8:27 PM, Dushan Abeyruwan  wrote:
>
>> Hi Kishanthan,
>>  Will you able to looking to this as this due to Carbon changes
>>
>>
>> On Thu, Jun 26, 2014 at 5:07 PM, Dushan Abeyruwan 
>> wrote:
>>
>>> HI
>>>   We hit with blocker (binding invalid ports when ESB starts windows)
>>> ,this should be due to carbon changers.
>>>
>>> https://wso2.org/jira/browse/CARBON-14842
>>>
>>>
>>> Cheers,
>>> Dushan Abeyruwan | Associate Tech Lead
>>> Integration Technologies Team
>>> PMC Member Apache Synpase
>>> WSO2 Inc. http://wso2.com/
>>> Blog:http://dushansview.blogspot.com/
>>> Mobile:(0094)713942042
>>>
>>>
>>
>>
>> --
>> Dushan Abeyruwan | Associate Tech Lead
>>  Integration Technologies Team
>> PMC Member Apache Synpase
>> WSO2 Inc. http://wso2.com/
>> Blog:http://dushansview.blogspot.com/
>> Mobile:(0094)713942042
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issues with SAML SSO component in the ES 1.2.0

2014-07-03 Thread Sameera Medagammaddegedara
Hi,

These changes have been merged to the wso2-dev repos by Darshana.


Thank You,
Sameera


On Fri, Jun 27, 2014 at 3:11 PM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

> Hi,
>
> This is a small update on the current status of the issue.
>
> We were able to enable SSO after the following steps:
>
>- ES needs to be started with -Dsetup (Currently looking into this)
>- Changed the  org.wso2.carbon.claim.mgt component pom (Included
>missing src plugin)
>- Changed the org.wso2.carbon.identity.sso.saml (Changes documented in
>the attached diff [1] )
>- Updated sso-idp-config.xml using the same file in IS 5.0.0
>- Updated identity.xml using the same file in IS 5.0.0
>
>
>
> Thank You,
> Sameera
>
>
> On Wed, Jun 25, 2014 at 5:00 PM, Sameera Medagammaddegedara <
> samee...@wso2.com> wrote:
>
>> UPDATE:
>>
>> We are currently facing an issue with the samlsso endpoint redirecting to
>> the admin console as opposed to a login page.During an offline discussion
>> session with Darshana it was noted that ES pack was missing the
>> application-authenticators.xml file.There have also been considerable
>> configuration changes to the way issuers are defined.
>>
>> Thank You,
>> Sameera
>>
>>
>> On Wed, Jun 25, 2014 at 4:56 PM, Sameera Medagammaddegedara <
>> samee...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> As per the offline discussion:
>>>
>>>- Darshana provided assistance in diagnosing the problem
>>>- He located the issue as been caused by a missing feature :
>>>org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
>>>- After adding the above mentioned feature we did not encounter the
>>>above exceptions in the pack
>>>
>>>
>>> Thank You,
>>>
>>> Sameera
>>>
>>>
>>> On Wed, Jun 25, 2014 at 10:19 AM, Darshana Gunawardana <
>>> darsh...@wso2.com> wrote:
>>>
 Hi Sameera,

 So there are couple of issues which couple of issues which i'll look
 further.
 1. 
 org.wso2.carbon.identity.application.authentication.framework.server.feature
 should be in nexus
 2. org.wso2.carbon.identity.application.common bundle seems to be
 missing in the ES pack

 Will update you once we found the root cause..

 Thanks,



 On Tue, Jun 24, 2014 at 5:29 PM, Sameera Medagammaddegedara <
 samee...@wso2.com> wrote:

> Hi Darshana,
>
> The ES throws the following two exceptions at server start up after
> building with the new org.wso2.carbon:org.wso2.
> carbon.identity.sso.saml.feature. Please note that I had to build
> org.wso2.carbon.identity.application.authentication.framework.server.feature
> locally as it was not found in the nexus.
>
> *Exception 1 *
>
> Error building service from bundle : Symbolic Name:
> org.wso2.carbon.identity.sso.saml,Bundle Version: 4.3.0.SNAPSHOT, ID:
> 228
> org.apache.axis2.deployment.DeploymentException: The following error
> occurred during schema generation: Type
> org.wso2.carbon.identity.application.common.model.ClaimMapping not present
> at
> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
> at
> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:473)
> at
> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:80)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
> at
> org.eclips

Re: [Dev] [chunk13-build error] Hive error

2014-07-03 Thread Vijayaratha Vijayasingam
Can this jar to be added in our nexus?
looks like it is missing?[1]
[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/hadoop-core/

thanks.


On 3 July 2014 14:09, Vijayaratha Vijayasingam  wrote:

> Hi;
> What i'm missing? This occurs at builder..
>
> INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
> INFO]
> 
> INFO] BUILD FAILURE
> INFO]
> 
> INFO] Total time: 11:39.107s
> INFO] Finished at: Thu Jul 03 01:36:21 PDT 2014
> INFO] Final Memory: 531M/966M
> INFO]
> 
> ERROR] Failed to execute goal on project
> org.wso2.carbon.analytics.hive.server.feature: Could not resolve
> dependencies for project org.wso2.carbon:or
> .wso2.carbon.analytics.hive.server.feature:pom:4.2.2: Failure to find
> org.apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v6 in
> http://maven.wso2.org/ne
> us/content/groups/wso2-public/ was cached in the local repository,
> resolution will not be reattempted until the update interval of wso2-nexus
> has ela
> sed or updates are forced -> [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
> ERROR]
> ERROR] After correcting the problems, you can resume the build with the
> command
> ERROR]   mvn  -rf :org.wso2.carbon.analytics.hive.server.feature
> oot@sr3
> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
> --
> -Ratha
> mobile: (+94)755906608
>



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


Re: [Dev] [dev] BLOCKER https://wso2.org/jira/browse/CARBON-14842

2014-07-03 Thread Pubudu Dissanayake
Will do the needful


On Thu, Jul 3, 2014 at 2:24 PM, Dushan Abeyruwan  wrote:

> Tested in recent ESB pack built seems like this has been resolved, anyway
> better recheck
>
>
> On Thu, Jul 3, 2014 at 2:04 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> @Pubudu, please have a look at this issue.
>>
>>
>> On Fri, Jun 27, 2014 at 8:27 PM, Dushan Abeyruwan 
>> wrote:
>>
>>> Hi Kishanthan,
>>>  Will you able to looking to this as this due to Carbon changes
>>>
>>>
>>> On Thu, Jun 26, 2014 at 5:07 PM, Dushan Abeyruwan 
>>> wrote:
>>>
 HI
   We hit with blocker (binding invalid ports when ESB starts windows)
 ,this should be due to carbon changers.

 https://wso2.org/jira/browse/CARBON-14842


 Cheers,
 Dushan Abeyruwan | Associate Tech Lead
 Integration Technologies Team
 PMC Member Apache Synpase
 WSO2 Inc. http://wso2.com/
 Blog:http://dushansview.blogspot.com/
 Mobile:(0094)713942042


>>>
>>>
>>> --
>>> Dushan Abeyruwan | Associate Tech Lead
>>>  Integration Technologies Team
>>> PMC Member Apache Synpase
>>> WSO2 Inc. http://wso2.com/
>>> Blog:http://dushansview.blogspot.com/
>>> Mobile:(0094)713942042
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Dushan Abeyruwan | Associate Tech Lead
> Integration Technologies Team
> PMC Member Apache Synpase
> WSO2 Inc. http://wso2.com/
> Blog:http://dushansview.blogspot.com/
> Mobile:(0094)713942042
>
>


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


[Dev] Support Tomcat Virtual Hosts in WSO2 AS - update

2014-07-03 Thread Nipuni Perera
Hi,

I am continuing project " Support Tomcat Virtual Hosts in WSO2 AS" [1]
adding the following improvements.

   - Improvements:
   - Enable adding webapps with the same name to different host-names
  - Improve UI support to add webapps to different virtual hosts
  - Update application list to view host name of the webapp

Webapp upload page with option to select hostname:
​​​
 upload-page.png

​
Application list with same webapp names in different hosts:
​​​
 application-list.png

​
Implementation:

   - Current implementation uses a single web-application holder for all
   the applications and saves web-applications with their names. This limits
   saving two webapps with same name.
   - I have changed it to add different web-application holders to
  different appBase locations so that two webapps with same name
can exist in
  two webapp holders.
   - Current implementation saves metadata in
   /repository/deployment/server/artifactMetafiles/webapp/.
  - I have changed this to save metadata in a directory per
  webappholder inside "artifactMetafiles"
  
(eg:/repository/deployment/server/artifactMetafiles/appBase1/
  , /repository/deployment/server/artifactMetafiles/appBase2/
)
   - I have used webapp-name and host-name pair to uniquely identify a
   webapp


[1] https://redmine.wso2.com/issues/2738

Thanks,
Nipuni
-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: nip...@wso2.com
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680

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


Re: [Dev] [chunk13-build error] Hive error

2014-07-03 Thread Vijayaratha Vijayasingam
Hi Maheshika;
please add following jar too;



On 3 July 2014 14:51, Vijayaratha Vijayasingam  wrote:

> Can this jar to be added in our nexus?
> looks like it is missing?[1]
> [1]
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/hadoop-core/
>
> thanks.
>
>
> On 3 July 2014 14:09, Vijayaratha Vijayasingam  wrote:
>
>> Hi;
>> What i'm missing? This occurs at builder..
>>
>> INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
>> INFO]
>> 
>> INFO] BUILD FAILURE
>> INFO]
>> 
>> INFO] Total time: 11:39.107s
>> INFO] Finished at: Thu Jul 03 01:36:21 PDT 2014
>> INFO] Final Memory: 531M/966M
>> INFO]
>> 
>> ERROR] Failed to execute goal on project
>> org.wso2.carbon.analytics.hive.server.feature: Could not resolve
>> dependencies for project org.wso2.carbon:or
>> .wso2.carbon.analytics.hive.server.feature:pom:4.2.2: Failure to find
>> org.apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v6 in
>> http://maven.wso2.org/ne
>> us/content/groups/wso2-public/ was cached in the local repository,
>> resolution will not be reattempted until the update interval of wso2-nexus
>> has ela
>> sed or updates are forced -> [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
>> ERROR]
>> ERROR] After correcting the problems, you can resume the build with the
>> command
>> ERROR]   mvn  -rf :org.wso2.carbon.analytics.hive.server.feature
>> oot@sr3
>> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
>> --
>> -Ratha
>> mobile: (+94)755906608
>>
>
>
>
> --
> -Ratha
> mobile: (+94)755906608
>



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


Re: [Dev] [chunk13-build error] Hive error

2014-07-03 Thread Vijayaratha Vijayasingam
missed the info;(org.apache.hive:hive-exec:jar:0.8.1-wso2v9)

[INFO] WSO2 Carbon - BAM Toolbox Deployer - BE ... SUCCESS [6.189s]
[INFO] WSO2 Hive - DataSource access interface ... FAILURE [21.409s]
[INFO] WSO2 Carbon - Data Services Core .. SKIPPED
[INFO] WSO2 Carbon - Product releases - components - Aggregator Module
SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1:37.565s
[INFO] Finished at: Thu Jul 03 03:28:45 PDT 2014
[INFO] Final Memory: 279M/764M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.hive.data.source.access: Could not resolve dependencies for
project org.wso2.carbon:org.wso2
.carbon.hive.data.source.access:bundle:4.2.2: The following artifacts could
not be resolved: org.apache.hive:hive-exec:jar:0.8.1-wso2v9, org.apache.hi
ve:hive-shims:jar:0.8.1-wso2v9,
org.apache.hive:hive-builtins:jar:0.8.1-wso2v9,
org.apache.hive:hive-service:jar:0.8.1-wso2v9, org.apache.hive:hive-se
rde:jar:0.8.1-wso2v9, org.apache.hive:hive-metastore:jar:0.8.1-wso2v9,
org.apache.hive:hive-cassandra:jar:0.8.1-wso2v9,
org.apache.hive:hive-jdbc:jar:
0.8.1-wso2v9, org.wso2.carbon:hive-jdbc-handler:jar:0.8.1-wso2v9: Could not
find artifact org.apache.hive:hive-exec:jar:0.8.1-wso2v9 in wso2-nexus (ht
tp://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
[ERROR]


On 3 July 2014 16:03, Vijayaratha Vijayasingam  wrote:

> Hi Maheshika;
> please add following jar too;
>
>
>
> On 3 July 2014 14:51, Vijayaratha Vijayasingam  wrote:
>
>> Can this jar to be added in our nexus?
>> looks like it is missing?[1]
>> [1]
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/hadoop-core/
>>
>> thanks.
>>
>>
>> On 3 July 2014 14:09, Vijayaratha Vijayasingam  wrote:
>>
>>> Hi;
>>> What i'm missing? This occurs at builder..
>>>
>>> INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
>>> INFO]
>>> 
>>> INFO] BUILD FAILURE
>>> INFO]
>>> 
>>> INFO] Total time: 11:39.107s
>>> INFO] Finished at: Thu Jul 03 01:36:21 PDT 2014
>>> INFO] Final Memory: 531M/966M
>>> INFO]
>>> 
>>> ERROR] Failed to execute goal on project
>>> org.wso2.carbon.analytics.hive.server.feature: Could not resolve
>>> dependencies for project org.wso2.carbon:or
>>> .wso2.carbon.analytics.hive.server.feature:pom:4.2.2: Failure to find
>>> org.apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v6 in
>>> http://maven.wso2.org/ne
>>> us/content/groups/wso2-public/ was cached in the local repository,
>>> resolution will not be reattempted until the update interval of wso2-nexus
>>> has ela
>>> sed or updates are forced -> [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
>>> ERROR]
>>> ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> ERROR]   mvn  -rf :org.wso2.carbon.analytics.hive.server.feature
>>> oot@sr3
>>> :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
>>> --
>>> -Ratha
>>> mobile: (+94)755906608
>>>
>>
>>
>>
>> --
>> -Ratha
>> mobile: (+94)755906608
>>
>
>
>
> --
> -Ratha
> mobile: (+94)755906608
>



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


Re: [Dev] [chunk13-build error] Hive error

2014-07-03 Thread Sinthuja Ragendran
Hi,

I changed the dependency to hive 0.8.1-wso2v10 to resolve this. Please
check now.

Thanks,
Sinthuja.


On Thu, Jul 3, 2014 at 4:03 PM, Vijayaratha Vijayasingam 
wrote:

> missed the info;(org.apache.hive:hive-exec:jar:0.8.1-wso2v9)
>
> [INFO] WSO2 Carbon - BAM Toolbox Deployer - BE ... SUCCESS [6.189s]
> [INFO] WSO2 Hive - DataSource access interface ... FAILURE
> [21.409s]
> [INFO] WSO2 Carbon - Data Services Core .. SKIPPED
> [INFO] WSO2 Carbon - Product releases - components - Aggregator Module
> SKIPPED
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 1:37.565s
> [INFO] Finished at: Thu Jul 03 03:28:45 PDT 2014
> [INFO] Final Memory: 279M/764M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.hive.data.source.access: Could not resolve dependencies for
> project org.wso2.carbon:org.wso2
> .carbon.hive.data.source.access:bundle:4.2.2: The following artifacts
> could not be resolved: org.apache.hive:hive-exec:jar:0.8.1-wso2v9,
> org.apache.hi
> ve:hive-shims:jar:0.8.1-wso2v9,
> org.apache.hive:hive-builtins:jar:0.8.1-wso2v9,
> org.apache.hive:hive-service:jar:0.8.1-wso2v9, org.apache.hive:hive-se
> rde:jar:0.8.1-wso2v9, org.apache.hive:hive-metastore:jar:0.8.1-wso2v9,
> org.apache.hive:hive-cassandra:jar:0.8.1-wso2v9,
> org.apache.hive:hive-jdbc:jar:
> 0.8.1-wso2v9, org.wso2.carbon:hive-jdbc-handler:jar:0.8.1-wso2v9: Could
> not find artifact org.apache.hive:hive-exec:jar:0.8.1-wso2v9 in wso2-nexus
> (ht
> tp://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
> [ERROR]
>
>
> On 3 July 2014 16:03, Vijayaratha Vijayasingam  wrote:
>
>> Hi Maheshika;
>> please add following jar too;
>>
>>
>>
>> On 3 July 2014 14:51, Vijayaratha Vijayasingam  wrote:
>>
>>> Can this jar to be added in our nexus?
>>> looks like it is missing?[1]
>>> [1]
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/hadoop-core/
>>>
>>> thanks.
>>>
>>>
>>> On 3 July 2014 14:09, Vijayaratha Vijayasingam  wrote:
>>>
 Hi;
 What i'm missing? This occurs at builder..

 INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
 INFO]
 
 INFO] BUILD FAILURE
 INFO]
 
 INFO] Total time: 11:39.107s
 INFO] Finished at: Thu Jul 03 01:36:21 PDT 2014
 INFO] Final Memory: 531M/966M
 INFO]
 
 ERROR] Failed to execute goal on project
 org.wso2.carbon.analytics.hive.server.feature: Could not resolve
 dependencies for project org.wso2.carbon:or
 .wso2.carbon.analytics.hive.server.feature:pom:4.2.2: Failure to find
 org.apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v6 in
 http://maven.wso2.org/ne
 us/content/groups/wso2-public/ was cached in the local repository,
 resolution will not be reattempted until the update interval of wso2-nexus
 has ela
 sed or updates are forced -> [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
 ERROR]
 ERROR] After correcting the problems, you can resume the build with the
 command
 ERROR]   mvn  -rf :org.wso2.carbon.analytics.hive.server.feature
 oot@sr3
 :/opt/checkout_chunk13/platform/branches/turing/product-releases/chunk-13#
 --
 -Ratha
 mobile: (+94)755906608

>>>
>>>
>>>
>>> --
>>> -Ratha
>>> mobile: (+94)755906608
>>>
>>
>>
>>
>> --
>> -Ratha
>> mobile: (+94)755906608
>>
>
>
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
*Sinthuja Rajendran*
Senior Software Engineer 
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mock a web application in integration tests

2014-07-03 Thread Thanuja Jayasinghe
As HttpClient gets the SAML response and forward it to the desired
endpoint, you can validate the response in your HttpClient. So HttpClient
will be enough for the task.


On Thu, Jul 3, 2014 at 12:28 PM, Chamil Jeewantha  wrote:

> According to this scenario, You should have a receiving endpoint to
> receive and verify the SAML response from IS to Assertion consumer URL. So
> I think HttpClient is not enough. You should have at-least a simple socket
> listening on the Assertion Consumer URL. WDYT?
>
>
> On Thu, Jul 3, 2014 at 12:23 PM, Prasad Tissera  wrote:
>
>> (adding Johann)
>>
>> Hi Krishantha,
>>
>> That was the first option. But later we discussed that it will be better
>> if we can use HttpClient to do this. Now I am trying to use HttpClient to
>> directly send requests to IS without using the sample webapp.
>>
>>
>>
>>
>> On Thu, Jul 3, 2014 at 12:08 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi Prasad,
>>>
>>> Sample code provided by WarunaP for SAML sso scenario, contain starting
>>> tomcat server pragmatically with sample webapp.
>>>
>>> What made you really interesting on mocking this behavior ?
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>> On Thu, Jul 3, 2014 at 11:56 AM, Chamil Jeewantha 
>>> wrote:
>>>
 Hi Prasad,

 Understood. you can use Jetty to deploy your webapp within your test.
 Other solution is simple[1] it is one single jar file which gives you the
 server capabilities. It comes under apache 2 licence.

 [1] http://sourceforge.net/projects/simpleweb/


 On Thu, Jul 3, 2014 at 5:17 AM, Prasad Tissera 
 wrote:

> I am trying to mock the behaviour of the application. ( ex.
> travelocity sample) that sends SAML requests to IS. Not the behaviour of 
> IS
> ( Start IS and send requests to it).
>
> Here I am trying to avoid launching the application inside Tomcat
> during the test and mock the behaviour of the application.
> On Jul 2, 2014 6:07 PM, "Krishantha Samaraweera" 
> wrote:
>
>>
>> On Wed, Jul 2, 2014 at 2:12 PM, Chamil Jeewantha 
>> wrote:
>>
>>> Hi Prasad,
>>>
>>> Mocking is good for unit tests. but its better if you minimize mocks
>>> on Integration tests.
>>>
>>
>> +1, mocking is not recommended when it comes to integration and
>> platform tests. Unit tests have full control over all the pieces running,
>> that's why unit tests might require mocking.
>>
>> Thanks,
>> Krishantha.
>>
>>
>>>
>>> Regards,
>>> Chamil
>>>
>>>
>>> On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera 
>>> wrote:
>>>
 Hi,

 I am writing integration tests for SAML sso scenarios. We have a
 sample web application which can send SAML requests to IS. IS sends 
 SAML
 response to the Assertion Consumer URL. Is there a way to mock
 this scenario in integration tests, without launching the sample
 application inside a tomcat container during the test?

 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444

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


>>>
>>>
>>> --
>>> K.D. Chamil Jeewantha
>>> Associate Technical Lead
>>> WSO2, Inc.;  http://wso2.com
>>> Mobile: +94716813892
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>


 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> Prasad Tissera
>> Software Engineer.
>> Mobile : +94777223444
>>
>
>
>
> --
> K.D. Chamil Jeewantha
> Associate Technical Lead
> WSO2, Inc.;  http://wso2.com
> Mobile: +94716813892
>
>
> ___
> 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


[Dev] Invitation: Code Review - ESB sample Test cases @ Fri Jul 4, 2014 3pm - 4pm (waru...@wso2.com)

2014-07-03 Thread Waruna Perera
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20140704T093000Z
DTEND:20140704T103000Z
DTSTAMP:20140703T11Z
ORGANIZER;CN=Waruna Perera:mailto:waru...@wso2.com
UID:54nltcopm3ljjt0lncu9l91...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Waruna Perera;X-NUM-GUESTS=0:mailto:waru...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Amalka Subasinghe;X-NUM-GUESTS=0:mailto:ama...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Wimalasekara;X-NUM-GUESTS=0:mailto:nuw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu De Lanerolle;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Malintha Adikari;X-NUM-GUESTS=0:mailto:malin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20140703T095802Z
DESCRIPTION:Waruna And Amalka Doing the code review\nView your event at htt
 p://www.google.com/calendar/event?action=VIEW&eid=NTRubHRjb3BtM2xqanQwbG5jd
 TlsOTFqYnMgZGV2QHdzbzIub3Jn&tok=MTYjd2FydW5hcEB3c28yLmNvbWQ1OGVmNGQwNjA0NWE
 zZDc3ZGE2NjA2NzAxZWMyNGM3NTg0M2UzNjc&ctz=Asia/Colombo&hl=en.
LAST-MODIFIED:20140703T11Z
LOCATION:3rd Floor \, Kernal Room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - ESB sample Test cases
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR


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


[Dev] [RabbitMQ] Cannot send messages to RabbitMQ in remote server

2014-07-03 Thread Indika Sampath
Hi All,

I have integrate IBM MQ, Rabbit MQ with WSO2 ESB. Setup environment as
below.

IBM MQ version 7.0 running on Windows 7
WSO2 ESB 4.8.0 running on Windows 7

Rabbit MQ version 3.3.4 running on Linux

Message flow as below.
Send SOAP message -> messageAcceptProxy -> IBM MQ (queue: ivtQ) ->
AMQPProxy -> RabbitMQ (queue:queue2)

Following exception occurred when message read from IBM MQ and send to the
Rabbit MQ which exist in the Linux machine.

NOTE: The above message flow work perfectly when Rabbit MQ in the same
macine. (Windows 7)

[2014-07-03 15:14:49,977]  INFO - CarbonUIServiceComponent Mgt Console URL
 : ht
tps://10.100.5.76:9443/carbon/
[2014-07-03 15:15:14,595]  INFO - LogMediator STATE = message is sent to
queue
[2014-07-03 15:15:14,607]  INFO - TimeoutHandler This engine will expire
all cal
lbacks after : 120 seconds, irrespective of the timeout action, after the
specif
ied or optional timeout
[2014-07-03 15:15:14,816]  INFO - LogMediator To: , WSAction: urn:mediate,
SOAPA
ction: urn:mediate, MessageID:
ID:414d51204b50726f64514d67722020207500b553200147
02, Direction: request, Envelope: http://schemas.xmlsoap.org/soap/envelope/
">http://samples.esb.wso2.org/xsd";
xmlns:sam="http:
//samples.esb.wso2.org">
  
 
100

   Colomobo
   1
   Indika Sampath

 
  
   
[2014-07-03 15:15:17,995] ERROR - RabbitMQMessageSender Error while
creating con
nection pool
java.io.IOException
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
at
com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:12
4)
at
com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:374)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory
.java:590)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory
.java:624)
at
org.apache.axis2.transport.rabbitmq.ConnectionFactory.getConnectionPo
ol(ConnectionFactory.java:93)
at
org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.(Rabb
itMQMessageSender.java:59)
at
org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(Rabbit
MQSender.java:71)
at
org.apache.axis2.transport.base.AbstractTransportSender.invoke(Abstra
ctTransportSender.java:112)
at
org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWork
er.run(AxisEngine.java:626)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error
at
com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:
67)
at
com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue
(BlockingValueOrException.java:33)
at
com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(
AMQChannel.java:343)
at
com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
at
com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:11
8)
... 11 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at
java.io.DataInputStream.readUnsignedByte(DataInputStream.java:271)
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95)
at
com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHand
ler.java:139)
at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.jav
a:532)
... 1 more
[2014-07-03 15:15:18,005]  INFO - AxisEngine [MessageContext:
logID=f12b7a2e7c2c
9fe17bd3652d34dcbf4c69cafb19d5e9ae47] Error while creating connection pool
[2014-07-03 15:15:18,007] ERROR - AsyncCallback Error while creating
connection
pool
org.apache.axis2.transport.rabbitmq.AxisRabbitMQException: Error while
creating
connection pool
at
org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.handleExcep
tion(RabbitMQMessageSender.java:311)
at
org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.(Rabb
itMQMessageSender.java:61)
at
org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(Rabbit
MQSender.java:71)
at
org.apache.axis2.transport.base.AbstractTransportSender.invoke(Abstra
ctTransportSender.java:112)
at
org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWork
er.run(AxisEngine.java:626)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.jav

Re: [Dev] Mock a web application in integration tests

2014-07-03 Thread Prasad Tissera
Thank you very much for all your help. Did it successfully using
HttpClient. Sample code provided by WarunaP was also helped a lot. Thanks.


On Thu, Jul 3, 2014 at 4:11 PM, Thanuja Jayasinghe  wrote:

> As HttpClient gets the SAML response and forward it to the desired
> endpoint, you can validate the response in your HttpClient. So HttpClient
> will be enough for the task.
>
>
> On Thu, Jul 3, 2014 at 12:28 PM, Chamil Jeewantha  wrote:
>
>> According to this scenario, You should have a receiving endpoint to
>> receive and verify the SAML response from IS to Assertion consumer URL. So
>> I think HttpClient is not enough. You should have at-least a simple socket
>> listening on the Assertion Consumer URL. WDYT?
>>
>>
>> On Thu, Jul 3, 2014 at 12:23 PM, Prasad Tissera  wrote:
>>
>>> (adding Johann)
>>>
>>> Hi Krishantha,
>>>
>>> That was the first option. But later we discussed that it will be better
>>> if we can use HttpClient to do this. Now I am trying to use HttpClient to
>>> directly send requests to IS without using the sample webapp.
>>>
>>>
>>>
>>>
>>> On Thu, Jul 3, 2014 at 12:08 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
 Hi Prasad,

 Sample code provided by WarunaP for SAML sso scenario, contain
 starting tomcat server pragmatically with sample webapp.

 What made you really interesting on mocking this behavior ?

 Thanks,
 Krishantha.


 On Thu, Jul 3, 2014 at 11:56 AM, Chamil Jeewantha 
 wrote:

> Hi Prasad,
>
> Understood. you can use Jetty to deploy your webapp within your test.
> Other solution is simple[1] it is one single jar file which gives you the
> server capabilities. It comes under apache 2 licence.
>
> [1] http://sourceforge.net/projects/simpleweb/
>
>
> On Thu, Jul 3, 2014 at 5:17 AM, Prasad Tissera 
> wrote:
>
>> I am trying to mock the behaviour of the application. ( ex.
>> travelocity sample) that sends SAML requests to IS. Not the behaviour of 
>> IS
>> ( Start IS and send requests to it).
>>
>> Here I am trying to avoid launching the application inside Tomcat
>> during the test and mock the behaviour of the application.
>> On Jul 2, 2014 6:07 PM, "Krishantha Samaraweera" 
>> wrote:
>>
>>>
>>> On Wed, Jul 2, 2014 at 2:12 PM, Chamil Jeewantha 
>>> wrote:
>>>
 Hi Prasad,

 Mocking is good for unit tests. but its better if you minimize
 mocks on Integration tests.

>>>
>>> +1, mocking is not recommended when it comes to integration and
>>> platform tests. Unit tests have full control over all the pieces 
>>> running,
>>> that's why unit tests might require mocking.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>

 Regards,
 Chamil


 On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera 
 wrote:

> Hi,
>
> I am writing integration tests for SAML sso scenarios. We have a
> sample web application which can send SAML requests to IS. IS sends 
> SAML
> response to the Assertion Consumer URL. Is there a way to mock
> this scenario in integration tests, without launching the sample
> application inside a tomcat container during the test?
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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


>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>
>
> --
> K.D. Chamil Jeewantha
> Associate Technical Lead
> WSO2, Inc.;  http://wso2.com
> Mobile: +94716813892
>
>


 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

>>>
>>>
>>>
>>> --
>>> Prasad Tissera
>>> Software Engineer.
>>> Mobile : +94777223444
>>>
>>
>>
>>
>> --
>> K.D. Chamil Jeewantha
>> Associate Technical Lead
>> WSO2, Inc.;  http://wso2.com
>> Mobile: +94716813892
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> 

[Dev] Please commit this to patch 0009

2014-07-03 Thread Shelan Perera
Hi,

Please add this fix to patch0009 so that BAM new release will have this fix.

https://wso2.org/jira/browse/BAM-1659

Thanks

-- 
*Shelan Perera*

Senior Software Engineer
Integration Technology Group
*WSO2, Inc. : wso2.com *
lean.enterprise.middleware.

*Blog* :   blog.shelan.org
*Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [chunk13-build error] BAM product

2014-07-03 Thread Vijayaratha Vijayasingam
hi getting;

INFO] --- maven-assembly-plugin:2.2-beta-2:attached (dist) @ wso2bam ---
INFO] Reading assembly descriptor: bin.xml
INFO]

INFO] Reactor Summary:
INFO]
INFO] WSO2 Business Activity Monitor  SUCCESS [0.299s]
INFO] WSO2 Business Activity Monitor Styles Parent .. SUCCESS [0.011s]
INFO] WSO2 BAM UI styles  SUCCESS [8.100s]
INFO] WSO2 BAM UI styles  SUCCESS [2.551s]
INFO] WSO2 Stratos - Cloud BAM Login User Interface . SUCCESS [1.456s]
INFO] WSO2 Stratos - Cloud BAM Dashboard User Interface . SUCCESS
[2:17.469s]
INFO] WSO2 Business Activity Monitor Features Parent  SUCCESS [0.008s]
INFO] WSO2 BAM - Features Aggregator Module . SUCCESS [0.008s]
INFO] WSO2 BAM - Style Features . SUCCESS [13.240s]
INFO] WSO2 BAM - Style Features . SUCCESS [0.143s]
INFO] WSO2 Carbon - Cloud BAM UI Feature  SUCCESS [0.463s]
INFO] WSO2 Carbon - Cloud BAM Dashboard UI Feature .. SUCCESS [0.739s]
INFO] WSO2 BAM - Features Aggregator Module . SUCCESS [0.008s]
INFO] WSO2 Business Activity Monitor P2 Profile Generation  SUCCESS
[2:03.293s]
INFO] WSO2 BAM Sample ... SUCCESS [0.010s]
INFO] WSO2 BAM Toolbox .. SUCCESS [1.171s]
INFO] WSO2 BAM Migration  SUCCESS [0.015s]
INFO] migration . SUCCESS [5.072s]
INFO] WSO2 Business Activity Monitor - Product .. FAILURE
[1:36.584s]
INFO] WSO2 BAM Integration .. SKIPPED
INFO] WSO2 BAM - Integration Test ... SKIPPED
INFO]

INFO] BUILD FAILURE
INFO]

INFO] Total time: 6:32.183s
INFO] Finished at: Thu Jul 03 05:17:39 PDT 2014
INFO] Final Memory: 81M/557M
INFO]

ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist)
on project wso2bam: Failed to create assembly
 Error loading property file 'filter.properties' -> [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/MojoExecutionException
ERROR]
ERROR] After correcting the problems, you can resume the build with the
command
ERROR]   mvn  -rf :wso2bam
oot@sr3:/opt/checkout_chunk13/platform/branches/turing/products/bam/2.4.2#

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


Re: [Dev] [chunk13-build error] BAM product

2014-07-03 Thread Sinthuja Ragendran
Hi,

This is fixed already, please update products/bam/2.4.2.

Thanks,
Sinthuja.


On Thu, Jul 3, 2014 at 5:49 PM, Vijayaratha Vijayasingam 
wrote:

> hi getting;
>
> INFO] --- maven-assembly-plugin:2.2-beta-2:attached (dist) @ wso2bam ---
> INFO] Reading assembly descriptor: bin.xml
> INFO]
> 
> INFO] Reactor Summary:
> INFO]
> INFO] WSO2 Business Activity Monitor  SUCCESS [0.299s]
> INFO] WSO2 Business Activity Monitor Styles Parent .. SUCCESS [0.011s]
> INFO] WSO2 BAM UI styles  SUCCESS [8.100s]
> INFO] WSO2 BAM UI styles  SUCCESS [2.551s]
> INFO] WSO2 Stratos - Cloud BAM Login User Interface . SUCCESS [1.456s]
> INFO] WSO2 Stratos - Cloud BAM Dashboard User Interface . SUCCESS
> [2:17.469s]
> INFO] WSO2 Business Activity Monitor Features Parent  SUCCESS [0.008s]
> INFO] WSO2 BAM - Features Aggregator Module . SUCCESS [0.008s]
> INFO] WSO2 BAM - Style Features . SUCCESS [13.240s]
> INFO] WSO2 BAM - Style Features . SUCCESS [0.143s]
> INFO] WSO2 Carbon - Cloud BAM UI Feature  SUCCESS [0.463s]
> INFO] WSO2 Carbon - Cloud BAM Dashboard UI Feature .. SUCCESS [0.739s]
> INFO] WSO2 BAM - Features Aggregator Module . SUCCESS [0.008s]
> INFO] WSO2 Business Activity Monitor P2 Profile Generation  SUCCESS
> [2:03.293s]
> INFO] WSO2 BAM Sample ... SUCCESS [0.010s]
> INFO] WSO2 BAM Toolbox .. SUCCESS [1.171s]
> INFO] WSO2 BAM Migration  SUCCESS [0.015s]
> INFO] migration . SUCCESS [5.072s]
> INFO] WSO2 Business Activity Monitor - Product .. FAILURE
> [1:36.584s]
> INFO] WSO2 BAM Integration .. SKIPPED
> INFO] WSO2 BAM - Integration Test ... SKIPPED
> INFO]
> 
> INFO] BUILD FAILURE
> INFO]
> 
> INFO] Total time: 6:32.183s
> INFO] Finished at: Thu Jul 03 05:17:39 PDT 2014
> INFO] Final Memory: 81M/557M
> INFO]
> 
> ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist)
> on project wso2bam: Failed to create assembly
>  Error loading property file 'filter.properties' -> [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/MojoExecutionException
> ERROR]
> ERROR] After correcting the problems, you can resume the build with the
> command
> ERROR]   mvn  -rf :wso2bam
> oot@sr3:/opt/checkout_chunk13/platform/branches/turing/products/bam/2.4.2#
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
*Sinthuja Rajendran*
Senior Software Engineer 
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Developer Studio 3.7.0 RC4 Released!

2014-07-03 Thread Susankha Nirmala
Hi All,

We have WSO2 Developer Studio 3.7.0 RC4 ready to be downloaded at [1] and
installed eclipse distributions available at [2]. This release includes
following bug fixes, improvements.

*Improvement*
[TOOLS-2570]  - Improve look and
feel of AF tools login prompt to contrast cloud and standalone AF login
attempts
[TOOLS-2573]  - AF Tools - Improve
preferences window to capture selection between App Cloud or standalone AF.

*Bug*
[TOOLS-2571]  - AF Tools - Typos
in window for organization selection
[TOOLS-2572]  - AF Tools does not
display correct App Cloud URL after connection details are saved.

Your feedback is most welcome. Please report issues at [3] and specify the
affect version as 3.7.0 RC4.

[1]-
http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.7.0/RC4/
[2]-
http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.7.0/RC4/installed-distributions/
[3]- https://wso2.org/jira/browse/TOOLS

Thanks and Regards,
WSO2 Developer Studio Team.
-- 
Susankha Nirmala
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
Mobile : +94 77 593 2146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [chunk13-build err] DSS-integration tests fails

2014-07-03 Thread Vijayaratha Vijayasingam
014-07-03 05:41:33,695]  INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
down server..

sults :

iled tests:
securityPolicy10(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy11(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy12(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy13(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy14(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy15(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token
securityPolicy4(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in encryption
securityPolicy5(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in encryption
securityPolicy6(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in encryption
securityPolicy7(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in encryption
securityPolicy8(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in encryption
securityPolicy9(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
Error in obtaining a token

sts run: 175, Failures: 12, Errors: 0, Skipped: 0

NFO]

NFO] Reactor Summary:
NFO]
NFO] WSO2 DataServices Parent .. SUCCESS [0.322s]
NFO] WSO2 DataServices Styles Parent ... SUCCESS [0.012s]
NFO] DataServices UI styles  SUCCESS [7.327s]
NFO] WSO2 Stratos DSS - UI styles .. SUCCESS [1.185s]
NFO] WSO2 DataServices Samples Parent .. SUCCESS [0.508s]
NFO] DataServices Clients .. SUCCESS [39.412s]
NFO] WSO2 DataServices Features Parent . SUCCESS [0.010s]
NFO] WSO2 DataServices - Style Features  SUCCESS [0.587s]
NFO] WSO2 Stratos DSS - Style Features . SUCCESS [0.139s]
NFO] WSO2 Stratos DSS - Login User Interface ... SUCCESS [6.373s]
NFO] WSO2 Stratos DSS - Deployment Features  SUCCESS [0.126s]
NFO] WSO2 Stratos Data Services Server - Dashboard UI .. SUCCESS [1.382s]
NFO] WSO2 Stratos DSS - Dashboard UI Features .. SUCCESS [0.159s]
NFO] WSO2 Stratos DSS - Features Aggregator Module . SUCCESS [0.008s]
NFO] WSO2 DataServices - DataServices Profile Generation  SUCCESS
[1:32.230s]
NFO] WSO2 Data Services Server Distribution  SUCCESS [1:27.569s]
NFO] WSO2 DSS - Integration Tests .. SUCCESS [0.010s]
NFO] DataService Integration test module ... FAILURE
[24:36.633s]
NFO]

NFO] BUILD FAILURE
NFO]

NFO] Total time: 28:35.394s
NFO] Finished at: Thu Jul 03 05:41:33 PDT 2014
NFO] Final Memory: 98M/647M
NFO]

RROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test)
on project org.wso2.carbon.dss.test: There ar
test failures.
RROR]
RROR] Please refer to
/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/integration/tests/target/surefire-reports
for the in
vidual test results.

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


Re: [Dev] [IS 4.6.0] New tenant creation error

2014-07-03 Thread Asela Pathberiya
On Sat, Jun 14, 2014 at 10:39 AM, Supun Nakandala
 wrote:
> Hi Prabath,
>
> I have attached the server side log herewith.

Are you able to resolve this issue ?  It seems to be error is
generating when doing password encryption using the certificate of
your keystore. May be some issue with your certificate. If you like,
you can provide the keystore, certificate or out put of it content?

Thanks,
Asela.

>
>
> On Sat, Jun 14, 2014 at 1:39 AM, Prabath Siriwardena 
> wrote:
>>
>> The error you attached does not help - its the client side error. There
>> should be a server side error too - please attach the complete error log.
>>
>> Thanks & regards,
>> -Prabath
>>
>>
>> On Fri, Jun 13, 2014 at 11:16 PM, Supun Nakandala
>>  wrote:
>>>
>>> Hi All,
>>>
>>> I have a IS 4.6.0 instance running which uses a custom jks key store.
>>> When I try to create a new tenant I get an error. I have attached the
>>> complete stack trace herewith. But if I use the default wso2carbon.jks key
>>> store I can successfully create a new tenant. In the custom key store I have
>>> only the private key and the server certificate. Do I need to add something
>>> more here?
>>>
>>> Thank you.
>>> Supun
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> Twitter : @prabath
>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>
>> Mobile : +94 71 809 6732
>>
>> http://blog.facilelogin.com
>> http://blog.api-security.org
>
>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Thanks & Regards,
Asela

ATL
Mobile : +94 777 625 933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: App Manager SAML2AuthenticationHandler code review @ Thu Jul 3, 2014 3pm - 3:30pm (ruw...@wso2.com)

2014-07-03 Thread Ruwan Yatawara
Hi All,

Please find below a list of improvements identified during the code review.


   -

   buildSAMLResponse() method is getting called even if its not a SAML
   response, because to determine if its a SAML response we need to build the
   message, which is expensive.
   -

   getResult() method checks if the request is a logout request for every
   request. This too is expensive.
   -

   The way SAML Authentication request has been constructed is different
   from the way logout has been done. Approach needs to be consistent.
   -

   When checking the subscription, for each call, we do a DB query to check
   if subscription is active. This needs to be cached, once retrieved. Since
   there are only two states this check can be done in the db query itself.
   -

   Cache key entries will need to be standardized, use unique component
   based names to avoid possible conflicts.
   -

   When sending SAML response to backend, we should read the property once
   and cache it for future references.
   -

   Add App Manager Exceptions instead of API Manager Exceptions
   -

   Check if debug is enabled first before printing debug logs.
   - Comments overall and formatting improvements & Remove printed stack
   traces from exceptions


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 Wed, Jul 2, 2014 at 7:34 PM, Dinusha Senanayaka  wrote:

> more details »
> 
> App Manager SAML2AuthenticationHandler code review
> *When*
> Thu Jul 3, 2014 3pm – 3:30pm Colombo
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/dinusha
> 
> *Calendar*
> ruw...@wso2.com
> *Who*
> •
> Dinusha Senanayaka - organizer
> •
> Kasun Dissanayake
> •
> Rajeeva Uthayasangar
> •
> Sumedha Rubasinghe
> •
> Rushmin Fernando
> •
> Ruwan Yatawara
> •
> Amila De Silva
> •
> Johann Nallathamby
> •
> Nuwan Dias
>
> Going?   *Yes
> 
> - Maybe
> 
> - No
> *
> more options »
> 
>
> Invitation from Google Calendar 
>
> You are receiving this email at the account ruw...@wso2.com because you
> are subscribed for invitations on calendar ruw...@wso2.com.
>
> To stop receiving these notifications, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 4.6.0] New tenant creation error

2014-07-03 Thread Dulanja Liyanage
Hi Supun,

Seems this is a known issue [1].

Also please refer "[AS5.2.1} Could not add datasource via
managementconsole" in @support-dev. Seems Ratha has able to resolve a
similar issue - maybe you can check with her too.

[1] https://wso2.org/jira/browse/CARBON-14417

Thanks,
Dulanja


On Thu, Jul 3, 2014 at 7:49 PM, Asela Pathberiya  wrote:

> On Sat, Jun 14, 2014 at 10:39 AM, Supun Nakandala
>  wrote:
> > Hi Prabath,
> >
> > I have attached the server side log herewith.
>
> Are you able to resolve this issue ?  It seems to be error is
> generating when doing password encryption using the certificate of
> your keystore. May be some issue with your certificate. If you like,
> you can provide the keystore, certificate or out put of it content?
>
> Thanks,
> Asela.
>
> >
> >
> > On Sat, Jun 14, 2014 at 1:39 AM, Prabath Siriwardena 
> > wrote:
> >>
> >> The error you attached does not help - its the client side error. There
> >> should be a server side error too - please attach the complete error
> log.
> >>
> >> Thanks & regards,
> >> -Prabath
> >>
> >>
> >> On Fri, Jun 13, 2014 at 11:16 PM, Supun Nakandala
> >>  wrote:
> >>>
> >>> Hi All,
> >>>
> >>> I have a IS 4.6.0 instance running which uses a custom jks key store.
> >>> When I try to create a new tenant I get an error. I have attached the
> >>> complete stack trace herewith. But if I use the default wso2carbon.jks
> key
> >>> store I can successfully create a new tenant. In the custom key store
> I have
> >>> only the private key and the server certificate. Do I need to add
> something
> >>> more here?
> >>>
> >>> Thank you.
> >>> Supun
> >>>
> >>> ___
> >>> Dev mailing list
> >>> Dev@wso2.org
> >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
> >>>
> >>
> >>
> >>
> >> --
> >> Thanks & Regards,
> >> Prabath
> >>
> >> Twitter : @prabath
> >> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
> >>
> >> Mobile : +94 71 809 6732
> >>
> >> http://blog.facilelogin.com
> >> http://blog.api-security.org
> >
> >
> >
> >
> > --
> > Thank you
> > Supun Nakandala
> > Dept. Computer Science and Engineering
> > University of Moratuwa
> >
> > ___
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
>
>
>
> --
> Thanks & Regards,
> Asela
>
> ATL
> Mobile : +94 777 625 933
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Dulanja Liyanage
WSO2 Inc.
M: +94776764717
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [chunk13-build err] DSS-integration tests fails

2014-07-03 Thread Chanika Geeganage
Hi Ratha,

This is because of the security policy used in these test cases are using a
key size larger than the default key limit restriction of the JDK. So you
have to patch the JDK in your machine. You can find the Java Cryptography
Extension (JCE) Unlimited Strength Jurisdiction Policy Files for jdk 1.6
from [1].  [2] explains this further.

Thanks

[1].
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
[2].
http://blog.rampartfaq.com/2009/08/error-referenced-security-token-could.html


On Thu, Jul 3, 2014 at 6:15 PM, Vijayaratha Vijayasingam 
wrote:

>
> 014-07-03 05:41:33,695]  INFO
> {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
> down server..
>
> sults :
>
> iled tests:
> securityPolicy10(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy11(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy12(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy13(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy14(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy15(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
> securityPolicy4(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy5(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy6(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy7(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy8(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in encryption
> securityPolicy9(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase):
> Error in obtaining a token
>
> sts run: 175, Failures: 12, Errors: 0, Skipped: 0
>
> NFO]
> 
> NFO] Reactor Summary:
> NFO]
> NFO] WSO2 DataServices Parent .. SUCCESS [0.322s]
> NFO] WSO2 DataServices Styles Parent ... SUCCESS [0.012s]
> NFO] DataServices UI styles  SUCCESS [7.327s]
> NFO] WSO2 Stratos DSS - UI styles .. SUCCESS [1.185s]
> NFO] WSO2 DataServices Samples Parent .. SUCCESS [0.508s]
> NFO] DataServices Clients .. SUCCESS [39.412s]
> NFO] WSO2 DataServices Features Parent . SUCCESS [0.010s]
> NFO] WSO2 DataServices - Style Features  SUCCESS [0.587s]
> NFO] WSO2 Stratos DSS - Style Features . SUCCESS [0.139s]
> NFO] WSO2 Stratos DSS - Login User Interface ... SUCCESS [6.373s]
> NFO] WSO2 Stratos DSS - Deployment Features  SUCCESS [0.126s]
> NFO] WSO2 Stratos Data Services Server - Dashboard UI .. SUCCESS [1.382s]
> NFO] WSO2 Stratos DSS - Dashboard UI Features .. SUCCESS [0.159s]
> NFO] WSO2 Stratos DSS - Features Aggregator Module . SUCCESS [0.008s]
> NFO] WSO2 DataServices - DataServices Profile Generation  SUCCESS
> [1:32.230s]
> NFO] WSO2 Data Services Server Distribution  SUCCESS
> [1:27.569s]
> NFO] WSO2 DSS - Integration Tests .. SUCCESS [0.010s]
> NFO] DataService Integration test module ... FAILURE
> [24:36.633s]
> NFO]
> 
> NFO] BUILD FAILURE
> NFO]
> 
> NFO] Total time: 28:35.394s
> NFO] Finished at: Thu Jul 03 05:41:33 PDT 2014
> NFO] Final Memory: 98M/647M
> NFO]
> 
> RROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test)
> on project org.wso2.carbon.dss.test: There ar
> test failures.
> RROR]
> RROR] Please refer to
> /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/integration/tests/target/surefire-reports
> for the in
> vidual test results.
>
> --
> -Ratha
> mobile: (+94)755906608
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Apply the CARBON-14841 changes to kernel patch0009

2014-07-03 Thread Waruna Jayaweera
Hi,
Please merge the pull request to carbon4-kernel
https://github.com/wso2-dev/carbon4-kernel/pull/33

Thanks,
Waruna


On Thu, Jul 3, 2014 at 2:23 PM, Kishanthan Thangarajah 
wrote:

> Waruna, did you send the pull request to the carbon4-kernel repo :
> https://github.com/wso2-dev/carbon4-kernel/ also?
>
>
> On Tue, Jul 1, 2014 at 6:17 PM, Shameera Rathnayaka 
> wrote:
>
>> Committed revision 205239 ,
>>
>> please provide pull request to carbon 4.3.0 branch too.
>>
>> Thanks,
>> Shameera.
>>
>>
>> On Tue, Jul 1, 2014 at 12:11 PM, Waruna Jayaweera 
>> wrote:
>>
>>> Hi ,
>>> Please Add this fix for Carbon kernel patch0009.
>>>
>>> Related Jira
>>>
>>> https://wso2.org/jira/browse/CARBON-14841
>>>
>>> --
>>> Regards,
>>>
>>> Waruna Lakshitha Jayaweera
>>> Software Engineer
>>> WSO2 Inc; http://wso2.com
>>> phone: +94713255198
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com  , shameera AT apache.org
>> *
>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter : *https://twitter.com/Shameera_R
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
Regards,

Waruna Lakshitha Jayaweera
Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Trying to fix ES 1.2.0 - random server hang-up issue

2014-07-03 Thread Ayesha Dissanayaka
Hi,

I am working on [01] jira issue.

As for the summary, when the wso2es 1.2.0 pack is started it tend to hang
up randomly. There is no particular order for this hang up and happens only
at sometimes. When server is started and shut-downed for several times this
occurs. Only workaround for now is to abort startup and restart.

I have attached a thread-dump [attachment -02], and a Jtop screen-shot
[attachement-03].

Can someone direct me where to look, in order to fix this.

According to logs, I think issue is somewhere below. Is it not & how can I
proceed?
--
"Start Level Event Dispatcher" daemon prio=10 tid=0x7f14582ec800
nid=0xd08 in Object.wait() [0x7f144d779000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xc07787b8> (a
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:485)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0xc07787b8> (a
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Framework Event Dispatcher" daemon prio=10 tid=0x7f1458215800
nid=0xd07 in Object.wait() [0x7f144d87a000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xc07ab2c0> (a
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:485)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0xc07ab2c0> (a
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Framework Active Thread" prio=10 tid=0x7f14582d6800 nid=0xd02 in
Object.wait() [0x7f144da7c000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xc14d7598> (a
org.eclipse.osgi.framework.internal.core.Framework)
at
org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1862)
- locked <0xc14d7598> (a
org.eclipse.osgi.framework.internal.core.Framework)
at java.lang.Thread.run(Thread.java:662)

--

[01] https://wso2.org/jira/browse/STORE-451

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com

20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Chunk-13 packs-03/07/2014

2014-07-03 Thread Vijayaratha Vijayasingam
Hi all;
Please find packs at[1]
[1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03_07_2014

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


Re: [Dev] Chunk-13 packs-03/07/2014

2014-07-03 Thread Evanthika Amarasiri
We will start platform testing with these products. Currently we are
setting up a distributed setup with API-M, BAM & IS (using the released
packs). We will replace them with these and start platform testing from
today. Hope these are built after running integration tests.

Regards,
Evanthika

On Fri, Jul 4, 2014 at 12:39 AM, Vijayaratha Vijayasingam 
wrote:

>
> Hi all;
> Please find packs at[1]
> [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03_07_2014
>
> Thanks.
> --
> -Ratha
> mobile: (+94)755906608
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk-13 packs-03/07/2014

2014-07-03 Thread Yumani Ranaweera
Is this a milestone pack. Can we share with customers?

Regards,
Yumani


On Fri, Jul 4, 2014 at 7:28 AM, Evanthika Amarasiri 
wrote:

> We will start platform testing with these products. Currently we are
> setting up a distributed setup with API-M, BAM & IS (using the released
> packs). We will replace them with these and start platform testing from
> today. Hope these are built after running integration tests.
>
> Regards,
> Evanthika
>
> On Fri, Jul 4, 2014 at 12:39 AM, Vijayaratha Vijayasingam  > wrote:
>
>>
>> Hi all;
>> Please find packs at[1]
>> [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03_07_2014
>>
>> Thanks.
>> --
>> -Ratha
>> mobile: (+94)755906608
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Yumani Ranaweera*

Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com

Office: +94 0112145345 | Mob: + 94 95242

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


Re: [Dev] Chunk-13 packs-03/07/2014

2014-07-03 Thread Nuwan Dias
This is a patch release. So there are no milestones since we're not
introducing any features. I'm not sure whether we ran a smoke test on this
but this is public anyway.

Thanks,
NuwanD.


On Fri, Jul 4, 2014 at 8:06 AM, Yumani Ranaweera  wrote:

> Is this a milestone pack. Can we share with customers?
>
> Regards,
> Yumani
>
>
> On Fri, Jul 4, 2014 at 7:28 AM, Evanthika Amarasiri 
> wrote:
>
>> We will start platform testing with these products. Currently we are
>> setting up a distributed setup with API-M, BAM & IS (using the released
>> packs). We will replace them with these and start platform testing from
>> today. Hope these are built after running integration tests.
>>
>> Regards,
>> Evanthika
>>
>> On Fri, Jul 4, 2014 at 12:39 AM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>>
>>> Hi all;
>>> Please find packs at[1]
>>> [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03_07_2014
>>>
>>> Thanks.
>>> --
>>> -Ratha
>>> mobile: (+94)755906608
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Yumani Ranaweera*
>
> Technical Lead
> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>
> Office: +94 0112145345 | Mob: + 94 95242
>
> http://yumani.blogspot.com
> http://yumsnotes.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
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] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Sameera Perera
Hi Ruchira,
Can someone from your team review this library? Also, in case there's an
alternative that is already in use or is a better fit to other UI
components we use; please suggest.

On a cursory glance, it's only dependencies seem to be jQuery and
Bootstrap; so relative safe unless we have an alternative already being
used.

Rushmin,
Can you explain the your use case as to why we need this library? Just so
that we can validate that the additional dependency is not for superfluous
functionality :)


On Thu, Jul 3, 2014 at 2:06 PM, Rushmin Fernando  wrote:

> Its just a Bootstrap extension which I'm planning to use in App Manager
> front end. Thought of using it rather than writing it from the scratch.
>
> [1] or [2] are the candidate components.
>
> [1] - http://montrezorro.github.io/bootstrap-checkbox/
> [2] - http://silviomoreto.github.io/bootstrap-select/
>
>
>
>
> On Thu, Jul 3, 2014 at 1:58 PM, Paul Fremantle  wrote:
>
>> You can use it from a legal perspective. However, you still need to get
>> it reviewed and agreed for whether it fits into the architecture!
>> What is the library?
>>
>> Paul
>>
>>
>> On 3 July 2014 09:20, Rushmin Fernando  wrote:
>>
>>>
>>> There is a UI component which I need. Its under MIT license. $subject
>>> please.
>>>
>>>
>>> --
>>> *Rushmin Fernando*
>>> *Technical Lead*
>>>
>>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>>
>>> email : rush...@wso2.com
>>> mobile : +94772310855
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Paul Fremantle
>> CTO and Co-Founder, WSO2
>> OASIS WS-RX TC Co-chair, Apache Member
>>
>> UK: +44 207 096 0336
>> US: +1 646 595 7614
>>
>> blog: http://pzf.fremantle.org
>> twitter.com/pzfreo
>> p...@wso2.com
>>
>> wso2.com Lean Enterprise Middleware
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, retransmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> email : rush...@wso2.com
> mobile : +94772310855
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

--

*Sameera Perera*
Director of Engineering
gtalk: samee...@wso2.com
Tel : 94 11 214 5345
Fax :94 11 2145300
*WSO2, Inc.* 
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Apply the CARBON-14841 changes to kernel patch0009

2014-07-03 Thread Shameera Rathnayaka
Done


On Thu, Jul 3, 2014 at 9:25 PM, Waruna Jayaweera  wrote:

> Hi,
> Please merge the pull request to carbon4-kernel
> https://github.com/wso2-dev/carbon4-kernel/pull/33
>
> Thanks,
> Waruna
>
>
> On Thu, Jul 3, 2014 at 2:23 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Waruna, did you send the pull request to the carbon4-kernel repo :
>> https://github.com/wso2-dev/carbon4-kernel/ also?
>>
>>
>> On Tue, Jul 1, 2014 at 6:17 PM, Shameera Rathnayaka 
>> wrote:
>>
>>> Committed revision 205239 ,
>>>
>>> please provide pull request to carbon 4.3.0 branch too.
>>>
>>> Thanks,
>>> Shameera.
>>>
>>>
>>> On Tue, Jul 1, 2014 at 12:11 PM, Waruna Jayaweera 
>>> wrote:
>>>
 Hi ,
 Please Add this fix for Carbon kernel patch0009.

 Related Jira

 https://wso2.org/jira/browse/CARBON-14841

 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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


>>>
>>>
>>> --
>>> *Software Engineer - WSO2 Inc.*
>>> *email: shameera AT wso2.com  , shameera AT
>>> apache.org *
>>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>>
>>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>>> *Twitter : *https://twitter.com/Shameera_R
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Regards,
>
> Waruna Lakshitha Jayaweera
> Software Engineer
> WSO2 Inc; http://wso2.com
> phone: +94713255198
>



-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT apache.org
*
*phone:  +9471 922 1454*

*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use libs with MIT license, in WSO2 ?

2014-07-03 Thread Rushmin Fernando
Hi Sameera,

Use case
--

In the enterprise subscription feature of App Manager, the list of
available enterprises will be listed down and the user can select one or
more enterprises to mark them as subscribed enterprises.

Initially I thought of using [1] for the purpose (Its a multiselect drop
down)

But then I realized that a using a drop down is not that usable is UX point
of view. So I'm working on the following screen.

​
 enterprise_subscription_ui

​
For that I thought that [2] would help with styling to save some time, but
seems its not gonna help much. So I would rather build it :-)




[1] - http://silviomoreto.github.io/bootstrap-select/

[2] - http://silviomoreto.github.io/bootstrap-select/


On Fri, Jul 4, 2014 at 8:47 AM, Sameera Perera  wrote:

> Hi Ruchira,
> Can someone from your team review this library? Also, in case there's an
> alternative that is already in use or is a better fit to other UI
> components we use; please suggest.
>
> On a cursory glance, it's only dependencies seem to be jQuery and
> Bootstrap; so relative safe unless we have an alternative already being
> used.
>
> Rushmin,
> Can you explain the your use case as to why we need this library? Just so
> that we can validate that the additional dependency is not for superfluous
> functionality :)
>
>
> On Thu, Jul 3, 2014 at 2:06 PM, Rushmin Fernando  wrote:
>
>> Its just a Bootstrap extension which I'm planning to use in App Manager
>> front end. Thought of using it rather than writing it from the scratch.
>>
>> [1] or [2] are the candidate components.
>>
>> [1] - http://montrezorro.github.io/bootstrap-checkbox/
>> [2] - http://silviomoreto.github.io/bootstrap-select/
>>
>>
>>
>>
>> On Thu, Jul 3, 2014 at 1:58 PM, Paul Fremantle  wrote:
>>
>>> You can use it from a legal perspective. However, you still need to get
>>> it reviewed and agreed for whether it fits into the architecture!
>>> What is the library?
>>>
>>> Paul
>>>
>>>
>>> On 3 July 2014 09:20, Rushmin Fernando  wrote:
>>>

 There is a UI component which I need. Its under MIT license. $subject
 please.


 --
 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc.  - Lean . Enterprise . Middleware

 email : rush...@wso2.com
 mobile : +94772310855



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


>>>
>>>
>>> --
>>> Paul Fremantle
>>> CTO and Co-Founder, WSO2
>>> OASIS WS-RX TC Co-chair, Apache Member
>>>
>>> UK: +44 207 096 0336
>>> US: +1 646 595 7614
>>>
>>> blog: http://pzf.fremantle.org
>>> twitter.com/pzfreo
>>> p...@wso2.com
>>>
>>> wso2.com Lean Enterprise Middleware
>>>
>>> Disclaimer: This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, retransmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.
>>>
>>
>>
>>
>> --
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>
>> email : rush...@wso2.com
>> mobile : +94772310855
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> --
>
> *Sameera Perera*
> Director of Engineering
> gtalk: samee...@wso2.com
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> *WSO2, Inc.* 
> lean.enterprise.middleware
>
>
>


-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

email : rush...@wso2.com
mobile : +94772310855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Data source deployer feature code review @ Tue Jul 1, 2014 3pm - 4pm (chan...@wso2.com)

2014-07-03 Thread Chanika Geeganage
Hi,

Please find the code review comments listed below.

1. Put the content in the file which has the list of datasource files (i.e.
dataSource-info
.xml) to the artifact.xml file it self and change the code accordingly.
2. Put the licensing content to the top of the newly introduced classes.
3. javadoc comments should be endedup with .
4. Remove registry related stuff (ex. resources)
5. Remove DatasourceConfig class as the dataSource-info.xml file will be
removed.
6. Throw exceptions accordingly rather than logging.
7. Brake down large methods to small methods rather than putting everything
into one method.

Thanks


On Mon, Jun 30, 2014 at 9:27 AM, Rajith Vitharana  wrote:

>  more details »
> 
> Data source deployer feature code review
> Code review for Data source deployer feature
> *When*
> Tue Jul 1, 2014 3pm – 4pm Colombo
> *Where*
> LK 3rd Floor Meeting Room - Tungsten (map
> )
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/data-source
> 
> *Calendar*
> chan...@wso2.com
> *Who*
>  •
> Rajith Vitharana - organizer
> •
> Malith Dhanushka
> •
> Dunith Dhanushka
> •
> Gokul Balakrishnan
> •
> Jaminda Batuwangala
> •
> Inosh Goonewardena
> •
> Gihan Anuruddha
> •
> dev@wso2.org
> •
> Anjana Fernando
> •
> Chanika Geeganage
>
> Going?   *Yes
> 
> - Maybe
> 
> - No
> *
> more options »
> 
>
> Invitation from Google Calendar 
>
> You are receiving this email at the account chan...@wso2.com because you
> are subscribed for invitations on calendar chan...@wso2.com.
>
> To stop receiving these notifications, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WebSocket Adaptor for CEP

2014-07-03 Thread Kasun Gajasinghe
Hi Suho,

Please look into the possibility of adding Websocket support via the Tomcat
websocket feature. This will get shipped starting from Carbon 4.3.0, so
it's better if you can use the same.

Thanks,
KasunG



On Mon, Jun 23, 2014 at 3:07 PM, Paul Fremantle  wrote:

> Suho
>
> I'm sure you know this, but we need to support {X} over WebSockets. In
> other words Thrift, MQTT, etc over WebSockets. So basically what would be
> cool would be to support any existing protocol tunnelled over WebSockets.
>
> Paul
>
>
> On 23 June 2014 10:18, Sriskandarajah Suhothayan  wrote:
>
>> Hi folks
>>
>> CEP team is about to add WebSocket Adaptor for the next release.
>> Please share the code location of the WebSocket Client codes you have
>> written
>> So that we can generalise them if necessary, and integrate them to CEP.
>>
>>
>> Thanks
>> Suho
>>
>> --
>>
>> *S. Suhothayan *
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/  twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, Apache Member
>
> UK: +44 207 096 0336
> US: +1 646 595 7614
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> p...@wso2.com
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> ___
> 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] Is this a known issue

2014-07-03 Thread Amalka Subasinghe
HI,

Found a issue while executing sample 54 and 55 as follows:

Steps:

   1.

   Start ESB and setup 4 axis2 servers at the back end. (port 9001, 9002,
   9003, 9004) and deploy LoadbalanceFailoverService.
   2.

   Login to the ESB and update ESB config with sample 54 configuration.
   3.

   run the axis2client   ant loadbalancefailover -Di=10 -Dmode=session
   4.

   Output:

[java] Request: 1 with Session ID: 0  Response : withResponse from
server: MyServer1

[java] Request: 2 with Session ID: 1  Response : withResponse
from server: MyServer2

[java] Request: 3 with Session ID: 1  Response : withResponse
from server: MyServer2

[java] Request: 4 with Session ID: 0  Response : withResponse
from server: MyServer1

[java] Request: 5 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 6 with Session ID: 0  Response : withResponse
from server: MyServer1

[java] Request: 7 with Session ID: 1  Response : withResponse
from server: MyServer2

[java] Request: 8 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 9 with Session ID: 0  Response : withResponse
from server: MyServer1

[java] Request: 10 with Session ID: 1  Response : withResponse
from server: MyServer2

Session ID : 0 -> MyServer1, Session ID: 1 -> MyServer2, Session ID:2
->MyServer3

   1.

   Update ESB configuration with sample 55 configuration and run the
   axis2client again
   2.

   Output:

[java] Request: 1 with Session ID: 0  Response : withResponse from
server: MyServer1

[java] Request: 2 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 3 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 4 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 5 with Session ID: 0  Response : withResponse
from server: MyServer1

[java] Request: 6 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 7 with Session ID: 1  Response : withResponse
from server: MyServer2

[java] Request: 8 with Session ID: 2  Response : withResponse
from server: MyServer3

[java] Request: 9 with Session ID: 1  Response : withResponse
from server: MyServer2

[java] Request: 10 with Session ID: 0  Response : withResponse
from server: MyServer1

Session ID : 0 -> MyServer1, Session ID: 1 -> MyServer2, Session ID:2
->MyServer3

7. With the sample 55 configuration MyServer2 should not respond for the
requests, it should respond only when MyServer1 is down.

I could reproduce this using soapUI too, when I use the same client IDs
(c1, c2, c3) with the soap request.

[The client Id, which directed to the MyServer2 with sample 54
configuration; always directed to MyServer2 even after I updated the
synapse config to sample 55]

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ser="http://services.samples";>

  

  http://ws.apache.org/ns/synapse
">c1

  

  

 



1

 

  



It seems this is not the right behavior of the ESB with session affinity
load balancing.
Is this a know issue? or Is there any workaround for this?

Thanks
Amalka
-- 

Amalka Subasinghe

WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] CQL port is not changed when offset is changed in carbon.xml

2014-07-03 Thread Asanka Abeyweera
Hi,

I tried to run two instances of WSO2 MB 3.0.0-SNAPSHOT in the same machine.
I changed the offset value to 2 in carbon.xml file of the second server.
But when I started the second server after first one, I got the following
error. I think the error is due to the Cassandra server binding to the same
CQL port (9042). MB 3.0.0-SNAPSHOT uses the Cassandra Server feature
4.3.0-SNAPSHOT.

[2014-07-04 11:31:16,495]  INFO
{org.wso2.carbon.andes.internal.QpidServiceComponent} -  Activating
Carbonized Cassandra Server...
org.jboss.netty.channel.ChannelException: Failed to bind to: localhost/
127.0.0.1:9042
at
org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
at org.apache.cassandra.transport.Server.run(Server.java:139)
at org.apache.cassandra.transport.Server.start(Server.java:100)
at
org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:393)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:459)
at
org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at
org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
at
org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
Exception encountered during startup: Failed to bind to: localhost/
127.0.0.1:9042
[2014-07-04 11:31:18,136]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Shutdown hook
triggered


-- 
Asanka Abeyweera
Software Engineer
WSO2 Inc.

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


Re: [Dev] Issue with session affinity load balancing with ESB

2014-07-03 Thread Amalka Subasinghe
updating correct title


On Fri, Jul 4, 2014 at 11:46 AM, Amalka Subasinghe  wrote:

> HI,
>
> Found a issue while executing sample 54 and 55 as follows:
>
> Steps:
>
>1.
>
>Start ESB and setup 4 axis2 servers at the back end. (port 9001, 9002,
>9003, 9004) and deploy LoadbalanceFailoverService.
>2.
>
>Login to the ESB and update ESB config with sample 54 configuration.
>3.
>
>run the axis2client   ant loadbalancefailover -Di=10 -Dmode=session
>4.
>
>Output:
>
> [java] Request: 1 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 2 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> [java] Request: 3 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> [java] Request: 4 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 5 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 6 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 7 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> [java] Request: 8 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 9 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 10 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> Session ID : 0 -> MyServer1, Session ID: 1 -> MyServer2, Session ID:2
> ->MyServer3
>
>1.
>
>Update ESB configuration with sample 55 configuration and run the
>axis2client again
>2.
>
>Output:
>
> [java] Request: 1 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 2 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 3 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 4 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 5 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> [java] Request: 6 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 7 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> [java] Request: 8 with Session ID: 2  Response : withResponse
> from server: MyServer3
>
> [java] Request: 9 with Session ID: 1  Response : withResponse
> from server: MyServer2
>
> [java] Request: 10 with Session ID: 0  Response : withResponse
> from server: MyServer1
>
> Session ID : 0 -> MyServer1, Session ID: 1 -> MyServer2, Session ID:2
> ->MyServer3
>
> 7. With the sample 55 configuration MyServer2 should not respond for the
> requests, it should respond only when MyServer1 is down.
>
> I could reproduce this using soapUI too, when I use the same client IDs
> (c1, c2, c3) with the soap request.
>
> [The client Id, which directed to the MyServer2 with sample 54
> configuration; always directed to MyServer2 even after I updated the
> synapse config to sample 55]
>
> http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:ser="http://services.samples";>
>
>   
>
>   http://ws.apache.org/ns/synapse
> ">c1
>
>   
>
>   
>
>  
>
> 
>
> 1
>
>  
>
>   
>
> 
>
> It seems this is not the right behavior of the ESB with session affinity
> load balancing.
> Is this a know issue? or Is there any workaround for this?
>
> Thanks
> Amalka
> --
>
> Amalka Subasinghe
>
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 

Amalka Subasinghe

WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev