Re: [Dev] error in running ESB sample 153

2015-05-20 Thread Thusitha Thilina Dayaratne
Hi Rukshan, What is the Java version that you are using? You can refer to following mail thread " [Dev] Exception when running the ESB Sample 153" Thanks On Thu, May 21, 2015 at 12:22 PM, Rukshan Premathunga wrote: > hi, > > i'm getting an error when i run the ESB sample 153 client > I copy th

[Dev] error in running ESB sample 153

2015-05-20 Thread Rukshan Premathunga
hi, i'm getting an error when i run the ESB sample 153 client I copy the bcprov-jdk15.jar and install the unlimited strength policy files from http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html . But still i get the error as follow. [2015-05-21 12:16:47,273] DEBU

Re: [Dev] Java 7 syntax support in JSP

2015-05-20 Thread Sameera Jayasoma
Hi Pulasthi, As per our offline discussion. Can you try this in Apache Tomcat? If this is working in tomcat, then we will have to fix this in the Carbon environment. Thanks, Sameera. On Wed, May 20, 2015 at 6:31 PM, Pulasthi Mahawithana wrote: > Hi, > > Do we have $subject? I'm getting the fo

Re: [Dev] Web app class loading issue

2015-05-20 Thread Sameera Jayasoma
Hello Geeth, We've encountered many similar issues in the past. The main cause of these issues is the existence of multiple versions of some packages. OSGi is designed to support this scenario. But in some cases, OSGi resolution algorithm fails wire dynamical imported packages due multiple version

[Dev] [ESB] Please review and merge

2015-05-20 Thread Nadeeshaan Gunasinghe
Hi all, Please merge the following for sample 300 fix, [1] https://github.com/wso2/product-esb/pull/144 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Getting the userPassword from the directory user storage

2015-05-20 Thread Damith Senanayake
Hi, I have a need to get the userPassword entry in the directory server into my java-code as a credential object so that I can duplicate the user information(exactly). Currently, in org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager, in doSetUserClaimValues method, we have a list of ent

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

2015-05-20 Thread Nirdesha Munasinghe
I also raised a JIRA as the 'deprecate old versions' and 'require re-subscription' options don't show when we try to publish a prototyped API version (with old versions) using the LIfecycle tab: https://wso2.org/jira/browse/APIMANAGER-3624. Thanks, -Nirdesha On Thu, May 21, 2015 at 11:13 AM, Nird

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 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 > wrote: > >> Hi all, >> >> I was able to fix one test

[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 .* Mobile : +94 (0) 712 415544 vi...@wso2.com

[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 & Regar

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 e

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. http://blog.michaelhidalgo.info/2012/10/is-soapaction-required-httpheader-to.ht

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 wrote: > +1 > > On Thu, May 21, 2015 at 10:26 AM, Hemika Kodikara wrote: > >> Also I think we should comment out the H2-In

[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 "com.google.code.gson:gsonhttps://github.com/wso2/carbon4-kernel/pull/204 [2] - https://

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 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, 2015 a

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 wrote: > HI Thilini, > > Did you ended this started

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 wrote: > Better to highlight this in our docs as well.

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 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. Please comment it

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

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 wrote: > Hi, > > I ran the 51st sample of the ESB. > > > > >

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 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 domain using

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 wrote: > Hi, > > release:perform operation failed due to [1] unmappable character on a > javadoc

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 star

[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. http://localhost:9000/services/MTOMSwASampleService"; optimize="mtom"/> Does anyone know what the "Action" property is, where it is defined

[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 .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_STORE_DB

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 of

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 t

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 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 . mid

[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 won't

[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

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 wrote: > I'm using M7 pack. bu

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 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 did > you conf

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

[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} - org.wso2.andes.kernel.AndesExc

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 wrote: > Yes, I'm current

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

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. http://wso2.c

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 wrote: > added identity.base component to security.mgt.server feature. > > [1].https://github.com/wso2/carbon-identity/pull/303 > > On Tue, May 19, 2015 at 1:52

[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 -- Nu

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 approa

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 wrote: > Hi All, > > In A

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 Jay

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 wrote: > Hi Isuru, > > carbon-deployment has dependencies on carbon-commons and carbon-identity.

[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 /reposito

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 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 > > Regards. >

[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 org.apache.maven.plugins maven-shade-

[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 _

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 wrote: > Please review and merge the PR[1] for jira[2] > > [1] https://github.com/wso2/wso2-

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 wrote: > Hi, > > I'm trying to get url of Bugzilla. I've installed all necessary and most > optional Perl modules.When I run the checksetup.

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] https://github.com/wso2/carbon4-kernel/blob/master/core/javax.cache/src

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 explaining

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); Cache cache = cacheManager. createCacheBuilder(cacheName). setExpiry(CacheConfiguration.ExpiryType.MODIFI

[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 | Google+

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 wrote: > 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 i