Re: [Dev] ASM library upgrade request

2015-01-12 Thread Supun Malinga
Hi,

Can you list the conflicting jars and also share the log pls ?.

thanks,

On Mon, Jan 12, 2015 at 12:57 PM, Sithumini Senevirathne <
sithumi...@wso2.com> wrote:

> Hi All,
>
> Currently I am working on G-Reg new feature [1] Ability to display
> difference of two resources of same type. Main objective of this feature is
> to demonstrate the differences between two resources of same type. For
> example WSDLs, WADLs, XSDs etc..
>
> To compare and analyse the WSDL/ XML Schema documents, selected the open
> source library Membrane SOA-Model and got the third party library approval
> [2] for it.
>
> This library uses Groovy 2.x which needs ASM 4. Currently product-as uses
> ASM 3. As membrane cannot work with ASM versions later than 4 .0, I am
> facing an ASM library conflict. With ASM 3 it gives a
> java.lang.IncompatibleClassChangeError. The reason for this error is
> membrane uses org.objectweb.asm.ClassVisitor class in ASM 4 but this is
> an Interface in ASM 3 and a Class in ASM 4 onwards.
>
> In-order to overcome the conflict need to upgrade ASM. What is the
> standard way to proceed in this situation?
>
>
> [1] https://redmine.wso2.com/issues/3403
> [2] https://redmine.wso2.com/issues/3466
>
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Errors occur on Server Shutdown when building the Product

2015-01-12 Thread Waruna Perera
HI Dilan,

I could not find any fault with your test case. Will update.

Thanks,

On Mon, Jan 12, 2015 at 11:05 AM, Dilan Udara Ariyaratne 
wrote:

> Hi Waruna,
>
> Integration test module and Parent pom of emm is attached herewith.
>
> Thanks.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Mon, Jan 12, 2015 at 10:32 AM, Waruna Perera  wrote:
>
>> HI Dilan,
>>
>> Can you share the test case code?
>>
>> Thanks,
>>
>> On Mon, Jan 12, 2015 at 10:23 AM, Dilan Udara Ariyaratne > > wrote:
>>
>>> Hi Krishanthan,
>>>
>>> With in the test class, I do not explicitly access or populate any
>>> CarbonContext in any place...
>>>
>>> Thanks.
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Sat, Jan 10, 2015 at 11:04 AM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 Does the device registration at server-side access/populate
 CarbonContext in any place?

 On Thu, Jan 8, 2015 at 4:34 PM, Dilan Udara Ariyaratne >>> > wrote:

> Hi Kishanthan,
>
> I checked on a separate manual server shutdown and it seems to be fine.
> No errors appear as in this case.
>
> Regards,
> Dilan.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Thu, Jan 8, 2015 at 2:26 PM, Dilan Udara Ariyaratne <
> dil...@wso2.com> wrote:
>
>> Hi Kishanthan,
>>
>> I am doing a dummy device registration at server-side to check
>> whether the registration functionality
>> works fine with an ORACLE connection.
>>
>> I will check whether a normal server shutdown also brings out these
>> exceptions, to isolate the issue from automation framework.
>>
>> Thanks for the feedback.
>>
>>
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>> On Thu, Jan 8, 2015 at 1:43 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> The root cause here is  : "java.lang.SecurityException: Illegal
>>> access attempt by  tenant[-1] to sessions owned by tenant[-1234]"
>>>
>>> This is because the CarbonContext is is not populated with the
>>> tenant information on showdown path which leads to this. There can be
>>> multiple reasons. Can you isolate this issue from automation framework, 
>>> by
>>> manually starting and stopping the EMM server? Also what are you doing
>>> within the test case here?
>>>
>>>
>>>
>>> On Tue, Jan 6, 2015 at 2:17 PM, Dilan Udara Ariyaratne <
>>> dil...@wso2.com> wrote:
>>>
 Hi Folks,

 I have been working on writing a test case for the device
 registration use-case of EMM with Oracle Support.
 When I built the product with the test, every thing ran well with a
 build success message except
 the server shutdown.

 Following is the stack trace of it...

 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 [2015-01-06 14:03:25,696] ERROR
 {org.apache.axis2.deployment.DeploymentEngine} -  Error occurred while
 cleaning up deployer
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 org.apache.axis2.deployment.DeploymentException: Error occurred during
 cleaning up webapps
 
 
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 at java.lang.Thread.run(Thread.java:662)
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 Caused by: org.wso2.carbon.CarbonException: Cannot lazy unload webapp
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store-admin]
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:379)
 INFO
 [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
 at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
 INFO
 [org.wso2.

Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread Aruna Karunarathna
Hi Athuraliya,

This is because some services have not started properly, maybe because of
some dependencies not satisfied.
Use the OSGi Console to debug to find the root cause.

Regards,
Aruna

On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya  wrote:

> Hi all,
>
> I just built ML product and when I am trying to run it following WARN
> (highlighted) appears repeatedly.
>
> [2015-01-12 11:30:16,174]  INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
> Registry in 351ms
> [2015-01-12 11:30:17,418]  INFO
> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>  Registry Mode: READ-WRITE
> [2015-01-12 11:30:18,221]  INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
> UserStoreMgtDSComponent activated successfully.
> [2015-01-12 11:34:44,340]  INFO
> {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
> http://tiles.apache.org/tags-tiles is already defined
> [2015-01-12 11:39:17,250]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
> delayed due to the following unsatisfied items:
> [2015-01-12 11:39:17,251]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
> [2015-01-12 11:39:17,251]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGi Service: org.apache.axis2.engine.AxisObserver
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>
> Any workaround for this would be much apprenticed.
>
> Thanks.
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn  | Twitter
>  | Blog
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ASM library upgrade request

2015-01-12 Thread Sagara Gunathunga
On Mon, Jan 12, 2015 at 12:57 PM, Sithumini Senevirathne <
sithumi...@wso2.com> wrote:

> Hi All,
>
> Currently I am working on G-Reg new feature [1] Ability to display
> difference of two resources of same type. Main objective of this feature is
> to demonstrate the differences between two resources of same type. For
> example WSDLs, WADLs, XSDs etc..
>
> To compare and analyse the WSDL/ XML Schema documents, selected the open
> source library Membrane SOA-Model and got the third party library approval
> [2] for it.
>
> This library uses Groovy 2.x which needs ASM 4. Currently product-as uses
> ASM 3. As membrane cannot work with ASM versions later than 4 .0, I am
> facing an ASM library conflict. With ASM 3 it gives a
> java.lang.IncompatibleClassChangeError. The reason for this error is
> membrane uses org.objectweb.asm.ClassVisitor class in ASM 4 but this is
> an Interface in ASM 3 and a Class in ASM 4 onwards.
>

When someone introduce a new library he/she has to go through all
dependencies and required changes during the initial R&D phase not during
very last stage like this. In case if we can't upgrade we will lose
all development time spent + great feature.

>
> In-order to overcome the conflict need to upgrade ASM. What is the
> standard way to proceed in this situation?
>

I don't think we can't simply upgrade ASM3 into ASM4  as those 2 versions
are not compatible each other and AFAIK we have some AS features which
depends on ASM3. IMO we need to introduce ASM4 bundle with proper OSGi
versioning so that both ASM3 and ASM4 bundles can co-exists in runtime.
Once we do that you can update Groovy/Membrane bundle to import ASM4
packages to fix above issue.

Thanks !

>
>
> [1] https://redmine.wso2.com/issues/3403
> [2] https://redmine.wso2.com/issues/3466
>
> --
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: sithumi...@wso2.com,   mobile: +94 756977999
>



-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread Suhan Dharmasuriya
Hi,

You may find these articles useful for debugging your OSGi application.

[1]
http://pradeepfernando.blogspot.com/2011/10/debugging-your-osgi-application-using.html
[2] https://isurues.wordpress.com/2009/01/01/useful-equinox-osgi-commands/

Thanks,
Suhan

On Mon, Jan 12, 2015 at 2:07 PM, Aruna Karunarathna  wrote:

> Hi Athuraliya,
>
> This is because some services have not started properly, maybe because of
> some dependencies not satisfied.
> Use the OSGi Console to debug to find the root cause.
>
> Regards,
> Aruna
>
> On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya 
> wrote:
>
>> Hi all,
>>
>> I just built ML product and when I am trying to run it following WARN
>> (highlighted) appears repeatedly.
>>
>> [2015-01-12 11:30:16,174]  INFO
>> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
>> Registry in 351ms
>> [2015-01-12 11:30:17,418]  INFO
>> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>>  Registry Mode: READ-WRITE
>> [2015-01-12 11:30:18,221]  INFO
>> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
>> UserStoreMgtDSComponent activated successfully.
>> [2015-01-12 11:34:44,340]  INFO
>> {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
>> http://tiles.apache.org/tags-tiles is already defined
>> [2015-01-12 11:39:17,250]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>> delayed due to the following unsatisfied items:
>> [2015-01-12 11:39:17,251]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
>> [2015-01-12 11:39:17,251]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.apache.axis2.engine.AxisObserver
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>>
>> Any workaround for this would be much apprenticed.
>>
>> Thanks.
>>
>> --
>> *CD Athuraliya*
>> Software Engineering Intern
>> WSO2, Inc.
>> lean . enterprise . middleware
>> Mobile: +94 716288847
>> LinkedIn  | Twitter
>>  | Blog
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread CD Athuraliya
Hi Aruna,

Thanks for the reply. I will try this. Anyway previous build works fine.
This error occurres only in new build.

On Mon, Jan 12, 2015 at 2:07 PM, Aruna Karunarathna  wrote:

> Hi Athuraliya,
>
> This is because some services have not started properly, maybe because of
> some dependencies not satisfied.
> Use the OSGi Console to debug to find the root cause.
>
> Regards,
> Aruna
>
> On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya 
> wrote:
>
>> Hi all,
>>
>> I just built ML product and when I am trying to run it following WARN
>> (highlighted) appears repeatedly.
>>
>> [2015-01-12 11:30:16,174]  INFO
>> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
>> Registry in 351ms
>> [2015-01-12 11:30:17,418]  INFO
>> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>>  Registry Mode: READ-WRITE
>> [2015-01-12 11:30:18,221]  INFO
>> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
>> UserStoreMgtDSComponent activated successfully.
>> [2015-01-12 11:34:44,340]  INFO
>> {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
>> http://tiles.apache.org/tags-tiles is already defined
>> [2015-01-12 11:39:17,250]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>> delayed due to the following unsatisfied items:
>> [2015-01-12 11:39:17,251]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
>> [2015-01-12 11:39:17,251]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.apache.axis2.engine.AxisObserver
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
>> [2015-01-12 11:39:17,252]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>>
>> Any workaround for this would be much apprenticed.
>>
>> Thanks.
>>
>> --
>> *CD Athuraliya*
>> Software Engineering Intern
>> WSO2, Inc.
>> lean . enterprise . middleware
>> Mobile: +94 716288847
>> LinkedIn  | Twitter
>>  | Blog
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>



-- 
*CD Athuraliya*
Software Engineering Intern
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847
LinkedIn  | Twitter
 | Blog 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread CD Athuraliya
Hi Suhan,

Thanks for the resources. I will look into them.

On Mon, Jan 12, 2015 at 2:20 PM, Suhan Dharmasuriya  wrote:

> Hi,
>
> You may find these articles useful for debugging your OSGi application.
>
> [1]
> http://pradeepfernando.blogspot.com/2011/10/debugging-your-osgi-application-using.html
> [2] https://isurues.wordpress.com/2009/01/01/useful-equinox-osgi-commands/
>
> Thanks,
> Suhan
>
> On Mon, Jan 12, 2015 at 2:07 PM, Aruna Karunarathna 
> wrote:
>
>> Hi Athuraliya,
>>
>> This is because some services have not started properly, maybe because of
>> some dependencies not satisfied.
>> Use the OSGi Console to debug to find the root cause.
>>
>> Regards,
>> Aruna
>>
>> On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya 
>> wrote:
>>
>>> Hi all,
>>>
>>> I just built ML product and when I am trying to run it following WARN
>>> (highlighted) appears repeatedly.
>>>
>>> [2015-01-12 11:30:16,174]  INFO
>>> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
>>> Registry in 351ms
>>> [2015-01-12 11:30:17,418]  INFO
>>> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>>>  Registry Mode: READ-WRITE
>>> [2015-01-12 11:30:18,221]  INFO
>>> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
>>> UserStoreMgtDSComponent activated successfully.
>>> [2015-01-12 11:34:44,340]  INFO
>>> {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
>>> http://tiles.apache.org/tags-tiles is already defined
>>> [2015-01-12 11:39:17,250]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>>> delayed due to the following unsatisfied items:
>>> [2015-01-12 11:39:17,251]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
>>> [2015-01-12 11:39:17,251]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
>>> [2015-01-12 11:39:17,252]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
>>> [2015-01-12 11:39:17,252]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGi Service: org.apache.axis2.engine.AxisObserver
>>> [2015-01-12 11:39:17,252]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
>>> [2015-01-12 11:39:17,252]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>>>
>>> Any workaround for this would be much apprenticed.
>>>
>>> Thanks.
>>>
>>> --
>>> *CD Athuraliya*
>>> Software Engineering Intern
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile: +94 716288847
>>> LinkedIn  | Twitter
>>>  | Blog
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Suhan Dharmasuriya
> Software Engineer - Test Automation
>
> *WSO2, Inc. *
>
> lean . enterprise . middleware
> Tel: +94 112 145345
> Mob: +94 779 869138
> Blog: http://suhan-opensource.blogspot.com/
>



-- 
*CD Athuraliya*
Software Engineering Intern
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847
LinkedIn  | Twitter
 | Blog 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Calling an admin service as Tenant from a Jaggery app

2015-01-12 Thread Udara Liyanage
Hi,

I have done this using a custom authenticator, a JWT authenticator. This is
used in AF.

However I have heard that it is possible to use MutualAuth for this.


On Mon, Jan 12, 2015 at 12:56 PM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Hi All,
>
> I have to call an ESB's admin service from a jaggery app with tenant user
> credentials.
>
> I followed the sample http://jaggeryjs.org/documentation.jag?api=ws.  And
> I have to  hard code the username and password.
>
> How can I call the admin service using the credential of currently logged
> in tenant ?
> (The tenant is available in ESB as well)
>
> Thanks
> Senduran
>
>
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ 
> Mobile: +94 77 952 6548
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature installation fails in IS Server P2 profile

2015-01-12 Thread Hasintha Indrajee
Hi all,

Please note $subject. Refer the following trace for the error message
logged.

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Data Bridge - Data Publisher
Aggregate Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.databridge.datapublisher.feature.group 4.3.0.SNAPSHOT)
 Missing requirement: WSO2 Carbon - Data Bridge - Thrift Commons Server
Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.databridge.commons.thrift.server.feature.group
4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.server.feature.group
[4.3.0.SNAPSHOT,4.4.0)' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
4.3.0.SNAPSHOT (org.wso2.carbon.databridge.datapublisher.feature.group
4.3.0.SNAPSHOT)
  To: org.wso2.carbon.databridge.commons.thrift.server.feature.group
[4.3.0.SNAPSHOT]
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread Firzhan Naqash
Hi CD,

Previously there was an issue regarding this. The main reason for this
issue is that carbon security management feature is being packed with two
different WS4J versions.

Those are
wss4j_1.5.11.wso2v7.jar
wss4j_1.5.11.wso2v8-SNAPSHOT.jar

I think this issue has been fixed. Its better if you do a clean repo build.

Regards,
Firzhan

On Mon, Jan 12, 2015 at 2:40 PM, CD Athuraliya  wrote:

> Hi Suhan,
>
> Thanks for the resources. I will look into them.
>
> On Mon, Jan 12, 2015 at 2:20 PM, Suhan Dharmasuriya 
> wrote:
>
>> Hi,
>>
>> You may find these articles useful for debugging your OSGi application.
>>
>> [1]
>> http://pradeepfernando.blogspot.com/2011/10/debugging-your-osgi-application-using.html
>> [2]
>> https://isurues.wordpress.com/2009/01/01/useful-equinox-osgi-commands/
>>
>> Thanks,
>> Suhan
>>
>> On Mon, Jan 12, 2015 at 2:07 PM, Aruna Karunarathna 
>> wrote:
>>
>>> Hi Athuraliya,
>>>
>>> This is because some services have not started properly, maybe because
>>> of some dependencies not satisfied.
>>> Use the OSGi Console to debug to find the root cause.
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya 
>>> wrote:
>>>
 Hi all,

 I just built ML product and when I am trying to run it following WARN
 (highlighted) appears repeatedly.

 [2015-01-12 11:30:16,174]  INFO
 {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
 Registry in 351ms
 [2015-01-12 11:30:17,418]  INFO
 {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
  Registry Mode: READ-WRITE
 [2015-01-12 11:30:18,221]  INFO
 {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
 UserStoreMgtDSComponent activated successfully.
 [2015-01-12 11:34:44,340]  INFO
 {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
 http://tiles.apache.org/tags-tiles is already defined
 [2015-01-12 11:39:17,250]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 [2015-01-12 11:39:17,251]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
 [2015-01-12 11:39:17,251]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
 [2015-01-12 11:39:17,252]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
 [2015-01-12 11:39:17,252]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGi Service: org.apache.axis2.engine.AxisObserver
 [2015-01-12 11:39:17,252]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
 [2015-01-12 11:39:17,252]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT

 Any workaround for this would be much apprenticed.

 Thanks.

 --
 *CD Athuraliya*
 Software Engineering Intern
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847
 LinkedIn  | Twitter
  | Blog
 

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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Suhan Dharmasuriya
>> Software Engineer - Test Automation
>>
>> *WSO2, Inc. *
>>
>> lean . enterprise . middleware
>> Tel: +94 112 145345
>> Mob: +94 779 869138
>> Blog: http://suhan-opensource.blogspot.com/
>>
>
>
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn  | Twitter
>  | Blog
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Waiting for required Modules

2015-01-12 Thread CD Athuraliya
Hi Firzhan,

Thanks for the reply. I will clean build and check.

On Mon, Jan 12, 2015 at 2:38 PM, Firzhan Naqash  wrote:

>
> Hi CD,
>
> Previously there was an issue regarding this. The main reason for this
> issue is that carbon security management feature is being packed with two
> different WS4J versions.
>
> Those are
> wss4j_1.5.11.wso2v7.jar
> wss4j_1.5.11.wso2v8-SNAPSHOT.jar
>
> I think this issue has been fixed. Its better if you do a clean repo build.
>
> Regards,
> Firzhan
>
> On Mon, Jan 12, 2015 at 2:40 PM, CD Athuraliya 
> wrote:
>
>> Hi Suhan,
>>
>> Thanks for the resources. I will look into them.
>>
>> On Mon, Jan 12, 2015 at 2:20 PM, Suhan Dharmasuriya 
>> wrote:
>>
>>> Hi,
>>>
>>> You may find these articles useful for debugging your OSGi application.
>>>
>>> [1]
>>> http://pradeepfernando.blogspot.com/2011/10/debugging-your-osgi-application-using.html
>>> [2]
>>> https://isurues.wordpress.com/2009/01/01/useful-equinox-osgi-commands/
>>>
>>> Thanks,
>>> Suhan
>>>
>>> On Mon, Jan 12, 2015 at 2:07 PM, Aruna Karunarathna 
>>> wrote:
>>>
 Hi Athuraliya,

 This is because some services have not started properly, maybe because
 of some dependencies not satisfied.
 Use the OSGi Console to debug to find the root cause.

 Regards,
 Aruna

 On Mon, Jan 12, 2015 at 12:07 PM, CD Athuraliya 
 wrote:

> Hi all,
>
> I just built ML product and when I am trying to run it following WARN
> (highlighted) appears repeatedly.
>
> [2015-01-12 11:30:16,174]  INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
> Registry in 351ms
> [2015-01-12 11:30:17,418]  INFO
> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>  Registry Mode: READ-WRITE
> [2015-01-12 11:30:18,221]  INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
> UserStoreMgtDSComponent activated successfully.
> [2015-01-12 11:34:44,340]  INFO
> {org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
> http://tiles.apache.org/tags-tiles is already defined
> [2015-01-12 11:39:17,250]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
> is
> delayed due to the following unsatisfied items:
> [2015-01-12 11:39:17,251]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
> [2015-01-12 11:39:17,251]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGi Service: org.apache.axis2.engine.AxisObserver
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.ml.model-0.1.0.SNAPSHOT
> [2015-01-12 11:39:17,252]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>
> Any workaround for this would be much apprenticed.
>
> Thanks.
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn  | Twitter
>  | Blog
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


>>>
>>>
>>> --
>>> Suhan Dharmasuriya
>>> Software Engineer - Test Automation
>>>
>>> *WSO2, Inc. *
>>>
>>> lean . enterprise . middleware
>>> Tel: +94 112 145345
>>> Mob: +94 779 869138
>>> Blog: http://suhan-opensource.blogspot.com/
>>>
>>
>>
>>
>> --
>> *CD Athuraliya*
>> Software Engineering Intern
>> WSO2, Inc.
>> lean . enterprise . middleware
>> Mobile: +94 716288847
>> LinkedIn  | Twitter
>>  | Blog
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/m

[Dev] [REGISTRY-2378 ] - Review and merge the pull request - Feature implementation of Time in current lifecycle state

2015-01-12 Thread Prasanna Dangalla
Hi,

Please merge the pull request [1]. This contains fix for [2]

[1] - https://github.com/wso2-dev/carbon-governance/pull/35
[2] - https://wso2.org/jira/browse/REGISTRY-2378

Thanks
-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [EMM] Automated Testing of Email Sending Functionality of EMM

2015-01-12 Thread Dilan Udara Ariyaratne
Hi Folks,

I am checking the feasibility of writing an automated test case for the
email
sending functionality of emm.

When a user is created, an invitation email is sent to the corresponding
user to register the device.

sendEmail() is currently a jaggery function and is executed via a
non-exposed api to the outside
within EMM Jaggery web application.

What is the best possible way to test this functionality?
Is there a recommended SMTP mail server to use?

If I am using Selenium, to verify "success", I need to capture the status
message
of a dialog popup. How can I do this using Selenium?

Appreciate any feedback on this.

Thanks.

*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94775149066
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Calling an admin service as Tenant from a Jaggery app

2015-01-12 Thread Danushka Fernando
In the jaggery app you can add the user to the session when he logs in to
the application. This is done in appfactory and api manager. You can check
the code. After that as Udara mentioned in previous mail you can use that
username to authenticate the service call. This is also done in appfactory.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Jan 12, 2015 at 2:33 PM, Udara Liyanage  wrote:

> Hi,
>
> I have done this using a custom authenticator, a JWT authenticator. This
> is used in AF.
>
> However I have heard that it is possible to use MutualAuth for this.
>
>
> On Mon, Jan 12, 2015 at 12:56 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have to call an ESB's admin service from a jaggery app with tenant user
>> credentials.
>>
>> I followed the sample http://jaggeryjs.org/documentation.jag?api=ws.
>> And I have to  hard code the username and password.
>>
>> How can I call the admin service using the credential of currently logged
>> in tenant ?
>> (The tenant is available in ESB as well)
>>
>> Thanks
>> Senduran
>>
>>
>> --
>> *Senduran *
>> Software Engineer,
>> WSO2, Inc.;  http://wso2.com/ 
>> Mobile: +94 77 952 6548
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Patch method support for SCIM end points]

2015-01-12 Thread Supun Malinga
Hi,

Merged the PR and sent a PR to org.

thanks,

On Mon, Jan 12, 2015 at 12:35 PM, Supun Malinga  wrote:

> Hi,
>
> We need to review the PR properly before applying it. Will look into this
> as part of AS 6 release.
>
> thanks,
>
> On Mon, Jan 12, 2015 at 12:31 PM, Gayan Gunawardana 
> wrote:
>
>> A gentle reminder!
>>
>> On Tue, Nov 18, 2014 at 10:24 PM, Gayan Gunawardana 
>> wrote:
>>
>>> Hi Sagara,
>>>
>>> New pull request [1].
>>>
>>> [1] https://github.com/wso2-dev/carbon-deployment/pull/45/files
>>>
>>> Thanks,
>>> Gayan
>>>
>>> On Thu, Aug 14, 2014 at 9:51 PM, Sagara Gunathunga 
>>> wrote:
>>>


 Hi Gayan,

 While I'm building carbon-deployment project with your PR I'm getting
 following compilation issues.  Please make sure you can build both
 carbon-deployment and product-as with your change.

 [ERROR]
 /Users/sagara/dev/code/wso2/wso2-dev/carbon-deployment/components/webapp-mgt/org.wso2.carbon.cxf.ext/src/main/java/org/wso2/carbon/webapp/ext/jaxrs/designator/Patch.java:[32,9]
 class PATCH is public, should be declared in a file named PATCH.java

 [ERROR]
 /Users/sagara/dev/code/wso2/wso2-dev/carbon-deployment/components/webapp-mgt/org.wso2.carbon.cxf.ext/src/main/java/org/wso2/carbon/webapp/ext/jaxrs/designator/Patch.java:[22,19]
 package javax.ws.rs does not exist

 Thanks !



 On Wed, Jul 30, 2014 at 11:49 AM, Gayan Gunawardana 
 wrote:

> Hi,
>
> Please find [1]. I couldn't mention in the previous mail.
>
> [1] https://github.com/wso2-dev/product-as/pull/19
> 
>
>
> On Tue, Jul 29, 2014 at 11:55 PM, Sagara Gunathunga 
> wrote:
>
>>
>>
>> Hi Gayan,
>>
>> I couldn't find any PR related to a test case, can you please attend
>> to needful ?
>>
>> Thanks !
>>
>> On Tue, Jul 29, 2014 at 2:33 PM, Gayan Gunawardana 
>> wrote:
>>
>>> Hi All,
>>>
>>> Please review and merge [1]
>>>
>>> [1] https://github.com/wso2-dev/carbon-deployment/pull/13
>>>
>>> Thanks,
>>> Gayan
>>>
>>>
>>> On Fri, Jul 25, 2014 at 9:54 PM, Prabath Siriwardena <
>>> prab...@wso2.com> wrote:
>>>



 On Fri, Jul 25, 2014 at 9:52 PM, Sagara Gunathunga >>> > wrote:

>
>
>
> On Fri, Jul 25, 2014 at 5:37 PM, Gayan Gunawardana  > wrote:
>
>> Hi All,
>>
>> I have added custom implementation for PATCH as mention in [1].
>> What is the package naming convention we can use for this 
>> implementation.
>> Will it be fine something like "org.wso2.identity.annotations" ?
>>
>> [1]
>> http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-HTTPMethod
>>
>>
>
>
> In case if you want to move this class into cxf.ext[1] component
> you could use "org.wso2.carbon.webapp.ext.jaxrs.designator" package 
> name,
> this[2] may help you to write test cases for this.
>

 +1

 Thanks & regards,
 -Prabath


>
> [1] -
> https://github.com/wso2-dev/carbon-deployment/tree/master/components/webapp-mgt/org.wso2.carbon.cxf.ext
> [2] -
> https://github.com/wso2-dev/product-as/tree/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/webapp/classloading
>
> Thanks !
>
>
>>
>>
>> On Mon, Jul 7, 2014 at 12:22 PM, Gayan Gunawardana <
>> ga...@wso2.com> wrote:
>>
>>> Thanks Ishara & Supun.
>>>
>>> Will proceed accordingly.
>>>
>>> Thanks,
>>> Gayan
>>>
>>>
>>> On Mon, Jul 7, 2014 at 12:11 PM, Supun Malinga 
>>> wrote:
>>>
 yeah. it looks like patch method is not supported OOTB, since
 as per the spec[5] patch method is not specified. So the usual 
 practice
 seems to be implementing it by the user..

 [5]
 http://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html

 thanks,


 On Mon, Jul 7, 2014 at 12:01 PM, Ishara Karunarathna <
 isha...@wso2.com> wrote:

> Hi Gayan,
>
>
> On Mon, Jul 7, 2014 at 11:46 AM, Gayan Gunawardana <
> ga...@wso2.com> wrote:
>
>> Hi All,
>>
>> The requirement based on [1]. Since wso2 identity server can
>> act as a SCIM provider, it exposes  REST 

Re: [Dev] What is the recommended JSON message builder/formatter?

2015-01-12 Thread Shashika Karunatilaka
HI Vijayaratha,

You can get some idea, Follow this [1]

[1]
http://charithaka.blogspot.co.uk/2013/10/the-difference-between-json-streaming.html

On Mon, Jan 12, 2015 at 12:44 PM, Vijayaratha Vijayasingam 
wrote:

> Hi;
> I see 3 implementations for JSON message handling.
>
>- org.apache.synapse.commons.json.*
>- org.apache.axis2.json.JSON*
>- org.apache.axis2.json.JSONBadgerfish*
>
>
> Are we using axis2 implementation/moved to synapse implementation? What
> are the pros in synapse implementation?
>
> Thanks.
>
> --
> -Ratha
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failed in Jenkins: product-es #4755

2015-01-12 Thread Ayesha Dissanayaka
Hi all,

We are still getting the earlier mentioned ES build error, similar error
discussed in [1].
I have updated the carbon.kernel.version to 4.3.0 locally as mentioned
earlier and in some-other relevant version changes. I built
carbon-registry[2] and carbon-governance[3] repos locally with latest
changes.

When I tried to build BPS[4] locally it fails giving below error stack.

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Attachment Management Server
Feature 4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
4.3.0.SNAPSHOT)
 Missing requirement: WSO2 Carbon - Attachment Management Server Feature
4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.feature.group
[4.3.0.SNAPSHOT,4.4.0)' but it could not be found
Application failed, log file location:
/home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058011430.log

Hence, we cannot pass the build fail point in ES at,
Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Data Bridge - Data Publisher
Aggregate Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.databridge.datapublisher.feature.group 4.3.0.SNAPSHOT)
 Missing requirement: WSO2 Carbon - Data Bridge - Thrift Commons Server
Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.databridge.commons.thrift.server.feature.group
4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.server.feature.group
[4.3.0.SNAPSHOT,4.4.0)' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
4.3.0.SNAPSHOT (org.wso2.carbon.databridge.datapublisher.feature.group
4.3.0.SNAPSHOT)
  To: org.wso2.carbon.databridge.commons.thrift.server.feature.group
[4.3.0.SNAPSHOT]
Application failed, log file location:
/home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058005328.log

Please pay attention to this since it blocks ES development tasks as well
as its dependents.

[1] "[Dev] Errors seen while building CDM p2-profile"
[2] https://github.com/wso2-dev/carbon-registry
[3] https://github.com/wso2-dev/carbon-governance
[4] https://github.com/wso2-dev/product-bps

Thanks!
- Ayesha

On Mon, Jan 12, 2015 at 11:32 AM, Pulasthi Supun  wrote:

> Hi Sagara/Manoj
>
> The registry and governance jars are available in the snapshot repo [1].
> The error above seems to be because they are importing a wrong registry
> core version in the OSGI imports.
>
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Governance Metadata Feature
> 4.3.0.SNAPSHOT (org.wso2.carbon.governance.metadata.feature.group
> 4.3.0.SNAPSHOT)
>  Missing requirement: org.wso2.carbon.registry.extensions 4.3.0.SNAPSHOT
> (org.wso2.carbon.registry.extensions 4.3.0.SNAPSHOT) requires 'package
> org.wso2.carbon.registry.core [4.3.0,4.4.0)' but it could not be found
>
> The imported " org.wso2.carbon.registry.core.*" should be "[1.0.1, 2.0.0)"
> not " [4.3.0,4.4.0)"
>
>
> [1]
> http://maven.wso2.org/nexus/content/repositories/snapshots//org/wso2/carbon/org.wso2.carbon.governance.api/4.3.0-SNAPSHOT/
>
>
>
> Best Regards,
> Pulasthi
>
> On Mon, Jan 12, 2015 at 11:03 AM, Sagara Gunathunga 
> wrote:
>
>>
>> Hi Pulasthi/Team,
>>
>> Can you please check why carbon-registry and carbon-governance snapshots
>> are not available on snapshot repo ?  As we are planning M2 release this
>> week please fix this ASAP.
>>
>> Thanks !
>>
>> On Mon, Jan 12, 2015 at 10:59 AM, Manoj Gunawardena 
>> wrote:
>>
>>> Hi All,
>>>
>>> Getting build fail alerts from jenkins continuously, The registry
>>> components and governance components not exists in the repo. After
>>> carbon-registry and carbon-governance build locally able to build the ES
>>> successfully.  Is somebody looking on this? Or Please advice is there any
>>> change need from ES side.
>>>
>>> Thanks
>>>
>>> On Mon, Jan 12, 2015 at 10:49 AM,  wrote:
>>>
 See 

 --
 [...truncated 1941 lines...]
 Generating metadata for ..
 Generation completed with success [5 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO]
 [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) @ wso2es-profile-gen ---
 [INFO] Running Equinox P2 Director Application
 [INFO] Command line:
 /bin/sh -c cd <
 https://wso2.org/jenkins/job/product-es/ws/modules/p2-profile-gen> &&
 /build/software/java/jdk1.6.0_33/jre/bin/java -jar <
 https://wso2.org/jenkins/job/product-es/ws/.repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-161

[Dev] Error occured while building the carbon-storage-management

2015-01-12 Thread Madhawa Gunasekara
Hi all,

I'm getting this following error message while building
carbon-storage-management.

[ERROR] Failed to execute goal on project
org.wso2.carbon.cassandra.datareader.feature: Could not resolve
dependencies for project
org.wso2.carbon:org.wso2.carbon.cassandra.datareader.feature:pom:4.3.0-SNAPSHOT:
Could not find artifact
org.apache.cassandra.wso2:cassandra-thrift:jar:1.2.13.wso2v6 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]

Above problem occurred in WSO2 Carbon - Cassandra client Feature.
How can I overcome this problem ?

Thanks
Madhawa

-- 
*Madhawa Gunasekara*
Software Engineering Intern
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] Build failed in Jenkins: product-es #4755

2015-01-12 Thread Thushara Ranawaka
Hi,

Due to $subject we are unable to build product greg as well.

Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT.

Installation failed.

Cannot complete the install because one or more required items could not be
found.

 Software being installed: WSO2 Enterprise Store Feature 2.0.0.SNAPSHOT
(org.wso2.es.feature.group 2.0.0.SNAPSHOT)

 Missing requirement: WSO2 Enterprise Store Feature 2.0.0.SNAPSHOT
(org.wso2.es.feature.group 2.0.0.SNAPSHOT) requires
'org.wso2.carbon.social.feature.group [1.1.0.SNAPSHOT,1.2.0)' but it could
not be found

Application failed, log file location:
/Users/thushara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421061991962.log


Please look into the issue.

On Mon, Jan 12, 2015 at 4:56 PM, Ayesha Dissanayaka  wrote:

> Hi all,
>
> We are still getting the earlier mentioned ES build error, similar error
> discussed in [1].
> I have updated the carbon.kernel.version to 4.3.0 locally as mentioned
> earlier and in some-other relevant version changes. I built
> carbon-registry[2] and carbon-governance[3] repos locally with latest
> changes.
>
> When I tried to build BPS[4] locally it fails giving below error stack.
>
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Attachment Management Server
> Feature 4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
> 4.3.0.SNAPSHOT)
>  Missing requirement: WSO2 Carbon - Attachment Management Server Feature
> 4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
> 4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.feature.group
> [4.3.0.SNAPSHOT,4.4.0)' but it could not be found
> Application failed, log file location:
> /home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058011430.log
>
> Hence, we cannot pass the build fail point in ES at,
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Data Bridge - Data Publisher
> Aggregate Feature 4.3.0.SNAPSHOT
> (org.wso2.carbon.databridge.datapublisher.feature.group 4.3.0.SNAPSHOT)
>  Missing requirement: WSO2 Carbon - Data Bridge - Thrift Commons Server
> Feature 4.3.0.SNAPSHOT
> (org.wso2.carbon.databridge.commons.thrift.server.feature.group
> 4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.server.feature.group
> [4.3.0.SNAPSHOT,4.4.0)' but it could not be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
> 4.3.0.SNAPSHOT (org.wso2.carbon.databridge.datapublisher.feature.group
> 4.3.0.SNAPSHOT)
>   To: org.wso2.carbon.databridge.commons.thrift.server.feature.group
> [4.3.0.SNAPSHOT]
> Application failed, log file location:
> /home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058005328.log
>
> Please pay attention to this since it blocks ES development tasks as well
> as its dependents.
>
> [1] "[Dev] Errors seen while building CDM p2-profile"
> [2] https://github.com/wso2-dev/carbon-registry
> [3] https://github.com/wso2-dev/carbon-governance
> [4] https://github.com/wso2-dev/product-bps
>
> Thanks!
> - Ayesha
>
> On Mon, Jan 12, 2015 at 11:32 AM, Pulasthi Supun 
> wrote:
>
>> Hi Sagara/Manoj
>>
>> The registry and governance jars are available in the snapshot repo [1].
>> The error above seems to be because they are importing a wrong registry
>> core version in the OSGI imports.
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Governance Metadata Feature
>> 4.3.0.SNAPSHOT (org.wso2.carbon.governance.metadata.feature.group
>> 4.3.0.SNAPSHOT)
>>  Missing requirement: org.wso2.carbon.registry.extensions 4.3.0.SNAPSHOT
>> (org.wso2.carbon.registry.extensions 4.3.0.SNAPSHOT) requires 'package
>> org.wso2.carbon.registry.core [4.3.0,4.4.0)' but it could not be found
>>
>> The imported " org.wso2.carbon.registry.core.*" should be "[1.0.1,
>> 2.0.0)" not " [4.3.0,4.4.0)"
>>
>>
>> [1]
>> http://maven.wso2.org/nexus/content/repositories/snapshots//org/wso2/carbon/org.wso2.carbon.governance.api/4.3.0-SNAPSHOT/
>>
>>
>>
>> Best Regards,
>> Pulasthi
>>
>> On Mon, Jan 12, 2015 at 11:03 AM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>> Hi Pulasthi/Team,
>>>
>>> Can you please check why carbon-registry and carbon-governance
>>> snapshots are not available on snapshot repo ?  As we are planning M2
>>> release this week please fix this ASAP.
>>>
>>> Thanks !
>>>
>>> On Mon, Jan 12, 2015 at 10:59 AM, Manoj Gunawardena 
>>> wrote:
>>>
 Hi All,

 Getting build fail alerts from jenkins continuously, The registry
 components and governance components not exists in the repo. After
 carbon-registry and carbon-governance build locally able to build the ES
 successfully.  Is somebody looking on this? Or Plea

Re: [Dev] WSO2 Committers += Pirinthapan Mahendran

2015-01-12 Thread Priyadarssini Kishokumar
Congratulations Pirinthapan..!!

On Mon, Jan 12, 2015 at 10:47 AM, Isuru Ranawaka  wrote:

> Congratulations Pirinthapan!!!
>
> On Mon, Jan 12, 2015 at 10:12 AM, Sandamal Weerasinghe 
> wrote:
>
>> Congratulations!
>>
>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>
>> Mobile - +94-77-144-9640
>>
>> On Mon, Jan 12, 2015 at 10:07 AM, Sajini De Silva 
>> wrote:
>>
>>> Congratulations Pirinthapan!!!
>>>
>>> On Mon, Jan 12, 2015 at 10:06 AM, Vanii Thiyagarajah 
>>> wrote:
>>>
 congratulations Pirunthapan

 On Mon, Jan 12, 2015 at 10:04 AM, Elilmatha Sivanesan <
 elilma...@wso2.com> wrote:

> Congratulations Pirinthapan
>
>
> On Mon, Jan 12, 2015 at 10:01 AM, Kalpa Welivitigoda 
> wrote:
>
>> Congratulations Pirinthapan !
>>
>> On Mon, Jan 12, 2015 at 10:00 AM, Kesavan Yogarajah <
>> kesav...@wso2.com> wrote:
>>
>>> Congratulations Pirinthapan !
>>>
>>>
>>>
>>> Kesavan Yogarajah
>>> Associate Software Engineer
>>> WSO2 Inc.
>>>
>>> Mob: +94 779758021
>>>
>>> On Mon, Jan 12, 2015 at 9:58 AM, Samith Dassanayake >> > wrote:
>>>
 Congratulations Pirinthapan!

 On Sun, Jan 11, 2015 at 7:04 AM, Harsha Thirimanna <
 hars...@wso2.com> wrote:

> Congratulations...
> On Jan 11, 2015 6:11 AM, "Sam Sivayogam"  wrote:
>
>> Congratulations Pirinthapan :)
>>
>> On Sun, Jan 11, 2015 at 2:11 AM, Harsha Kumara 
>> wrote:
>>
>>> Congratulations Pirinthapan!
>>>
>>> On Sat, Jan 10, 2015 at 10:38 PM, Keerthika Mahendralingam <
>>> keerth...@wso2.com> wrote:
>>>
 Congrats!

 On Sat, Jan 10, 2015 at 5:45 PM, Milinda Perera <
 milin...@wso2.com> wrote:

> Congratulations Pirinthapan ..
>
> On Sat, Jan 10, 2015 at 4:44 PM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Congrats!
>>
>> On Sat, Jan 10, 2015 at 10:35 AM, Dilan Udara Ariyaratne <
>> dil...@wso2.com> wrote:
>>
>>> Congratulations Pirinthapan !!!
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Sat, Jan 10, 2015 at 10:09 AM, Senduran Balasubramaniyam
>>>  wrote:
>>>
 Congratulations Printhapan !!!

 On Fri, Jan 9, 2015 at 7:31 PM, Kasun De Silva <
 kas...@wso2.com> wrote:

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


 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ 
 Mobile: +94 77 952 6548

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


>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>>
>> Software Engineer | WSO2 Inc
>> Data & APIs Technologies Team
>> Mobile : +94 773922820
>>
>> 
>> 
>> 
>>   
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milinda Perera
> Software Engineer;
> WSO2 Inc. http://wso2.com ,
> Mobile: (+94) 714 115 032
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>>

[Dev] Please review and merge the pull request : New Integration Test cases for ESB

2015-01-12 Thread Priyadarssini Kishokumar
Hi,

Please merge pull request for Inbound [1] & Tracer [2] test cases.

[1] https://github.com/wso2-dev/product-esb/pull/136

[2] https://github.com/wso2-dev/product-esb/pull/137

-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pirinthapan Mahendran

2015-01-12 Thread Gayashan Amarasinghe
Congratulations Pirinthapan!!!

On Fri, Jan 9, 2015 at 6:59 PM, Dimuthu Leelarathne 
wrote:

> Hi all,
>
> It is with great pleasure that WSO2 welcomes Pirinthapan Mahendran as WSO2
> committer!
>
> Congratulations!
>
> thanks,
> Dimuthu
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Gayashan Amarasinghe*
Software Engineer | Platform TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-12 Thread Gayashan Amarasinghe
Congratulations Sameera!!!

On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha  wrote:

> Hi All,
>
> It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer. Sameera
> is a member of WSO2 UES/ES team and has done a great contribution to WSO2
> ES product showing a great enthusiasm in her work. In recognition of her
> contribution, she has been voted as a WSO2 Committer.
>
> Sameera, welcome aboard and keep up the good work..
>
> /Ruchira
>
> --
>
> *Ruchira Wageesha**Associate Technical Lead*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>
> *email: ruch...@wso2.com ,   blog:
> ruchirawageesha.blogspot.com ,
> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Gayashan Amarasinghe*
Software Engineer | Platform TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-12 Thread Gayashan Amarasinghe
Congratulations Ayesha!!!

On Mon, Jan 5, 2015 at 1:13 PM, Ruchira Wageesha  wrote:

> Hi All,
>
> It's my pleasure to welcome Ayesha Dissanayaka as a WSO2 Committer. Ayesha
> is a member of WSO2 UES/ES team and has done a great contribution to WSO2
> ES product showing a great enthusiasm in her work. In recognition of her
> contribution, she has been voted as a WSO2 Committer.
>
> Ayesha, welcome aboard and keep up the good work..
>
> /Ruchira
>
> --
>
> *Ruchira Wageesha**Associate Technical Lead*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>
> *email: ruch...@wso2.com ,   blog:
> ruchirawageesha.blogspot.com ,
> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Gayashan Amarasinghe*
Software Engineer | Platform TG
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94718314517
Blog : gayashan-a.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Pirinthapan Mahendran

2015-01-12 Thread Vijitha Ekanayake
Congratulations Pirinthapan !!!

On Mon, Jan 12, 2015 at 5:28 PM, Gayashan Amarasinghe 
wrote:

> Congratulations Pirinthapan!!!
>
> On Fri, Jan 9, 2015 at 6:59 PM, Dimuthu Leelarathne 
> wrote:
>
>> Hi all,
>>
>> It is with great pleasure that WSO2 welcomes Pirinthapan Mahendran as
>> WSO2 committer!
>>
>> Congratulations!
>>
>> thanks,
>> Dimuthu
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-12 Thread Vijitha Ekanayake
Congratulations Sameera !!!

On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
wrote:

> Congratulations Sameera!!!
>
> On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha  wrote:
>
>> Hi All,
>>
>> It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
>> Sameera is a member of WSO2 UES/ES team and has done a great contribution
>> to WSO2 ES product showing a great enthusiasm in her work. In recognition
>> of her contribution, she has been voted as a WSO2 Committer.
>>
>> Sameera, welcome aboard and keep up the good work..
>>
>> /Ruchira
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com ,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-12 Thread Vijitha Ekanayake
Congratulations Ayesha !!!

On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
wrote:

> Congratulations Ayesha!!!
>
> On Mon, Jan 5, 2015 at 1:13 PM, Ruchira Wageesha  wrote:
>
>> Hi All,
>>
>> It's my pleasure to welcome Ayesha Dissanayaka as a WSO2 Committer.
>> Ayesha is a member of WSO2 UES/ES team and has done a great contribution to
>> WSO2 ES product showing a great enthusiasm in her work. In recognition of
>> her contribution, she has been voted as a WSO2 Committer.
>>
>> Ayesha, welcome aboard and keep up the good work..
>>
>> /Ruchira
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com ,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Gayashan Amarasinghe*
> Software Engineer | Platform TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94718314517
> Blog : gayashan-a.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the pull request : TOOLS-2527

2015-01-12 Thread Rajeevan Vimalanathan
Hi,

Please merge pull request[1] that includes fix for JIRA[2].

[1] https://github.com/wso2-dev/developer-studio/pull/125

[2] https://wso2.org/jira/browse/TOOLS-2527

Thanks,
Rajeevan

-- 
Best Regards,
V.Rajeevan
Software Engineer,
WSO2 Inc. :http://wso2.com

Mobile : +94 773090875
Email : rajeev...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure due to missing package in axiom 1.2.11.wso2v5

2015-01-12 Thread Supun Malinga
Hi,

This was fixed after fixing an issue in p2 pom in MB product.

thanks,

On Mon, Jan 12, 2015 at 12:27 PM, Shashika Karunatilaka 
wrote:

> HI Pamod,
>
> As per our offline chat, can you try to build the product using java 1.6
>
> Thank you.
>
> On Thu, Jan 8, 2015 at 8:43 PM, Pamod Sylvester  wrote:
>
>> Hi All,
>>
>> When building our product we're seeing the following issue,
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
>> (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)
>> * Missing requirement: axiom 1.2.11.wso2v5 (axiom 1.2.11.wso2v5) requires
>> 'package org.w3c.dom 0.0.0' but it could not be found*
>> * Cannot satisfy dependency:*
>> *  From: axis2 1.6.1.wso2v11 (axis2 1.6.1.wso2v11)*
>> *  To: package javax.mail.internet 1.4.0*
>> * Cannot satisfy dependency:*
>> *  From: org.wso2.carbon.andes 4.3.0.SNAPSHOT (org.wso2.carbon.andes
>> 4.3.0.SNAPSHOT)*
>> *  To: package org.apache.axis2.clustering [1.6.1.wso2v11,1.7.0)*
>> * Cannot satisfy dependency:*
>> *  From: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
>> (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)*
>> *  To: org.wso2.carbon.andes.server.feature.group [4.3.0.SNAPSHOT]*
>> * Cannot satisfy dependency:*
>> *  From: WSO2 Carbon - Feature - Andes - Server 4.3.0.SNAPSHOT
>> (org.wso2.carbon.andes.server.feature.group 4.3.0.SNAPSHOT)*
>> *  To: org.wso2.carbon.andes [4.3.0.SNAPSHOT]*
>>
>> Also found some what slimier issues being pointed out in [1], but a
>> proper solution was not discussed. Please do advice. Also I've attached the
>> full log trace.
>>
>> [1] http://www.eclipse.org/forums/index.php/t/373379/
>>
>> Thanks,
>> Pamod
>>
>> --
>> *Pamod Sylvester *
>>  *Senior Software Engineer *
>> Integration Technologies Team, WSO2 Inc.; http://wso2.com
>> email: pa...@wso2.com cell: +94 77 7779495
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Automated Testing of Email Sending Functionality of EMM

2015-01-12 Thread Krishantha Samaraweera
Do you need to configure mail transport in this case ? if yes, in which
file ?

Thanks,
Krishantha

On Mon, Jan 12, 2015 at 3:40 PM, Dilan Udara Ariyaratne 
wrote:

> Hi Folks,
>
> I am checking the feasibility of writing an automated test case for the
> email
> sending functionality of emm.
>
> When a user is created, an invitation email is sent to the corresponding
> user to register the device.
>
> sendEmail() is currently a jaggery function and is executed via a
> non-exposed api to the outside
> within EMM Jaggery web application.
>
> What is the best possible way to test this functionality?
> Is there a recommended SMTP mail server to use?
>
> If I am using Selenium, to verify "success", I need to capture the status
> message
> of a dialog popup. How can I do this using Selenium?
>
> Appreciate any feedback on this.
>
> Thanks.
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>



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


[Dev] [Storage Server] Error when adding database in rss manager for postgreSQL

2015-01-12 Thread Dhanushka Priyasad
The following error occurred when adding a database. I configured
rss-config.xml according to the doc [1] for postgreSQL (configured URL as
jdbc:postgresql://localhost:5432).

[2015-01-12 17:18:19,331] ERROR
{org.wso2.carbon.rssmanager.core.manager.AbstractRSSManager} -  Error while
creating the database 'TestDB' on RSS instance 'WSO2RSS1' : Error while
acquiring data source connection : Database Server
mayunavailableDriver:org.postgresql.Driver@6766debb returned null for
URL:jdbc:postgresql://localhost:5432
org.wso2.carbon.rssmanager.core.dao.exception.RSSDatabaseConnectionException:
Error while acquiring data source connection : Database Server
mayunavailableDriver:org.postgresql.Driver@6766debb returned null for
URL:jdbc:postgresql://localhost:5432
at
org.wso2.carbon.rssmanager.core.dto.restricted.RSSInstanceDSWrapper.getConnection(RSSInstanceDSWrapper.java:60)
at
org.wso2.carbon.rssmanager.core.manager.AbstractRSSManager.getConnection(AbstractRSSManager.java:139)
at
org.wso2.carbon.rssmanager.core.manager.impl.postgres.PostgresSystemRSSManager.addDatabase(PostgresSystemRSSManager.java:104)
at
org.wso2.carbon.rssmanager.core.manager.adaptor.RSSManagerAdaptorImpl.addDatabase(RSSManagerAdaptorImpl.java:91)
at
org.wso2.carbon.rssmanager.core.manager.adaptor.EnvironmentAdaptor.addDatabase(EnvironmentAdaptor.java:173)
at
org.wso2.carbon.rssmanager.core.service.RSSAdmin.addDatabase(RSSAdmin.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub.addDatabase(RSSAdminStub.java:3208)
at
org.wso2.carbon.rssmanager.ui.RSSManagerClient.createDatabase(RSSManagerClient.java:115)
at
org.apache.jsp.rssmanager.databaseOps_005fajaxprocessor_jsp._jspService(databaseOps_005fajaxprocessor_jsp.java:139)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.Standa

Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-12 Thread Pirinthapan Mahendran
Congratulations Ayesha !!



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Mon, Jan 12, 2015 at 5:38 PM, Vijitha Ekanayake 
wrote:

> Congratulations Ayesha !!!
>
> On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
> wrote:
>
>> Congratulations Ayesha!!!
>>
>> On Mon, Jan 5, 2015 at 1:13 PM, Ruchira Wageesha 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to welcome Ayesha Dissanayaka as a WSO2 Committer.
>>> Ayesha is a member of WSO2 UES/ES team and has done a great contribution to
>>> WSO2 ES product showing a great enthusiasm in her work. In recognition of
>>> her contribution, she has been voted as a WSO2 Committer.
>>>
>>> Ayesha, welcome aboard and keep up the good work..
>>>
>>> /Ruchira
>>>
>>> --
>>>
>>> *Ruchira Wageesha**Associate Technical Lead*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> *
>>>
>>> *email: ruch...@wso2.com ,   blog:
>>> ruchirawageesha.blogspot.com ,
>>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-12 Thread Pirinthapan Mahendran
Congratulations Sameera !!



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Mon, Jan 12, 2015 at 5:37 PM, Vijitha Ekanayake 
wrote:

> Congratulations Sameera !!!
>
> On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
> wrote:
>
>> Congratulations Sameera!!!
>>
>> On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
>>> Sameera is a member of WSO2 UES/ES team and has done a great contribution
>>> to WSO2 ES product showing a great enthusiasm in her work. In recognition
>>> of her contribution, she has been voted as a WSO2 Committer.
>>>
>>> Sameera, welcome aboard and keep up the good work..
>>>
>>> /Ruchira
>>>
>>> --
>>>
>>> *Ruchira Wageesha**Associate Technical Lead*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> *
>>>
>>> *email: ruch...@wso2.com ,   blog:
>>> ruchirawageesha.blogspot.com ,
>>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-12 Thread Pirinthapan Mahendran
Answered in
http://stackoverflow.com/questions/27790590/modifying-server-response-payload-json

Thanks.



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Tue, Jan 6, 2015 at 10:33 AM, Shiva Balachandran  wrote:

> Hi Maz,
>
> Are you sure the value of the expression in
>
>  
>
>   
>  
>
> is correct? I think it should be " expression="$.ipAddress" ". Also try
> initially using "ipAddress" instead of "IP Address" in the above given
> context.
>
> Thank you.
>
> Regards
> Shiva Balachandran
>
> On Tue, Jan 6, 2015 at 7:09 AM, Maz Lakadia  wrote:
>
>> I'm modifying a response sent by a server. To do this I've set up a test
>> API that is meant to just send back the IP, in a format like this:
>>
>> {
>>   "origin": "202.37.75.130"
>> }
>>
>> My unmodified code gives me back what I want.
>>
>> What I wish to do as a test is to change the name of "origin" to "IP
>> Address", hopefully getting a response like this:
>>
>> {
>>   "IP Address": "202.37.75.130"
>> }
>>
>> To do this I've modified my outSequence section of the code, to be this
>> (all I've added is the PayloadFactoryMediator section, the filter was there
>> before):
>>
>>
>> 
>>   
>> {
>>   "IP Address" : {
>>   "$1"
>>   }
>>   }
>> 
>> 
>>   
>> 
>>   
>>   
>> 
>>   > expression="get-property('CORS_ORIGIN')" scope="transport"/>
>>   > value="Assertion,X-Jwt-Assertion,X-User-Name,X-User-Domain" 
>> scope="transport"/>
>> 
>>   
>>   
>> 
>>
>> However, when I curl to the API as before I get a response:
>>
>> curl: (52) Empty reply from server
>>
>> Can anybody tell me what I may have done wrong?
>>
>>
>> Thanks,
>> Maz
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clustering Agent Issue while running ESB 4.8.1 sample 57

2015-01-12 Thread Vijitha Ekanayake
I tried to run ESB Sample 57 [1] on ESB 4.8.1 and got an error as follows.

"ERROR_EXCEPTION : org.apache.synapse.SynapseException: A
LoadBalanceEventHandler has not been specified in the axis2.xml file
for the domain apache.axis2.application.domain".

I went through following  mail threads [2] [3] [4] which already
discussed about the same error before. I tried suggestions provided by
[2] and [3] but still getting the same error.

To my knowledge, the reason for this is the incompatibility between
the clustering mechanisms used in ESB 4.8.1 (HazelCast) and the sample
Axis2 server (Apache Tribes).
*Can we cluster axis2 server with Hazalcast or Is there any solution
for this issue?*


[2015-01-12 16:00:09,464] DEBUG - DynamicLoadbalanceEndpoint Couldn't
find the Cookie header to find the session
[2015-01-12 16:00:09,464] ERROR - Axis2LoadBalanceMembershipHandler A
LoadBalanceEventHandler has not been specified in the axis2.xml file
for the domain apache.axis2.application.domain
[2015-01-12 16:00:09,465]  WARN - SynapseMessageReceiver Executing
fault handler due to exception encountered
[2015-01-12 16:00:09,466]  WARN - FaultHandler ERROR_CODE : 0
[2015-01-12 16:00:09,466]  WARN - FaultHandler ERROR_MESSAGE : A
LoadBalanceEventHandler has not been specified in the axis2.xml file
for the domain apache.axis2.application.domain
[2015-01-12 16:00:09,466]  WARN - FaultHandler ERROR_DETAIL :
org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not
been specified in the axis2.xml file for the domain
apache.axis2.application.domain
at 
org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77)
at 
org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115)
at 
org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
at 
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at 
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at 
org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
at 
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at 
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at 
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at 
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
at 
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at 
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
at 
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at 
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)

[2015-01-12 16:00:09,467]  WARN - FaultHandler ERROR_EXCEPTION :
org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not
been specified in the axis2.xml file for the domain
apache.axis2.application.domain
[2015-01-12 16:00:09,467]  WARN - FaultHandler FaultHandler :
org.apache.synapse.mediators.MediatorFaultHandler@4d7d603e
[2015-01-12 16:00:09,467]  WARN - MediatorFaultHandler Executing fault
handler mediator : errorHandler
[2015-01-12 16:00:09,467] DEBUG - SequenceMediator Start : Sequence



[1].
https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes
[2].
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html
[3].
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-WSO2-WSB-Sample-57-Dynamic-load-balancing-between-3-nodes-Missing-LoadBalanceEventHandler-td89942.html
[4]. http://mail.wso2.org/mailarchive/dev/2014-April/029411.html

-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MB] Error while doing sample - Receiving Messages with JMS Message Listener

2015-01-12 Thread Mahesh Chinthaka
Hi all,
I was trying MB sample[1] and got following error.
Anybody knows how to overcome this ?

Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at
org.wso2.andes.jndi.PropertiesFileInitialContextFactory.(PropertiesFileInitialContextFactory.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.InitialContext.(InitialContext.java:216)
at MessageListenerClient.initQueue(MessageListenerClient.java:120)
at MessageListenerClient.registerSubscribers(MessageListenerClient.java:37)
at MessageListenerClient.main(MessageListenerClient.java:32)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 19 more

[1] -
https://docs.wso2.com/display/MB220/Receiving+Messages+with+JMS+Message+Listener

-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: mahe...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure due to missing package in axiom 1.2.11.wso2v5

2015-01-12 Thread Supun Malinga
Hi,

Actually issue is where some deployed snapshots in nexus have
4.3.0-SNAPSHOT versions. After locally building these issue was resolved.

http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/org.wso2.carbon.databridge.datapublisher.feature/4.3.0-SNAPSHOT/

thanks,

On Mon, Jan 12, 2015 at 5:50 PM, Supun Malinga  wrote:

> Hi,
>
> This was fixed after fixing an issue in p2 pom in MB product.
>
> thanks,
>
> On Mon, Jan 12, 2015 at 12:27 PM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> HI Pamod,
>>
>> As per our offline chat, can you try to build the product using java 1.6
>>
>> Thank you.
>>
>> On Thu, Jan 8, 2015 at 8:43 PM, Pamod Sylvester  wrote:
>>
>>> Hi All,
>>>
>>> When building our product we're seeing the following issue,
>>>
>>> Cannot complete the install because one or more required items could not
>>> be found.
>>>  Software being installed: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)
>>> * Missing requirement: axiom 1.2.11.wso2v5 (axiom 1.2.11.wso2v5)
>>> requires 'package org.w3c.dom 0.0.0' but it could not be found*
>>> * Cannot satisfy dependency:*
>>> *  From: axis2 1.6.1.wso2v11 (axis2 1.6.1.wso2v11)*
>>> *  To: package javax.mail.internet 1.4.0*
>>> * Cannot satisfy dependency:*
>>> *  From: org.wso2.carbon.andes 4.3.0.SNAPSHOT (org.wso2.carbon.andes
>>> 4.3.0.SNAPSHOT)*
>>> *  To: package org.apache.axis2.clustering [1.6.1.wso2v11,1.7.0)*
>>> * Cannot satisfy dependency:*
>>> *  From: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)*
>>> *  To: org.wso2.carbon.andes.server.feature.group [4.3.0.SNAPSHOT]*
>>> * Cannot satisfy dependency:*
>>> *  From: WSO2 Carbon - Feature - Andes - Server 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.andes.server.feature.group 4.3.0.SNAPSHOT)*
>>> *  To: org.wso2.carbon.andes [4.3.0.SNAPSHOT]*
>>>
>>> Also found some what slimier issues being pointed out in [1], but a
>>> proper solution was not discussed. Please do advice. Also I've attached the
>>> full log trace.
>>>
>>> [1] http://www.eclipse.org/forums/index.php/t/373379/
>>>
>>> Thanks,
>>> Pamod
>>>
>>> --
>>> *Pamod Sylvester *
>>>  *Senior Software Engineer *
>>> Integration Technologies Team, WSO2 Inc.; http://wso2.com
>>> email: pa...@wso2.com cell: +94 77 7779495
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Error while doing sample - Receiving Messages with JMS Message Listener

2015-01-12 Thread Danushka Fernando
This is due to unavailability of log4j at the runtime. In the given sample
I cannot find any log4j usages. Have you done any modifications for that?
If you want to log something you might need to use sysouts instead of log4j.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Jan 12, 2015 at 9:05 PM, Mahesh Chinthaka  wrote:

> Hi all,
> I was trying MB sample[1] and got following error.
> Anybody knows how to overcome this ?
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/slf4j/LoggerFactory
> at
> org.wso2.andes.jndi.PropertiesFileInitialContextFactory.(PropertiesFileInitialContextFactory.java:60)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> at java.lang.Class.newInstance0(Class.java:372)
> at java.lang.Class.newInstance(Class.java:325)
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
> at javax.naming.InitialContext.init(InitialContext.java:242)
> at javax.naming.InitialContext.(InitialContext.java:216)
> at MessageListenerClient.initQueue(MessageListenerClient.java:120)
> at MessageListenerClient.registerSubscribers(MessageListenerClient.java:37)
> at MessageListenerClient.main(MessageListenerClient.java:32)
> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 19 more
>
> [1] -
> https://docs.wso2.com/display/MB220/Receiving+Messages+with+JMS+Message+Listener
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error occured when starting newly build MB pack

2015-01-12 Thread Madhawa Gunasekara
Hi all,

I found this following error when starting the MB pack. MB pack built
without errors

ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
building service from bundle : Symbolic Name:
org.wso2.carbon.ndatasource.core,Bundle Version: 4.3.0, ID: 179
org.apache.axis2.AxisFault: Two services cannot have same name.  A service
with the NDataSourceAdmin [null] name already exists in the system.

It seems there is a conflic between 2 "org.wso2.carbon.utils" jar packages.
and also I found 2 jar packages in the plugins folder.

I have also built carbon-utils before building the MB product. Is there any
relation between this error and building the carbon-utils?

So I have checked sources of andes, carbon-business-messaging and
product-mb. But after building the product again. I found 2
"org.wso2.carbon.utils" jar packages in the plugins folder.

How can I overcome this problem?

Thank you.

Madhawa
-- 
*Madhawa Gunasekara*
Software Engineering Intern
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] Identity application management feature installation fails in Storage Server P2 profile

2015-01-12 Thread Harsha Kumara
Hi Prabath,

As Hasintha said, the PR for syncing up the repos failed due to issue which
we later fix. To get the product build back to normal,
carbon-storage-management repo also needs to sync up again. Then PR for
syncing up product will be merged.

Thanks,
Harsha

On Mon, Jan 12, 2015 at 1:03 PM, Hasintha Indrajee 
wrote:

> Hi Prabath,
>
> Can you please merge changes from wso2-dev repo to wso2 repo. Seems like
> wso2 repo is not up to date with your dev repo.
>
> On Mon, Jan 12, 2015 at 11:24 AM, Harsha Kumara  wrote:
>
>> Hi Prabath,
>>
>> Please ignore the above message as I though it's referring to
>> carbon-storage-management repo. Above issue cause for the build failure on
>> today.
>>
>> Since the identity wso2 and wso2-dev repos are synced, the product build
>> failure should be fixed. I checked the product console out for the last
>> build.Seems it not downloading the application management feature. I will
>> check more with Hasintha.
>>
>> [1] -
>> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/application-mgt-feature/4.3.0-SNAPSHOT/
>>
>> Thanks,
>> Harsha
>>
>> On Mon, Jan 12, 2015 at 7:57 AM, Harsha Kumara  wrote:
>>
>>> Hi Prabath,
>>>
>>> It seems build failures are due to triggers of upstream projects or
>>> parallel builds. Default build should be fine. According to [1], build 262
>>> and 261 ran on same revision but 262 failed and 262 was success.
>>>
>>> [1] - https://wso2.org/jenkins/job/carbon-storage-management/
>>>
>>> Thanks,
>>> Harsha
>>>
>>> On Mon, Jan 12, 2015 at 7:41 AM, Prabath Abeysekera 
>>> wrote:
>>>
 Hi Hasintha,

 Are we done with this at least now? SS build still fails.

 Cheers,
 Prabath


 On Sunday, January 11, 2015, Prabath Abeysekera 
 wrote:

> Thanks Hasintha!
>
> On Sat, Jan 10, 2015 at 6:13 PM, Hasintha Indrajee 
> wrote:
>
>> Hi Prabath.
>>
>> Few more changes are done. Will merge them asap and let you know once
>> they are merged to wso2 repo
>>
>> On Sat, Jan 10, 2015 at 6:04 PM, Hasintha Indrajee > > wrote:
>>
>>> The changes were merged to wso2 repo yesterday
>>>
>>> On Sat, Jan 10, 2015 at 11:40 AM, Prabath Abeysekera <
>>> praba...@wso2.com> wrote:
>>>
 Hi Hasintha,

 Can we get these changes merged into wso2/carbon-identity
 repository ASAP? Storage Server P2 profile still fails indicating the 
 same
 problem.

 Cheers,
 Prabth

 On Fri, Jan 9, 2015 at 7:53 PM, Prabath Abeysekera <
 praba...@wso2.com> wrote:

> Thanks Hasintha!
>
> On Fri, Jan 9, 2015 at 6:24 PM, Hasintha Indrajee <
> hasin...@wso2.com> wrote:
>
>> Hi Prabath,
>>
>> Build is fixed in wso2-dev and will be available in nexus once
>> merged with wso2 repo.
>>
>> On Fri, Jan 9, 2015 at 4:21 PM, Prabath Abeysekera <
>> praba...@wso2.com> wrote:
>>
>>> Folks,
>>>
>>> Please note $Subject. Appreciate if someone from IS team can fix
>>> this ASAP. Refer the following trace for the error message logged.
>>>
>>> Installing org.wso2.carbon.user.mgt.feature.group 4.3.0.SNAPSHOT.
>>>
>>> Installing
>>> org.wso2.carbon.identity.application.mgt.server.feature.group
>>> 4.3.0.SNAPSHOT.
>>>
>>> Installation failed.
>>>
>>> Cannot complete the install because one or more required items
>>> could not be found.
>>>
>>>  Software being installed: RSS Manager Feature 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.rssmanager.feature.group 4.3.0.SNAPSHOT)
>>>
>>>  Missing requirement: WSO2 Identity- Application Management
>>> Component 4.3.0.SNAPSHOT (org.wso2.carbon.identity.application.mgt
>>> 4.3.0.SNAPSHOT) requires 'package org.wso2.carbon.identity.base
>>> [4.3.0,5.0.0)' but it could not be found
>>>
>>>  Cannot satisfy dependency:
>>>
>>>   From: org.wso2.carbon.rssmanager.core 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.rssmanager.core 4.3.0.SNAPSHOT)
>>>
>>>   To: package org.wso2.carbon.identity.application.mgt
>>> 4.3.0.SNAPSHOT
>>>
>>>  Cannot satisfy dependency:
>>>
>>>   From: RSS Manager Feature 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.rssmanager.feature.group 4.3.0.SNAPSHOT)
>>>
>>>   To: org.wso2.carbon.rssmanager.server.feature.group
>>> [4.3.0.SNAPSHOT]
>>>
>>>  Cannot satisfy dependency:
>>>
>>>   From: RSS Manager Server Feature 4.3.0.SNAPSHOT
>>> (org.wso2.carbon.rssmanager.server.feature.group 4.3.0.SNAPSHOT)
>>>
>>>   To: org.wso2.carbon.rssmanager.core [4.3.0.SNAPSHOT]
>>>
>>> Cheer

[Dev] Clustering API Manager - issue with mount points in registry.xml

2015-01-12 Thread Michael McDonald
Good Morning,

As a test, I have deployed WSO2 API Manager (1.8.0) to 4 instances (separate 
servers). One each for Store, Publisher, Gateway and Key Manager.

I have used an Oracle Database deployed to a 5th instance.

I have followed all the instructions: 
https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager

The issue I have I believe is related to step 10 (a) and (b) in the above link:

In the Publisher component's registry.xml file, add or modify the dataSource 
attribute of the  element as follows:

  jdbc/WSO2REG_DB

https://publisher.apim-wso2.com";>
   gov
   user@jdbc:mysql://regdb.mysql-wso2.com:3306/regdb
   govregistry
   false
   true
   /


   gov
   /_system/governance


   gov
   

  jdbc/WSO2CarbonDB

https://instance-publisher";>
   gov
   USER_CARBON_DB@jdbc:oracle:thin:@instance-database:1521/xe
   govregistry
   false
   true
   /


   gov
   /_system/governance


   gov
   /_system/config


The only line changing for the other three instances is:

https://instance-store";>
https://instance-gateway";>

..etc

Without the registry.xml configuration above, everything starts fine - no 
errors on all four API Manager instances.

When I add the configuration above I get a large collection of errors, here is 
the pastebin when I start just the Key Manager instance: 
http://pastebin.com/8vmEAXA2

However, the first error is:

TID: [0] [AM] [2015-01-12 16:40:04,991] ERROR 
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -  Unable 
to create fixed remote mounts. 
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
org.wso2.carbon.registry.core.exceptions.RegistryException: An exception 
occurred while executing handler chain. null
at 
org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2649)
So my understanding is this portion is the issue:


   gov
   /_system/governance


   gov
   /_system/config


I am having trouble understanding this issue, I suspect either:

1. I need to setup the SSL Certs, or..
2. I don't understand where this is meant to point too: https://instance-publisher";>

Any idea, guys?

Thank you.

Michael McDonald

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


Re: [Dev] getPayloadJSON returning an empty object

2015-01-12 Thread Maz Lakadia
Just in case someone has the same issue, I managed to get mine working.

I had to do a workaround method:

1. Use property mediator before the script mediator to set a property:  

2. Within the script mediator, get the payload (as a string) by doing this: 
 var pl_string = mc.getProperty("JSONPayload");
3. Now have to convert the string into a JS object: var pl = 
JSON.parse(pl_string);
4. Manipulate the payload as if you'd obtained it using getPayloadJSON().

I know it's a hacked together method, but none of the other ways were working 
for me so I tried this one. 

Some information in case anyone wants to debug it: 

I'm using API Manager 1.7. 

I set the message builders and formatters to these:Builder class= 
"org.apache.synapse.commons.json.JsonStreamBuilder" 
Formatter class  = "org.apache.synapse.commons.json.JsonStreamFormatter"

Hope this helps, 

Maz
From: mlaka...@hotmail.com
To: mal...@wso2.com; dev@wso2.org
Date: Mon, 12 Jan 2015 08:54:09 +1300
Subject: Re: [Dev] getPayloadJSON returning an empty object




I'm using the ESB that comes with WSO2 API Manager 1.7.0. 

The Formatter is:  class="org.apache.axis2.json.JSONMessageFormatter" The 
Builder is: class="org.apache.axis2.json.JSONBuilder"

Date: Fri, 9 Jan 2015 09:25:53 +0530
From: mal...@wso2.com
To: dev@wso2.org
Subject: Re: [Dev] getPayloadJSON returning an empty object

Also specify what is the ESB version used? 4.9.0 M4 or 4.8.1?
On Fri, Jan 9, 2015 at 7:54 AM, Asanka Dissanayake  wrote:
Hi Maz,
What is the JSON builder and formatter you are using? You can find them in 
/repository/conf/axis2/axis2.xml under Formatters and Builders.

Thanks,
Asanka

On Thu, Jan 8, 2015 at 8:14 PM, Bhathiya Jayasekara  wrote:
Hi Maz,
I quickly tried out your config and it worked fine for me. I'm copying my full 
config here for your reference. 
http://ws.apache.org/ns/synapse"; name="jsonTest" context="/json">   
 
   var older = 
mc.getPayloadJSON(); var newer=older; 
mc.setPayloadJSON(newer);  
   
 
Request:curl -X POST -d "{\"origin\":\"202.37.75.130\"}" -H "Content-Type: 
application/json" http://10.113.56.222:8281/json

Response:{"origin":"202.37.75.130"}

Hope this helps.
Thanks,Bhathiya
On Fri, Jan 9, 2015 at 3:55 AM, Maz Lakadia  wrote:



I am doing some very simple script mediation as a test to see if I can change 
the payload being returned by my server.My unmediated payload comes out 
as:{"origin":"202.37.75.130"}
Then I try doing a very simple check to see whether get and set work for 
payloads:
var older = mc.getPayloadJSON(); 
var newer=older; 
mc.setPayloadJSON(newer);   
 
My result from this is:{"jsonObject":""}
I have done testing that shows that setPayloadJSON() works, which means that my 
getPayloadJSON must be returning an empty object.Looking at the log file shows 
this:ERROR {org.apache.synapse.mediators.bsf.ScriptMessageContext} -  JSON 
object is null. {org.apache.synapse.mediators.bsf.ScriptMessageContext}
Is there anyone else having this error? Is this happening because the Payload 
is actually a Java object rather than a JSON object?
Thanks,
Maz   

___

Dev mailing list

Dev@wso2.org

http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Bhathiya JayasekaraSoftware Engineer,WSO2 inc., http://wso2.com
Phone: +94715478185LinkedIn: http://www.linkedin.com/in/bhathiyajTwitter: 
https://twitter.com/bhathiyaxBlog: http://movingaheadblog.blogspot.com


___

Dev mailing list

Dev@wso2.org

http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Asanka Dissanayake
Software EngineerWSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: asan...@wso2.com,   blog: cyberwaadiya.blogspot.com, 
asankastechtalks.wordpress.com  mobile: +94 71 8373821


___

Dev mailing list

Dev@wso2.org

http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Best Regards,
Malaka Silva
Senior Tech Lead
M: +94 777 219 791Tel : 94 11 214 5345
Fax :94 11 2145300 Skype : malaka.sampath.silvaLinkedIn : 
http://www.linkedin.com/pub/malaka-silva/6/33/77Blog : 
http://mrmalakasilva.blogspot.com/

WSO2, Inc. lean . enterprise . middleware 
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature & Save the world for your future. Print this email 
only if it is absolutely necessary.



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

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

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
Hi krishantha,

as you guided, i had started to create the thread analyses sample. creating
deadlock part is already done.

1. what else should i have to do?
2. I'm thinking of bundle this class as a jar file and use java
Processbuilder class or Runtime.exec methods to execute it as a new
process. what is your opinion on that?

note: please find my last github pull request bellow here:
https://github.com/wso2-dev/carbon-platform-integration/pull/23/files


thanks.

On Wed, Jan 7, 2015 at 11:09 AM, Buddhi Senarathna  wrote:

> Hi all,
> after having a first code review, it has been suggested to do following
> changes.
>
>1. rename the class name according to the purpose
>2. change pid to integer type variable
>3. use enum values provided by the API where its possible
>4. mbeanobject return set, but returns only one object
>5. change methods to use query filter and not
>6. no need to return list in getThreadmxbeanobjects
>7. pass the thread type as a parameter
>8. getallthreadids - pass the bean as a parameter to filter inside the
>method
>9. change parameter  as  in the getthreadcount method
>10. rename input parameters in methods to meaningful names
>11. getthreaddump public
>12. overload gethreaddump method/ use this where ever can be used
>13. save the original thread dump, do not append additional info
>14. do not override the dump file with same name, append the time stamp
>15. move file-name to global parameter
>16. close the streams in finnaly block
>17. assign fullthreaddump to null after finish process
>18. getdeadlockthreads public
>19. check for null value in createthreaddumpfile.
>
> now i'm currently working on this.
> thanks.
>
> On Tue, Jan 6, 2015 at 10:16 AM, Buddhi Senarathna 
> wrote:
>
>> hi all,
>>
>>
>> My task of creating a tool to take thread dumps and analyze thread info
>> as test framework utility is almost finished.
>>
>> to had cover these task.
>>
>>1. access to a process remotely using process id.
>>2. get thread dump of that remote process .
>>3. expose necessary informations of thread dump using some methods in
>>realtime.
>>4. give a method to write thread dump into a file.
>>
>> to do this I used JMX Api and tools.jar library which provides JDK. used
>> java version is 1.6.0_32.
>>
>> thank you.
>>
>> On Wed, Dec 24, 2014 at 11:23 AM, Buddhi Senarathna 
>> wrote:
>>
>>> Hi krishantha,
>>> noted and will change it in next update.
>>>
>>> thanks
>>>
>>> On Wed, Dec 24, 2014 at 11:21 AM, Buddhi Senarathna 
>>> wrote:
>>>
 Hi hasitha,
 thanks a lot, but i'm using JMX api for this. j

 On Tue, Dec 23, 2014 at 6:27 PM, Hasitha Aravinda 
 wrote:

> Hi Buddi,
>
> Are you using JStack ? By default, java thread dump does not record
> lock owners for locks. If you use jstack, use "-l" parameter as well
> [1]. (eg: jstack -l "pid"  ). This params records lock owner
> information only for synchronized blocks. Which is usefull to detect
> possible deadlocks.
>
> [1] -
> http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html
>
> Thanks,
> Hasitha.
>
> On Tue, Dec 23, 2014 at 6:02 PM, Buddhi Senarathna 
> wrote:
>
>> hi all,
>>
>> I'm working on creating a tool to take thread dumps and analyze
>> thread info as carbon test utility.
>>
>> to do that i have to cover these task.
>>
>>1. access to a process remotely using process id.
>>2. get thread dump of that remote process .
>>3. expose necessary informations of thread dump using some
>>methods in realtime.
>>4. give a method to write thread dump into a file.
>>
>>
>> Note: currently 1st and 2nd tasks are completed.
>>
>> thank you.
>>
>>
>> --
>>
>> *Buddhi Chathuranga Senarathna*
>>
>>
>> *InternWSO2, Inc. *
>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Hasitha Aravinda,
> Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile: +94 71 8 210 200
>
>


 --

 *Buddhi Chathuranga Senarathna*


 *InternWSO2, Inc. *
 *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*

>>>
>>>
>>>
>>> --
>>>
>>> *Buddhi Chathuranga Senarathna*
>>>
>>>
>>> *InternWSO2, Inc. *
>>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>>
>>
>>
>>
>> --
>>
>> *Buddhi Chathuranga Senarathna*
>>
>>
>> *InternWSO2, Inc. *
>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>
>
>
>
> --
>
> *Buddhi Chathurang

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Krishantha Samaraweera
Hi Buddhi,

Please add deadlock sample as a test case for your work.

+1 for using Runtime.exec to trigger the class.

Thanks,
Krishantha.

On Tue, Jan 13, 2015 at 7:51 AM, Buddhi Senarathna  wrote:

> Hi krishantha,
>
> as you guided, i had started to create the thread analyses sample.
> creating deadlock part is already done.
>
> 1. what else should i have to do?
> 2. I'm thinking of bundle this class as a jar file and use java
> Processbuilder class or Runtime.exec methods to execute it as a new
> process. what is your opinion on that?
>
> note: please find my last github pull request bellow here:
> https://github.com/wso2-dev/carbon-platform-integration/pull/23/files
> 
>
> thanks.
>
> On Wed, Jan 7, 2015 at 11:09 AM, Buddhi Senarathna 
> wrote:
>
>> Hi all,
>> after having a first code review, it has been suggested to do following
>> changes.
>>
>>1. rename the class name according to the purpose
>>2. change pid to integer type variable
>>3. use enum values provided by the API where its possible
>>4. mbeanobject return set, but returns only one object
>>5. change methods to use query filter and not
>>6. no need to return list in getThreadmxbeanobjects
>>7. pass the thread type as a parameter
>>8. getallthreadids - pass the bean as a parameter to filter inside
>>the method
>>9. change parameter  as  in the getthreadcount
>>method
>>10. rename input parameters in methods to meaningful names
>>11. getthreaddump public
>>12. overload gethreaddump method/ use this where ever can be used
>>13. save the original thread dump, do not append additional info
>>14. do not override the dump file with same name, append the time
>>stamp
>>15. move file-name to global parameter
>>16. close the streams in finnaly block
>>17. assign fullthreaddump to null after finish process
>>18. getdeadlockthreads public
>>19. check for null value in createthreaddumpfile.
>>
>> now i'm currently working on this.
>> thanks.
>>
>> On Tue, Jan 6, 2015 at 10:16 AM, Buddhi Senarathna 
>> wrote:
>>
>>> hi all,
>>>
>>>
>>> My task of creating a tool to take thread dumps and analyze thread info
>>> as test framework utility is almost finished.
>>>
>>> to had cover these task.
>>>
>>>1. access to a process remotely using process id.
>>>2. get thread dump of that remote process .
>>>3. expose necessary informations of thread dump using some methods
>>>in realtime.
>>>4. give a method to write thread dump into a file.
>>>
>>> to do this I used JMX Api and tools.jar library which provides JDK. used
>>> java version is 1.6.0_32.
>>>
>>> thank you.
>>>
>>> On Wed, Dec 24, 2014 at 11:23 AM, Buddhi Senarathna 
>>> wrote:
>>>
 Hi krishantha,
 noted and will change it in next update.

 thanks

 On Wed, Dec 24, 2014 at 11:21 AM, Buddhi Senarathna 
 wrote:

> Hi hasitha,
> thanks a lot, but i'm using JMX api for this. j
>
> On Tue, Dec 23, 2014 at 6:27 PM, Hasitha Aravinda 
> wrote:
>
>> Hi Buddi,
>>
>> Are you using JStack ? By default, java thread dump does not record
>> lock owners for locks. If you use jstack, use "-l" parameter as well
>> [1]. (eg: jstack -l "pid"  ). This params records lock owner
>> information only for synchronized blocks. Which is usefull to detect
>> possible deadlocks.
>>
>> [1] -
>> http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html
>>
>> Thanks,
>> Hasitha.
>>
>> On Tue, Dec 23, 2014 at 6:02 PM, Buddhi Senarathna 
>> wrote:
>>
>>> hi all,
>>>
>>> I'm working on creating a tool to take thread dumps and analyze
>>> thread info as carbon test utility.
>>>
>>> to do that i have to cover these task.
>>>
>>>1. access to a process remotely using process id.
>>>2. get thread dump of that remote process .
>>>3. expose necessary informations of thread dump using some
>>>methods in realtime.
>>>4. give a method to write thread dump into a file.
>>>
>>>
>>> Note: currently 1st and 2nd tasks are completed.
>>>
>>> thank you.
>>>
>>>
>>> --
>>>
>>> *Buddhi Chathuranga Senarathna*
>>>
>>>
>>> *InternWSO2, Inc. *
>>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Hasitha Aravinda,
>> Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile: +94 71 8 210 200
>>
>>
>
>
> --
>
> *Buddhi Chathuranga Senarathna*
>
>
> *InternWSO2, Inc. 

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
Hi krishantha,

sure thing. i'll do that.

thanks

On Tue, Jan 13, 2015 at 8:15 AM, Krishantha Samaraweera  wrote:

> Hi Buddhi,
>
> Please add deadlock sample as a test case for your work.
>
> +1 for using Runtime.exec to trigger the class.
>
> Thanks,
> Krishantha.
>
> On Tue, Jan 13, 2015 at 7:51 AM, Buddhi Senarathna 
> wrote:
>
>> Hi krishantha,
>>
>> as you guided, i had started to create the thread analyses sample.
>> creating deadlock part is already done.
>>
>> 1. what else should i have to do?
>> 2. I'm thinking of bundle this class as a jar file and use java
>> Processbuilder class or Runtime.exec methods to execute it as a new
>> process. what is your opinion on that?
>>
>> note: please find my last github pull request bellow here:
>> https://github.com/wso2-dev/carbon-platform-integration/pull/23/files
>> 
>>
>> thanks.
>>
>> On Wed, Jan 7, 2015 at 11:09 AM, Buddhi Senarathna 
>> wrote:
>>
>>> Hi all,
>>> after having a first code review, it has been suggested to do following
>>> changes.
>>>
>>>1. rename the class name according to the purpose
>>>2. change pid to integer type variable
>>>3. use enum values provided by the API where its possible
>>>4. mbeanobject return set, but returns only one object
>>>5. change methods to use query filter and not
>>>6. no need to return list in getThreadmxbeanobjects
>>>7. pass the thread type as a parameter
>>>8. getallthreadids - pass the bean as a parameter to filter inside
>>>the method
>>>9. change parameter  as  in the getthreadcount
>>>method
>>>10. rename input parameters in methods to meaningful names
>>>11. getthreaddump public
>>>12. overload gethreaddump method/ use this where ever can be used
>>>13. save the original thread dump, do not append additional info
>>>14. do not override the dump file with same name, append the time
>>>stamp
>>>15. move file-name to global parameter
>>>16. close the streams in finnaly block
>>>17. assign fullthreaddump to null after finish process
>>>18. getdeadlockthreads public
>>>19. check for null value in createthreaddumpfile.
>>>
>>> now i'm currently working on this.
>>> thanks.
>>>
>>> On Tue, Jan 6, 2015 at 10:16 AM, Buddhi Senarathna 
>>> wrote:
>>>
 hi all,


 My task of creating a tool to take thread dumps and analyze thread info
 as test framework utility is almost finished.

 to had cover these task.

1. access to a process remotely using process id.
2. get thread dump of that remote process .
3. expose necessary informations of thread dump using some methods
in realtime.
4. give a method to write thread dump into a file.

 to do this I used JMX Api and tools.jar library which provides JDK.
 used java version is 1.6.0_32.

 thank you.

 On Wed, Dec 24, 2014 at 11:23 AM, Buddhi Senarathna 
 wrote:

> Hi krishantha,
> noted and will change it in next update.
>
> thanks
>
> On Wed, Dec 24, 2014 at 11:21 AM, Buddhi Senarathna 
> wrote:
>
>> Hi hasitha,
>> thanks a lot, but i'm using JMX api for this. j
>>
>> On Tue, Dec 23, 2014 at 6:27 PM, Hasitha Aravinda 
>> wrote:
>>
>>> Hi Buddi,
>>>
>>> Are you using JStack ? By default, java thread dump does not record
>>> lock owners for locks. If you use jstack, use "-l" parameter as
>>> well [1]. (eg: jstack -l "pid"  ). This params records lock owner
>>> information only for synchronized blocks. Which is usefull to
>>> detect possible deadlocks.
>>>
>>> [1] -
>>> http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Tue, Dec 23, 2014 at 6:02 PM, Buddhi Senarathna >> > wrote:
>>>
 hi all,

 I'm working on creating a tool to take thread dumps and analyze
 thread info as carbon test utility.

 to do that i have to cover these task.

1. access to a process remotely using process id.
2. get thread dump of that remote process .
3. expose necessary informations of thread dump using some
methods in realtime.
4. give a method to write thread dump into a file.


 Note: currently 1st and 2nd tasks are completed.

 thank you.


 --

 *Buddhi Chathuranga Senarathna*


 *InternWSO2, Inc. *
 *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*

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

>>

Re: [Dev] [ IMPORTANT] G-Reg 5.0.0 Milestone plan

2015-01-12 Thread Jerad Rutnam
Hi,

Impact analysis feature - dependency graph UI update,

- Overall UI (Metro style UI, match for new ES).
- Resource locate feature tweaks and style.
- On resource single click detailed view.
- On resource double click highlighting resource closes connections style.
- Parent resource highlight.
- Resource relationship tool-tip style.
- Icons for common resources (Currently one standard icon is there - rest
of the icons will add in the next release).

Please note that there are some known issues which will be fix in future
releases (which needs some R&D).

Thanks,
Jerad

On Fri, Jan 9, 2015 at 2:42 PM, Sameera Kannangara 
wrote:

> Hi Pulasthi,
>
>
>> Regarding https://redmine.wso2.com/issues/468
> What is the status on this. What needs to be done to get it complete.
> And also please update the redmine with the progress
>
>
> My self and Jerad are working on this.
> Phase 1 (which is to be packed in M1) of the development will be completed
> on 12-01-2015.
>
> - Dependency graph UI.
> - Locate resource functionality.
> - Zoom in and out on dependency graph.
> - Presenting detailed view of a resource.
> - Highlighting resources connected to a desired resource.
>
> Please note that developed feature is tested against a pack built after
> the test hackathon on 15-11-2014.
>
> redmine entry is updated.
>
> Thank you,
> SameeraK.
>
>
> --
> *Sameera Kannangara*
> Software Engineer
> Platform TG; WSO2 Inc. http://wso2.com
> Contact:
> phone: +94719541577
> Lean . Enterprise . Middleware
>



-- 
*Jerad Rutnam*
*Software Engineer - UI*

WSO2 Inc.
lean | enterprise | middleware
M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ IMPORTANT] G-Reg 5.0.0 Milestone plan

2015-01-12 Thread Sagara Gunathunga
On Tue, Jan 13, 2015 at 8:49 AM, Jerad Rutnam  wrote:

> Hi,
>
> Impact analysis feature - dependency graph UI update,
>
> - Overall UI (Metro style UI, match for new ES).
> - Resource locate feature tweaks and style.
> - On resource single click detailed view.
> - On resource double click highlighting resource closes connections style.
> - Parent resource highlight.
> - Resource relationship tool-tip style.
> - Icons for common resources (Currently one standard icon is there - rest
> of the icons will add in the next release).
>
> Please note that there are some known issues which will be fix in future
> releases (which needs some R&D).
>

Can you please list down what are those known issues ?

Thanks !

>
> Thanks,
> Jerad
>
> On Fri, Jan 9, 2015 at 2:42 PM, Sameera Kannangara 
> wrote:
>
>> Hi Pulasthi,
>>
>>
>>> Regarding https://redmine.wso2.com/issues/468
>> What is the status on this. What needs to be done to get it complete.
>> And also please update the redmine with the progress
>>
>>
>> My self and Jerad are working on this.
>> Phase 1 (which is to be packed in M1) of the development will be
>> completed on 12-01-2015.
>>
>> - Dependency graph UI.
>> - Locate resource functionality.
>> - Zoom in and out on dependency graph.
>> - Presenting detailed view of a resource.
>> - Highlighting resources connected to a desired resource.
>>
>> Please note that developed feature is tested against a pack built after
>> the test hackathon on 15-11-2014.
>>
>> redmine entry is updated.
>>
>> Thank you,
>> SameeraK.
>>
>>
>> --
>> *Sameera Kannangara*
>> Software Engineer
>> Platform TG; WSO2 Inc. http://wso2.com
>> Contact:
>> phone: +94719541577
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Jerad Rutnam*
> *Software Engineer - UI*
>
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>



-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failed in Jenkins: product-es #4755

2015-01-12 Thread Akalanka Pagoda Arachchi
Hi all,

Due to this we're also not able to create a custom bundle for client. The
product-esb dev build fails as follows.

Installing org.wso2.carbon.service.mgt.server.feature.group 4.3.0.SNAPSHOT.

Installation failed.

Cannot complete the install because one or more required items could not be
found.

 Software being installed: WSO2 Carbon - Smooks Mediator Aggregated Feature
4.3.0.SNAPSHOT (org.wso2.carbon.smooks.feature.group 4.3.0.SNAPSHOT)

 Missing requirement: WSO2 Carbon - Datasource Management Core Feature
4.3.0.SNAPSHOT (org.wso2.carbon.datasource.server.feature.group
4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.server.feature.group
[4.3.0.SNAPSHOT,4.4.0)' but it could not be found

 Cannot satisfy dependency:

  From: WSO2 Carbon - Mediation Initializer Server Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.mediation.initializer.server.feature.group 4.3.0.SNAPSHOT)

  To: org.wso2.carbon.datasource.server.feature.group [4.3.0,4.4.0)

 Cannot satisfy dependency:

  From: WSO2 Carbon - Smooks Mediator Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.mediator.smooks.server.feature.group 4.3.0.SNAPSHOT)

  To: org.wso2.carbon.mediation.initializer.server.feature.group
[4.3.0.SNAPSHOT,4.4.0)

 Cannot satisfy dependency:

  From: WSO2 Carbon - Smooks Mediator Aggregated Feature 4.3.0.SNAPSHOT
(org.wso2.carbon.smooks.feature.group 4.3.0.SNAPSHOT)

  To: org.wso2.carbon.mediator.smooks.server.feature.group [4.3.0.SNAPSHOT]
Thanks,
Akalanka

On Mon, Jan 12, 2015 at 5:12 PM, Thushara Ranawaka 
wrote:

> Hi,
>
> Due to $subject we are unable to build product greg as well.
>
> Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT.
>
> Installation failed.
>
> Cannot complete the install because one or more required items could not
> be found.
>
>  Software being installed: WSO2 Enterprise Store Feature 2.0.0.SNAPSHOT
> (org.wso2.es.feature.group 2.0.0.SNAPSHOT)
>
>  Missing requirement: WSO2 Enterprise Store Feature 2.0.0.SNAPSHOT
> (org.wso2.es.feature.group 2.0.0.SNAPSHOT) requires
> 'org.wso2.carbon.social.feature.group [1.1.0.SNAPSHOT,1.2.0)' but it could
> not be found
>
> Application failed, log file location:
> /Users/thushara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421061991962.log
>
>
> Please look into the issue.
>
> On Mon, Jan 12, 2015 at 4:56 PM, Ayesha Dissanayaka 
> wrote:
>
>> Hi all,
>>
>> We are still getting the earlier mentioned ES build error, similar error
>> discussed in [1].
>> I have updated the carbon.kernel.version to 4.3.0 locally as mentioned
>> earlier and in some-other relevant version changes. I built
>> carbon-registry[2] and carbon-governance[3] repos locally with latest
>> changes.
>>
>> When I tried to build BPS[4] locally it fails giving below error stack.
>>
>> Installation failed.
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Attachment Management Server
>> Feature 4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
>> 4.3.0.SNAPSHOT)
>>  Missing requirement: WSO2 Carbon - Attachment Management Server Feature
>> 4.3.0.SNAPSHOT (org.wso2.carbon.attachment.mgt.feature.group
>> 4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.feature.group
>> [4.3.0.SNAPSHOT,4.4.0)' but it could not be found
>> Application failed, log file location:
>> /home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058011430.log
>>
>> Hence, we cannot pass the build fail point in ES at,
>> Installation failed.
>> Cannot complete the install because one or more required items could not
>> be found.
>>  Software being installed: WSO2 Carbon - Data Bridge - Data Publisher
>> Aggregate Feature 4.3.0.SNAPSHOT
>> (org.wso2.carbon.databridge.datapublisher.feature.group 4.3.0.SNAPSHOT)
>>  Missing requirement: WSO2 Carbon - Data Bridge - Thrift Commons Server
>> Feature 4.3.0.SNAPSHOT
>> (org.wso2.carbon.databridge.commons.thrift.server.feature.group
>> 4.3.0.SNAPSHOT) requires 'org.wso2.carbon.core.server.feature.group
>> [4.3.0.SNAPSHOT,4.4.0)' but it could not be found
>>  Cannot satisfy dependency:
>>   From: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature
>> 4.3.0.SNAPSHOT (org.wso2.carbon.databridge.datapublisher.feature.group
>> 4.3.0.SNAPSHOT)
>>   To: org.wso2.carbon.databridge.commons.thrift.server.feature.group
>> [4.3.0.SNAPSHOT]
>> Application failed, log file location:
>> /home/ayesha/WORK/cleanm3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1421058005328.log
>>
>> Please pay attention to this since it blocks ES development tasks as well
>> as its dependents.
>>
>> [1] "[Dev] Errors seen while building CDM p2-profile"
>> [2] https://github.com/wso2-dev/carbon-registry
>> [3] https://github.com/wso2-dev/carbon-governance
>> [4] https://github.com/wso2-dev/product-bps
>>
>> Thanks!
>> - Ayesha
>>
>> On Mon, Jan 12, 2015 at 11:32 AM, Pulasthi Supun 
>> wrote:
>>
>>> Hi Sagara/Manoj
>>>

Re: [Dev] Error in pom file

2015-01-12 Thread Chandana Napagoda
Adding Dev,

On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda 
wrote:

> Hi Kalpa,
>
> Your PR was not automatically merged into wso2 repo. Can you please merge
> it[1]?
>
> [1]. https://github.com/wso2/carbon-qos/pull/10
>
> Thanks
>
>
>
> On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda 
> wrote:
>
>> Hi Pulasthi,
>>
>> Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7
>>
>> On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun  wrote:
>>
>>> Hi,
>>>
>>> The greg build is falling with the following error. It seems this is
>>> because the version in the pom [1] is missing a "}". please check line 76
>>> in the pom.xml. please correct this ASAP.
>>>
>>>
>>> [INFO] Running Equinox P2 Publisher Application for Repository Generation
>>> [INFO] Command line:
>>> /bin/sh -c cd
>>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen &&
>>> /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar
>>> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
>>> -nosplash -application
>>> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source
>>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract
>>> -metadataRepository
>>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>>> -metadataRepositoryName governance-profile-gen -artifactRepository
>>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>>> -artifactRepositoryName governance-profile-gen -publishArtifacts
>>> -publishArtifactRepository -compress -append
>>> Generating metadata for ..
>>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version
>>>
>>> Product publishing ended with the following exception:
>>> java.lang.IllegalArgumentException: Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version
>>> at
>>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275)
>>> at
>>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89)
>>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
>>> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141)
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63)
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40)
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194)
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>> at
>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126)
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60)
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518)
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604)
>>> at
>>> org.eclipse.equinox.

Re: [Dev] Error in pom file

2015-01-12 Thread KasunG Gajasinghe
Hi Chandana,

Merged the PR.

On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda 
wrote:

> Adding Dev,
>
> On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda 
> wrote:
>
>> Hi Kalpa,
>>
>> Your PR was not automatically merged into wso2 repo. Can you please merge
>> it[1]?
>>
>> [1]. https://github.com/wso2/carbon-qos/pull/10
>>
>> Thanks
>>
>>
>>
>> On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda 
>> wrote:
>>
>>> Hi Pulasthi,
>>>
>>> Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7
>>>
>>> On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun 
>>> wrote:
>>>
 Hi,

 The greg build is falling with the following error. It seems this is
 because the version in the pom [1] is missing a "}". please check line 76
 in the pom.xml. please correct this ASAP.


 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Command line:
 /bin/sh -c cd
 /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen &&
 /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar
 /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
 -nosplash -application
 org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source
 /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract
 -metadataRepository
 file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
 -metadataRepositoryName governance-profile-gen -artifactRepository
 file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
 -artifactRepositoryName governance-profile-gen -publishArtifacts
 -publishArtifactRepository -compress -append
 Generating metadata for ..
 Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format
 "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format
 "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
 0.0.0.${carbon_kernel_version

 Product publishing ended with the following exception:
 java.lang.IllegalArgumentException: Format
 "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
 0.0.0.${carbon_kernel_version
 at
 org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275)
 at
 org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89)
 at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
 at
 org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141)
 at
 org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63)
 at
 org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40)
 at
 org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194)
 at
 org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
 at
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
 at
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
 at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
 at
 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
 at
 org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126)
 at
 org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60)
 at
 org.eclipse.eq

Re: [Dev] Error in pom file

2015-01-12 Thread Chandana Napagoda
Thanks Kasun.

Regards,
Chandana

On Tue, Jan 13, 2015 at 9:06 AM, KasunG Gajasinghe  wrote:

> Hi Chandana,
>
> Merged the PR.
>
> On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda 
> wrote:
>
>> Adding Dev,
>>
>> On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi Kalpa,
>>>
>>> Your PR was not automatically merged into wso2 repo. Can you please
>>> merge it[1]?
>>>
>>> [1]. https://github.com/wso2/carbon-qos/pull/10
>>>
>>> Thanks
>>>
>>>
>>>
>>> On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda 
>>> wrote:
>>>
 Hi Pulasthi,

 Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7

 On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun 
 wrote:

> Hi,
>
> The greg build is falling with the following error. It seems this is
> because the version in the pom [1] is missing a "}". please check line 76
> in the pom.xml. please correct this ASAP.
>
>
> [INFO] Running Equinox P2 Publisher Application for Repository
> Generation
> [INFO] Command line:
> /bin/sh -c cd
> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen &&
> /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar
> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
> -nosplash -application
> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source
> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract
> -metadataRepository
> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
> -metadataRepositoryName governance-profile-gen -artifactRepository
> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo
> -artifactRepositoryName governance-profile-gen -publishArtifacts
> -publishArtifactRepository -compress -append
> Generating metadata for ..
> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format
> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format
> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
> 0.0.0.${carbon_kernel_version
>
> Product publishing ended with the following exception:
> java.lang.IllegalArgumentException: Format
> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
> 0.0.0.${carbon_kernel_version
> at
> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275)
> at
> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89)
> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
> at
> org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141)
> at
> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63)
> at
> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40)
> at
> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194)
> at
> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> at
> org.eclipse.equinox.internal.p2.publ

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
Hi krishantha.

Where should i have to add this test case and where should i have to place
this deadlock.jar file.

please give me an advise.

thanks.

On Tue, Jan 13, 2015 at 8:18 AM, Buddhi Senarathna  wrote:

> Hi krishantha,
>
> sure thing. i'll do that.
>
> thanks
>
> On Tue, Jan 13, 2015 at 8:15 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Buddhi,
>>
>> Please add deadlock sample as a test case for your work.
>>
>> +1 for using Runtime.exec to trigger the class.
>>
>> Thanks,
>> Krishantha.
>>
>> On Tue, Jan 13, 2015 at 7:51 AM, Buddhi Senarathna 
>> wrote:
>>
>>> Hi krishantha,
>>>
>>> as you guided, i had started to create the thread analyses sample.
>>> creating deadlock part is already done.
>>>
>>> 1. what else should i have to do?
>>> 2. I'm thinking of bundle this class as a jar file and use java
>>> Processbuilder class or Runtime.exec methods to execute it as a new
>>> process. what is your opinion on that?
>>>
>>> note: please find my last github pull request bellow here:
>>> https://github.com/wso2-dev/carbon-platform-integration/pull/23/files
>>> 
>>>
>>> thanks.
>>>
>>> On Wed, Jan 7, 2015 at 11:09 AM, Buddhi Senarathna 
>>> wrote:
>>>
 Hi all,
 after having a first code review, it has been suggested to do following
 changes.

1. rename the class name according to the purpose
2. change pid to integer type variable
3. use enum values provided by the API where its possible
4. mbeanobject return set, but returns only one object
5. change methods to use query filter and not
6. no need to return list in getThreadmxbeanobjects
7. pass the thread type as a parameter
8. getallthreadids - pass the bean as a parameter to filter inside
the method
9. change parameter  as  in the getthreadcount
method
10. rename input parameters in methods to meaningful names
11. getthreaddump public
12. overload gethreaddump method/ use this where ever can be used
13. save the original thread dump, do not append additional info
14. do not override the dump file with same name, append the time
stamp
15. move file-name to global parameter
16. close the streams in finnaly block
17. assign fullthreaddump to null after finish process
18. getdeadlockthreads public
19. check for null value in createthreaddumpfile.

 now i'm currently working on this.
 thanks.

 On Tue, Jan 6, 2015 at 10:16 AM, Buddhi Senarathna 
 wrote:

> hi all,
>
>
> My task of creating a tool to take thread dumps and analyze thread
> info as test framework utility is almost finished.
>
> to had cover these task.
>
>1. access to a process remotely using process id.
>2. get thread dump of that remote process .
>3. expose necessary informations of thread dump using some methods
>in realtime.
>4. give a method to write thread dump into a file.
>
> to do this I used JMX Api and tools.jar library which provides JDK.
> used java version is 1.6.0_32.
>
> thank you.
>
> On Wed, Dec 24, 2014 at 11:23 AM, Buddhi Senarathna 
> wrote:
>
>> Hi krishantha,
>> noted and will change it in next update.
>>
>> thanks
>>
>> On Wed, Dec 24, 2014 at 11:21 AM, Buddhi Senarathna > > wrote:
>>
>>> Hi hasitha,
>>> thanks a lot, but i'm using JMX api for this. j
>>>
>>> On Tue, Dec 23, 2014 at 6:27 PM, Hasitha Aravinda 
>>> wrote:
>>>
 Hi Buddi,

 Are you using JStack ? By default, java thread dump does not
 record lock owners for locks. If you use jstack, use "-l"
 parameter as well [1]. (eg: jstack -l "pid"  ). This params
  records lock owner information only for synchronized blocks.
 Which is usefull to detect possible deadlocks.

 [1] -
 http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html

 Thanks,
 Hasitha.

 On Tue, Dec 23, 2014 at 6:02 PM, Buddhi Senarathna <
 budd...@wso2.com> wrote:

> hi all,
>
> I'm working on creating a tool to take thread dumps and analyze
> thread info as carbon test utility.
>
> to do that i have to cover these task.
>
>1. access to a process remotely using process id.
>2. get thread dump of that remote process .
>3. expose necessary informations of thread dump using some
>methods in realtime.
>4. give a method to write thread dump into a file.
>
>
> Note: currently 1st and 2nd tasks are complete

Re: [Dev] [EMM] Automated Testing of Email Sending Functionality of EMM

2015-01-12 Thread Inosh Perera
Hi Krishantha,
EMM 1.1.0 uses, require('email') available in Jaggery to send email. The
configurations are stored in the registry. So it is not necessary to
configure mail transport AFAIK.
Adding the mobile team.

Regards,
Inosh


On Mon, Jan 12, 2015 at 6:09 PM, Krishantha Samaraweera  wrote:

> Do you need to configure mail transport in this case ? if yes, in which
> file ?
>
> Thanks,
> Krishantha
>
> On Mon, Jan 12, 2015 at 3:40 PM, Dilan Udara Ariyaratne 
> wrote:
>
>> Hi Folks,
>>
>> I am checking the feasibility of writing an automated test case for the
>> email
>> sending functionality of emm.
>>
>> When a user is created, an invitation email is sent to the corresponding
>> user to register the device.
>>
>> sendEmail() is currently a jaggery function and is executed via a
>> non-exposed api to the outside
>> within EMM Jaggery web application.
>>
>> What is the best possible way to test this functionality?
>> Is there a recommended SMTP mail server to use?
>>
>> If I am using Selenium, to verify "success", I need to capture the status
>> message
>> of a dialog popup. How can I do this using Selenium?
>>
>> Appreciate any feedback on this.
>>
>> Thanks.
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ML] Build failure

2015-01-12 Thread CD Athuraliya
Hi all,

I am getting following error when building product ML. It seems like
several artifacts cannot be found in nexus.

Downloading:
http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
Downloading:
http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
Downloading:
http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Machine Learner - Aggregator Module .. SUCCESS [0.365s]
[INFO] WSO2 Machine Learner Components ... SUCCESS [0.049s]
[INFO] WSO2 Carbon - Machine Learner Project Management Component  SUCCESS
[6.859s]
[INFO] WSO2 Carbon - Machine Learner Dataset Component ... SUCCESS [3.437s]
[INFO] WSO2 Carbon - Machine Learner Model Component . SUCCESS [24.611s]
[INFO] WSO2 Machine Learner Features . SUCCESS [0.010s]
[INFO] WSO2 Carbon - Machine Learner Dataset Service Feature  SUCCESS
[1.430s]
[INFO] WSO2 Carbon - Machine Learner Model Service Feature  SUCCESS [9.414s]
[INFO] WSO2 Carbon - Machine Learner Project Management Service Feature
 SUCCESS [0.980s]
[INFO] WSO2 Carbon Machine Learner ... SUCCESS [10.572s]
[INFO] WSO2 Machine Learner - P2 Profile Generation .. FAILURE [16.018s]
[INFO] WSO2 Machine Learner - Distribution ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1:15.811s
[INFO] Finished at: Tue Jan 13 09:37:49 IST 2015
[INFO] Final Memory: 76M/923M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
(1-unpack-p2-agent-distribution) on project wso2ml-p2-profile: Unable to
find artifact. Could not find artifact
org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] wso2.snapshots (
http://maven.wso2.org/nexus/content/repositories/snapshots/,
releases=false, snapshots=true),
[ERROR] wso2.releases (
http://maven.wso2.org/nexus/content/repositories/releases/, releases=true,
snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [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 :wso2ml-p2-profile

Any help would be much appreciated.

-- 
*CD Athuraliya*
Software Engineering Intern
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847
LinkedIn  | Twitter
 | Blog 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ IMPORTANT] G-Reg 5.0.0 Milestone plan

2015-01-12 Thread Jerad Rutnam
Yes Sure, these are what we noticed so far.

- Node z-indexing on highlight.
- Text overlap on lines and nodes

Regards,
Jerad

On Tue, Jan 13, 2015 at 8:55 AM, Sagara Gunathunga  wrote:

>
>
> On Tue, Jan 13, 2015 at 8:49 AM, Jerad Rutnam  wrote:
>
>> Hi,
>>
>> Impact analysis feature - dependency graph UI update,
>>
>> - Overall UI (Metro style UI, match for new ES).
>> - Resource locate feature tweaks and style.
>> - On resource single click detailed view.
>> - On resource double click highlighting resource closes connections
>> style.
>> - Parent resource highlight.
>> - Resource relationship tool-tip style.
>> - Icons for common resources (Currently one standard icon is there - rest
>> of the icons will add in the next release).
>>
>> Please note that there are some known issues which will be fix in future
>> releases (which needs some R&D).
>>
>
> Can you please list down what are those known issues ?
>
> Thanks !
>
>>
>> Thanks,
>> Jerad
>>
>> On Fri, Jan 9, 2015 at 2:42 PM, Sameera Kannangara 
>> wrote:
>>
>>> Hi Pulasthi,
>>>
>>>
 Regarding https://redmine.wso2.com/issues/468
>>> What is the status on this. What needs to be done to get it
>>> complete. And also please update the redmine with the progress
>>>
>>>
>>> My self and Jerad are working on this.
>>> Phase 1 (which is to be packed in M1) of the development will be
>>> completed on 12-01-2015.
>>>
>>> - Dependency graph UI.
>>> - Locate resource functionality.
>>> - Zoom in and out on dependency graph.
>>> - Presenting detailed view of a resource.
>>> - Highlighting resources connected to a desired resource.
>>>
>>> Please note that developed feature is tested against a pack built after
>>> the test hackathon on 15-11-2014.
>>>
>>> redmine entry is updated.
>>>
>>> Thank you,
>>> SameeraK.
>>>
>>>
>>> --
>>> *Sameera Kannangara*
>>> Software Engineer
>>> Platform TG; WSO2 Inc. http://wso2.com
>>> Contact:
>>> phone: +94719541577
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> *Jerad Rutnam*
>> *Software Engineer - UI*
>>
>> WSO2 Inc.
>> lean | enterprise | middleware
>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>
>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
*Jerad Rutnam*
*Software Engineer - UI*

WSO2 Inc.
lean | enterprise | middleware
M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Build failure

2015-01-12 Thread Harsha Kumara
Hi CD,

Seems product-ml depend on the snapshot version of carbon 4.3.0. Since
4.3.0 release, carbon snapshot versions in poms needs to be changed.

Thanks,
Harsha

On Tue, Jan 13, 2015 at 9:50 AM, CD Athuraliya  wrote:

> Hi all,
>
> I am getting following error when building product ML. It seems like
> several artifacts cannot be found in nexus.
>
> Downloading:
> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
> Downloading:
> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
> Downloading:
> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Machine Learner - Aggregator Module .. SUCCESS [0.365s]
> [INFO] WSO2 Machine Learner Components ... SUCCESS [0.049s]
> [INFO] WSO2 Carbon - Machine Learner Project Management Component  SUCCESS
> [6.859s]
> [INFO] WSO2 Carbon - Machine Learner Dataset Component ... SUCCESS [3.437s]
> [INFO] WSO2 Carbon - Machine Learner Model Component . SUCCESS
> [24.611s]
> [INFO] WSO2 Machine Learner Features . SUCCESS [0.010s]
> [INFO] WSO2 Carbon - Machine Learner Dataset Service Feature  SUCCESS
> [1.430s]
> [INFO] WSO2 Carbon - Machine Learner Model Service Feature  SUCCESS
> [9.414s]
> [INFO] WSO2 Carbon - Machine Learner Project Management Service Feature
>  SUCCESS [0.980s]
> [INFO] WSO2 Carbon Machine Learner ... SUCCESS
> [10.572s]
> [INFO] WSO2 Machine Learner - P2 Profile Generation .. FAILURE
> [16.018s]
> [INFO] WSO2 Machine Learner - Distribution ... SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 1:15.811s
> [INFO] Finished at: Tue Jan 13 09:37:49 IST 2015
> [INFO] Final Memory: 76M/923M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
> (1-unpack-p2-agent-distribution) on project wso2ml-p2-profile: Unable to
> find artifact. Could not find artifact
> org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT in wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/)
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
> -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
> -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
> -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
> snapshots=true),
> [ERROR] wso2.snapshots (
> http://maven.wso2.org/nexus/content/repositories/snapshots/,
> releases=false, snapshots=true),
> [ERROR] wso2.releases (
> http://maven.wso2.org/nexus/content/repositories/releases/,
> releases=true, snapshots=true),
> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [ERROR] -> [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 :wso2ml-p2-profile
>
> Any help would be much appreciated.
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn  | 

Re: [Dev] GReg5 P2-profile generation failed

2015-01-12 Thread Chandana Napagoda
Hi Thushara,

This has been fixed now. Please refer "[Dev] Error in pom file" mail thread.

Regards,
Chandana

On Mon, Jan 12, 2015 at 12:36 PM, Sameera Jayasoma  wrote:

> Following log says it all.
>
> java.lang.IllegalArgumentException: Format 
> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])"
> was unable to parse *0.0.0.${carbon_kernel_version*
>
> There is a typo in one of your component or feature pom.xml files. You'll
> have to come up with some scripts to find the faulty pom.
>
> Thanks,
> Sameera.
>
> On Mon, Jan 12, 2015 at 12:25 PM, Thushara Ranawaka 
> wrote:
>
>> Hi,
>>
>> We are getting the following while generation the P2-profile for GReg.
>> Please check.
>>
>> [INFO] Extracting feature
>> org.wso2.carbon:org.wso2.carbon.tenant.deployment.feature
>>
>> [INFO] Copying resources
>>
>> [INFO] Running Equinox P2 Publisher Application for Repository Generation
>>
>> [INFO] Command line:
>>
>> /bin/sh -c cd
>> /Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen &&
>> /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java
>> -jar
>> /Users/thushara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
>> -nosplash -application
>> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source
>> /Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/tmp.1421044634662/featureExtract
>> -metadataRepository
>> file:/Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>> -metadataRepositoryName governance-profile-gen -artifactRepository
>> file:/Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>> -artifactRepositoryName governance-profile-gen -publishArtifacts
>> -publishArtifactRepository -compress -append
>>
>> Generating metadata for ..
>>
>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format
>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format
>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>> 0.0.0.${carbon_kernel_version
>>
>>
>> Product publishing ended with the following exception:
>>
>> java.lang.IllegalArgumentException: Format
>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>> 0.0.0.${carbon_kernel_version
>>
>> at
>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275)
>>
>> at
>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89)
>>
>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
>>
>> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141)
>>
>> at
>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63)
>>
>> at
>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40)
>>
>> at
>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194)
>>
>> at
>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:504)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2763)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:513)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:815)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:744)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:128)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
>>
>> at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:543)
>>
>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>>
>> at
>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126)
>>
>> at
>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60)
>>
>> at
>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFe

[Dev] [MB] Error occurred while building carbon-business-messaging

2015-01-12 Thread Madhawa Gunasekara
Hi all,

I'm getting following error when building carbon-business-messaging. but
yesterday I have built it nicely. Since I'm getting this error after
deleting my m2.repository.

[ERROR] Failed to execute goal on project org.wso2.carbon.andes.commons:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.andes.commons:bundle:4.3.0-SNAPSHOT: Could
not find artifact org.wso2.carbon:org.wso2.carbon.core:jar:4.3.0-SNAPSHOT
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)

Any help would be much appreciated.

Thanks.
Madhawa
-- 
*Madhawa Gunasekara*
Software Engineering Intern
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] [MB] Error occurred while building carbon-business-messaging

2015-01-12 Thread Waruna Perera
Hi,

Are you building offline? Can you try with building [1] first?

[1] https://github.com/wso2-dev/andes.git


On Tue, Jan 13, 2015 at 10:38 AM, Madhawa Gunasekara 
wrote:

>
> Hi all,
>
> I'm getting following error when building carbon-business-messaging. but
> yesterday I have built it nicely. Since I'm getting this error after
> deleting my m2.repository.
>
> [ERROR] Failed to execute goal on project org.wso2.carbon.andes.commons:
> Could not resolve dependencies for project
> org.wso2.carbon:org.wso2.carbon.andes.commons:bundle:4.3.0-SNAPSHOT: Could
> not find artifact org.wso2.carbon:org.wso2.carbon.core:jar:4.3.0-SNAPSHOT
> in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>
> Any help would be much appreciated.
>
> Thanks.
> Madhawa
> --
> *Madhawa Gunasekara*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] Apply Security for Services via Developer Studio

2015-01-12 Thread Sohani Weerasinghe
Hi,

An improvement for applying security for web services by associating with
WSDLs has been started. The security policy will be created via Developer
Studio, basically for Axis2Service projects, ESB config projects and DSS
projects. The security policy file will be saved as a registry resource and
will be deployed via CAPPs.

Thanks,
Sohani
Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

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


Re: [Dev] Apply Security for Services via Developer Studio

2015-01-12 Thread Harshana Eranga Martin
Hi Sohani,

In order to  create the policy file via DevS, is there an Editor in DevS
which can generate ws-policy files conforming to ws-policy [1] franework?

[1]. http://schemas.xmlsoap.org/ws/2004/09/policy/

Thanks and Regards,
Harshana
On 13 Jan 2015 13:22, "Sohani Weerasinghe"  wrote:

> Hi,
>
> An improvement for applying security for web services by associating with
> WSDLs has been started. The security policy will be created via Developer
> Studio, basically for Axis2Service projects, ESB config projects and DSS
> projects. The security policy file will be saved as a registry resource and
> will be deployed via CAPPs.
>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] app-manager repo is not following WSO2 repo naming standard

2015-01-12 Thread Sagara Gunathunga
Hi Ruwan,

I have renamed repo as "product-app-manager".

Thanks !
On Sun, Jan 11, 2015 at 10:54 PM, Sumedha Rubasinghe 
wrote:

> Ack Sagara. Not sure how we missed it as this location was created at the
> same time others were created. ATM we are using svn for 1.0.0 branch due to
> some other dependencies.
> On Jan 11, 2015 3:57 PM, "Sagara Gunathunga"  wrote:
>
>>
>> Can you please rename above repo as "product-app-manager" to be complaint
>> with our naming standard
>>
>> Thanks !
>> --
>> Sagara Gunathunga
>>
>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services;http://ws.apache.org/
>> Linkedin; http://www.linkedin.com/in/ssagara
>> Blog ;  http://ssagara.blogspot.com
>>
>>


-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] app-manager repo is not following WSO2 repo naming standard

2015-01-12 Thread Ruwan Yatawara
Thank you Sagara! Appreciate it.

Thanks and Regards,

Ruwan Yatawara

Senior Software Engineer,
WSO2 Inc.

email : ruw...@wso2.com
mobile : +94 77 9110413
blog : http://thoughts.ruwan-ace.com/
www: :http://wso2.com


On Tue, Jan 13, 2015 at 11:21 AM, Sagara Gunathunga  wrote:

> Hi Ruwan,
>
> I have renamed repo as "product-app-manager".
>
> Thanks !
> On Sun, Jan 11, 2015 at 10:54 PM, Sumedha Rubasinghe 
> wrote:
>
>> Ack Sagara. Not sure how we missed it as this location was created at the
>> same time others were created. ATM we are using svn for 1.0.0 branch due to
>> some other dependencies.
>> On Jan 11, 2015 3:57 PM, "Sagara Gunathunga"  wrote:
>>
>>>
>>> Can you please rename above repo as "product-app-manager" to be
>>> complaint with our naming standard
>>>
>>> Thanks !
>>> --
>>> Sagara Gunathunga
>>>
>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>> V.P Apache Web Services;http://ws.apache.org/
>>> Linkedin; http://www.linkedin.com/in/ssagara
>>> Blog ;  http://ssagara.blogspot.com
>>>
>>>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Build failure

2015-01-12 Thread CD Athuraliya
As per my offline conversation with Harsha, poms need to be updated
according to released and unreleased artifacts of carbon. Updating parent
pom to carbon 4.3.0 generates build errors due to module poms which are
using the same version for unreleased artifacts.

Thanks.

On Tue, Jan 13, 2015 at 10:11 AM, Harsha Kumara  wrote:

> Hi CD,
>
> Seems product-ml depend on the snapshot version of carbon 4.3.0. Since
> 4.3.0 release, carbon snapshot versions in poms needs to be changed.
>
> Thanks,
> Harsha
>
> On Tue, Jan 13, 2015 at 9:50 AM, CD Athuraliya 
> wrote:
>
>> Hi all,
>>
>> I am getting following error when building product ML. It seems like
>> several artifacts cannot be found in nexus.
>>
>> Downloading:
>> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
>> Downloading:
>> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
>> Downloading:
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml
>> Downloading:
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
>> Downloading:
>> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
>> Downloading:
>> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 Machine Learner - Aggregator Module .. SUCCESS
>> [0.365s]
>> [INFO] WSO2 Machine Learner Components ... SUCCESS
>> [0.049s]
>> [INFO] WSO2 Carbon - Machine Learner Project Management Component
>>  SUCCESS [6.859s]
>> [INFO] WSO2 Carbon - Machine Learner Dataset Component ... SUCCESS
>> [3.437s]
>> [INFO] WSO2 Carbon - Machine Learner Model Component . SUCCESS
>> [24.611s]
>> [INFO] WSO2 Machine Learner Features . SUCCESS
>> [0.010s]
>> [INFO] WSO2 Carbon - Machine Learner Dataset Service Feature  SUCCESS
>> [1.430s]
>> [INFO] WSO2 Carbon - Machine Learner Model Service Feature  SUCCESS
>> [9.414s]
>> [INFO] WSO2 Carbon - Machine Learner Project Management Service Feature
>>  SUCCESS [0.980s]
>> [INFO] WSO2 Carbon Machine Learner ... SUCCESS
>> [10.572s]
>> [INFO] WSO2 Machine Learner - P2 Profile Generation .. FAILURE
>> [16.018s]
>> [INFO] WSO2 Machine Learner - Distribution ... SKIPPED
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 1:15.811s
>> [INFO] Finished at: Tue Jan 13 09:37:49 IST 2015
>> [INFO] Final Memory: 76M/923M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
>> (1-unpack-p2-agent-distribution) on project wso2ml-p2-profile: Unable to
>> find artifact. Could not find artifact
>> org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT in wso2-nexus (
>> http://maven.wso2.org/nexus/content/groups/wso2-public/)
>> [ERROR]
>> [ERROR] Try downloading the file manually from the project website.
>> [ERROR]
>> [ERROR] Then, install it using the command:
>> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
>> -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
>> -Dfile=/path/to/file
>> [ERROR]
>> [ERROR] Alternatively, if you host your own repository you can deploy the
>> file there:
>> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>> -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR] org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT
>> [ERROR]
>> [ERROR] from the specified remote repositories:
>> [ERROR] wso2-nexus (
>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>> snapshots=true),
>> [ERROR] wso2.snapshots (
>> http://maven.wso2.org/nexus/content/repositories/snapshots/,
>> releases=false, snapshots=true),
>> [ERROR] wso2.releases (
>> http://maven.wso2.org/nexus/content/repositories/releases/,
>> releases=true, snapshots=true),
>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>> snapshots=false)
>> [ERROR] -> [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 arti

Re: [Dev] [REGISTRY-2378 ] - Review and merge the pull request - Feature implementation of Time in current lifecycle state

2015-01-12 Thread Prasanna Dangalla
Hi,

Use this new pull request [3] because fixed conflicts due to code addition
to the repository before merging the previous pull request [1].
[3] - https://github.com/wso2-dev/carbon-governance/pull/36

Thanks

On Mon, Jan 12, 2015 at 3:09 PM, Prasanna Dangalla 
wrote:

> Hi,
>
> Please merge the pull request [1]. This contains fix for [2]
>
> [1] - https://github.com/wso2-dev/carbon-governance/pull/35
> [2] - https://wso2.org/jira/browse/REGISTRY-2378
>
> Thanks
> --
> Prasanna Dangalla
> Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
> cell: +94 777 55 80 30 | +94 718 11 27 51
> twitter: @prasa77
>



-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg5 P2-profile generation failed

2015-01-12 Thread Thushara Ranawaka
Hi,

Thanks SameeraJ and ChandanaN. Yes now we moving forward with the build.


On Tue, Jan 13, 2015 at 10:36 AM, Chandana Napagoda 
wrote:

> Hi Thushara,
>
> This has been fixed now. Please refer "[Dev] Error in pom file" mail
> thread.
>
> Regards,
> Chandana
>
> On Mon, Jan 12, 2015 at 12:36 PM, Sameera Jayasoma 
> wrote:
>
>> Following log says it all.
>>
>> java.lang.IllegalArgumentException: Format 
>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])"
>> was unable to parse *0.0.0.${carbon_kernel_version*
>>
>> There is a typo in one of your component or feature pom.xml files. You'll
>> have to come up with some scripts to find the faulty pom.
>>
>> Thanks,
>> Sameera.
>>
>> On Mon, Jan 12, 2015 at 12:25 PM, Thushara Ranawaka 
>> wrote:
>>
>>> Hi,
>>>
>>> We are getting the following while generation the P2-profile for GReg.
>>> Please check.
>>>
>>> [INFO] Extracting feature
>>> org.wso2.carbon:org.wso2.carbon.tenant.deployment.feature
>>>
>>> [INFO] Copying resources
>>>
>>> [INFO] Running Equinox P2 Publisher Application for Repository Generation
>>>
>>> [INFO] Command line:
>>>
>>> /bin/sh -c cd
>>> /Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen &&
>>> /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java
>>> -jar
>>> /Users/thushara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
>>> -nosplash -application
>>> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source
>>> /Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/tmp.1421044634662/featureExtract
>>> -metadataRepository
>>> file:/Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>>> -metadataRepositoryName governance-profile-gen -artifactRepository
>>> file:/Users/thushara/Documents/greg/product-greg/modules/p2-profile-gen/target/p2-repo
>>> -artifactRepositoryName governance-profile-gen -publishArtifacts
>>> -publishArtifactRepository -compress -append
>>>
>>> Generating metadata for ..
>>>
>>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version
>>>
>>>
>>> Product publishing ended with the following exception:
>>>
>>> java.lang.IllegalArgumentException: Format
>>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse
>>> 0.0.0.${carbon_kernel_version
>>>
>>> at
>>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275)
>>>
>>> at
>>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89)
>>>
>>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
>>>
>>> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141)
>>>
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63)
>>>
>>> at
>>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40)
>>>
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194)
>>>
>>> at
>>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:504)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2763)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:513)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:815)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:744)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:128)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
>>>
>>> at
>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:543)
>>>
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>>>
>>> at
>>> org.ecli

[Dev] Deprecating wso2-dev carbon-deployment and product-as repos

2015-01-12 Thread Supun Malinga
Hi folks,

For the moment we have two git repositories each from carbon-deployment and
product-as/. See [1], [2] and [3], [4].
We are in the process of releasing first AS release from Git. Hence as
discussed we will deprecate the respective repos from wso2-dev. So repos
[2] and [4] will be deprecated.

>From now on you can directly send your PRs to wso2 repos [1] and [3].

[1] https://github.com/wso2/carbon-deployment
[2] https://github.com/wso2-dev/carbon-deployment

[3] https://github.com/wso2/product-as/
[4] https://github.com/wso2-dev/product-as/

thanks,
-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [REGISTRY-2378 ] - Review and merge the pull request - Feature implementation of Time in current lifecycle state

2015-01-12 Thread Sagara Gunathunga
On Tue, Jan 13, 2015 at 11:31 AM, Prasanna Dangalla 
wrote:

> Hi,
>
> Use this new pull request [3] because fixed conflicts due to code addition
> to the repository before merging the previous pull request [1].
> [3] - https://github.com/wso2-dev/carbon-governance/pull/36
>

Refer in-lined comments in PR.

Thanks !

>
>
> Thanks
>
> On Mon, Jan 12, 2015 at 3:09 PM, Prasanna Dangalla 
> wrote:
>
>> Hi,
>>
>> Please merge the pull request [1]. This contains fix for [2]
>>
>> [1] - https://github.com/wso2-dev/carbon-governance/pull/35
>> [2] - https://wso2.org/jira/browse/REGISTRY-2378
>>
>> Thanks
>> --
>> Prasanna Dangalla
>> Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>> cell: +94 777 55 80 30 | +94 718 11 27 51
>> twitter: @prasa77
>>
>
>
>
> --
> Prasanna Dangalla
> Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
> cell: +94 777 55 80 30 | +94 718 11 27 51
> twitter: @prasa77
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecating wso2-dev carbon-deployment and product-as repos

2015-01-12 Thread Sameera Jayasoma
+1. We've already done this for the Carbon kernel repos.

Masheshika,

Can we get-rid of dev repos? Basically delete them?

On Tue, Jan 13, 2015 at 11:43 AM, Supun Malinga  wrote:

> Hi folks,
>
> For the moment we have two git repositories each from carbon-deployment
> and product-as/. See [1], [2] and [3], [4].
> We are in the process of releasing first AS release from Git. Hence as
> discussed we will deprecate the respective repos from wso2-dev. So repos
> [2] and [4] will be deprecated.
>
> From now on you can directly send your PRs to wso2 repos [1] and [3].
>
> [1] https://github.com/wso2/carbon-deployment
> [2] https://github.com/wso2-dev/carbon-deployment
>
> [3] https://github.com/wso2/product-as/
> [4] https://github.com/wso2-dev/product-as/
>
> thanks,
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: sup...@wso2.com 
> mobile: +94 (0)71 56 91 321
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


[Dev] Same package name in two WS client stubs in same project

2015-01-12 Thread Pirinthapan Mahendran
Hi all,

In a project the carbon services UserIdentityManagementAdminService and
UserInformationRecoveryService are used. When creating the client stub for
these services using wsimport tool, both stub having packages with same
name (org.wso2.carbon.identity.mgt.services). So when using these two stubs
in the project, only one of these package is getting effect and the classes
in other package are not available at the run time.

Since we have to stick with wsimport tool, we should consider the following
two ways to overcome this issue.

1. Generating the client subs for both services at the same step within a
single stub module.
2. Changing the package name of one of the client stub when generating.

But I could not find any resources to implement the first option. But there
is a way to use the second option as follows.

wsimport -p  

Please advice me whether changing the package name is correct?

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecating wso2-dev carbon-deployment and product-as repos

2015-01-12 Thread KasunG Gajasinghe
Hi Supun,

Did you make sure that all the commits are merged to the wso2 repo?

On Tue, Jan 13, 2015 at 11:47 AM, Sameera Jayasoma  wrote:

> +1. We've already done this for the Carbon kernel repos.
>
> Masheshika,
>
> Can we get-rid of dev repos? Basically delete them?
>
> On Tue, Jan 13, 2015 at 11:43 AM, Supun Malinga  wrote:
>
>> Hi folks,
>>
>> For the moment we have two git repositories each from carbon-deployment
>> and product-as/. See [1], [2] and [3], [4].
>> We are in the process of releasing first AS release from Git. Hence as
>> discussed we will deprecate the respective repos from wso2-dev. So repos
>> [2] and [4] will be deprecated.
>>
>> From now on you can directly send your PRs to wso2 repos [1] and [3].
>>
>> [1] https://github.com/wso2/carbon-deployment
>> [2] https://github.com/wso2-dev/carbon-deployment
>>
>> [3] https://github.com/wso2/product-as/
>> [4] https://github.com/wso2-dev/product-as/
>>
>> thanks,
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: sup...@wso2.com 
>> mobile: +94 (0)71 56 91 321
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


-- 

*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] Deprecating wso2-dev carbon-deployment and product-as repos

2015-01-12 Thread Kalpa Welivitigoda
On Tue, Jan 13, 2015 at 11:52 AM, KasunG Gajasinghe  wrote:

> Hi Supun,
>
> Did you make sure that all the commits are merged to the wso2 repo?
>

> On Tue, Jan 13, 2015 at 11:47 AM, Sameera Jayasoma 
> wrote:
>
>> +1. We've already done this for the Carbon kernel repos.
>>
>> Masheshika,
>>
>> Can we get-rid of dev repos? Basically delete them?
>>
>>
Shall we first review and take decisions on the existing PRs before
deleting?


> On Tue, Jan 13, 2015 at 11:43 AM, Supun Malinga  wrote:
>>
>>> Hi folks,
>>>
>>> For the moment we have two git repositories each from carbon-deployment
>>> and product-as/. See [1], [2] and [3], [4].
>>> We are in the process of releasing first AS release from Git. Hence as
>>> discussed we will deprecate the respective repos from wso2-dev. So repos
>>> [2] and [4] will be deprecated.
>>>
>>> From now on you can directly send your PRs to wso2 repos [1] and [3].
>>>
>>> [1] https://github.com/wso2/carbon-deployment
>>> [2] https://github.com/wso2-dev/carbon-deployment
>>>
>>> [3] https://github.com/wso2/product-as/
>>> [4] https://github.com/wso2-dev/product-as/
>>>
>>> thanks,
>>> --
>>> Supun Malinga,
>>>
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> email: sup...@wso2.com 
>>> mobile: +94 (0)71 56 91 321
>>>
>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://sameera.adahas.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
>
> *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
>
>
>



-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES] 4.3.0 based server hang at startup.

2015-01-12 Thread Ayesha Dissanayaka
Hi all,

ES server build on carbon.kernal.version- 4.3.0 server startup hangs giving
following stack trace.

Carbon initialization is delayed due to the following unsatisfied items:
[2015-01-13 11:55:19,238]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
[2015-01-13 11:55:19,238]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.wso2.carbon.identity.sso.saml-4.3.0.SNAPSHOT
[2015-01-13 11:55:19,238]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.wso2.carbon.registry.ws.api-4.3.0.SNAPSHOT
[2015-01-13 11:55:19,238]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
[2015-01-13 11:55:19,238]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
[2015-01-13 11:55:19,239]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGi Service: org.apache.axis2.engine.AxisObserver
[2015-01-13 11:55:19,239]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT

I see that the same issue is discussed in threads [1] and [2].

I noticed that there are two wss4j jars, in the latest ES pack.
wss4j_1.5.11.wso2v7
wss4j_1.5.11.wso2v8-SNAPSHOT

According to thread [2] , there it is fixed in [3]. But, this change seems
not available in current wso2-dev/carbon-identity repo.[4]

Due to this ES build fails at automation test modules.

[1] [Dev] Carbon 4.3.0 snapshot based server hangs
[2] [Dev] [Important] wss4j 1.5.11.wso2v7 bundle does not contain Dynamic
Imports
[3]
https://github.com/pulasthi7/carbon-identity/commit/d843ae38178fbb66a0fa8386f7f183d8b71c621d
[4] https://github.com/wso2-dev/carbon-identity/blob/master/pom.xml
Thanks!
-Ayesha
-- 
*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


Re: [Dev] Deprecating wso2-dev carbon-deployment and product-as repos

2015-01-12 Thread Supun Malinga
Hi,

Yes. We need to merge all the pending PRs before deleting the repos.. We
got some PRs that need to be reviewed and merged.

thanks,

On Tue, Jan 13, 2015 at 12:03 PM, Kalpa Welivitigoda 
wrote:

>
>
> On Tue, Jan 13, 2015 at 11:52 AM, KasunG Gajasinghe 
> wrote:
>
>> Hi Supun,
>>
>> Did you make sure that all the commits are merged to the wso2 repo?
>>
>
>> On Tue, Jan 13, 2015 at 11:47 AM, Sameera Jayasoma 
>> wrote:
>>
>>> +1. We've already done this for the Carbon kernel repos.
>>>
>>> Masheshika,
>>>
>>> Can we get-rid of dev repos? Basically delete them?
>>>
>>>
> Shall we first review and take decisions on the existing PRs before
> deleting?
>
>
>> On Tue, Jan 13, 2015 at 11:43 AM, Supun Malinga  wrote:
>>>
 Hi folks,

 For the moment we have two git repositories each from carbon-deployment
 and product-as/. See [1], [2] and [3], [4].
 We are in the process of releasing first AS release from Git. Hence as
 discussed we will deprecate the respective repos from wso2-dev. So repos
 [2] and [4] will be deprecated.

 From now on you can directly send your PRs to wso2 repos [1] and [3].

 [1] https://github.com/wso2/carbon-deployment
 [2] https://github.com/wso2-dev/carbon-deployment

 [3] https://github.com/wso2/product-as/
 [4] https://github.com/wso2-dev/product-as/

 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com 
 mobile: +94 (0)71 56 91 321

>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://sameera.adahas.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>>
>> *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
>>
>>
>>
>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: kal...@wso2.com
> Mobile: +94776509215
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge the pull request : TOOLS-2527

2015-01-12 Thread Sohani Weerasinghe
Hi Rajeevan,

Merged the pull request.

Thanks,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Mon, Jan 12, 2015 at 5:44 PM, Rajeevan Vimalanathan 
wrote:

> Hi,
>
> Please merge pull request[1] that includes fix for JIRA[2].
>
> [1] https://github.com/wso2-dev/developer-studio/pull/125
>
> [2] https://wso2.org/jira/browse/TOOLS-2527
>
> Thanks,
> Rajeevan
>
> --
> Best Regards,
> V.Rajeevan
> Software Engineer,
> WSO2 Inc. :http://wso2.com
>
> Mobile : +94 773090875
> Email : rajeev...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] 4.3.0 based server hang at startup.

2015-01-12 Thread Pulasthi Mahawithana
Hi Ayesha,

Some of the changes that were made in the pull request has been reverted
when the kernel 4.3.0 release merge is done. Hasintha will add the required
changes back.

On Tue, Jan 13, 2015 at 12:11 PM, Ayesha Dissanayaka 
wrote:

> Hi all,
>
> ES server build on carbon.kernal.version- 4.3.0 server startup hangs
> giving following stack trace.
>
> Carbon initialization is delayed due to the following unsatisfied items:
> [2015-01-13 11:55:19,238]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
> [2015-01-13 11:55:19,238]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.identity.sso.saml-4.3.0.SNAPSHOT
> [2015-01-13 11:55:19,238]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.registry.ws.api-4.3.0.SNAPSHOT
> [2015-01-13 11:55:19,238]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
> [2015-01-13 11:55:19,238]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
> [2015-01-13 11:55:19,239]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGi Service: org.apache.axis2.engine.AxisObserver
> [2015-01-13 11:55:19,239]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>
> I see that the same issue is discussed in threads [1] and [2].
>
> I noticed that there are two wss4j jars, in the latest ES pack.
> wss4j_1.5.11.wso2v7
> wss4j_1.5.11.wso2v8-SNAPSHOT
>
> According to thread [2] , there it is fixed in [3]. But, this change seems
> not available in current wso2-dev/carbon-identity repo.[4]
>
> Due to this ES build fails at automation test modules.
>
> [1] [Dev] Carbon 4.3.0 snapshot based server hangs
> [2] [Dev] [Important] wss4j 1.5.11.wso2v7 bundle does not contain Dynamic
> Imports
> [3]
> https://github.com/pulasthi7/carbon-identity/commit/d843ae38178fbb66a0fa8386f7f183d8b71c621d
> [4] https://github.com/wso2-dev/carbon-identity/blob/master/pom.xml
> Thanks!
> -Ayesha
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> 
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>



-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
Blog: http://blog.pulasthi.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] JAX WS - Enabling Security in SOAP Header

2015-01-12 Thread Asok Perera
Hi,

I'm developing a JAX WS service and I need to enable security such a way
that it supports below tags in SOAP header.

  

 
u...@contoso.com
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-

username-token-profile-1.0#PasswordText">mypassword
 

  


Does someone know how to enable this using @annotations in the service side
?

BR

*Asok Aravinda Perera*
Software Engineer
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

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


Re: [Dev] JAX WS - Enabling Security in SOAP Header

2015-01-12 Thread Sagara Gunathunga
On Tue, Jan 13, 2015 at 12:18 PM, Asok Perera  wrote:

> Hi,
>
> I'm developing a JAX WS service and I need to enable security such a way
> that it supports below tags in SOAP header.
>
>   
>
>   u:Id="uuid-cc1ccc1f-2fba-4bcf-b063-ffc0cac77917-4">
> u...@contoso.com
>  wsse:Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
>
> username-token-profile-1.0#PasswordText">mypassword
>  
>
>   
>
>
> Does someone know how to enable this using @annotations in the service
> side ?
>

There is no annotation based java spec for WS-Security use CXF specific
security, refer AS/CXF security samples.

Thanks !

>
> BR
>
> *Asok Aravinda Perera*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> 
> lean.enterprise.middleware
>
> Mobile: +94722241032
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] 4.3.0 based server hang at startup.

2015-01-12 Thread Hasintha Indrajee
Hi Ayesha,

Required changes are done in wso2-dev repo.




On Tue, Jan 13, 2015 at 12:17 PM, Pulasthi Mahawithana 
wrote:

> Hi Ayesha,
>
> Some of the changes that were made in the pull request has been reverted
> when the kernel 4.3.0 release merge is done. Hasintha will add the required
> changes back.
>
> On Tue, Jan 13, 2015 at 12:11 PM, Ayesha Dissanayaka 
> wrote:
>
>> Hi all,
>>
>> ES server build on carbon.kernal.version- 4.3.0 server startup hangs
>> giving following stack trace.
>>
>> Carbon initialization is delayed due to the following unsatisfied items:
>> [2015-01-13 11:55:19,238]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
>> [2015-01-13 11:55:19,238]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.identity.sso.saml-4.3.0.SNAPSHOT
>> [2015-01-13 11:55:19,238]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.registry.ws.api-4.3.0.SNAPSHOT
>> [2015-01-13 11:55:19,238]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-13 11:55:19,238]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
>> [2015-01-13 11:55:19,239]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGi Service: org.apache.axis2.engine.AxisObserver
>> [2015-01-13 11:55:19,239]  WARN
>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>>
>> I see that the same issue is discussed in threads [1] and [2].
>>
>> I noticed that there are two wss4j jars, in the latest ES pack.
>> wss4j_1.5.11.wso2v7
>> wss4j_1.5.11.wso2v8-SNAPSHOT
>>
>> According to thread [2] , there it is fixed in [3]. But, this change
>> seems not available in current wso2-dev/carbon-identity repo.[4]
>>
>> Due to this ES build fails at automation test modules.
>>
>> [1] [Dev] Carbon 4.3.0 snapshot based server hangs
>> [2] [Dev] [Important] wss4j 1.5.11.wso2v7 bundle does not contain Dynamic
>> Imports
>> [3]
>> https://github.com/pulasthi7/carbon-identity/commit/d843ae38178fbb66a0fa8386f7f183d8b71c621d
>> [4] https://github.com/wso2-dev/carbon-identity/blob/master/pom.xml
>> Thanks!
>> -Ayesha
>> --
>> *Ayesha Dissanayaka*
>> Software Engineer,
>> WSO2, Inc : http://wso2.com
>> 
>> 20, Palmgrove Avenue, Colombo 3
>> E-Mail: aye...@wso2.com 
>>
>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to find the coordinator node of a cluster using hazelcast agent.

2015-01-12 Thread Hemika Kodikara
Hi All,

I have a requirement to show the IP addresses and ports of the nodes in a
cluster on a UI page. But I also have to indicate which node is the
coordinator node. Currently I am only able to to find whether the current
node is the coordinator node or not using the "isCoordinator" method in
"HazelcastClusteringAgent" class.

Is there way to find the coordinator node's IP address and port of the
cluster?

Regards,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

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


Re: [Dev] JAX WS - Enabling Security in SOAP Header

2015-01-12 Thread Asok Perera
Hi Sagara,

Thank you !

As you said, now I'm referring to [1], a CXF example where it has used
Callbackhandlers to enable UsernameToken security.
Hope this is the best way to do ?

[1] -  https://web-gmazza.rhcloud.com/blog/entry/cxf-usernametoken-profile

BR

*Asok Aravinda Perera*
Software Engineer
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

Mobile: +94722241032

On Tue, Jan 13, 2015 at 12:24 PM, Sagara Gunathunga  wrote:

>
>
> On Tue, Jan 13, 2015 at 12:18 PM, Asok Perera  wrote:
>
>> Hi,
>>
>> I'm developing a JAX WS service and I need to enable security such a way
>> that it supports below tags in SOAP header.
>>
>>   
>>
>>  > u:Id="uuid-cc1ccc1f-2fba-4bcf-b063-ffc0cac77917-4">
>> u...@contoso.com
>> > wsse:Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
>>
>> username-token-profile-1.0#PasswordText">mypassword
>>  
>>
>>   
>>
>>
>> Does someone know how to enable this using @annotations in the service
>> side ?
>>
>
> There is no annotation based java spec for WS-Security use CXF specific
> security, refer AS/CXF security samples.
>
> Thanks !
>
>>
>> BR
>>
>> *Asok Aravinda Perera*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> 
>> lean.enterprise.middleware
>>
>> Mobile: +94722241032
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Fixing uploadable jaggery applications issue

2015-01-12 Thread Anuruddha Premalal
Hi,

Once we upload an application to appfactory it get stored temporally inside*
wso2appfctory-2.1.0/repository/deployment/server/jaggeryapps/appmgt/tmp/tmpUploadedApps
. * Notice that this location is inside jaggeryapps folder.

Issue is if we upload a zip file it gets automatically deployed inside the
uploaded location by the jaggerydeployer and it deletes the original
uploaded zip.

Initially following are the fixes that are going to try.

* Try to override the jaggerydeployer component.xml file by writing an osgi
fragment.
  - here component.xml file contains the information about the deployer. So
we can  try overriding this xml and remove the zip file deploery.

* Turn off hot deployment in axis2.xml
  - but this will cause issue in apptype and runtime hot deployment?

* Upload the applicatoins to carbon_home/tmp location
 - This location is not visible to appmgt webapp home. Is there a way to
pass the uploaded file to osgi back-end via jaggery?

Appreciate your inputs in solving this issue [1].

[1] https://wso2.org/jira/browse/APPFAC-2740

Regards,
-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] 4.3.0 based server hang at startup.

2015-01-12 Thread Ayesha Dissanayaka
Hi Pulasthi, Hasintha,

Thanks a lot for the quick response. :)

On Tue, Jan 13, 2015 at 12:33 PM, Hasintha Indrajee 
wrote:

> Hi Ayesha,
>
> Required changes are done in wso2-dev repo.
>
>
>
>
> On Tue, Jan 13, 2015 at 12:17 PM, Pulasthi Mahawithana  > wrote:
>
>> Hi Ayesha,
>>
>> Some of the changes that were made in the pull request has been reverted
>> when the kernel 4.3.0 release merge is done. Hasintha will add the required
>> changes back.
>>
>> On Tue, Jan 13, 2015 at 12:11 PM, Ayesha Dissanayaka 
>> wrote:
>>
>>> Hi all,
>>>
>>> ES server build on carbon.kernal.version- 4.3.0 server startup hangs
>>> giving following stack trace.
>>>
>>> Carbon initialization is delayed due to the following unsatisfied items:
>>> [2015-01-13 11:55:19,238]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: org.wso2.carbon.security.mgt-4.3.0-SNAPSHOT
>>> [2015-01-13 11:55:19,238]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGiAxis2Service: org.wso2.carbon.identity.sso.saml-4.3.0.SNAPSHOT
>>> [2015-01-13 11:55:19,238]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGiAxis2Service: org.wso2.carbon.registry.ws.api-4.3.0.SNAPSHOT
>>> [2015-01-13 11:55:19,238]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: rampart-trust-1.6.1.wso2v13-SNAPSHOT
>>> [2015-01-13 11:55:19,238]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> Module: rampart-core-1.6.1.wso2v13-SNAPSHOT
>>> [2015-01-13 11:55:19,239]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGi Service: org.apache.axis2.engine.AxisObserver
>>> [2015-01-13 11:55:19,239]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>> OSGiAxis2Service: org.wso2.carbon.security.mgt-4.3.0.SNAPSHOT
>>>
>>> I see that the same issue is discussed in threads [1] and [2].
>>>
>>> I noticed that there are two wss4j jars, in the latest ES pack.
>>> wss4j_1.5.11.wso2v7
>>> wss4j_1.5.11.wso2v8-SNAPSHOT
>>>
>>> According to thread [2] , there it is fixed in [3]. But, this change
>>> seems not available in current wso2-dev/carbon-identity repo.[4]
>>>
>>> Due to this ES build fails at automation test modules.
>>>
>>> [1] [Dev] Carbon 4.3.0 snapshot based server hangs
>>> [2] [Dev] [Important] wss4j 1.5.11.wso2v7 bundle does not contain
>>> Dynamic Imports
>>> [3]
>>> https://github.com/pulasthi7/carbon-identity/commit/d843ae38178fbb66a0fa8386f7f183d8b71c621d
>>> [4] https://github.com/wso2-dev/carbon-identity/blob/master/pom.xml
>>> Thanks!
>>> -Ayesha
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> 
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com 
>>>
>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>
>


-- 
*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


Re: [Dev] Please review and merge the pull request : TOOLS-2527

2015-01-12 Thread Rajeevan Vimalanathan
Thanks Sohani.

On Tue, Jan 13, 2015 at 12:13 PM, Sohani Weerasinghe 
wrote:

> Hi Rajeevan,
>
> Merged the pull request.
>
> Thanks,
> Sohani
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Mon, Jan 12, 2015 at 5:44 PM, Rajeevan Vimalanathan  > wrote:
>
>> Hi,
>>
>> Please merge pull request[1] that includes fix for JIRA[2].
>>
>> [1] https://github.com/wso2-dev/developer-studio/pull/125
>>
>> [2] https://wso2.org/jira/browse/TOOLS-2527
>>
>> Thanks,
>> Rajeevan
>>
>> --
>> Best Regards,
>> V.Rajeevan
>> Software Engineer,
>> WSO2 Inc. :http://wso2.com
>>
>> Mobile : +94 773090875
>> Email : rajeev...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Best Regards,
V.Rajeevan
Software Engineer,
WSO2 Inc. :http://wso2.com

Mobile : +94 773090875
Email : rajeev...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to find the coordinator node of a cluster using hazelcast agent.

2015-01-12 Thread Hemika Kodikara
Looping in Azeez, Sameera and Kishanthan.

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +9477762

On Tue, Jan 13, 2015 at 12:35 PM, Hemika Kodikara  wrote:

> Hi All,
>
> I have a requirement to show the IP addresses and ports of the nodes in a
> cluster on a UI page. But I also have to indicate which node is the
> coordinator node. Currently I am only able to to find whether the current
> node is the coordinator node or not using the "isCoordinator" method in
> "HazelcastClusteringAgent" class.
>
> Is there way to find the coordinator node's IP address and port of the
> cluster?
>
> Regards,
> Hemika
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +9477762
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev