[Dev] {BAM] Exception occurred during publishing data through LoadBalancingDataPublisher

2015-01-19 Thread Yashira Perera
Hi,

I got an exception when i try to publish data via
LoadBalancingDataPublisher.

[2015-01-20 13:22:55,948]  INFO
{org.wso2.carbon.databridge.agent.thrift.lb.ReceiverGroup} -  Resending the
failed published data...
[2015-01-20 13:22:55,948] ERROR
{org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} -
java.util.concurrent.RejectedExecutionException
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
at
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)
at
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:600)
at
org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher.publish(AsyncDataPublisher.java:476)
at
org.wso2.carbon.databridge.agent.thrift.lb.ReceiverGroup.publish(ReceiverGroup.java:151)
at
org.wso2.carbon.databridge.agent.thrift.lb.ReceiverGroup.resendPublishedData(ReceiverGroup.java:255)
at
org.wso2.carbon.databridge.agent.thrift.lb.ReceiverGroup.notifyConnectionSuccess(ReceiverGroup.java:271)
at
org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$ReceiverConnectionWorker.run(AsyncDataPublisher.java:794)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Note that i followed this[1]

blog as a sample and developed in a jaggery application.

Thanks

[1]
https://mohanadarshan.wordpress.com/2013/05/04/load-balancing-data-publisher-to-bamcep-example-code/


-- 
*Yashira Perera*
*Software Engineer *
*WSO2, Inc : * http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] Start multiple servers in test framework

2015-01-19 Thread Ruwan Yatawara
Hi Darshana,

Can you please provide us with an existing sample of same, for us to get
started on this. Are there  products for which platform tests are already
available?

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 20, 2015 at 1:07 PM, Dharshana Warusavitharana <
dharsha...@wso2.com> wrote:

> Hi,
>
> Are you trying to integrate this scenrio to the integration test module.
>
>
> Since this scenario requires more than one product you may need to go for
> a platform test scenario.
> In integration tests we only consider single standalone product which
> comes out with  building of the product pack.
>
> Thank you,
> Dharshana.
>
> On Tue, Jan 20, 2015 at 12:34 PM, Jenananthan Yogendran <
> jenanant...@wso2.com> wrote:
>
>> Hi,
>>
>> I want to write automation tests for APP Manager for following scenarios,
>>
>> 1. publishing APP Manager runtime statistics to BAM - For that need to
>> configure the BAM server and start in different port offset
>>
>> 2. workflow extension support with BPS -for that need to configure the
>> BPS and start in different port offset
>>
>> So are  there any automated way to start these servers  with APP Manager
>> server ?
>>
>> --
>> Jenananthan Yogendran
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>>
>
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : dharsha...@wso2.com 
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94770342233
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start multiple servers in test framework

2015-01-19 Thread Dharshana Warusavitharana
Hi,

Are you trying to integrate this scenrio to the integration test module.


Since this scenario requires more than one product you may need to go for a
platform test scenario.
In integration tests we only consider single standalone product which comes
out with  building of the product pack.

Thank you,
Dharshana.

On Tue, Jan 20, 2015 at 12:34 PM, Jenananthan Yogendran <
jenanant...@wso2.com> wrote:

> Hi,
>
> I want to write automation tests for APP Manager for following scenarios,
>
> 1. publishing APP Manager runtime statistics to BAM - For that need to
> configure the BAM server and start in different port offset
>
> 2. workflow extension support with BPS -for that need to configure the BPS
> and start in different port offset
>
> So are  there any automated way to start these servers  with APP Manager
> server ?
>
> --
> Jenananthan Yogendran
> *Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
>


-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com 
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94770342233
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] [ESB] Catch Runtime exceptions which are being occured in inner sequences of a Proxy Service

2015-01-19 Thread Shiva Balachandran
Hi Mahesh,

The following document [1] will be helpful. The Error handling section
should answer your query.

[1] -
http://wso2.com/library/articles/2012/10/wso2-esb-examples-best-practises-error-handling-wso2-esb/

Thank you.

Regards
Shiva Balachandran

On Tue, Jan 20, 2015 at 12:17 PM, Mahesh Chinthaka  wrote:

> Hi all,
> Any idea on how to do $subject ?
>
> --
> *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
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [GReg] Pull Request: Impact Analysis Feature UI Improvement

2015-01-19 Thread Sagara Gunathunga
Hi Jerad,

If this work is completed please arrange a review with UX folks.

Thanks !

On Tue, Jan 20, 2015 at 12:12 PM, Jerad Rutnam  wrote:

> Hi,
>
> Please check and merge the PR [1].
>
> [1] - *https://github.com/wso2/product-greg/pull/24
> *
>
>
> Thanks,
> Jerad
> --
> *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
>
>


-- 
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] Start multiple servers in test framework

2015-01-19 Thread Jenananthan Yogendran
Hi,

I want to write automation tests for APP Manager for following scenarios,

1. publishing APP Manager runtime statistics to BAM - For that need to
configure the BAM server and start in different port offset

2. workflow extension support with BPS -for that need to configure the BPS
and start in different port offset

So are  there any automated way to start these servers  with APP Manager
server ?

-- 
Jenananthan Yogendran
*Software Engineer,*
*WSO2 inc., http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SVN External in APIM tests/resource

2015-01-19 Thread Krishantha Samaraweera
Hi Dinesh,

On Tue, Jan 20, 2015 at 9:21 AM, Dinesh J Weerakkody 
wrote:

> Hi Krishantha,
>
> Thanks for your clarification. Now I have two more questions.
>
> If 1.8.0 is PATS version, we can point APIM 1.9.0 test configuration
> location to the same location that we have used for APIM 1.8.0. Isn't it?
>
> If we do a major change to APIM configuration in 1.9.0 version which is
> incompatible with APIM 1.8.0, do we have to use two config files? (Don't
> need a new Java class since we can modify the class in new branch if needed)
>

The idea is to release PATS with each chunk release. I'm not sure whether
1.8.0 PATS was released or not. So in this case we need to create 1.9.0
version of PATS and go ahead.

Thanks,
Krishantha.


>
>
>
> Thanks
>
> *Dinesh J. Weerakkody*
> Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
>
> On Mon, Jan 19, 2015 at 12:11 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi,
>>
>> On Fri, Jan 16, 2015 at 10:37 AM, Dinesh J Weerakkody 
>> wrote:
>>
>>> Hi,
>>>
>>> Following SVN External links are there in test module of APIManager
>>> 1.9.0.
>>>
>>>- modules/integration/tests/src/test/resources
>>>- modules/integration/tests-ui/src/test/resources
>>>
>>> both locations are pointed to
>>>
>>>
>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/platform-automated-test-suite/
>>> *1.8.0*/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
>>> artifacts/AM
>>>
>>> I'm curious to know followings. please help me to understand.
>>>
>>>1. What is the reason for having a SVN external in these locations?
>>>
>>> This is to maintain centralised artefact repo to promote artefact
>> reusability among products and various test levels - e.g platform tests.
>> This concept is dropped in GIT based test suites and externals are no
>> longer required.
>>
>>>
>>>1. Please note that it is pointed to 1.8.0 location. Is this pointed
>>>location is correct? I think it should be pointed to 1.9.0 location?
>>>
>>> You need to create next version of artefact repo.
>>
>>>
>>>1. There are several directories in
>>>org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
>>>artifacts/ location such as BAM, AS. if this location is for APIM what is
>>>the reason for having other product folders?
>>>
>>>  Explained under #1
>>
>>>
>>>1. If this is a common place to have all the configuration files why
>>>it is under 1.8.0? 1.8.0 is APIM version.
>>>
>>> It is PATS 1.8.0 (Platform Automated Test Suite) nothing related APIM
>> 1.8.0
>>
>> Thanks,
>> Krishantha.
>>
>>
>>> Thanks
>>>
>>> *Dinesh J. Weerakkody*
>>> Software Engineer
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
>>>
>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>


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


Re: [Dev] Upgrading jcifs and JSch to the latest versions

2015-01-19 Thread Manoj Kumara
Hi Sandamal,

I have added some comments please update the pull requests accordingly.


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Tue, Jan 20, 2015 at 12:28 AM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> Manoj, can you review this and merge?
>
> On Mon, Jan 19, 2015 at 11:39 AM, Sandamal Weerasinghe 
> wrote:
>
>> Hi,
>>
>> Please merge the above when possible.
>>
>> Thanks.
>>
>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>
>> Mobile - +94-77-144-9640
>>
>> On Fri, Jan 16, 2015 at 10:50 AM, Sandamal Weerasinghe > > wrote:
>>
>>> Hi Carbon Team,
>>>
>>> Please merge the pull request [1]
>>>
>>> [1] https://github.com/wso2/orbit/pull/54
>>>
>>> Thanks.
>>>
>>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>>
>>> Mobile - +94-77-144-9640
>>>
>>> On Wed, Jan 14, 2015 at 2:42 PM, Sandamal Weerasinghe >> > wrote:
>>>
 Hi all,

 Currently we are using jcifs_0.8.3 (released with Carbon 3.1.0)
 and jsch_0.1.49 (released with Carbon 4.1.0). I am in the process of
 upgrading them to the latest versions available on Maven.

 Thanks.

 Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd

 Mobile - +94-77-144-9640

>>>
>>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tomcat valve with IS

2015-01-19 Thread Supun Malinga
Hi Chamin,

Yes you can integrate the valve as done in [1]. make sure you specify the
valve at the end of the valves section.

For logging into the console you can simply use log4j as described earlier.

thanks,

On Tue, Jan 20, 2015 at 12:20 PM, Inshaf Mahath  wrote:

> Hi Chamin,
>
> You can try on Apache Log4j [1]. Sample implementation can be found on
> [2]. Hope this will work.
>
> [1] http://logging.apache.org/log4j/2.x/
> [2]
> https://github.com/zamly/HiveAnalyzer-CEPNotifier/blob/master/src/main/java/org/wso2/bam/hive/CEPNotifier.java
>
>
>
> Best Regards,
>
> On Tue, Jan 20, 2015 at 10:42 AM, Chamin Nalinda  wrote:
>
>> Hi all,
>>
>> I wrote a custom TomCat valve and now I need to integrate the valve with
>> WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application
>> server. In the case of my requirement, I host my app on Tomcat and I need
>> to log the information on IS console.
>>
>> [1]
>> http://dulanja.blogspot.com/2013/12/enabling-saml-sso-for-web-apps-hosted.html
>>
>> Regards !!!
>>
>> --
>> *Chamin Nalinda*
>>
>> Intern - Engineering
>> WSO2 Inc. http://www.wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: (+94) 77 241 66 04
>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>> Web: http://www.ckreativity.com
>> Blog: http://techspiro.blogspot.com/
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Inshaf Mahath
> Associate Software Engineer
> Mobile: +94775907181
> WSO2 Inc.
> Lean . Enterprise . Middleware
>
>
> ___
> 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] Tomcat valve with IS

2015-01-19 Thread Inshaf Mahath
Hi Chamin,

You can try on Apache Log4j [1]. Sample implementation can be found on [2].
Hope this will work.

[1] http://logging.apache.org/log4j/2.x/
[2]
https://github.com/zamly/HiveAnalyzer-CEPNotifier/blob/master/src/main/java/org/wso2/bam/hive/CEPNotifier.java



Best Regards,

On Tue, Jan 20, 2015 at 10:42 AM, Chamin Nalinda  wrote:

> Hi all,
>
> I wrote a custom TomCat valve and now I need to integrate the valve with
> WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application
> server. In the case of my requirement, I host my app on Tomcat and I need
> to log the information on IS console.
>
> [1]
> http://dulanja.blogspot.com/2013/12/enabling-saml-sso-for-web-apps-hosted.html
>
> Regards !!!
>
> --
> *Chamin Nalinda*
>
> Intern - Engineering
> WSO2 Inc. http://www.wso2.com
> lean.enterprise.middleware
>
> Mobile: (+94) 77 241 66 04
> Linkedin: https://www.linkedin.com/in/chaminnalinda
> Web: http://www.ckreativity.com
> Blog: http://techspiro.blogspot.com/
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inshaf Mahath
Associate Software Engineer
Mobile: +94775907181
WSO2 Inc.
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Catch Runtime exceptions which are being occured in inner sequences of a Proxy Service

2015-01-19 Thread Mahesh Chinthaka
Hi all,
Any idea on how to do $subject ?

-- 
*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] [GReg] Pull Request: Impact Analysis Feature UI Improvement

2015-01-19 Thread Jerad Rutnam
Hi,

Please check and merge the PR [1].

[1] - *https://github.com/wso2/product-greg/pull/24
*


Thanks,
Jerad
-- 
*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] Upgrading jcifs and JSch to the latest versions

2015-01-19 Thread Kishanthan Thangarajah
Manoj, can you review this and merge?

On Mon, Jan 19, 2015 at 11:39 AM, Sandamal Weerasinghe 
wrote:

> Hi,
>
> Please merge the above when possible.
>
> Thanks.
>
> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>
> Mobile - +94-77-144-9640
>
> On Fri, Jan 16, 2015 at 10:50 AM, Sandamal Weerasinghe 
> wrote:
>
>> Hi Carbon Team,
>>
>> Please merge the pull request [1]
>>
>> [1] https://github.com/wso2/orbit/pull/54
>>
>> Thanks.
>>
>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>
>> Mobile - +94-77-144-9640
>>
>> On Wed, Jan 14, 2015 at 2:42 PM, Sandamal Weerasinghe 
>> wrote:
>>
>>> Hi all,
>>>
>>> Currently we are using jcifs_0.8.3 (released with Carbon 3.1.0)
>>> and jsch_0.1.49 (released with Carbon 4.1.0). I am in the process of
>>> upgrading them to the latest versions available on Maven.
>>>
>>> Thanks.
>>>
>>> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
>>>
>>> Mobile - +94-77-144-9640
>>>
>>
>>
>


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

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


Re: [Dev] (no subject)

2015-01-19 Thread Malaka Silva
Hi,

There was some code re factoring done in the admin stub some time ago.
Please merge with upstream.

Build seems to be ok [1].

[1] https://wso2.org/jenkins/job/carbon-mediation/398/

On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe 
wrote:

> I got this error when I am building the inbound-endpoint-ui component. It
> doesn't show any error logs in the console, but the only problem is that
> inbound-endpoint ui is not coming up. And the error message "
> org.wso2.carbon.inbound.stub.InboundAdminStub.
> getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;"
> comes in a message dialog box when I am trying to access the inbound
> endpoint ui.
>
> On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran 
> wrote:
>
>> Hi Chanaka,
>>
>> Can you please provide the complete error? Also, the archived mail [1],
>> talks about a similar issue. Have a look at it too.
>>
>> [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html
>>
>> Thank you,
>> Shiva Balachandran
>>
>> On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray 
>> wrote:
>>
>>> I forgot to attach the error.
>>>
>>>
>>> org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
>>>
>>> On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray 
>>> wrote:
>>>

 I am trying to build the inbound endpoint ui in carbon-mediation. I
 used "mvn clean install" in this
 directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

>>>
>>>
>>>
>>> --
>>> *Chanaka Sampath Cooray*
>>> Software Engineering Intern,
>>> WSO2 Lanka (pvt) Ltd.
>>> Mobile:+94713614884
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> *Eranda Rajapakshe*
> Software Engineering intern
> WSO2 Inc. www.wso2.com
>
> *B. Sc. Eng. (Hons) Undergraduate*
> *Dept. of Computer Science and Engineering*
> *University of Moratuwa, Sri Lanka*
> Tel : +94784822608
> Email : eran...@wso2.com
>



-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : 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


Re: [Dev] (no subject)

2015-01-19 Thread Eranda Rajapakshe
I got this error when I am building the inbound-endpoint-ui component. It
doesn't show any error logs in the console, but the only problem is that
inbound-endpoint ui is not coming up. And the error message "
org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[
Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;" comes in a
message dialog box when I am trying to access the inbound endpoint ui.

On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran  wrote:

> Hi Chanaka,
>
> Can you please provide the complete error? Also, the archived mail [1],
> talks about a similar issue. Have a look at it too.
>
> [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html
>
> Thank you,
> Shiva Balachandran
>
> On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray 
> wrote:
>
>> I forgot to attach the error.
>>
>>
>> org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
>>
>> On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray 
>> wrote:
>>
>>>
>>> I am trying to build the inbound endpoint ui in carbon-mediation. I used
>>> "mvn clean install" in this
>>> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
>>> build the jar and copied it to the
>>> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>>>
>>> Even though the build was successful, the inbound endpoint tab doesn't
>>> appear in the ESB management console. It shows the following error.
>>>
>>>
>>>
>>> Is there any step that I have missed in the process of building the jar
>>> file?
>>>
>>> Thank you!
>>> --
>>> *Chanaka Sampath Cooray*
>>> Software Engineering Intern,
>>> WSO2 Lanka (pvt) Ltd.
>>> Mobile:+94713614884
>>>
>>
>>
>>
>> --
>> *Chanaka Sampath Cooray*
>> Software Engineering Intern,
>> WSO2 Lanka (pvt) Ltd.
>> Mobile:+94713614884
>>
>> ___
>> 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
>
>


-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com

*B. Sc. Eng. (Hons) Undergraduate*
*Dept. of Computer Science and Engineering*
*University of Moratuwa, Sri Lanka*
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sameera Jayaratna
Hi,

Will do. I will go through them and move into appropriate log levels.

Regards,
Sameera



On Tue, Jan 20, 2015 at 11:14 AM, Ruchira Wageesha  wrote:

> Hi SameeraJ,
>
> Can you please fix these logs?
>
> /Ruchira
>
> On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga 
> wrote:
>
>>
>> HTH
>> http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html
>>
>> Thanks !
>>
>>
>> On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>> Hi ES team,
>>>
>>> Please review this log with Ruchira and properly separate INFO/DEBUG
>>> logs, I have in-lined commented some of the places which we need to use
>>> DEBUG.
>>>
>>> On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun 
>>> wrote:
>>>
 Hi All,

 During Greg server startup we are observing a large amount of store and
 jaggery related logs. I think most of them can be moved to be DEBUG. There
 are also a lot of WARN messages, is it possible to reduce them as well.




 [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
 [2015-01-19 14:35:07,388]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
 [2015-01-19 14:35:07,437]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
 [2015-01-19 14:35:07,482]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
 [2015-01-19 14:35:07,526]  INFO
 {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
 webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]

>>>
>>> IMO following section should go to DEBUG level.
>>>
>>> [2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting
 event : tenantLoad
 [2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting
 event : tenantCreate
 [2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
 ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
 [2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
 ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
 "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
 "/

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Ruchira Wageesha
Hi SameeraJ,

Can you please fix these logs?

/Ruchira

On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga  wrote:

>
> HTH
> http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html
>
> Thanks !
>
>
> On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga 
> wrote:
>
>>
>> Hi ES team,
>>
>> Please review this log with Ruchira and properly separate INFO/DEBUG
>> logs, I have in-lined commented some of the places which we need to use
>> DEBUG.
>>
>> On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun 
>> wrote:
>>
>>> Hi All,
>>>
>>> During Greg server startup we are observing a large amount of store and
>>> jaggery related logs. I think most of them can be moved to be DEBUG. There
>>> are also a lot of WARN messages, is it possible to reduce them as well.
>>>
>>>
>>>
>>>
>>> [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
>>> [2015-01-19 14:35:07,388]  INFO
>>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>>> webapp:
>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
>>> [2015-01-19 14:35:07,437]  INFO
>>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>>> webapp:
>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
>>> [2015-01-19 14:35:07,482]  INFO
>>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>>> webapp:
>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
>>> [2015-01-19 14:35:07,526]  INFO
>>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>>> webapp:
>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]
>>>
>>
>> IMO following section should go to DEBUG level.
>>
>> [2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting event
>>> : tenantLoad
>>> [2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting
>>> event : tenantCreate
>>> [2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
>>> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
>>> [2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
>>> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
>>> "/_system/governance/repository/components/org.wso2.carbon.gov

Re: [Dev] (no subject)

2015-01-19 Thread Shiva Balachandran
Hi Chanaka,

Can you please provide the complete error? Also, the archived mail [1],
talks about a similar issue. Have a look at it too.

[1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

Thank you,
Shiva Balachandran

On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray  wrote:

> I forgot to attach the error.
>
>
> org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
>
> On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray 
> wrote:
>
>>
>> I am trying to build the inbound endpoint ui in carbon-mediation. I used
>> "mvn clean install" in this
>> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
>> build the jar and copied it to the
>> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>>
>> Even though the build was successful, the inbound endpoint tab doesn't
>> appear in the ESB management console. It shows the following error.
>>
>>
>>
>> Is there any step that I have missed in the process of building the jar
>> file?
>>
>> Thank you!
>> --
>> *Chanaka Sampath Cooray*
>> Software Engineering Intern,
>> WSO2 Lanka (pvt) Ltd.
>> Mobile:+94713614884
>>
>
>
>
> --
> *Chanaka Sampath Cooray*
> Software Engineering Intern,
> WSO2 Lanka (pvt) Ltd.
> Mobile:+94713614884
>
> ___
> 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


Re: [Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Danesh Kuruppu
Thanks Rajith/Gayashan,

I am able to fix the issue with the help of Gayashan.

I build the orbit bundle from [1]. and put the bundle to
repository/components/dropins.

1.
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/orbit/cassandra-jdbc/1.1.1.wso2v1/

Thanks
Danesh

On Tue, Jan 20, 2015 at 10:46 AM, Rajith Vitharana  wrote:

> Hi,
>
> Try putting cassandra-jdbc-1.2.5.jar to repository/components/lib folder.
> You can download it from [1]
>
>
> [1] -
> https://code.google.com/a/apache-extras.org/p/cassandra-jdbc/downloads/list
>
> Thanks,
>
> On Tue, Jan 20, 2015 at 10:35 AM, Danesh Kuruppu  wrote:
>
>> Hi all,
>> I am using BAM 2.4.0 version
>>
>> I tried to test cassandra database connection using Management Console in
>> BAM.
>>
>>  - open BAM console and go to Configure ---> Data Sources
>>  - select the datasource (here "WSO2BAM_CASSANDRA_DATASOURCE") ---> View
>>  - use button "Test Connection"
>>
>> I am getting CassandraDriver class not found exception as follows,
>>
>> Caused by: java.sql.SQLException:
>> org.apache.cassandra.cql.jdbc.CassandraDriver
>> at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
>> at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
>> at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:702)
>> at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:634)
>> at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
>> at
>> org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
>> at
>> org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader.testDataSourceConnection(RDBMSDataSourceReader.java:69)
>> ... 63 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.cassandra.cql.jdbc.CassandraDriver
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:249)
>> at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)
>>
>>
>> Please help me.
>>
>> Thanks
>> --
>>
>> Danesh Kuruppu
>> Software Engineer
>> WSO2 Inc,
>> Mobile: +94 (77) 1690552
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Rajith Vitharana
Hi,

Try putting cassandra-jdbc-1.2.5.jar to repository/components/lib folder.
You can download it from [1]


[1] -
https://code.google.com/a/apache-extras.org/p/cassandra-jdbc/downloads/list

Thanks,

On Tue, Jan 20, 2015 at 10:35 AM, Danesh Kuruppu  wrote:

> Hi all,
> I am using BAM 2.4.0 version
>
> I tried to test cassandra database connection using Management Console in
> BAM.
>
>  - open BAM console and go to Configure ---> Data Sources
>  - select the datasource (here "WSO2BAM_CASSANDRA_DATASOURCE") ---> View
>  - use button "Test Connection"
>
> I am getting CassandraDriver class not found exception as follows,
>
> Caused by: java.sql.SQLException:
> org.apache.cassandra.cql.jdbc.CassandraDriver
> at
> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
> at
> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
> at
> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:702)
> at
> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:634)
> at
> org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
> at
> org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
> at
> org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader.testDataSourceConnection(RDBMSDataSourceReader.java:69)
> ... 63 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.cassandra.cql.jdbc.CassandraDriver
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at
> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)
>
>
> Please help me.
>
> Thanks
> --
>
> Danesh Kuruppu
> Software Engineer
> WSO2 Inc,
> Mobile: +94 (77) 1690552
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Tomcat valve with IS

2015-01-19 Thread Chamin Nalinda
Hi all,

I wrote a custom TomCat valve and now I need to integrate the valve with
WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application
server. In the case of my requirement, I host my app on Tomcat and I need
to log the information on IS console.

[1]
http://dulanja.blogspot.com/2013/12/enabling-saml-sso-for-web-apps-hosted.html

Regards !!!

-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
Blog: http://techspiro.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] CassandraDriver class not found exception when testing the db connection from BAM management console

2015-01-19 Thread Danesh Kuruppu
Hi all,
I am using BAM 2.4.0 version

I tried to test cassandra database connection using Management Console in
BAM.

 - open BAM console and go to Configure ---> Data Sources
 - select the datasource (here "WSO2BAM_CASSANDRA_DATASOURCE") ---> View
 - use button "Test Connection"

I am getting CassandraDriver class not found exception as follows,

Caused by: java.sql.SQLException:
org.apache.cassandra.cql.jdbc.CassandraDriver
at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
at
org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
at
org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:702)
at
org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:634)
at
org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
at
org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
at
org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader.testDataSourceConnection(RDBMSDataSourceReader.java:69)
... 63 more
Caused by: java.lang.ClassNotFoundException:
org.apache.cassandra.cql.jdbc.CassandraDriver
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at
org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)


Please help me.

Thanks
-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I forgot to attach the error.

org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray  wrote:

>
> I am trying to build the inbound endpoint ui in carbon-mediation. I used
> "mvn clean install" in this
> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
> build the jar and copied it to the
> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>
> Even though the build was successful, the inbound endpoint tab doesn't
> appear in the ESB management console. It shows the following error.
>
>
>
> Is there any step that I have missed in the process of building the jar
> file?
>
> Thank you!
> --
> *Chanaka Sampath Cooray*
> Software Engineering Intern,
> WSO2 Lanka (pvt) Ltd.
> Mobile:+94713614884
>



-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I am trying to build the inbound endpoint ui in carbon-mediation. I used
"mvn clean install" in this
directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
build the jar and copied it to the
/wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

Even though the build was successful, the inbound endpoint tab doesn't
appear in the ESB management console. It shows the following error.



Is there any step that I have missed in the process of building the jar
file?

Thank you!
-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Manager] Creating Users with different previledges

2015-01-19 Thread Yasassri Ratnayake
Hi Ruwan,

Thanks for the reply.

But when I assign default "Internal/publisher" role the user can create and
publish the app. When I look at the permission tree I see the following
permissions.


​
Do I need to remove Publish permissions in-order to achieve my requirement?

*Note : I'm trying this in a default pack with the changes you suggested
and I haven't changed any roles or permissions.*

With Regards,

On Tue, Jan 20, 2015 at 9:39 AM, Ruwan Yatawara  wrote:

> Hi Yasasiri,
>
> This can be done by using the publisher and reviewer roles already
> available in app manager. Please follow the below steps.
>
> 1) create a user for creating the app, lets call him "creator", assign the
> role, "Internal/publisher"
>
> 2) create a user for reviewing the app, lets call him "reviewer", assign
> the role "Internal/reviewer"
>
> 3) login as the creator and create the app. and click on the "Submit"
> button. You will notice that if you click on "Approve" nothing happens,
> there is an error shown in the error logs.
>
> 4) login as the reviewer to the publisher and click on the "Approve"
>  button, your app will get published.
>
>
> *Note : *However I identified a small issue when trying this out, so
> please replace the following file inside of the publisher webapp, before
> you do this.
>
> Path : **/repository/deployment/server/jaggeryapps/*publisher*
> /themes/appm/renderers/controllers/assets_router.js
>
> 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 Mon, Jan 19, 2015 at 5:18 PM, Yasassri Ratnayake 
> wrote:
>
>> Hi All,
>>
>> My requirement is to have 2 different users to control App creation.
>> Users should have privileges as mentioned below.
>>
>> User 1. To create Apps and submit for Approval.
>> User 2. To review and approve the App for publishing.
>>
>> What are the permissions that needs to be added to create two users to
>> address my scenario?
>>
>> With Regards,
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> *
>>
>
>


-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SVN External in APIM tests/resource

2015-01-19 Thread Dinesh J Weerakkody
Hi Krishantha,

Thanks for your clarification. Now I have two more questions.

If 1.8.0 is PATS version, we can point APIM 1.9.0 test configuration
location to the same location that we have used for APIM 1.8.0. Isn't it?

If we do a major change to APIM configuration in 1.9.0 version which is
incompatible with APIM 1.8.0, do we have to use two config files? (Don't
need a new Java class since we can modify the class in new branch if needed)



Thanks

*Dinesh J. Weerakkody*
Software Engineer
WSO2 Inc.
lean | enterprise | middleware
M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com

On Mon, Jan 19, 2015 at 12:11 PM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi,
>
> On Fri, Jan 16, 2015 at 10:37 AM, Dinesh J Weerakkody 
> wrote:
>
>> Hi,
>>
>> Following SVN External links are there in test module of APIManager 1.9.0.
>>
>>- modules/integration/tests/src/test/resources
>>- modules/integration/tests-ui/src/test/resources
>>
>> both locations are pointed to
>>
>>
>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/platform-automated-test-suite/
>> *1.8.0*/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
>> artifacts/AM
>>
>> I'm curious to know followings. please help me to understand.
>>
>>1. What is the reason for having a SVN external in these locations?
>>
>> This is to maintain centralised artefact repo to promote artefact
> reusability among products and various test levels - e.g platform tests.
> This concept is dropped in GIT based test suites and externals are no
> longer required.
>
>>
>>1. Please note that it is pointed to 1.8.0 location. Is this pointed
>>location is correct? I think it should be pointed to 1.9.0 location?
>>
>> You need to create next version of artefact repo.
>
>>
>>1. There are several directories in
>>org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/AM
>>artifacts/ location such as BAM, AS. if this location is for APIM what is
>>the reason for having other product folders?
>>
>>  Explained under #1
>
>>
>>1. If this is a common place to have all the configuration files why
>>it is under 1.8.0? 1.8.0 is APIM version.
>>
>> It is PATS 1.8.0 (Platform Automated Test Suite) nothing related APIM
> 1.8.0
>
> Thanks,
> Krishantha.
>
>
>> Thanks
>>
>> *Dinesh J. Weerakkody*
>> Software Engineer
>> WSO2 Inc.
>> lean | enterprise | middleware
>> M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
>>
>
>
>
> --
> 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


Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sagara Gunathunga
HTH
http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html

Thanks !

On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga  wrote:

>
> Hi ES team,
>
> Please review this log with Ruchira and properly separate INFO/DEBUG logs,
> I have in-lined commented some of the places which we need to use DEBUG.
>
> On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun  wrote:
>
>> Hi All,
>>
>> During Greg server startup we are observing a large amount of store and
>> jaggery related logs. I think most of them can be moved to be DEBUG. There
>> are also a lot of WARN messages, is it possible to reduce them as well.
>>
>>
>>
>>
>> [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
>> [2015-01-19 14:35:07,388]  INFO
>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>> webapp:
>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
>> [2015-01-19 14:35:07,437]  INFO
>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>> webapp:
>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
>> [2015-01-19 14:35:07,482]  INFO
>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>> webapp:
>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
>> [2015-01-19 14:35:07,526]  INFO
>> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
>> webapp:
>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]
>>
>
> IMO following section should go to DEBUG level.
>
> [2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting event
>> : tenantLoad
>> [2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting event
>> : tenantCreate
>> [2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
>> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
>> [2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
>> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
>> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.r

Re: [Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Sagara Gunathunga
Hi ES team,

Please review this log with Ruchira and properly separate INFO/DEBUG logs,
I have in-lined commented some of the places which we need to use DEBUG.

On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun  wrote:

> Hi All,
>
> During Greg server startup we are observing a large amount of store and
> jaggery related logs. I think most of them can be moved to be DEBUG. There
> are also a lot of WARN messages, is it possible to reduce them as well.
>
>
>
>
> [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
> [2015-01-19 14:35:07,388]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
> [2015-01-19 14:35:07,437]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
> [2015-01-19 14:35:07,482]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
> [2015-01-19 14:35:07,526]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]
>

IMO following section should go to DEBUG level.

[2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting event :
> tenantLoad
> [2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting event
> : tenantCreate
> [2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
> [2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
> "/_system/governance/repository/compo

Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Godwin Amila Shrimal
Hi Nuwan,

Yes. I tried with new IS service pack and it worked fine, BTW issues was
small mismatching with audience restriction.


Thanks
Godwin



On Tue, Jan 20, 2015 at 1:03 AM, Nuwan Wimalasekara  wrote:

> I tried with the new IS service pack and It works for me.
>
> On Mon, Jan 19, 2015 at 10:37 AM, Nuwan Wimalasekara 
> wrote:
>
>> Hi Godwin,
>> In default IS pack this working fine and I have experienced that
>> patch0777 has broken this scenario with above error. Can you try applying
>> the new service pack and try again. Please note that you need to update the
>> database too according to the patch db scripts.
>>
>> Thanks,
>> Nuwanw
>>
>> On Mon, Jan 19, 2015 at 10:22 AM, Nuwan Wimalasekara 
>> wrote:
>>
>>> Hi Godwin,
>>> Did you installed any patches in Identity server ?
>>>
>>> Thanks,
>>> Nuwanw
>>>
>>> On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal 
>>> wrote:
>>>
 Hi,

 I am checking travelocity web application by setting EnableSAML2Grant
 property to true. After successful authentication when click "*Request
 OAuth2 Access Token*", it gives following error in tomcat. there is no
 errors in identity server. Use default authentication as Local and Outbound
 Authentication.

 org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Error
 while retrieving OAuth2 access token using SAML2 grant type

 at
 org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:65)

 at
 org.wso2.carbon.identity.sso.agent.SSOAgentFilter.doFilter(SSOAgentFilter.java:135)

 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.StandardContextValve.invoke(StandardContextValve.java:122)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

 at
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

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

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

 at
 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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

 Caused by: java.io.IOException: Server returned HTTP response code: 400
 for URL: https://localhost:9443/oauth2/token

 at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)

 at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

 at
 org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.executePost(SAML2GrantAccessTokenRequestor.java:97)

 at
 org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:51)



 Thanks

 Godwin

 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D *
 twitter: https://twitter.com/godwinamila

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


>>>
>>>
>>> --
>>> Nuwan Wimalasekara
>>> Senior Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> phone: +94 71 668 4620
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


--

Re: [Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-19 Thread Chanuka Dissanayake
Hi Danushka,

Thanks for the reply, I have looked into the acs file. In this scenario we
don't need to change the permissions in there.

@SameeraM, Thanks for the help,

in conf/identity.xml file, we *don't* need to change
*false* to *true.*

*Assertion Consumer URL *need to be change as
*https://localhost:9443/publisher/acs
 *because we are using https.

Thanks,
Chanuka.

On Mon, Jan 19, 2015 at 10:26 PM, Danushka Fernando 
wrote:

> Hi Chanuka
> Check the code of acs to see whether its checking for additional
> permissions.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Mon, Jan 19, 2015 at 12:24 PM, Chanuka Dissanayake 
> wrote:
>
>> Hi,
>>
>> I'm using ES 2.0.0 M4 pack and IS 5.0.0 fresh pack for $subject, I have
>> followed [1] and these steps [2], in cofiguring. I'm using a single tenant.
>> Console is not showing an error in both products.
>>
>> In publisher: After redirected to the page '
>> https://localhost:9763/publisher/acs' by IS, page is not available error.
>>
>> In store: It's not redirecting to the IS login page, but showing the
>> default ES login.
>>
>> I didn't configure the Mgt console for SSO.
>>
>> Is there any additional configurations that I'm missing here. I couldn't
>> find answer from the 'Enable SSO for Publisher and Store with an
>> External IS' thread.
>>
>> [1] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
>> [2]
>> https://docs.google.com/document/d/1_w3Z6WwWWmbv9hYzwYBVxCtK-sZkxSTTC0PPcgOSfXs/edit
>>
>> Thanks,
>> Chanuka.
>>
>> --
>> Chanuka Dissanayake
>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>
>> Mobile: +94 71 33 63 596
>> Email: chan...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
I tried with the new IS service pack and It works for me.

On Mon, Jan 19, 2015 at 10:37 AM, Nuwan Wimalasekara 
wrote:

> Hi Godwin,
> In default IS pack this working fine and I have experienced that patch0777
> has broken this scenario with above error. Can you try applying the new
> service pack and try again. Please note that you need to update the
> database too according to the patch db scripts.
>
> Thanks,
> Nuwanw
>
> On Mon, Jan 19, 2015 at 10:22 AM, Nuwan Wimalasekara 
> wrote:
>
>> Hi Godwin,
>> Did you installed any patches in Identity server ?
>>
>> Thanks,
>> Nuwanw
>>
>> On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal 
>> wrote:
>>
>>> Hi,
>>>
>>> I am checking travelocity web application by setting EnableSAML2Grant
>>> property to true. After successful authentication when click "*Request
>>> OAuth2 Access Token*", it gives following error in tomcat. there is no
>>> errors in identity server. Use default authentication as Local and Outbound
>>> Authentication.
>>>
>>> org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Error
>>> while retrieving OAuth2 access token using SAML2 grant type
>>>
>>> at
>>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:65)
>>>
>>> at
>>> org.wso2.carbon.identity.sso.agent.SSOAgentFilter.doFilter(SSOAgentFilter.java:135)
>>>
>>> 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.StandardContextValve.invoke(StandardContextValve.java:122)
>>>
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>>>
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
>>>
>>> at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
>>>
>>> at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>>>
>>> at
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>
>>> at
>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>
>>> at java.lang.Thread.run(Thread.java:695)
>>>
>>> Caused by: java.io.IOException: Server returned HTTP response code: 400
>>> for URL: https://localhost:9443/oauth2/token
>>>
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
>>>
>>> at
>>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
>>>
>>> at
>>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.executePost(SAML2GrantAccessTokenRequestor.java:97)
>>>
>>> at
>>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:51)
>>>
>>>
>>>
>>> Thanks
>>>
>>> Godwin
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D *
>>> twitter: https://twitter.com/godwinamila
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
Hi Godwin,
In default IS pack this working fine and I have experienced that patch0777
has broken this scenario with above error. Can you try applying the new
service pack and try again. Please note that you need to update the
database too according to the patch db scripts.

Thanks,
Nuwanw

On Mon, Jan 19, 2015 at 10:22 AM, Nuwan Wimalasekara 
wrote:

> Hi Godwin,
> Did you installed any patches in Identity server ?
>
> Thanks,
> Nuwanw
>
> On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal 
> wrote:
>
>> Hi,
>>
>> I am checking travelocity web application by setting EnableSAML2Grant
>> property to true. After successful authentication when click "*Request
>> OAuth2 Access Token*", it gives following error in tomcat. there is no
>> errors in identity server. Use default authentication as Local and Outbound
>> Authentication.
>>
>> org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Error
>> while retrieving OAuth2 access token using SAML2 grant type
>>
>> at
>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:65)
>>
>> at
>> org.wso2.carbon.identity.sso.agent.SSOAgentFilter.doFilter(SSOAgentFilter.java:135)
>>
>> 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.StandardContextValve.invoke(StandardContextValve.java:122)
>>
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
>>
>> at
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
>>
>> at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>>
>> at
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>
>> at
>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>
>> at java.lang.Thread.run(Thread.java:695)
>>
>> Caused by: java.io.IOException: Server returned HTTP response code: 400
>> for URL: https://localhost:9443/oauth2/token
>>
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
>>
>> at
>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
>>
>> at
>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.executePost(SAML2GrantAccessTokenRequestor.java:97)
>>
>> at
>> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:51)
>>
>>
>>
>> Thanks
>>
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Nuwan Wimalasekara
Hi Godwin,
Did you installed any patches in Identity server ?

Thanks,
Nuwanw

On Mon, Jan 19, 2015 at 6:00 AM, Godwin Amila Shrimal 
wrote:

> Hi,
>
> I am checking travelocity web application by setting EnableSAML2Grant
> property to true. After successful authentication when click "*Request
> OAuth2 Access Token*", it gives following error in tomcat. there is no
> errors in identity server. Use default authentication as Local and Outbound
> Authentication.
>
> org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Error
> while retrieving OAuth2 access token using SAML2 grant type
>
> at
> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:65)
>
> at
> org.wso2.carbon.identity.sso.agent.SSOAgentFilter.doFilter(SSOAgentFilter.java:135)
>
> 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.StandardContextValve.invoke(StandardContextValve.java:122)
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
>
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
>
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>
> at java.lang.Thread.run(Thread.java:695)
>
> Caused by: java.io.IOException: Server returned HTTP response code: 400
> for URL: https://localhost:9443/oauth2/token
>
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
>
> at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
>
> at
> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.executePost(SAML2GrantAccessTokenRequestor.java:97)
>
> at
> org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:51)
>
>
>
> Thanks
>
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-01-19 Thread Senduran Balasubramaniyam
Hi,

Thanks Malithi for the response.
I tried, un-checking the Enable Response Signing , but even when I login as
admin I got the following exception
java.lang.NullPointerException
at
org.opensaml.xml.signature.SignatureValidator.buildSignature(SignatureValidator.java:91)
at
org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:55)
at org.wso2.store.sso.common.util.Util.validateSignature(Util.java:290)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.
What I am missing here ?


@ES Team, could you please help me on how to import the public certificate
of a tenant to the publisher's key store. Where can I find the tenant's
public certificate

Thank you
Senduran



On Mon, Jan 19, 2015 at 8:10 PM, Malithi Edirisinghe 
wrote:

> Hii Senduran,
>
> There's a separate primary keystore generated for the tenant. Since you
> have enabled response signing also, the service provider that you have
> registered should know the public key of the IdP in order to validate.
> Hence, the service provider should have the public key of the IdP in it's
> keystore and validate the signature acquiring the respective alias. So in
> this case I think that you should import the public cert of the respective
> tenant to your publisher's keystore.
>
> Thanks,
> Malithi.
>
> On Mon, Jan 19, 2015 at 12:35 PM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Hi,
>>
>> I am experiencing $subject, with ES 2.0.0 M5. Following are the changes I
>> made to configure SSO.
>>
>>- Shared registry and user database between ES and IS
>>- In ES's user-mgt.xml, pointed the "UserStoreManager" to IS's
>>embedded LDAP
>>- Modified as following in publisher, store json
>>
>> "identityProviderURL": "https://localhost:/samlsso"
>>
>>
>>- Created a Service provider for publisher and store in IS as follows
>>
>>  SP for publisher
>>
>> Issuer: publisher
>>
>> Assertion Consumer URL: https://localhost:/publisher/acs
>>
>> Use fully qualified username in the NameID
>>
>> Enable Response Signing
>>
>> Enable Assertion Signing
>>
>> Enable Single Logout
>>
>>
>> SP for store
>>
>> Issuer: store
>>
>> Assertion Consumer URL: https://localhost:/store/acs
>>
>> Use fully qualified username in the NameID
>>
>> Enable Response Signing
>>
>> Enable Assertion Signing
>>
>> Enable Single Logout
>>
>>
>> When admin login the publisher behaviors as expected. (i.e page is
>> redirected to IS login and redirected to publisher, if already a sso
>> session is available directly goes to  publisher)\
>> But when I log in  as a tenant, the browser is redirected to
>> https://localhost:9443/publisher/acs and following exception is shown in
>> the console
>>
>>  INFO {JAGGERY.controllers.login:jag} -  Login URL:
>> https://localhost:9447/samlsso
>> org.opensaml.xml.validation.ValidationException: Signature did not
>> validate against the credential's key
>> at
>> org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78)
>> at org.wso2.store.sso.common.util.Util.validateSignature(Util.java:290)
>> 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:606)
>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>> at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>> at
>> org.jaggeryjs.rhino..scripts.c0._c_anonymous_3(/scripts/sso.client.js:50)
>> at org.jaggeryjs.rhino..scripts.c0.call(/scripts/sso.client.js)
>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1._c_anonymous_1(/publisher/controllers/acs.jag:48)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
>> at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1._c_script_0(/publisher/controllers/acs.jag:20)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
>> at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
>> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
>> at
>> org.jaggeryjs.rhino.publisher.controllers.c1.exec(/publisher/controllers/acs.jag)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>> at
>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:559)
>> at
>> org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
>> at javax.servlet

Re: [Dev] Anyone who has written a restful service using spring?

2015-01-19 Thread Niranjan Karunanandham
Thanks Waruna and Abimaran.

I tried the sample in [1] to create a spring service in AS 5.2.1. I was
able to upload and test it when I compile it as a "war" file and upload to
AS. But when I uploaded the jar file and the content.xml (under Spring
service), the service is indicated as an "axis2" service (not as a "spring"
service) in the admin console (under Services). And when I deleted the
service, in the terminal it mentions:

*Removing Axis2 Service: HelloService {super=tenant}*

But in the Admin console, it is denoted as a "Faulty service" with the
error given below. After this, even if I delete the faulty service and try
to upload it again as a Spring service, I get the error as a faulty service.

*Error: java.lang.NoClassDefFoundError: javax/ws/rs/Produces at
org.apache.axis2.jaxrs.JAXRSUtils.getClassModel(JAXRSUtils.java:53) at
org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:272)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:468)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
at
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:82)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724) Caused by:
java.lang.ClassNotFoundException: javax.ws.rs.Produces at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 25 more*

[1] - https://spring.io/guides/gs/rest-service/

Regards,
Nira

On Thu, Jan 15, 2015 at 9:10 PM, Abimaran Kugathasan 
wrote:

> Hi Niranjan,
>
>
> I jave written MDM client for WSO2 Enterprise Mobility Manager. You can
> find it here [1]
>
> [1] :
> https://svn.wso2.com/wso2/interns/2013/abimaran/training/modules/project-windows-rest-mdm/
>
> On Fri, Jan 16, 2015 at 10:23 AM, Waruna Perera  wrote:
>
>> Hi,
>>
>> Pls see if this helps [1].
>>
>> [1] https://spring.io/guides/gs/consuming-rest/
>>
>> On Fri, Jan 16, 2015 at 12:47 AM, Niranjan Karunanandham <
>> niran...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> $Subject plz.
>>>
>>> Regards,
>>> Nira
>>>
>>> --
>>>
>>> *Niranjan Karunanandham*
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   

Re: [Dev] [CEP] Unable to find WebSockets input and Output event adapter options in the console

2015-01-19 Thread Mohanadarshan Vivekanandalingam
On Mon, Jan 19, 2015 at 10:29 PM, Farasath Ahamed 
wrote:

>
> Hi,
>

Hi Farasath,

>
> Documentation of CEP 3.1.0 seem to indicate that Input WebSocket Event
> adapter[1] and Output Websocket Event adapter[2] are available with WSO2
> CEP 3.1.0.
>
> But those two options seem to be not available?
> Any reasons?
>


CEP 3.1.0 is not released with websocket adaptors. This feature is
available on next CEP release (CEP 4.0.0). I think, it has mistakenly added
to CEP 3.1.0 docs.. Thanks for pointing out..

Thanks,
Mohan


> [1] https://docs.wso2.com/display/CEP310/Input+WebSocket+Event+Adapter
> [2] https://docs.wso2.com/display/CEP310/Ouput+WebSocket+Event+Adapter
> --
> *Farasath Ahamed*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
>
> Mobile: +94 777 603 866
> E-Mail:  farasath a...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Network failure errors in PR build "ERROR: Could not transfer artifact"

2015-01-19 Thread Sriskandarajah Suhothayan
Thanks

Suho

On Mon, Jan 19, 2015 at 6:28 PM, Dhanushka Ranasinghe 
wrote:

> Hi
>
> Please refer mail with subject  "*[JAGGERY] [BUILD FAILURE] jaggery build
> #194*"
>
> Thank You
> Dhanushka
>
> On Sat, Jan 17, 2015 at 3:16 PM, Sriskandarajah Suhothayan 
> wrote:
>
>>
>> I was able to download the org.wso2.carbon:org.wso2.
>> carbon.system.statistics.feature:zip
>>
>> Is this because we have moved some repos to SL?
>> Don't we have a mirror closer to the builder?
>>
>> Suho
>>
>> On Sat, Jan 17, 2015 at 2:04 PM, Maheshika Goonetilleke <
>> mahesh...@wso2.com> wrote:
>>
>>> HI Ayesha
>>>
>>> Following build failed with the same error;
>>>
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 37:46.421s
>>> [INFO] Finished at: Sat Jan 17 07:29:55 UTC 2015
>>> [INFO] Final Memory: 51M/278M
>>> [INFO]
>>> 
>>> Waiting for Jenkins to finish collecting data
>>> [ERROR] Failed to execute goal
>>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>>> project wso2cep-profile-gen: Error occured when processing the Feature
>>> Artifact:
>>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:4.3.0-SNAPSHOT:
>>> ERROR: Could not transfer artifact
>>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:zip:4.3.0-20150115.195259-351
>>> from/to wso2.snapshots (
>>> http://maven.wso2.org/nexus/content/repositories/snapshots/): GET
>>> request of:
>>> org/wso2/carbon/org.wso2.carbon.system.statistics.feature/4.3.0-SNAPSHOT/org.wso2.carbon.system.statistics.feature-4.3.0-20150115.195259-351.zip
>>> from wso2.snapshots failed [ERROR]
>>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:zip:4.3.0-SNAPSHOT
>>> [ERROR]
>>>
>>> Similar error was detected in carbon-analytics. This may be due to the
>>> same network issue the rest of the builds are facing.
>>>
>>> On Sat, Jan 17, 2015 at 12:23 PM, Afkham Azeez  wrote:
>>>
 Maheshika should retrigger the build if such errors occur
 On Jan 17, 2015 11:39 AM, "Ayash"  wrote:

> Hi All,
>
> Please refer [1]. This error is due to some network failure. Because
> the requested file is there in the nexus [2].
>
> [1] https://wso2.org/jenkins-pr-builder/job/product-cep/131/console
> [2]
> http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/org.wso2.carbon.webapp.mgt.server.feature/4.3.0-SNAPSHOT/
>
> This is something unavoidable and we don't have access to re-trigger
> the build also. What can we do for that?
>
> Thanks,
> -Ayash
>
> --
> Ayashkantha Ramasinghe
> Software Engineer WSO2, Inc.
> email: ayashkan...@wso2.com ;
> TP: +94 77 7 487 669
>

>>>
>>>
>>> --
>>>
>>> Thanks & Best Regards,
>>>
>>> Maheshika Goonetilleke
>>> Engineering Process Coordinator
>>>
>>> *WSO2 Inc*
>>> *email   : mahesh...@wso2.com *
>>> *mobile : +94 773 596707 <%2B94%20773%20596707>*
>>> *www: :http://wso2.com *lean . enterprise . middleware
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>
>
>
> --
> Dhanushka Ranasinghe,
> WSO2 lnc  http://wso2.com
> E-mail : dhanush...@wso2.com
> Mobile : +94771928269
>



-- 

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


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


[Dev] [CEP] Unable to find WebSockets input and Output event adapter options in the console

2015-01-19 Thread Farasath Ahamed
Hi,

Documentation of CEP 3.1.0 seem to indicate that Input WebSocket Event
adapter[1] and Output Websocket Event adapter[2] are available with WSO2
CEP 3.1.0.

But those two options seem to be not available?
Any reasons?

[1] https://docs.wso2.com/display/CEP310/Input+WebSocket+Event+Adapter
[2] https://docs.wso2.com/display/CEP310/Ouput+WebSocket+Event+Adapter
-- 
*Farasath Ahamed*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: +94 777 603 866
E-Mail:  farasath a...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][ES] Enable SSO using LDAP as a common user store

2015-01-19 Thread Danushka Fernando
Hi Chanuka
Check the code of acs to see whether its checking for additional
permissions.

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

On Mon, Jan 19, 2015 at 12:24 PM, Chanuka Dissanayake 
wrote:

> Hi,
>
> I'm using ES 2.0.0 M4 pack and IS 5.0.0 fresh pack for $subject, I have
> followed [1] and these steps [2], in cofiguring. I'm using a single tenant.
> Console is not showing an error in both products.
>
> In publisher: After redirected to the page '
> https://localhost:9763/publisher/acs' by IS, page is not available error.
>
> In store: It's not redirecting to the IS login page, but showing the
> default ES login.
>
> I didn't configure the Mgt console for SSO.
>
> Is there any additional configurations that I'm missing here. I couldn't
> find answer from the 'Enable SSO for Publisher and Store with an External
> IS' thread.
>
> [1] https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers
> [2]
> https://docs.google.com/document/d/1_w3Z6WwWWmbv9hYzwYBVxCtK-sZkxSTTC0PPcgOSfXs/edit
>
> Thanks,
> Chanuka.
>
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: chan...@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] Fwd: APIM 1.9.0 integration tests

2015-01-19 Thread Nuwan Dias
Nice work guys, let's figure out which blocks of code are missing coverage
and write some tests for those too.

Thanks,
NuwanD.

On Mon, Jan 19, 2015 at 6:53 PM, Sanjeewa Malalgoda 
wrote:

> Hi All,
> After fixing some issues we were able to enable host object test case and
> test coverage is as follows. Still we need more tests to cover other areas
> mentioned.
>
> OVERALL COVERAGE SUMMARYnameline, %block, %method, %class, %all classes
> 42%  (10069/24096)41%  (42400/103849)58%  (1614/2804)70%  (209/297)
> OVERALL STATS SUMMARYtotal packages:40total executable files:197
> total classes:297total methods:2804total executable lines:24096
>
>
> Thanks,
> sanjeewa.
>
>
> -- Forwarded message --
> From: Uvindra Dias Jayasinha 
> Date: Mon, Jan 19, 2015 at 2:56 PM
> Subject: Re: [Dev] APIM 1.9.0 integration tests
> To: Sanjeewa Malalgoda 
> Cc: Amila De Silva , Sumedha Rubasinghe ,
> Nuwan Dias , Lalaji Sureshika , Lakmali
> Baminiwatta , Roshan Wijesena ,
> Rushmin Fernando , Vijayaratha Vijayasingam <
> rat...@wso2.com>, Dinesh J Weerakkody , Abimaran
> Kugathasan , Chamila Adhikarinayake ,
> Joseph Fonseka , Lakshman Udayakantha ,
> Janaka Ranabahu , WSO2 Developers' List 
>
>
> Startup publisher issues have been fixed and committed, this will enable
> us to run the HostObjectsTestCase with  configuration
> enabled(as it currently is)
>
> On 16 January 2015 at 15:48, Sanjeewa Malalgoda  wrote:
>
>> Hi All,
>> Then intention of this mail is tracking test automation coverage related
>> stuff for APIM 1.9.0. As of now we have following test coverage in product.
>> Once we enabled host object test case with required fixes we may get better
>> numbers(since it covers most of missing host object scenarios).
>>
>> OVERALL COVERAGE SUMMARYnameline, %block, %method, %class, %  all classes
>> 39%  (9360.9/24089)38%  (39284/103830)55%  (1554/2802)70%  (208/297)
>> OVERALL STATS SUMMARYtotal packages:40total executable files:197
>> total classes:297total methods:2802total executable lines:24089
>>
>> I think now we need to focus more on specific use cases and classes we
>> missed so for.
>> Following are some of the areas that we can improve. If you are working
>> on test cases, then focus more on following areas. If we addressed these
>> use cases we can improve code coverage by considerable amount.
>>
>>- Add/update documentations.
>>- External API store use case.
>>- Workflow use cases.
>>- Custom sequence related stuff.
>>- Copy APIs.
>>- Adding swagger content and edit it. Use it from store.
>>- API throttle in clustered mode(we will miss data if we ran against
>>external deployment, but we may run throttle code with clustering enabled
>>at least).
>>- More complex API searching test cases.
>>- Faulty APIs/services invoke.
>>
>>
>> Thanks,
>> sanjeewa.
>>
>> --
>>
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +94713068779
>>
>>  blog
>> :http://sanjeewamalalgoda.blogspot.com/
>> 
>>
>>
>>
>
>
> --
> Regards,
> Uvindra
>
> Mobile: 33962
>
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
>  blog
> :http://sanjeewamalalgoda.blogspot.com/
> 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS

2015-01-19 Thread Malithi Edirisinghe
Hii Senduran,

There's a separate primary keystore generated for the tenant. Since you
have enabled response signing also, the service provider that you have
registered should know the public key of the IdP in order to validate.
Hence, the service provider should have the public key of the IdP in it's
keystore and validate the signature acquiring the respective alias. So in
this case I think that you should import the public cert of the respective
tenant to your publisher's keystore.

Thanks,
Malithi.

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

> Hi,
>
> I am experiencing $subject, with ES 2.0.0 M5. Following are the changes I
> made to configure SSO.
>
>- Shared registry and user database between ES and IS
>- In ES's user-mgt.xml, pointed the "UserStoreManager" to IS's
>embedded LDAP
>- Modified as following in publisher, store json
>
> "identityProviderURL": "https://localhost:/samlsso"
>
>
>- Created a Service provider for publisher and store in IS as follows
>
>  SP for publisher
>
> Issuer: publisher
>
> Assertion Consumer URL: https://localhost:/publisher/acs
>
> Use fully qualified username in the NameID
>
> Enable Response Signing
>
> Enable Assertion Signing
>
> Enable Single Logout
>
>
> SP for store
>
> Issuer: store
>
> Assertion Consumer URL: https://localhost:/store/acs
>
> Use fully qualified username in the NameID
>
> Enable Response Signing
>
> Enable Assertion Signing
>
> Enable Single Logout
>
>
> When admin login the publisher behaviors as expected. (i.e page is
> redirected to IS login and redirected to publisher, if already a sso
> session is available directly goes to  publisher)\
> But when I log in  as a tenant, the browser is redirected to
> https://localhost:9443/publisher/acs and following exception is shown in
> the console
>
>  INFO {JAGGERY.controllers.login:jag} -  Login URL:
> https://localhost:9447/samlsso
> org.opensaml.xml.validation.ValidationException: Signature did not
> validate against the credential's key
> at
> org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78)
> at org.wso2.store.sso.common.util.Util.validateSignature(Util.java:290)
> 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:606)
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
> at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> at
> org.jaggeryjs.rhino..scripts.c0._c_anonymous_3(/scripts/sso.client.js:50)
> at org.jaggeryjs.rhino..scripts.c0.call(/scripts/sso.client.js)
> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1._c_anonymous_1(/publisher/controllers/acs.jag:48)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
> at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1._c_script_0(/publisher/controllers/acs.jag:20)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1.call(/publisher/controllers/acs.jag)
> at
> org.jaggeryjs.rhino.publisher.controllers.c1.exec(/publisher/controllers/acs.jag)
> at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
> at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
> at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:559)
> at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
> at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.Ap

[Dev] Error while Request OAuth2 Access Token

2015-01-19 Thread Godwin Amila Shrimal
Hi,

I am checking travelocity web application by setting EnableSAML2Grant
property to true. After successful authentication when click "*Request
OAuth2 Access Token*", it gives following error in tomcat. there is no
errors in identity server. Use default authentication as Local and Outbound
Authentication.

org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Error while
retrieving OAuth2 access token using SAML2 grant type

at
org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:65)

at
org.wso2.carbon.identity.sso.agent.SSOAgentFilter.doFilter(SSOAgentFilter.java:135)

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.StandardContextValve.invoke(StandardContextValve.java:122)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

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

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

at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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

Caused by: java.io.IOException: Server returned HTTP response code: 400 for
URL: https://localhost:9443/oauth2/token

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)

at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

at
org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.executePost(SAML2GrantAccessTokenRequestor.java:97)

at
org.wso2.carbon.identity.sso.agent.oauth2.SAML2GrantAccessTokenRequestor.getAccessToken(SAML2GrantAccessTokenRequestor.java:51)



Thanks

Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: APIM 1.9.0 integration tests

2015-01-19 Thread Sanjeewa Malalgoda
Hi All,
After fixing some issues we were able to enable host object test case and
test coverage is as follows. Still we need more tests to cover other areas
mentioned.

OVERALL COVERAGE SUMMARYnameline, %block, %method, %class, %all classes
42%  (10069/24096)41%  (42400/103849)58%  (1614/2804)70%  (209/297)
OVERALL STATS SUMMARYtotal packages:40total executable files:197
total classes:297total methods:2804total executable lines:24096


Thanks,
sanjeewa.


-- Forwarded message --
From: Uvindra Dias Jayasinha 
Date: Mon, Jan 19, 2015 at 2:56 PM
Subject: Re: [Dev] APIM 1.9.0 integration tests
To: Sanjeewa Malalgoda 
Cc: Amila De Silva , Sumedha Rubasinghe ,
Nuwan Dias , Lalaji Sureshika , Lakmali
Baminiwatta , Roshan Wijesena , Rushmin
Fernando , Vijayaratha Vijayasingam ,
Dinesh J Weerakkody , Abimaran Kugathasan <
abima...@wso2.com>, Chamila Adhikarinayake , Joseph
Fonseka , Lakshman Udayakantha ,
Janaka Ranabahu , WSO2 Developers' List 


Startup publisher issues have been fixed and committed, this will enable us
to run the HostObjectsTestCase with  configuration
enabled(as it currently is)

On 16 January 2015 at 15:48, Sanjeewa Malalgoda  wrote:

> Hi All,
> Then intention of this mail is tracking test automation coverage related
> stuff for APIM 1.9.0. As of now we have following test coverage in product.
> Once we enabled host object test case with required fixes we may get better
> numbers(since it covers most of missing host object scenarios).
>
> OVERALL COVERAGE SUMMARYnameline, %block, %method, %class, %  all classes
> 39%  (9360.9/24089)38%  (39284/103830)55%  (1554/2802)70%  (208/297)
> OVERALL STATS SUMMARYtotal packages:40total executable files:197
> total classes:297total methods:2802total executable lines:24089
>
> I think now we need to focus more on specific use cases and classes we
> missed so for.
> Following are some of the areas that we can improve. If you are working on
> test cases, then focus more on following areas. If we addressed these use
> cases we can improve code coverage by considerable amount.
>
>- Add/update documentations.
>- External API store use case.
>- Workflow use cases.
>- Custom sequence related stuff.
>- Copy APIs.
>- Adding swagger content and edit it. Use it from store.
>- API throttle in clustered mode(we will miss data if we ran against
>external deployment, but we may run throttle code with clustering enabled
>at least).
>- More complex API searching test cases.
>- Faulty APIs/services invoke.
>
>
> Thanks,
> sanjeewa.
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
>  blog
> :http://sanjeewamalalgoda.blogspot.com/
> 
>
>
>


-- 
Regards,
Uvindra

Mobile: 33962



-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

 blog
:http://sanjeewamalalgoda.blogspot.com/

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


Re: [Dev] Network failure errors in PR build "ERROR: Could not transfer artifact"

2015-01-19 Thread Dhanushka Ranasinghe
Hi

Please refer mail with subject  "*[JAGGERY] [BUILD FAILURE] jaggery build
#194*"

Thank You
Dhanushka

On Sat, Jan 17, 2015 at 3:16 PM, Sriskandarajah Suhothayan 
wrote:

>
> I was able to download the org.wso2.carbon:org.wso2.
> carbon.system.statistics.feature:zip
>
> Is this because we have moved some repos to SL?
> Don't we have a mirror closer to the builder?
>
> Suho
>
> On Sat, Jan 17, 2015 at 2:04 PM, Maheshika Goonetilleke <
> mahesh...@wso2.com> wrote:
>
>> HI Ayesha
>>
>> Following build failed with the same error;
>>
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 37:46.421s
>> [INFO] Finished at: Sat Jan 17 07:29:55 UTC 2015
>> [INFO] Final Memory: 51M/278M
>> [INFO]
>> 
>> Waiting for Jenkins to finish collecting data
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>> project wso2cep-profile-gen: Error occured when processing the Feature
>> Artifact:
>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:4.3.0-SNAPSHOT:
>> ERROR: Could not transfer artifact
>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:zip:4.3.0-20150115.195259-351
>> from/to wso2.snapshots (
>> http://maven.wso2.org/nexus/content/repositories/snapshots/): GET
>> request of:
>> org/wso2/carbon/org.wso2.carbon.system.statistics.feature/4.3.0-SNAPSHOT/org.wso2.carbon.system.statistics.feature-4.3.0-20150115.195259-351.zip
>> from wso2.snapshots failed [ERROR]
>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature:zip:4.3.0-SNAPSHOT
>> [ERROR]
>>
>> Similar error was detected in carbon-analytics. This may be due to the
>> same network issue the rest of the builds are facing.
>>
>> On Sat, Jan 17, 2015 at 12:23 PM, Afkham Azeez  wrote:
>>
>>> Maheshika should retrigger the build if such errors occur
>>> On Jan 17, 2015 11:39 AM, "Ayash"  wrote:
>>>
 Hi All,

 Please refer [1]. This error is due to some network failure. Because
 the requested file is there in the nexus [2].

 [1] https://wso2.org/jenkins-pr-builder/job/product-cep/131/console
 [2]
 http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/org.wso2.carbon.webapp.mgt.server.feature/4.3.0-SNAPSHOT/

 This is something unavoidable and we don't have access to re-trigger
 the build also. What can we do for that?

 Thanks,
 -Ayash

 --
 Ayashkantha Ramasinghe
 Software Engineer WSO2, Inc.
 email: ayashkan...@wso2.com ;
 TP: +94 77 7 487 669

>>>
>>
>>
>> --
>>
>> Thanks & Best Regards,
>>
>> Maheshika Goonetilleke
>> Engineering Process Coordinator
>>
>> *WSO2 Inc*
>> *email   : mahesh...@wso2.com *
>> *mobile : +94 773 596707 <%2B94%20773%20596707>*
>> *www: :http://wso2.com *lean . enterprise . middleware
>>
>>
>>
>>
>>
>
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
>  *WSO2 Inc. *http://wso2.com
> * *
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ twitter:
> http://twitter.com/suhothayan  | linked-in:
> http://lk.linkedin.com/in/suhothayan *
>



-- 
Dhanushka Ranasinghe,
WSO2 lnc  http://wso2.com
E-mail : dhanush...@wso2.com
Mobile : +94771928269
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [App Manager] Creating Users with different previledges

2015-01-19 Thread Yasassri Ratnayake
Hi All,

My requirement is to have 2 different users to control App creation.
Users should have privileges as mentioned below.

User 1. To create Apps and submit for Approval.
User 2. To review and approve the App for publishing.

What are the permissions that needs to be added to create two users to
address my scenario?

With Regards,
-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168 <%2B94715933168>*
*Blog : http://yasassriratnayake.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MB] Restriction to publish XML messages for topics in UI

2015-01-19 Thread Hemika Kodikara
Hi All,

Currently in MB, a topic should be able to send any message in the format
as a normal text, XML, etc.

But in the UI, the topic details page(topic_manage.jsp) shows a publishing
message section which allows only to send XML messages.


​
Following code does the publishing of the message.

=
BrokerClient brokerClient = UIUtils.getBrokerClient(config, session,
request);
String topic = request.getParameter("topic");
String textMsg = request.getParameter("xmlMessage");
session.setAttribute("errorTopic", topic);
session.setAttribute("xmlMessage", textMsg);
OMElement message;
String messageToBePrinted = null;
StAXOMBuilder builder = null;
try {
builder = new StAXOMBuilder(new ByteArrayInputStream(textMsg.getBytes()));
message = builder.getDocumentElement();
if (message != null) {
brokerClient.publish(topic, message);
} else {
messageToBePrinted = "Error: Failed to get document element from message "
+ textMsg;
}
} catch (Exception e) {
messageToBePrinted = "Error: while publishing the message " +
e.getMessage();
}

if (messageToBePrinted == null) {
messageToBePrinted = "Successfully published the message to the topic :" +
topic;
}
=


Is there a reason for this restriction ? i.e only allow to send XML
messages through UI ?

Refer [1][2][3] for more code information.

[1] -
https://github.com/wso2-dev/carbon-utils/blob/master/components/event/org.wso2.carbon.event.ui/src/main/resources/web/topics/topic_manage.jsp
[2] -
https://github.com/wso2-dev/carbon-utils/blob/master/components/event/org.wso2.carbon.event.ui/src/main/resources/web/topics/js/treecontrol.js
[3] -
https://github.com/wso2-dev/carbon-utils/blob/master/components/event/org.wso2.carbon.event.ui/src/main/resources/web/topics/try_it_out_invoke_ajaxprocessor.jsp


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] [ndatasource] Encrypting data source password

2015-01-19 Thread Akila Ravihansa Perera
Thanks!

This is exactly what I was looking for.

On Mon, Jan 19, 2015 at 12:30 PM, Rajith Vitharana  wrote:

> Hi,
>
> If you need the place where encryption happens, it's in [1] method
> "encrypt"
>
> [1] -
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.core/4.2.0/src/main/java/org/wso2/carbon/core/util/CryptoUtil.java
>
> Thanks,
>
> On Mon, Jan 19, 2015 at 12:16 PM, Rajith Vitharana 
> wrote:
>
>> Hi,
>>
>> It is done in class [1] method secureSaveElement
>>
>> [1] -
>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.ndatasource.core/4.2.0/src/main/java/org/wso2/carbon/ndatasource/core/utils/DataSourceUtils.java
>>
>> Thanks,
>>
>> On Mon, Jan 19, 2015 at 11:59 AM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to find out the implementation logic of encrypting a data
>>> source password when adding a new data source from the Carbon console. When
>>> I try to add a new data source it is getting created in registry as
>>> following;
>>>
>>> MyTestDStest data
>>> source>> type="RDBMS">oracle.jdbc.OracleDriver...mydeq_usr>> encrypted="true">M/9Vf2jJLZTaIgyJJYSQTATcWkxdYyXiPkxMBPBurBJUqXuRvIWX6T8wt76cMW7lA9KN/0xiwKoSIKyQRMT6xi0SK7hCcKqTJcposC4LhL2/kR0ZIS5VANUpmV111068vPR/zt64L2pHqTcFlHE7De52UeA3JkCVN2c+ImzZcWE=select
>>> 1 from dual
>>>
>>> It seems password is encrypted before storing as it should be. Can
>>> anyone please point me to the source code in which this encryption() method
>>> is called?
>>>
>>> Thanks.
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer, WSO2
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>>
>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2

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


[Dev] Reducing Server startup logs printed from ES

2015-01-19 Thread Pulasthi Supun
Hi All,

During Greg server startup we are observing a large amount of store and
jaggery related logs. I think most of them can be moved to be DEBUG. There
are also a lot of WARN messages, is it possible to reduce them as well.



[greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
[2015-01-19 14:35:07,388]  INFO
{org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
[2015-01-19 14:35:07,437]  INFO
{org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
[2015-01-19 14:35:07,482]  INFO
{org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
[2015-01-19 14:35:07,526]  INFO
{org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]
[2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting event :
tenantLoad
[2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting event :
tenantCreate
[2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
[2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
"/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
[2015-01-19 14:35:08,874]  WARN {JAGGERY.config.app:js} -  Unable to locate
d