Re: [Dev] Jenkins build became unstable: wso2-axis2 #847

2015-09-08 Thread Supun Malinga
Did a fix in https://github.com/wso2/wso2-axis2/pull/59. Let's see how it goes in jenkins. On Wed, Sep 9, 2015 at 6:11 AM, Supun Malinga wrote: > Intermittent issue came up again. I'll look into this. > > On Wed, Sep 9, 2015 at 12:33 AM, wrote: > >> See

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Chamara Philips
On Wed, Sep 9, 2015 at 10:41 AM, Supun Malinga wrote: > > > On Wed, Sep 9, 2015 at 10:27 AM, Sameera Jayasoma > wrote: > >> We are still getting the failures in all branches. >> >> Johann/Malithi, please revert your changes and fix it properly. >> > > Diff given by Malithi fixed the issue in the

[Dev] subscribe

2015-09-08 Thread Chamara Philips
-- Hareendra Chamara Philips *Software Engineer* Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194> chama...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Please review and merge PRs.

2015-09-08 Thread Chamara Philips
Hi, Please review and merge following PRs, https://github.com/wso2/product-is/pull/202 This updates the registry version to latest. https://github.com/wso2/carbon-identity/pull/913/ This provides a necessary dependency in agents component, which caused an method not found error without the depe

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sashika Wijesinghe
Hi Lasantha, Thanks for the clarification. In the documentation it has mentioned that '-DworkerNode=true" argument will deactivate the UI bundle, So I thought there should not be any UI component when a user tried to access to the worker node. And I felt its good if we are not enabling the login

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Shavantha Weerasinghe
hi sajith yes it seems that was the issue both manager nodes had 8905 once this was changed and I started with the IP now the error does not come thanks for the help 192.168.48.128 8904

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Apparently the port 8905 is already in use by another process. Please check if there's another process listening on port 8905. Thanks *,Sajith Ravindra* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273550 blog: http://

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Shavantha Weerasinghe
Hi Sajith Please find the ifconfi output / the log that prints when cep node(worker/manager) starts and the part of event-processor.xml ubuntu@cep400-manager:~/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT/bin$ ifconfig eth0 Link encap:Ethernet HWaddr fa:16:3e:fa:46:c5 inet addr

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Lasantha Fernando
Hi Sashika, Yes that is the usual behaviour for WSO2 servers when started with worker node true. The login page will be visible, but you won't be allowed to login. Thanks, On 9 September 2015 at 11:16, Sashika Wijesinghe wrote: > Hi Suho/Lasantha, > > I'm working on CEP distributed mode set up

Re: [Dev] Strange Error in WSO2 Private Paas 4.1.2

2015-09-08 Thread Anuruddha Liyanarachchi
Hi Marco, This error occur when the cartridge definition doesn't contain iaasProvider section. I guess the path to your cartridge json is incorrect in the curl command. I deployed the same cartridge json, that you are using and I did not face any issue. Can you switch to JSON view from the UI and

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sashika Wijesinghe
Hi Suho/Lasantha, I'm working on CEP distributed mode set up. When a worker node is started using "-DworkerNode=true" argument, I expected that UI of the worker node should not be visible. However CEP login page is visible when started with -DworkerNode=true argument, but can't access to CEP, beca

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Can you please send the full stacktrace. And also the output of ifconfig. Thanks *,Sajith Ravindra* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273550 blog: http://sajithr.blogspot.com/ On

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Shavantha Weerasinghe
Hi Sajith Yes it is 192.168.48.128 on that node regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Wed, Sep 9, 2015 at 11:05 AM, Sajith Ravindra wrote: > Hi Shavantha, >

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Hi Shavantha, Can you please check and confirm that *192.168.48.128 *is the IP address of the host which you are trying to start the manager service. You can use ifconfig for it. Thanks *,Sajith Ravindra* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sriskandarajah Suhothayan
Can you look into this Suho On Wed, Sep 9, 2015 at 10:59 AM, Shavantha Weerasinghe wrote: > Hi Suho/Lasantha > > We observed the bellow exception when we set the hostName as > *192.168.48.128* but the exception does not come if we set localhost. > This is on the node that behaves as both manage

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Shavantha Weerasinghe
Hi Suho/Lasantha We observed the bellow exception when we set the hostName as *192.168.48.128* but the exception does not come if we set localhost. This is on the node that behaves as both manager and worker on *192.168.48.128. *Do we need to set the /etc/hosts if we are to use the IP

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Thanuja Uruththirakodeeswaran
Hi Niranda, I've checked this again and I missed 'DB' part in datasource name ' WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB'. Now I can execute the query without exception. Thanks. On Wed, Sep 9, 2015 at 10:30 AM, Niranda Perera wrote: > Thanuja, > > please create a JIRA for this. > > rgds > > On W

Re: [Dev] [VOTE] Release ES-2.0.0 RC 3

2015-09-08 Thread Nadeesha Meegoda
Hi Manu, Intermittently getting the following exception when reviewing assets. The asset cannot be reviewed via store. Jira listed in [1] [1] - https://wso2.org/jira/browse/STORE-1092 [2015-09-09 10:04:16,282] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.Wrap

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Supun Malinga
On Wed, Sep 9, 2015 at 10:27 AM, Sameera Jayasoma wrote: > We are still getting the failures in all branches. > > Johann/Malithi, please revert your changes and fix it properly. > Diff given by Malithi fixed the issue in the patch0013 and I committed that. But it didn't fix the issue (getting th

Re: [Dev] Cannot import some connectors to Developer studio.

2015-09-08 Thread Viraj Rajaguru
Hi Malaka/Elimantha, Issue is with deserialization. To reproduce this issue, we can add a File connector operation in to a sequence or proxy. Then go to the source view and do any change in the source view and switch back to the graphical view. We can see it's not allowing us to switch to the grap

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Niranda Perera
Thanuja, please create a JIRA for this. rgds On Wed, Sep 9, 2015 at 10:24 AM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > Hi Niranda, > > I have checked this already. It gives the same error. > > org.apache.axis2.AxisFault: Exception occurred while trying to invoke > service met

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Sameera Jayasoma
We are still getting the failures in all branches. Johann/Malithi, please revert your changes and fix it properly. On Wed, Sep 9, 2015 at 10:08 AM, Sameera Jayasoma wrote: > Did you guys build with test? I am wondering how we didn't encounter this > before the commit? > > On Wed, Sep 9, 2015 at

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Thanuja Uruththirakodeeswaran
Hi Niranda, I have checked this already. It gives the same error. org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method executeQuery at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationCl

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Sameera Jayasoma
Did you guys build with test? I am wondering how we didn't encounter this before the commit? On Wed, Sep 9, 2015 at 7:46 AM, Malithi Edirisinghe wrote: > This was caused due to the outdated xercesImpl dependency coming from the > dependency tree, which is referred by unit tests. > Thus, updated

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Niranda Perera
Hi Thanuja, I think this is the issue. analytics-datasources.xml describes the datasource as WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB The datasource used for analytics record store jdbc:mysql://127.0.0.1:3306/ANALYTICS_PROCESSED_DATA_STORE

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Thanuja Uruththirakodeeswaran
Hi Niranda, I've attached the files here. I tested the connection by DAS datasource "Test Connection" option. It says "Connection is healthy". Do I need to pass any param in analtytics-datasources.xml file for mysql db? Thanks. On Tue, Sep 8, 2015 at 11:25 PM, Niranda Perera wrote: > Hi thanu

Re: [Dev] Cannot import some connectors to Developer studio.

2015-09-08 Thread Elilmatha Sivanesan
Hi Malaka Yes I have tested file connector, There are no issues now. Thank you. On Wed, Sep 9, 2015 at 7:05 AM, Malaka Silva wrote: > Hi Viraj, > > I tried to reproduce the issue with the latest devs, and it does seems to > be working fine. May be I missed something. > > Can we have a hangou

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Malithi Edirisinghe
This was caused due to the outdated xercesImpl dependency coming from the dependency tree, which is referred by unit tests. Thus, updated with proper dependency version. Thanks, Malithi. On Wed, Sep 9, 2015 at 12:40 AM, Sameera Jayasoma wrote: > What is the error here and whose commit caused th

Re: [Dev] Cannot import some connectors to Developer studio.

2015-09-08 Thread Malaka Silva
Hi Viraj, I tried to reproduce the issue with the latest devs, and it does seems to be working fine. May be I missed something. Can we have a hangout to discuss this in the morning? However we should only focus on component.xml. Reason for that is we need to start with multiple version of the co

Re: [Dev] Jenkins build became unstable: wso2-axis2 #847

2015-09-08 Thread Supun Malinga
Intermittent issue came up again. I'll look into this. On Wed, Sep 9, 2015 at 12:33 AM, wrote: > See > > -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com mobile: +94 (0)71 56 91 321 __

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Sameera Jayasoma
What is the error here and whose commit caused this issue? On Wed, Sep 9, 2015 at 12:31 AM, Malithi Edirisinghe wrote: > Fixed with diff attached. Please review and commit. > > Thanks, > Malithi. > > On Tue, Sep 8, 2015 at 11:10 PM, Supun Malinga wrote: > >> Removing folks since the mail bounce

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Malithi Edirisinghe
Fixed with diff attached. Please review and commit. Thanks, Malithi. On Tue, Sep 8, 2015 at 11:10 PM, Supun Malinga wrote: > Removing folks since the mail bounces from dev@ > > On Tue, Sep 8, 2015 at 11:08 PM, Supun Malinga wrote: > >> Hi Johann/ Malithi, >> >> Can you have a look ?. >> >> htt

Re: [Dev] Cannot import some connectors to Developer studio.

2015-09-08 Thread Viraj Rajaguru
Hi Connector team, There is a trivial issue in File connector. According to the current implementation in DevS, connector needs a file name which comply with the 'component name' in the connector.xml. For an example "googlecalendar-connector-1.0.0.zip" connector's component name should be "google

Re: [Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Niranda Perera
Hi thanuja, can you attach the config files in repository/conf/analytics/* and repository/conf/datasources/* I suspect this is a connection issue. rgds On Tue, Sep 8, 2015 at 5:28 PM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > Hi Niranda, > > I'm trying the following query in

Re: [Dev] [DEV] Permission check always returns true for the admin role

2015-09-08 Thread Milan Perera
Hi Danushka, I haven't got any issues from this and just wanted to overcome the doubt. Thanks for the clarification. Regards, On Tue, Sep 8, 2015 at 5:55 PM, Danushka Fernando wrote: > Usually idea is admin can do any thing. That's why admin role has been > given permissions to all root paths

[Dev] [VOTE] Release ES-2.0.0 RC 3

2015-09-08 Thread Manuranga Perera
Hi All, *This is the RC3 release candidate of ES-2.0.0. * Please download, test and vote. Please refer the release verification guide for detailed information on verifying this release. *Source & binary distribution files:* http://maven.wso2.org/nexus/content/repositories/orgwso2es-063/org/wso2

Re: [Dev] Jenkins build became unstable: kernel_patch0013 #9

2015-09-08 Thread Supun Malinga
Removing folks since the mail bounces from dev@ On Tue, Sep 8, 2015 at 11:08 PM, Supun Malinga wrote: > Hi Johann/ Malithi, > > Can you have a look ?. > > https://wso2.org/jenkins/job/kernel_patch0013/org.wso2.carbon$org.wso2.carbon.user.core/9/changes > > thanks, > > On Tue, Sep 8, 2015 at 9:49

Re: [Dev] [Integration Tests] What is the advantage of Exception being thrown in test methods instead of the specific subclass of it?

2015-09-08 Thread Manuri Amaya Perera
Hi Nuwan, I was thinking that even though these exceptions are not explicitly handled, throwing the specific exception will make the code more understandable for someone who reads these test cases. Anyway the reasons you mentioned seem to be more important. Thank you. On Tue, Sep 8, 2015 at 11:0

[Dev] WSO2 Identity Server requires Destination Parameter in samlp:AuthnRequest while the official SAML documentation seems to state this is optional

2015-09-08 Thread John Wade
Trying to get SAML setup between the wso2 Identity Server 5.0.0 + Service pack and a 3rd party Service provider. Facing a similar problem to a stack trace question Except tha

Re: [Dev] [ESB] Retrieving the API name within a handler

2015-09-08 Thread Supun Sethunga
Thanks Isuru! That works. :) On Tue, Sep 8, 2015 at 12:31 PM, Isuru Udana wrote: > Hi Supun, > > You should be able to get the API name using the property ' > SYNAPSE_REST_API' in the synapse message context. > > > > On Tue, Sep 8, 2015 at 8:26 PM, Supun Sethunga wrote: > >> Hi, >> >> I have a

Re: [Dev] [ESB] Retrieving the API name within a handler

2015-09-08 Thread Isuru Udana
Hi Supun, You should be able to get the API name using the property 'SYNAPSE_REST_API' in the synapse message context. On Tue, Sep 8, 2015 at 8:26 PM, Supun Sethunga wrote: > Hi, > > I have a handler applied for several APIs in ESB 4.8.1. Is it possible to > do $subject? If not, any workaroun

[Dev] [ESB] Retrieving the API name within a handler

2015-09-08 Thread Supun Sethunga
Hi, I have a handler applied for several APIs in ESB 4.8.1. Is it possible to do $subject? If not, any workaround to know which API has been invoked, inside the handler? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94 7

Re: [Dev] Strange Error in WSO2 Private Paas 4.1.2

2015-09-08 Thread Anuruddha Liyanarachchi
[Removing stratos dev and adding wso2dev ] Hi Marco, We have fixed this in the master branch with commit [1]. Please take a pull from master branch or download the alpha release pack from [2]. [1] https://github.com/wso2/product-private-paas/commit/54a77e9d85538a20ace00c57ec9e8aed410fb773 [2]htt

Re: [Dev] WSO2 PPaaS v4.1.0-ALPHA released

2015-09-08 Thread Imesh Gunaratne
Hi, Please note that the list of issues mentioned above under "Known Issues" are actually bugs that were fixed in this release and they are not known issues. Known issues can be found below: - [PAAS-213 ] - Autoscaling is not working in super-tenant i

Re: [Dev] [DEV] Permission check always returns true for the admin role

2015-09-08 Thread Danushka Fernando
Usually idea is admin can do any thing. That's why admin role has been given permissions to all root paths like all action to registry path '/', permissions to the permission tree root node '/permission'. So I guess this is the default behavior. Are you facing any issues due to this? Thanks & Rega

Re: [Dev] travelocity doesn't work on WSO2 App server

2015-09-08 Thread Jayanga Kaushalya
Hi John In the doc page [1] for travelocity sample, there is separate section for deploying this in AS called "Click here to view vital information when running this sample in WSO2 Application Server". This section is collapsed by default and that's why may be you have missed it. Basically you ha

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Kevin Ratnasekera
Hi all, I have tested the MQTT inbound consumer scenarios in super tenant mode, tenant mode and clustered mode with inbound coordination. [X] Stable - go ahead and release Regards Kevin On Tue, Sep 8, 2015 at 5:42 PM, Jagath Sisirakumara Ariyarathne < jaga...@wso2.com> wrote: > Hi All, > > I

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Jagath Sisirakumara Ariyarathne
Hi All, I have tested below functionalities in the RC4 pack. - Dynamic SSL Profiles - Sender profiles with back-end - SSL/Mutual SSL - Listener profiles with clients - SSL/Mutual SSL - Re-loading from time interval and JMX - Basic performance test [X] Stable - go ahead and r

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Senduran Balasubramaniyam
Hi All, I have tested the following in both standalone and cluster mode with tenants, and found no issues - Inmemeory MessageStore (in standalone mode) - JMS MessageStore - RabbitMQ MessageStore - JDBC MessageStore - Scheduled Message Forwarding Processor - Scheduled Failover Me

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Viraj Senevirathne
Hi All, I have tested following scenarios and found no issues. *Kafka Inbound* - Kafka message consumers for high level configuration - Kafka message consumers for high level configuration for multiple topics - Kafka message consumers for simple configuration - Kafka inbound coord

Re: [Dev] CEP over Out-of-Order Data Streams

2015-09-08 Thread Sriskandarajah Suhothayan
Can you merge this code to siddhi and send a pull we will be able to add this to the release Suho On Tue, Sep 8, 2015 at 5:17 PM, Miyuru Dayarathna wrote: > Hi Suho, > > I have completed developing the K-Slack extension for Siddhi and I have > hosted the code in [1

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Nadeeshaan Gunasinghe
Hi all, I tested the following areas and no issues found, * JMS/VFS transport and inbound - Basic JMS inbound and transport scenarios - JMS Dual Channel Transaction - JMS Consumer Side transaction - JMS Quad Channel transaction - VFS inbound and t

[Dev] [JAGGERY][SOAP] Difficulty in retrieving data.

2015-09-08 Thread Sachith Punchihewa
Hi Manuranga, I'm using Jaggery WSRequest in order to retrieve data from admin services.When I'm using the given method of XML parsing i'm getting the following error: Sample Soap Respond : > http://www.w3.org/2003/05/soap-envelope";> > > http://org.apache.axis2/xsd"; xmlns:ax2376=" >

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Prabath Ariyarathna
Hi All. I tested main use cases of the following scenarios and found no issues. 1. Main security scenarios 2. HTTP/HTTPS Inbound endpoints basic scenarios. 3. MSMP/ MSFMP standalone and cluster mode. 3.1 JDBC + JMS message stores with MSMP - Cluster mode (task count 1 and 2) 3.2 JDBC + JM

[Dev] [DAS] Error creating table using CarbonJDBC

2015-09-08 Thread Thanuja Uruththirakodeeswaran
Hi Niranda, I'm trying the following query in spark: create temporary table cluster_member using CarbonJDBC options (dataSource "ANALYTICS_PROCESSED_DATA_STORE", tableName "CLUSTER_MEMBER"); But I'm getting the following error. How to fix this? org.apache.axis2.AxisFault: Exception occurred whi

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Chanaka Fernando
Hi Devs, I have tested the following areas. - Primary/Secondary JDBC/LDAP user stores - Clustering/ Deployment synchronization - Add/Edit/Delete artifacts (Proxy,API, Tasks, Message store, Processor) and configurations (data source, bam profile, tenants) through management console

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC4

2015-09-08 Thread Ravindra Ranwala
Hi All, I have tested scenarios [1]. No issues found. [X] Stable - go ahead and release [1] https://docs.google.com/a/wso2.com/document/d/1WaRiVRrzDIaKLQU4zXcYj0SFN4PFT6J0wV253sE_dmA/edit?usp=sharing Thanks & Regards, On Tue, Sep 8, 2015 at 1:08 AM, Jagath Sisirakumara Ariyarathne < jaga...

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Thilini Cooray
[+ Jo] Hi Thusitha, Issue got resolved by removing context.xml. Thanks. On Tue, Sep 8, 2015 at 4:47 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Thilini, > > It seems that your app contains a context.xml file. We have a known issue > for this[1] > You should be able to depl

[Dev] [DAS] No FileSystem for scheme:file errors comes at startup

2015-09-08 Thread Pubudu Gunatilaka
Hi, I am running DAS with hbase and hadoop cluster and getting following two error messages at startup. I have already included below lines in the analytics data source. fs.hdfs.impl org.apache.hadoop.hdfs.DistributedFileSystem

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Thusitha Thilina Dayaratne
Hi Thilini, It seems that your app contains a context.xml file. We have a known issue for this[1] You should be able to deploy the app after delete the context.xml file without any issue. [1] - https://wso2.org/jira/browse/CARBON-15385

Re: [Dev] travelocity doesn't work on WSO2 App server

2015-09-08 Thread Thusitha Thilina Dayaratne
Hi John, What is the error that you get when trying to deploy it in the AS? Thanks /Thusitha On Tue, Sep 8, 2015 at 3:53 PM, John Hawkins wrote: > Hi Folks, > > How come we don't support travelocity sample in our own WSO2 Appserver? > > It fails to deploy (with classloader issues). I don't see

[Dev] API manager, PizzaShack The swagger file

2015-09-08 Thread Gelareh Abooghadareh
Hi everyone, can someone tell me where do I find the swagger file of the pizzaShack API which is given in samples of API? I have found the folder under "samples --> PizzaSchak" . But I don't find the swagger file. In one webinar (Building APIs From Scratch with WSO2 API Manager)you import

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Lasantha Dharmakeerthi
Hi Thank you all It's solved. misunderstood the given instruction. According to my scenario correct code is curl -H "Authorization:Basic YWRtaW46YWRtaW4=" -X GET " https://10.100.4.139:9447/api-import-export-v0.9.1/export-api?name=WeatherAPI&version=1.0.0&provider=admin"; -k > myExportedAPI.zip

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Thilini Cooray
Hi, The authorization token should be Base64Encode of username:password In your case it should be admin:admin Base64 encode which is YWRtaW46YWRtaW4= On Tue, Sep 8, 2015 at 3:58 PM, Lasantha Dharmakeerthi wrote: > hi > > Thank you for giving help. Still couldn't solve the problem > > is this co

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Lasantha Dharmakeerthi
hi Thank you for giving help. Still couldn't solve the problem is this command correct?? curl -H "Authorization:Basic YWRtaW46:YWRtaW46" -X GET " http://10.100.4.139:9767/api-import-export-v0.9.1/export-api?name=WeatherAPI&version=1.0.0&provider=admin"; -k > myExportedAPI.zip I log as admin use

[Dev] travelocity doesn't work on WSO2 App server

2015-09-08 Thread John Hawkins
Hi Folks, How come we don't support travelocity sample in our own WSO2 Appserver? It fails to deploy (with classloader issues). I don't see anyone who says that they have deployed it in our appserver (and docs tell you to use raw tomcat) - but it should right? cheers, John. John Hawkins Dire

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Thilini Cooray
Hi, @Thusitha : This is a JaxRS webapp generated using Apache CXF. @Nirmal : The root context is "/api". @Supun : we have not used any third party libraries but the RESTful API consists of complex paths with path parameters etc. The issue gets solved when we remove #v1. But whe

[Dev] [DEV] Permission check always returns true for the admin role

2015-09-08 Thread Milan Perera
Hi, I'm using below code to check whether a given user is authorized with respect to a specific permission which is stored in the registry. boolean isUserAuthorized = CarbonContext.getThreadLocalCarbonContext().getUserRealm(). getAuthorizationManager().isUserAuthorized(username, permissio

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Jenananthan Yogendran
HI Also your api url missing the version (api-import-export- *v0.9.1*) https://localhost:9443/api-import-export-*v0.9.1* /export-api?name=xxx&version=xxx&provider On Tue, Sep 8, 2015 at 2:38 PM, Jenananthan Yogendran wrote: > Hi Lasantha, > > You need

[Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-08 Thread Isuru Perera
Hi, With WSO2 Carbon Metrics release 1.1.0 [1], WSO2 Products can extend the Metrics UI and show product specific metrics in Management Console. WSO2 Message Broker successfully use a Fragment Bundle to show Messaging Metrics [2]. Now WSO2 Machine Learner product also wants show some ML specific

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Supun Malinga
And does it work if you remove the # from the war name ?. On Tue, Sep 8, 2015 at 2:58 PM, Supun Malinga wrote: > Do you have any third party libraries within the webapp ?. For example > which try to read/ scan the webapp context for resources. > > thanks, > > On Tue, Sep 8, 2015 at 2:54 PM, Thus

[Dev] WSO2 PPaaS v4.1.0-ALPHA released

2015-09-08 Thread Akila Ravihansa Perera
Hi, The WSO2 Private PaaS community is pleased to announce the release of the WSO2 Private PaaS 4.1.0-ALPHA. This release includes following bug-fixes, improvements and features. Known Issues - [PAAS-77 ] - Validated result of cartridge subscription sh

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Supun Malinga
Do you have any third party libraries within the webapp ?. For example which try to read/ scan the webapp context for resources. thanks, On Tue, Sep 8, 2015 at 2:54 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Thilini, > > Is this a JaxRS webapp that you try to deploy? > > >

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Thusitha Thilina Dayaratne
Hi Thilini, Is this a JaxRS webapp that you try to deploy? On Tue, Sep 8, 2015 at 2:46 PM, Nirmal Fernando wrote: > What's the root context? > > On Tue, Sep 8, 2015 at 2:39 PM, Thilini Cooray wrote: > >> Hi, >> >> I am getting following error while trying to deploy a webapp in both API >> Ma

Re: [Dev] Error while deploying a webapp

2015-09-08 Thread Nirmal Fernando
What's the root context? On Tue, Sep 8, 2015 at 2:39 PM, Thilini Cooray wrote: > Hi, > > I am getting following error while trying to deploy a webapp in both API > Manager and Application Server. > > Any help is appreciated. > > org.wso2.carbon.CarbonException: Error while deploying webapp: > St

[Dev] Error while deploying a webapp

2015-09-08 Thread Thilini Cooray
Hi, I am getting following error while trying to deploy a webapp in both API Manager and Application Server. Any help is appreciated. org.wso2.carbon.CarbonException: Error while deploying webapp: StandardContext[api#v1.war].File[/Users/thilinicooray/gitrepo/APIManager-snapshots/wso2am-1.10.0-SN

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Jenananthan Yogendran
Hi Lasantha, You need to use Basic auth where user credentials (username and password ) should be base 64 encoded separated by colon (). But in your case you have encoded only user name "admin". decode of "YWRtaW4" is admin[1] 1.https://www.base64decode.org/ On Tue, Sep 8, 2015 at 2:07 PM, Thilin

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Thilini Cooray
Hi, Can you please make sure whether the API call is a success by using "curl -v" option? Thanks, ThiliniC. On Tue, Sep 8, 2015 at 1:46 PM, Lasantha Dharmakeerthi wrote: > Hi Devs, > > I followed the API Manager documentation to Migrate APIs to a different > environment. Downloaded the WSO2 AP

Re: [Dev] [APIM] Exporting an API

2015-09-08 Thread Sumedha Rubasinghe
Authorization:Basic *YWRtaW4*= Is this a new token you have generated for yourself? On Tue, Sep 8, 2015 at 1:46 PM, Lasantha Dharmakeerthi wrote: > Hi Devs, > > I followed the API Manager documentation to Migrate APIs to a different > environment. Downloaded the WSO2 API import/export tool v0

Re: [Dev] [Integration Tests] What is the advantage of Exception being thrown in test methods instead of the specific subclass of it?

2015-09-08 Thread Rajeenthini Satkunam
Hi iqbal, I got your point. On Tue, Sep 8, 2015 at 1:32 PM, Irham Iqbal wrote: > Hi Rajeenthini, > > We don't catch any exception inside test methods we just throw the > Exception from it. Even though if you catch the exception and throw the > specific exception testng is the one going to handl

[Dev] [APIM] Exporting an API

2015-09-08 Thread Lasantha Dharmakeerthi
Hi Devs, I followed the API Manager documentation to Migrate APIs to a different environment. Downloaded the WSO2 API import/export tool v0.9.1 and tried to export API. But I got 0 byte zip file. So what will be the reason for that? used command curl -H "Authorization:Basic YWRtaW4=" -X GET "htt

Re: [Dev] [Integration Tests] What is the advantage of Exception being thrown in test methods instead of the specific subclass of it?

2015-09-08 Thread Irham Iqbal
Hi Rajeenthini, We don't catch any exception inside test methods we just throw the Exception from it. Even though if you catch the exception and throw the specific exception testng is the one going to handle this. If you see the testng report you can see the stack trace of the exception where it o

Re: [Dev] [VOTE] Release ES-2.0.0 RC 2

2015-09-08 Thread Nadeesha Meegoda
Hi Manu, We have several grouping feature issues which are noted in [1] [2] and [3]. I don't think it is feasible to release this feature with these issues, basically the grouping has lot of issues. At this moment if these issues cannot be fixed it is the team's decision to drop this feature and