[Dev] Error While installing MySql for BugZilla .

2015-05-20 Thread Vanii Thiyagarajah
Hi, I'm trying to get url of Bugzilla. I've installed all necessary and most optional Perl modules.When I run the checksetup.pl, I get the [1] following error [1]Errorlog Reading ./localconfig... Checking for DBD-mysql (v4.001)ok: found v4.025 There was an error connecting to MySQL:

Re: [Dev] Writing automation tests to check cache timeouts

2015-05-20 Thread Krishantha Samaraweera
Hi Pulasthi et all, What is the manual procedure to test resource cashing ? Thanks, Krishantha. On Wed, May 20, 2015 at 12:26 PM, Pulasthi Supun pulas...@wso2.com wrote: Hi All, Is there a way to write automation tests to tests the timeout configurations of the cache. The test needs to be

Re: [Dev] Writing automation tests to check cache timeouts

2015-05-20 Thread Gayashan Amarasinghe
Hi Pulasthi, You can initiate a new cache manager and a cache with a proper cache expiry time. CacheManager cacheManager = Caching.getCacheManagerFactory().getCacheManager( cacheManagerName); CacheString, String cache = cacheManager.String, String createCacheBuilder(cacheName).

[Dev] Please review and merge PR for APIMANAGER-3596

2015-05-20 Thread Kasun Gunasekara
Hi, Please review and merge PR[1] for Jira [2] [1] https://github.com/wso2/carbon-apimgt/pull/433 [2] https://wso2.org/jira/browse/APIMANAGER-3596 Regards. Kasun Gunasekara Software Engineering Intern - WSO2 Mobile : +94 77 6986482 Twitter https://twitter.com/KaluMallii | Google+

[Dev] ESB Full registry based configuration synapse.xml loading

2015-05-20 Thread Sachith Withana
Hi all, I ran into an issue when running the 11th sample[1] of the WSO2 ESB. This is the configuration file content provided to the ESB at startup. definitions xmlns=http://ws.apache.org/ns/synapse; http://ws.apache.org/ns/synapse registry

[Dev] Writing automation tests to check cache timeouts

2015-05-20 Thread Pulasthi Supun
Hi All, Is there a way to write automation tests to tests the timeout configurations of the cache. The test needs to be able to test if the cache values were invalidated after the given timeout. Best Regards, Pulasthi -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://wso2.com, Email:

Re: [Dev] Writing automation tests to check cache timeouts

2015-05-20 Thread Pulasthi Supun
Hi Krishantha, The manual process that i used to test the changes was to add several conditional logs to check if a specific resource was taken from the database or of the cache hit was successful. And test which log was hit after 15mints ( the timeout period ). @Gayashan What you are

[Dev] Please review and merge the fix for CARBON-15235

2015-05-20 Thread Shashika Karunatilaka
Please review and merge the PR[1] for jira[2] [1] https://github.com/wso2/wso2-axis2/pull/46 [2] https://wso2.org/jira/browse/CARBON-15235 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev

Re: [Dev] carbon-deployment release required for ESB 4.9.0 Alpha

2015-05-20 Thread Mohanadarshan Vivekanandalingam
Hi Jayanga, CEP 4.0.0 alpha release is also required a carbon-commons release.. Are we on track to release carbon-commons Today ? Thanks, Mohan On Tue, May 19, 2015 at 7:43 PM, Jayanga Dissanayake jaya...@wso2.com wrote: Hi Isuru, carbon-deployment has dependencies on carbon-commons and

[Dev] [AppM] Issue with clustering AppM with large mobile apps

2015-05-20 Thread Chathura Dilan
Hi All, In App Manager users can upload mobile applications though publisher Jaggery app and others can download them from that app. Uploaded mobile applications are currently saved in /repository/resources/mobileapps folder in the server home. We have a issue in clustering AppM, since

Re: [Dev] Please review and merge PR for APIMANAGER-3596

2015-05-20 Thread Nuwan Dias
Merged 2e0277ad3bf2622d97b7fea68a568d24db1b0b78 Thanks, NuwanD. On Wed, May 20, 2015 at 1:04 PM, Kasun Gunasekara kas...@wso2.com wrote: Hi, Please review and merge PR[1] for Jira [2] [1] https://github.com/wso2/carbon-apimgt/pull/433 [2] https://wso2.org/jira/browse/APIMANAGER-3596

Re: [Dev] carbon-deployment release required for ESB 4.9.0 Alpha

2015-05-20 Thread Manoj Kumara
Yes, I'm currently working releasing carbon-commons. I'll let you know once released. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, May 20, 2015 at 5:23 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: Hi

Re: [Dev] Error While installing MySql for BugZilla .

2015-05-20 Thread Abimaran Kugathasan
Have you tried to login to MySQL with hostname flag? Like mysql -u wso2carbon -pwso2carbon -hlocalhost On Wed, May 20, 2015 at 12:17 PM, Vanii Thiyagarajah va...@wso2.com wrote: Hi, I'm trying to get url of Bugzilla. I've installed all necessary and most optional Perl modules.When I run the

Re: [Dev] Please review and merge the fix for CARBON-15235

2015-05-20 Thread Manoj Kumara
Merged to wso2-axis2 master branch. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, May 20, 2015 at 11:34 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Please review and merge the PR[1] for jira[2] [1]

[Dev] Please review and merge PR

2015-05-20 Thread Malithi Edirisinghe
Hi All, Please review and merge PR [1] which upgrades the httpclient version in carbon-commons to 4.3.1.wso2v2 [1] https://github.com/wso2/carbon-commons/pull/92 Thanks, Malithi -- *Malithi Edirisinghe* Senior Software Engineer WSO2 Inc. Mobile : +94 (0) 718176807 malit...@wso2.com

[Dev] Merge .properties files with Apache shades plugin

2015-05-20 Thread Thusitha Thilina Dayaratne
Hi, I'm trying to merge openwebbeans.properties files which are appeared in 2 of the dependencies(openwebbeans-impl, openejb-core) in the TomEE bundle using the shades plugin. I follow the shades doc on [1] My configuration is as follows plugin groupIdorg.apache.maven.plugins/groupId

Re: [Dev] Writing automation tests to check cache timeouts

2015-05-20 Thread Gayashan Amarasinghe
Hi Pulasthi, Apologies, didn't understand that your query is regarding resource caching in the registry. Perhaps, you can use a cache listener for this task [1] if it is possible to engage listeners to the resource cache? [1]

Re: [Dev] [AppM] Issue with clustering AppM with large mobile apps

2015-05-20 Thread Sajith Ariyarathna
Hi Chathura, My suggestion is to give the capability of specifying a location (path) to the admin user. Admin user can specify a location in the configuration file (app-manager.xml). Then he can mount that location to all nodes in the cluster. So, in Java we can access that location. This

[Dev] Java 7 syntax support in JSP

2015-05-20 Thread Pulasthi Mahawithana
Hi, Do we have $subject? I'm getting the following error at runtime when '' is used in a jsp. *'' operator is not allowed for source level below 1.7 * Thanks. -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog: http://blog.pulasthi.org

[Dev] Please merge AS Integration test commit#64

2015-05-20 Thread Nuwan Wimalasekara
Hi AS Team, Please merge the pull request https://github.com/wso2/product-as/pull/64. This will integrate the test module tests-security-manager to verify the java security manager and test the server operations are protected. [1] https://github.com/wso2/product-as/pull/64 Thanks, Nuwanw --

Re: [Dev] [AppM] Issue with clustering AppM with large mobile apps

2015-05-20 Thread Ruwan Abeykoon
Hi Chathura, I would suggest using JCR in GReg [1]. I believe it is scalable across the cluster and allows arbitrary length binary data. [1] http://wso2.com/library/articles/2010/09/wso2-governance-registry-jcr/ Cheers, On Wed, May 20, 2015 at 5:07 PM, Chathura Dilan chathu...@wso2.com wrote:

Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-20 Thread Malithi Edirisinghe
Hi All, we are waiting till carbon-commons is released. Will release soon after that. On Tue, May 19, 2015 at 2:29 PM, Prasad Tissera pras...@wso2.com wrote: added identity.base component to security.mgt.server feature. [1].https://github.com/wso2/carbon-identity/pull/303 On Tue, May 19,

Re: [Dev] carbon-deployment release required for ESB 4.9.0 Alpha

2015-05-20 Thread Jayanga Dissanayake
Hi All, org.wso2.carbon.commons : 4.4.2 is released. Thanks, Jayanga. *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jaya...@wso2.com mobile: +94772207259 On Wed, May 20, 2015 at 5:26 PM, Manoj Kumara ma...@wso2.com wrote:

Re: [Dev] Build Failure in Evernote Connector

2015-05-20 Thread Malaka Silva
Yea I guess you need to build [1] Also try building the connector only and skip the tests. [1] https://github.com/wso2/esb-connectors/tree/master/integration-base On Wed, May 20, 2015 at 11:03 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Nadeeshaan, I think you can refer to

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Amalka Subasinghe
I'm using M7 pack. but I have to create the databases manually. On Wed, May 20, 2015 at 10:51 PM, Indika Sampath indi...@wso2.com wrote: Hi Amalka, You don't need to externally run db script. Below set of tables created when you start MB 3.0.0 pack with -Dsetup option. Which milestone pack

[Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Amalka Subasinghe
Hi, I'm trying to setup MB cluster with 2 MB nodes. When I start the MB node with -Dsetup following error was thrown. Do I need to create tables manually for wso2_mb (MB store db)? 2015-05-20 22:01:04,676] ERROR {org.wso2.andes.server.registry.ApplicationRegistry} -

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Indika Sampath
Hi Amalka, You don't need to externally run db script. Below set of tables created when you start MB 3.0.0 pack with -Dsetup option. Which milestone pack did you configure ? MB_BINDING MB_CONTENT MB_DURABLE_SUBSCRIPTION MB_EXCHANGE MB_EXPIRATION_DATA MB_METADATA MB_NODE MB_QUEUE MB_QUEUE_COUNTER

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Hemika Kodikara
Hi Amalka, Can you attach the broker.xml file and master-datasources.xml files ? Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Wed, May 20, 2015 at 10:54 PM, Amalka Subasinghe ama...@wso2.com wrote: I'm

Re: [Dev] How to check whether a logged in user has admin role

2015-05-20 Thread Thilini Cooray
Hi, I was able to resolve the issue with the support of IS team. The problem has occurred because I was trying to authenticate a user of a different tenant domain using an admin of super tenant. IS maintains tenant isolation, therefore it cannot be done. So for each tenant domain we need to

Re: [Dev] what is get-property('Action') and what it do?

2015-05-20 Thread Himasha Guruge
Hi Rukshan, You can refer to [1] . [1] https://docs.wso2.com/display/ESB480/SOAP+Headers#SOAPHeaders-Action Thanks, Himasha On Thu, May 21, 2015 at 9:50 AM, Rukshan Premathunga ruks...@wso2.com wrote: Hi, I ran the 51st sample of the ESB. filter source=get-property('Action')

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Ramith Jayasinghe
+1 On Thu, May 21, 2015 at 10:26 AM, Hemika Kodikara hem...@wso2.com wrote: Also I think we should comment out the H2-In Memory store by default. WDYT ? Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Thu, May 21,

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Hemika Kodikara
Also I think we should comment out the H2-In Memory store by default. WDYT ? Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Thu, May 21, 2015 at 10:22 AM, Hasitha Hiranya hasit...@wso2.com wrote: Better to highlight this in

Re: [Dev] How to check whether a logged in user has admin role

2015-05-20 Thread Thilini Cooray
Hi Shashika, There were some exception handling implementation is around above mentioned implementation and I put PrivilegedCarbonContext.endTenantFlow() inside the finally block. Thanks. On Thu, May 21, 2015 at 9:58 AM, Shashika Karunatilaka shashi...@wso2.com wrote: HI Thilini, Did you

Re: [Dev] Error While installing MySql for BugZilla .

2015-05-20 Thread Vanii Thiyagarajah
No.Normally Mysql is working fine.I have installed bugzilla and try to fine the apiUrl of bugzilla for connector review.When I have configured the mysql for the bugzilla. I got this error. Now I resolved that the issue just now. In local config file I have commented *$db_pass = 'root';* because

Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-20 Thread Isuru Udana
Hi All, When are we releasing carbon-identity ? Appreciate if you can release today morning to prevent ESB 4.9.0 Alpha getting delayed further. Thanks. On Wed, May 20, 2015 at 8:06 PM, Manoj Kumara ma...@wso2.com wrote: Hi, release:perform operation failed due to [1] unmappable character on

Re: [Dev] How to check whether a logged in user has admin role

2015-05-20 Thread Shashika Karunatilaka
HI Thilini, Did you ended this started tenant flow Thanks On Thu, May 21, 2015 at 9:53 AM, Thilini Cooray thili...@wso2.com wrote: Hi, I was able to resolve the issue with the support of IS team. The problem has occurred because I was trying to authenticate a user of a different tenant

[Dev] Component missing : com.google.code.gson in kernel pack

2015-05-20 Thread Niranjan Karunanandham
Hi all, When writing the integration test for axis2 gson [1], I came across a run-time exception. This was because axis2 gson requires * com.google.code.gson* which is not there in the kernel pack. Shall I add bundleDefcom.google.code.gson:gson/bundleDef in pom.xml of

[Dev] what is get-property('Action') and what it do?

2015-05-20 Thread Rukshan Premathunga
Hi, I ran the 51st sample of the ESB. filter source=get-property('Action') regex=urn:uploadFileUsingMTOM property name=example value=mtom/ send endpoint address uri= http://localhost:9000/services/MTOMSwASampleService;

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Asitha Nanayakkara
Hi all, I've commented out H2 In-memory store by default with PR [1] [1] https://github.com/wso2/product-mb/pull/102 On Thu, May 21, 2015 at 10:29 AM, Ramith Jayasinghe ram...@wso2.com wrote: +1 On Thu, May 21, 2015 at 10:26 AM, Hemika Kodikara hem...@wso2.com wrote: Also I think we

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Amalka Subasinghe
attached broker.xml and master-datasources.xml files On Wed, May 20, 2015 at 11:31 PM, Hemika Kodikara hem...@wso2.com wrote: Hi Amalka, Can you attach the broker.xml file and master-datasources.xml files ? Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise

Re: [Dev] what is get-property('Action') and what it do?

2015-05-20 Thread Sachith Withana
Hi Rukshan, The Action property is defined in the header of the message it receives. It's an SOAP header defined as the SOAPAction header. It can be retrieved through the get-property() method. More on that can be found on [1] It is used to provide the intent of the message sent and to filter

[Dev] IS Cluster fronted with an ELB

2015-05-20 Thread Jairo FERNANDEZ
Hi, currently I'm working in a project and I have an issue implementing ELB as a load balancer and Identity Server as an Identity and PDP provider in a cluster. I would appreciate so much any help you can give me with the following implementation: *The scenario* - Two ELB in fail-over mode with

[Dev] Single API to persist a Policy and Profile in MDM

2015-05-20 Thread Dulitha Wijewantha
Hi guys, Earlier approach was to break down the concept of profiles and policies separately and handle them. Since now we have merged them together through a wizard, there is a tricky part in the API. We can't call two separate APIs to persist the Policy and a Profile since then the operation

Re: [Dev] APIM GREG M5 release with ES ALPHA-1

2015-05-20 Thread Sameera Medagammaddegedara
As per the offline discussion please use the following tag [1] to do the GREG M5 release. [1] https://github.com/wso2/carbon-store/tree/greg-m5-v2.0.2 On Wed, May 20, 2015 at 11:15 AM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi, The GREG milestones are currently coupled to the

[Dev] [AppM] Please review and merge PR

2015-05-20 Thread Sachith Herath
Hi Team, Please merge PR [1] This fixes the issue [2] [1] https://github.com/wso2/carbon-appmgt/pull/54 [2] https://wso2.org/jira/browse/APPM-945 *Sachith Ushan* Software Engineering intern WSO2 : http://wso2 http://goog_1352065705.com mobile :- +94 71 8853336 sachi...@wso2.com

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Indika Sampath
I looked into master-datasources.xml and there are two RDBMS datasources configured for WSO2MBStoreDB (H2 and MySQL). H2 is default database we distributed with MB pack. Please comment it [1] before you configure any other RDBMS datasource. !-- WSO2 MB embedded H2 Store --

Re: [Dev] [MB] Error while starting MB 3.0.0 cluster setup

2015-05-20 Thread Hasitha Hiranya
Better to highlight this in our docs as well. On Wed, May 20, 2015 at 11:16 PM, Indika Sampath indi...@wso2.com wrote: I looked into master-datasources.xml and there are two RDBMS datasources configured for WSO2MBStoreDB (H2 and MySQL). H2 is default database we distributed with MB pack.

Re: [Dev] what is get-property('Action') and what it do?

2015-05-20 Thread Madhuranga Bandara
Hi Rukshan, Action refer to SoapAction http Header field. Which is used to indicate the intent of http request. Content of this header field can be used by firewalls to filter SOAP request messages. This is helpful.

Re: [Dev] Clarification on Require re-subscription functionality

2015-05-20 Thread Nirdesha Munasinghe
Hi, If we do not click this option, does it mean that the users who subscribed to the old version do not have to subscribe to the new one again? If that is the case, can someone please explain how to document it if there are multiple old versions (say v1 and v2) with different user subscriptions

Re: [Dev] Enterprise Store - UI test failures

2015-05-20 Thread Krishantha Samaraweera
Ping ! Thanks, Krishantha On Tue, May 19, 2015 at 7:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, Have we fixed all failures ? or introduce new tests ? Thanks, Krishantha. On Wed, Apr 29, 2015 at 8:58 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I was

[Dev] Review and Merge the PRs

2015-05-20 Thread Chamalee De Silva
Hi, The JIRA issue [1] is fixed. The PRs for carbon-apimgt and product-apim are in [2] and [3] respectively. Please $Subject. [1]https://wso2.org/jira/browse/APIMANAGER-2854 [2] https://github.com/wso2/carbon-apimgt/pull/445 [3] https://github.com/wso2/product-apim/pull/175 -- Thanks

[Dev] [DEV][BPS] Please review and merge the pull request

2015-05-20 Thread Vinod Kavinda
Hi, Please find the PR [1] for issue [2]. [1] - https://github.com/wso2/carbon-business-process/pull/53 [2] - https://wso2.org/jira/browse/BPS-530 Regards, Vinod Kavinda -- Vinod Kavinda Software Engineer, *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com

Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-20 Thread Manoj Kumara
Hi, release:perform operation failed due to [1] unmappable character on a javadoc :( Now starting the release process again. Will update once done. [1] https://github.com/wso2/carbon-commons/commit/00f01029aaa6df5d53eca25f5c1d2d1b927e1386 *Manoj Kumara* Software Engineer WSO2 Inc.