Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-22 Thread Shazni Nazeer
It was unable to access the login page nor sign into the store within the GREG 5.0.0 pack that we built with ES features for publisher and store. This issue was identified and the solution involved few steps as below. repository/deployment/server/jaggeryapps/store/config/store.json files' and repo

Re: [Dev] [CEP] Build failures on carbon-event-processing due to invalid child poms

2014-07-22 Thread Gayashan Amarasinghe
Please review and merge the pull request with the fix. https://github.com/wso2-dev/carbon-event-processing/pull/22 Thanks. On Wed, Jul 23, 2014 at 11:50 AM, Gayashan Amarasinghe wrote: > Hi all, > > I'm getting $subject. > > [INFO] Scanning for projects... > [ERROR] The build could not read 3

Re: [Dev] [AppFactory] Performance improvement

2014-07-22 Thread Asanka Dissanayake
On Wed, Jul 23, 2014 at 11:40 AM, Danushka Fernando wrote: > Good job Smaitha. BTW in the jira you mentioned there are two points to > solve. You have addressed first issue. What happened to the second point. > (Permission Loading) > IIRC permissions are already cached. You can find the implement

[Dev] [CEP] Build failures on carbon-event-processing due to invalid child poms

2014-07-22 Thread Gayashan Amarasinghe
Hi all, I'm getting $subject. [INFO] Scanning for projects... [ERROR] The build could not read 3 projects -> [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:org.wso2.carbon.event.processor.storm.common:2.0.0-SNAPSHOT (/home/gayashan/wso2/source/4.3/carbon-event-processing/components/event-

Re: [Dev] Are there build break notifications are not sent to any mailing list?

2014-07-22 Thread Shevan Goonetilleke
Based on the discussion we had on the Infra thread we will use the builder@ mail list for build failure notifications but need to make sure that everyone subscribes to this list. @Maheshika, can we include the people from the relevant product teams in the mails relates to a particular jenkins proj

Re: [Dev] ETA for on-premise App Factory

2014-07-22 Thread Nirdesha Munasinghe
Janaka will be adding the draft steps to wiki or in a Google doc. Please let me know once you are done so that I can complete this page. As we are not going to give scripts with AF 2.0.0, I will remove that section from the 2.0.0 docs. We will be adding the content to 2.0.1 docs. Thanks, -Nirdesh

Re: [Dev] [AppFactory] Performance improvement

2014-07-22 Thread Danushka Fernando
Good job Smaitha. BTW in the jira you mentioned there are two points to solve. You have addressed first issue. What happened to the second point. (Permission Loading) Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Jul 23, 2014 at 10:

Re: [Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Chamila De Alwis
Thanks again Harsha & Dinesh! :) On Tue, Jul 22, 2014 at 11:09 PM, Harsha Kumara wrote: > @Chamila > There is no specific document for it, but it's come from maven. Maven will > look for resolve dependencies from repos. First there are mvn central repos > which you don't want to specify in a po

[Dev] Patching ToolBox or track Toolbox version

2014-07-22 Thread Dinesh Bandara
Hi, Currently in WSO2 Private PaaS, we are using Private_PaaS_Statistics_Monitoring.tbox[1] for metering and logging purposes. This toolbox is changed frequently with new requirements and it will install into BAM as per the documentation [2]. but the issue is we could not track the current version

Re: [Dev] ETA for on-premise App Factory

2014-07-22 Thread Dmitry Sotnikov
Quick check on the status of this: - The scripts have been released, right? - What is the ETA for documentation on using them to install AF? Dmitry On Sat, Jul 5, 2014 at 4:10 PM, Dmitry Sotnikov wrote: > Thanks Harsha! > > I will let the customer know it is coming within a couple of we

Re: [Dev] Are there build break notifications are not sent to any mailing list?

2014-07-22 Thread Sagara Gunathunga
Hi Maheshika, Any update on this ? Thanks ! On Tue, Jul 22, 2014 at 2:43 PM, Afkham Azeez wrote: > $subject? > > Why did all the build breaks go unnoticed for so long? > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://

Re: [Dev] [AppFactory] Performance improvement

2014-07-22 Thread Samith Dassanayake
Hi Asanka Previously it calls ProjectUtils each and every time when the application requires type of the application. Since the application type is highly unlikely to change I cached the results(app types) based on the tenant domain in the session. On Wed, Jul 23, 2014 at 10:40 AM, Asanka Dissan

Re: [Dev] [AppFactory] Performance improvement

2014-07-22 Thread Gayan Dhanushka
Hi Samith, Good job. We need to come up with a strategy to load all the fields with data at the page load time. At the moment in some pages, fields are loaded in the UI without any data and it takes a while for the data to load. I think it is better to load data before the page loads and just appe

Re: [Dev] [AppFactory] Performance improvement

2014-07-22 Thread Asanka Dissanayake
On Wed, Jul 23, 2014 at 10:32 AM, Samith Dassanayake wrote: > Hi, > > As suggested in [1], Instead of calling ProjectUtils(which is a java > class) directly from jaggery layer, I have exposed those methods as OSGI > services and cached the results. This improvement reduced the page load > time of

[Dev] [AppFactory] Performance improvement

2014-07-22 Thread Samith Dassanayake
Hi, As suggested in [1], Instead of calling ProjectUtils(which is a java class) directly from jaggery layer, I have exposed those methods as OSGI services and cached the results. This improvement reduced the page load time of the most of the pages by approximately 100ms. [1] - https://wso2.org/ji

Re: [Dev] Enable auto merging for greg git repositories

2014-07-22 Thread Maheshika Goonetilleke
Hi Pulasthi, Following have ben whitelisted (commit privileges) to each build plan in the pr-builder; wso2/carbon-registry erandasooriyabandara senakafdo cnapagoda ajithnv shelan wso2/carbon-governance erandasooriyabandara senakafdo cnapagoda ajithnv shelan wso2/product-greg ajithnv Fur

Re: [Dev] Register Service Provider's from file in Identity Server

2014-07-22 Thread Thanuja Jayasinghe
Hi Isura, You can verify it by sending a SAML request from a application like 'travelocity'. Thanks, Thanuja On Wed, Jul 23, 2014 at 9:38 AM, Isura Karunaratne wrote: > Hi, > >I have registered a service provider from a file in Identity Server > 5.0.0, since it is not visible in UI how ca

[Dev] Enable auto merging for greg git repositories

2014-07-22 Thread Pulasthi Supun
Hi Maheshika, Can you check if automatic merging of pull request are enabled in the following git repositories. IF not can you please enable it for them wso2/carbon-registry wso2/carbon-governance wso2/product-greg Regards, Pulasthi -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://ws

Re: [Dev] Setting up web socket end point to cater both super-tenant and non-super-tenant targeted requests

2014-07-22 Thread Sagara Gunathunga
On Wed, Jul 23, 2014 at 4:26 AM, Dilini Muthumala wrote: > Hi all, > > This is regarding the tomcat-7 implementation of web sockets. > > When setting up a web socket end point, to receive events from clients, > the following problem comes up: > > Web socket end point must cater two client types:

Re: [Dev] Carbon merge required

2014-07-22 Thread Sameera Jayasoma
We came up with a generic solution to this problem after a discussion with Azeez, Sagara, Shameera, IsuruU and myself. We are planning to maintain all the properties that should get copied in a property file. This file will contain properties which should get copied from super-tenant MsgCtx to ten

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Sagara Gunathunga
On Tue, Jul 22, 2014 at 10:55 PM, Chamil Jeewantha wrote: > Hi Sagara, > > seems there is a typo. (tenant id vs tenant domain). Please confirm. > Yes this should be tenant domain, same as thing we used with HTTP/S to identify tenants from incoming requests. Thanks ! > > > Regards, > Chamil > >

[Dev] Register Service Provider's from file in Identity Server

2014-07-22 Thread Isura Karunaratne
Hi, I have registered a service provider from a file in Identity Server 5.0.0, since it is not visible in UI how can I verify whether Service Provider is created successfully or not? Thanks Isura -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 __

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Chamil Jeewantha
Hi Kasun/Dilini, Tenant Domain should be passed somehow from the client side in order to identify the tenant. In HTTP also we do that (http://.../t/tenant.domain). Authentication is the way that http blocks the security issues. So I think the Web Sockets also must use authentication. In the in

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Danushka Fernando
There is an another signature of setTenantDomain method like setTenantDomain(String tenantDomain, boolean resolveTenantID). I think if you use this it will resolve tenantId by itself. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Ju

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Kasun Gajasinghe
On Tue, Jul 22, 2014 at 5:14 PM, Dilini Muthumala wrote: > Hi Kasun, > > Thanks a lot for pointing that out. > > So, this is the current implementation. > > private static PrivilegedCarbonContext carbonContext; > > @OnOpen > public void onOpen (Session session, @PathParam("topic") Str

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
Hi Kasun, Thanks a lot for pointing that out. So, this is the current implementation. private static PrivilegedCarbonContext carbonContext; @OnOpen public void onOpen (Session session, @PathParam("topic") String topic, @PathParam("tdomain") String tdomain) { carbonContext =

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Kasun Gajasinghe
On Tue, Jul 22, 2014 at 4:30 PM, Dilini Muthumala wrote: > Hi Sagara, > > Thanks a lot for the informative reply. > > On Tue, Jul 22, 2014 at 8:22 PM, Sagara Gunathunga > wrote: > >> As we discussed offline you need to modify onOpen() method to receive >> tenant id from an initial handshake req

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
Hi Sagara, Thanks a lot for the informative reply. On Tue, Jul 22, 2014 at 8:22 PM, Sagara Gunathunga wrote: > As we discussed offline you need to modify onOpen() method to receive > tenant id from an initial handshake request, then within the onOpen method > you have to write logic similar to

[Dev] Setting up web socket end point to cater both super-tenant and non-super-tenant targeted requests

2014-07-22 Thread Dilini Muthumala
Hi all, This is regarding the tomcat-7 implementation of web sockets. When setting up a web socket end point, to receive events from clients, the following problem comes up: Web socket end point must cater two client types: 1. Clients who want to publish to a *tenant-specific* end-point (e.g. w

[Dev] Developing modular cloud applications with OSGi [App Cloud]

2014-07-22 Thread Sampath Amarakoon
Hi all, Is it possible (or planned to be supported) to deploy modular web application bundles with on the WSO2 App cloud? *Thanks & Regards Sampath Amarakoon* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Harsha Kumara
@Chamila There is no specific document for it, but it's come from maven. Maven will look for resolve dependencies from repos. First there are mvn central repos which you don't want to specify in a pom file. By default maven try to resolve dependency from them first. Then maven will look at the spec

Re: [Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Dinesh J Weerakkody
Hi Chamila, You should be able to resolve this issue by adding the WSO2 repository to your pom file. Just copy and paste following repository declaration any where within tag. wso2-maven2-repository WSO2 Maven2 Repository http://dist.wso2.org/ma

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Chamil Jeewantha
Hi Sagara, seems there is a typo. (tenant id vs tenant domain). Please confirm. Regards, Chamil On Tue, Jul 22, 2014 at 8:22 PM, Sagara Gunathunga wrote: > > > In HTTP/S transport CarbonContextCreatorValve get executed with each HTTP > request and it initialise CarbonContext then set tenant

Re: [Dev] What is the reason for "no action specified" jaggery error

2014-07-22 Thread Danushka Fernando
Hi Amila This is how it works. There is the template level in jaggery app (in our case appmgt) calling the block level in ajax method. In this specific location its calling, can be called with various actions. What this block level file would do is just call module level and bring data back and ret

Re: [Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Chamila De Alwis
Thanks Harsha! That did it actually. Earlier the build failed because the dependencies were not resolved. I wasn't aware of the locations of these repositories. Is there any particular document mentioning these? On Tue, Jul 22, 2014 at 6:23 PM, Harsha Kumara wrote: > Hi Chamila, > Did you bui

[Dev] [Chunk-13 packs] -22nd july

2014-07-22 Thread Vijayaratha Vijayasingam
Hi; Packs can be found here[1] [1]https://svn.wso2.org/repos/wso2/scratch/chunk13-release/22_07_2014_new/ Will host p2 repo soon.. Thanks. -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] COMPILATION ERROR in carbon-apimgt/components/apimgt/org.wso2.carbon.apimgt.keymgt.client

2014-07-22 Thread Supun Malinga
Hi, Getting the following in Git branch. Any idea what's going on?. I'm building carbon-apimgt in a clean repo. [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.wso2.carbon.apimgt.keymgt.client --- [INFO] Changes detected - recompiling the module! [WARNING] File encodin

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Sagara Gunathunga
In HTTP/S transport CarbonContextCreatorValve get executed with each HTTP request and it initialise CarbonContext then set tenant details as well. WebSocket is a completely a different protocol from HTTP/S just like JMS/E-mail, so non of the Tomcat valves get executed with WS messages, in fact in W

[Dev] What is the reason for "no action specified" jaggery error

2014-07-22 Thread Amila Maha Arachchi
Can someone tell me $Subject. TID: [0] [AF] [2014-07-22 07:05:35,925] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.JavaScriptException: Error: No action specifiednull (/appmgt/site/blocks/buildandrepo/list/ajax/list.jag#299) {org.jaggeryjs.jaggery.core.manager.

Re: [Dev] Application deployer gives issue in chunk13

2014-07-22 Thread Vijayaratha Vijayasingam
This issue is fixed.. On 22 July 2014 15:44, Shameera Rathnayaka wrote: > Fixed and committed to patch0009, Committed revision 205935. > > Thanks, > Shameera. > > > On Tue, Jul 22, 2014 at 12:12 PM, Vijayaratha Vijayasingam < > rat...@wso2.com> wrote: > >> packs can be found here >> https://svn

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Gayashan Amarasinghe
​Hi Dilini,​ On Tue, Jul 22, 2014 at 7:49 PM, Gayashan Amarasinghe wrote: > Hi Dilini/Asanka, > > > On Tue, Jul 22, 2014 at 7:18 PM, Dilini Muthumala wrote: > >> Hi Asanka, >> I believe, >> PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(); >> works in other tomcat-webapps, bu

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Gayashan Amarasinghe
Hi Dilini/Asanka, On Tue, Jul 22, 2014 at 7:18 PM, Dilini Muthumala wrote: > Hi Asanka, > I believe, > PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(); > works in other tomcat-webapps, but does not return correct tenant id when > used with web socket endpoints. > > Hi Malint

Re: [Dev] BAM Daily Build - 17/07

2014-07-22 Thread Ayash
Please use the pack hosted here for the tomorrow's testing https://svn.wso2.org/repos/wso2/scratch/chunk13-release/22_07_2014_new/ On Tue, Jul 22, 2014 at 12:21 AM, Ayash wrote: > *find > > > On Tue, Jul 22, 2014 at 12:21 AM, Ayash wrote: > >> Please fine the pack for 22nd of July, >> >> http

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
FYI, this is the end point trying to get the tenant id: import javax.websocket.*; import org.wso2.carbon.context.PrivilegedCarbonContext; import org.wso2.carbon.event.input.adaptor.websocket.WebsocketInputService; @ServerEndpoint(value = "/{topic}") public class DataReceivingEndpoint { priva

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
Hi Asanka, I believe, PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(); works in other tomcat-webapps, but does not return correct tenant id when used with web socket endpoints. Hi Malintha and Gayashan, Thanks for the info. It seems that this is not something happening due to C

Re: [Dev] [ESB] MediationTracerService is tightly coupled with MemoryAppender

2014-07-22 Thread Gayashan Amarasinghe
Hi, I observed that the same implementation is followed in EventTracerAdminService [1] and JiraAppender [2] as well. [1] https://github.com/wso2-dev/carbon-event-processing/blob/master/components/event-monitor/event-tracer/org.wso2.carbon.event.tracer/src/main/java/org/wso2/carbon/event/tracer/Ev

Re: [Dev] Please review and merge orbit #10

2014-07-22 Thread Pulasthi Mahawithana
Hi, Please review and merge the pull request [1] that contains the necessary changes for wss4j. [1] https://github.com/wso2-dev/wso2-wss4j/pull/1 On Tue, Jul 22, 2014 at 6:29 PM, Pulasthi Mahawithana wrote: > Hi, > > Please merge pull request [1]. Refer the discussion at [2] for the details.

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Sriskandarajah Suhothayan
Ok so we'll go ahead with extracting the tenant info from the URL Suho On Tue, Jul 22, 2014 at 5:58 PM, Dilini Muthumala wrote: > Hi all, > > Had an offline discussion with Sameera, Sagara and Chamil regarding this. > > The most important piece of info is missing in my initial mail, which is,

[Dev] Please review and merge orbit #10

2014-07-22 Thread Pulasthi Mahawithana
Hi, Please merge pull request [1]. Refer the discussion at [2] for the details. [1] https://github.com/wso2/orbit/pull/10 [2] [Dev] JAX-RS servlet instantiation fails due to NoClassDefFoundError -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog:

Re: [Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Harsha Kumara
Hi Chamila, Did you build your project? Or is it failing because of cannot resolved these jars? May be you haven's specify the wso2 repositories in your pom file. Can you check it? See repositories in [1] as an example. [1]- https://github.com/wso2-dev/carbon-storage-management/blob/master/pom.xml

[Dev] [DEV] - Couldn't download artifacts

2014-07-22 Thread Chamila De Alwis
Hi, I'm trying out this[1] tutorial to create a carbon component. However two dependencies can't be solved because they are not located. org.apache.ws.commons.axiom.wso2 axiom 1.2.11.wso2v4 wsdl4j.wso2 wsdl4j

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
Hi all, Had an offline discussion with Sameera, Sagara and Chamil regarding this. The most important piece of info is missing in my initial mail, which is, this web app contains a web-socket end point. That must be the reason why all these usual methods are not working. Thanks, Dilini On Tue,

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Kasun Gajasinghe
Hi Dilini, What's the product you are trying this in? Can you open up CARBON_HOME/repository/conf/tomcat/catalina-server.xml, and make sure that it has the following valve defined? The reported jira that is mentioned above is an issue with logging. On Tue, Jul 22, 2014 at 4:58 AM, Asan

Re: [Dev] TS build has never worked

2014-07-22 Thread Anjana Fernando
Hi, As I know, TS build was added rather recently, anyways, it should have been built correctly, @Chanika, please check this out, when you're done with your current task. Cheers, Anjana. On Tue, Jul 22, 2014 at 5:11 AM, Afkham Azeez wrote: > https://wso2.org/jenkins/job/product-ts/23/console

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Asanka Dissanayake
On Tue, Jul 22, 2014 at 5:23 PM, Asanka Dissanayake wrote: > > > > On Tue, Jul 22, 2014 at 5:03 PM, Gayashan Amarasinghe > wrote: > >> Hi Dilini, >> >> Did you deploy the web app as super tenant or a tenant? What are the >> server versions you used? >> >> Method you have used is the proper way t

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Asanka Dissanayake
On Tue, Jul 22, 2014 at 5:03 PM, Gayashan Amarasinghe wrote: > Hi Dilini, > > Did you deploy the web app as super tenant or a tenant? What are the > server versions you used? > > Method you have used is the proper way to access the tenant Id. > AFAIK you shouldn't use PrivilegedCarbonContext to r

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Gayashan Amarasinghe
Hi Dilini, Did you deploy the web app as super tenant or a tenant? What are the server versions you used? Method you have used is the proper way to access the tenant Id. However as Malintha has mentioned, there are some bugs when certain super-tenant related tasks are logged, which has not been o

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Asanka Dissanayake
i On Tue, Jul 22, 2014 at 3:37 PM, Malintha Adikari wrote: > Hi Dilini, > > AFAIK, this is a bug. It returns -1 ( which is not a valid tenant Id) > because we haven't set the tenant id property while we deploy/undeploy the > web app. There is a reported jira [1] for this issue and I think the i

Re: [Dev] [ESB] Problems sending numeric keys in JSON Payloads

2014-07-22 Thread Malaka Silva
Hi, Can you try adding (Processing Instruction) element to the payload and check. Best Regards, Malaka On Mon, Jul 21, 2014 at 2:27 PM, Jay wrote: > Hi, > > I am calling an endpoint which requires sending numeric keys in objects in > the following format: > {"1" : "some value"} > > However,

Re: [Dev] BPS Issue in invoking multiple web services

2014-07-22 Thread Hasitha Aravinda
Hi Akila, On Tue, Jul 22, 2014 at 3:43 PM, Akila Nimantha [IT/EKO/LOITS] < aki...@lolctech.com> wrote: > Hi all, > > I am deploying a BPEL process with invoking two web services. In my > process I am using following named wsdl files; > > > > WSDL > > Partner Link Name > > excelCapexService.wsdl

Re: [Dev] Carbon merge required

2014-07-22 Thread Sagara Gunathunga
On Mon, Jul 21, 2014 at 11:21 PM, Sameera Jayasoma wrote: > Hi Malaka, > > Can you please explain the reason to copy all the properties here? > > > // Copy all the properties > > > Map mOriginalProperties = > msgContext.getProperties(); > > for (String strKey : mOrigi

Re: [Dev] Application deployer gives issue in chunk13

2014-07-22 Thread Shameera Rathnayaka
Fixed and committed to patch0009, Committed revision 205935. Thanks, Shameera. On Tue, Jul 22, 2014 at 12:12 PM, Vijayaratha Vijayasingam wrote: > packs can be found here > https://svn.wso2.org/repos/wso2/scratch/chunk13-release/22_07_2014/ > > > On 22 July 2014 10:23, Vijayaratha Vijayasingam

[Dev] BPS Issue in invoking multiple web services

2014-07-22 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I am deploying a BPEL process with invoking two web services. In my process I am using following named wsdl files; WSDL Partner Link Name excelCapexService.wsdl ItemServicePL excelPriceService.wsdl PriceServicePL after I creating the BPEL diagram at the deploy.xml it shows my c

Re: [Dev] DevStudio build has never worked

2014-07-22 Thread Susankha Nirmala
According to the Jenkins build logs, all DevStudio components build successfully. According to the logs this error occurs when try to transfer a file to nexus repo. [JENKINS] Archiving /build/jenkins-home/workspace/developer-studio/features/esb/org.wso2.developerstudio.eclipse.esb.graphical.edi

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Malintha Adikari
Hi Dilini, AFAIK, this is a bug. It returns -1 ( which is not a valid tenant Id) because we haven't set the tenant id property while we deploy/undeploy the web app. There is a reported jira [1] for this issue and I think the issue is been fixed now. [1]https://wso2.org/jira/browse/CARBON-14807 R

Re: [Dev] DevStudio build has never worked

2014-07-22 Thread Afkham Azeez
Can you get this fixed by EoD today? On Tue, Jul 22, 2014 at 3:28 PM, Gayan Yalpathwala wrote: > Hi, > > Noticed that changes in wso2-dev/developer-studio are not merged to > wso2/developer-studio. This is what has caused the issue. > > Thanks, > > > On Tue, Jul 22, 2014 at 2:38 PM, Afkham Azee

Re: [Dev] NPE during CacheCleanupTask on BAM Hazlecast cluster

2014-07-22 Thread Afkham Azeez
This is a well known issue that get sorted out by migrating to Hz 3.2 On Tue, Jul 22, 2014 at 3:14 PM, Thayalan wrote: > Hi All, > > I observed the below exception in our BAM 2.4.2 (17th pack) cluster > set-up. Similar issues has been reported with GREG [1], IS and ESB as well. > Is there is an

Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Asanka Dissanayake
On Tue, Jul 22, 2014 at 3:29 PM, Dilini Muthumala wrote: > Hi, > > Would like to know, how to $subject. > > I tired with, > PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(); > Try with CarbonContext.getThreadLocalCarbonContext().getTenantId(); > > which returned -1, as the ten

[Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Dilini Muthumala
Hi, Would like to know, how to $subject. I tired with, PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(); which returned -1, as the tenant id. Thanks, Dilini -- *Dilini Muthumala* Software Engineer, WSO2 Inc. *E-mail :* dil...@wso2.com *Mobile: *+94713 400 029 _

Re: [Dev] DevStudio build has never worked

2014-07-22 Thread Gayan Yalpathwala
Hi, Noticed that changes in wso2-dev/developer-studio are not merged to wso2/developer-studio. This is what has caused the issue. Thanks, On Tue, Jul 22, 2014 at 2:38 PM, Afkham Azeez wrote: > $subject. Why? > > https://wso2.org/jenkins/job/developer-studio/ > > It is totally UNACCEPTABLE und

[Dev] NPE during CacheCleanupTask on BAM Hazlecast cluster

2014-07-22 Thread Thayalan
Hi All, I observed the below exception in our BAM 2.4.2 (17th pack) cluster set-up. Similar issues has been reported with GREG [1], IS and ESB as well. Is there is any solution for this? [2014-07-22 22:39:53,861] ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} - Error occurred while runni

Re: [Dev] Issue with Tenant's Domain on DSS Cluster Setup

2014-07-22 Thread Ushani Balasooriya
This is a known issue as discussed in the following 2 threads [1] . Issue was resolved after pointing the local DBs to MySQL. [1] [Dev] [Carbon 4.2.0] - Deployment Synchronization issue in clustered setup and [Dev] Getting a Constraint Violation Exception when invoking an API in the gateway worke

[Dev] Cannot access to permission tree though the admin console - jira issue CARBON-14791

2014-07-22 Thread Nipuni Perera
Hi, I am working on jia issue[1]. I could access permission tree of everyone user without the given error. I have used Greg-5.0.0-SNAPSHOT build in 16/07/2014. I have updated the jira with my observations. [1] https://wso2.org/jira/browse/CARBON-14791 Thanks, Nipuni -- Nipuni Perera Software E

Re: [Dev] GReg build failure since July 16th

2014-07-22 Thread Pulasthi Supun
Hi Subash, These build failures are fixed in the wso2-dev/product-greg, The changes need to be merged into wso2/product-greg. Regards, Pulasthi On Tue, Jul 22, 2014 at 2:44 PM, Subash Chaturanga wrote: > Hi Pulasthi, > Can you check whether this failures due to integration test failures ? > >

[Dev] Are there build break notifications are not sent to any mailing list?

2014-07-22 Thread Afkham Azeez
$subject? Why did all the build breaks go unnoticed for so long? -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * * *email: **az...@wso2.com* * cell: +94 77 3320919 blog: **http://blog.af

Re: [Dev] GReg build failure since July 16th

2014-07-22 Thread Subash Chaturanga
Hi Pulasthi, Can you check whether this failures due to integration test failures ? On Tue, Jul 22, 2014 at 2:07 AM, Afkham Azeez wrote: > > https://wso2.org/jenkins/job/product-greg/123/org.wso2.governance$governance-profile-gen/console > > It is totally UNACCEPTABLE for builds to be in the br

[Dev] TS build has never worked

2014-07-22 Thread Afkham Azeez
https://wso2.org/jenkins/job/product-ts/23/console $subject. Why? Under the new build system, it is TOTALLY UNACCEPTABLE for builds to be in a broken state for so long. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.

[Dev] DevStudio build has never worked

2014-07-22 Thread Afkham Azeez
$subject. Why? https://wso2.org/jenkins/job/developer-studio/ It is totally UNACCEPTABLE under the new build system to have broken builds! -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ *

[Dev] GReg build failure since July 16th

2014-07-22 Thread Afkham Azeez
https://wso2.org/jenkins/job/product-greg/123/org.wso2.governance$governance-profile-gen/console It is totally UNACCEPTABLE for builds to be in the broken state for so long in the new system. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundati

[Dev] ESB Jenkins test failure

2014-07-22 Thread Afkham Azeez
https://wso2.org/jenkins/job/product-esb/114/org.wso2.esb$org.wso2.carbon.esb.tests.service/console ESB build has been failing since July 15th! It is totally unacceptable for builds to be broken for so long in the new build system. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http:/

Re: [Dev] [dev] Adding new database to the ES pack

2014-07-22 Thread Harshan Liyanage
Hi Udara, We have done the same thing in EMM 1.1.0. However AFAIK there is no platform level solution for that. Please have a look at EMM-Utils component. That's where we handle creation of EMM_DB when started serve

[Dev] [dev] Adding new database to the ES pack

2014-07-22 Thread Udara Rathnayake
Hi all, After moving the current social framework from Cassandra to SQL based implementation I need to create a new data-source[1] and create related table during initial server startup as well as start using the -Dsetup flag. Since we maintain our own master-datasources.xml[2] I'm already done wi

Re: [Dev] Shipping CQL command line tool with Storage Server(SS)

2014-07-22 Thread Prabath Abeysekera
Hi Harsha, As we discussed offline, please add all the other useful scripts that are typically being used to manage/monitor Cassandra related operations, too. If we are promoting some Carbon instance which has Cassandra features installed to be considered equivalent to an Apache Cassandra node, I

Re: [Dev] Product API Publisher error in accessing : A module cannot be found with the specified name : encode

2014-07-22 Thread Chamil Jeewantha
AFAIK, If you find the following code segment in modules/distribution/src/assembly/bin.xml, you just need to add the jaggery encoder module feature to p2-profile-gen pom. ../p2-profile-gen/target/wso2carbon-core-${carbon.kernal.version}/modules ${pom.artifactId}-

Re: [Dev] Product API Publisher error in accessing : A module cannot be found with the specified name : encode

2014-07-22 Thread Supun Malinga
thanks!. How do I make to copy at product build time?. Is it a bin.xml entry ? On Tue, Jul 22, 2014 at 1:13 PM, Joseph Fonseka wrote: > Hi > > You have to put jaggery encoder module to /modules. you can find > it in 1.7.0 pack. > > Regards > Jo > > > On Tue, Jul 22, 2014 at 10:55 AM, Supun Mali

Re: [Dev] Product API Publisher error in accessing : A module cannot be found with the specified name : encode

2014-07-22 Thread Joseph Fonseka
Hi You have to put jaggery encoder module to /modules. you can find it in 1.7.0 pack. Regards Jo On Tue, Jul 22, 2014 at 10:55 AM, Supun Malinga wrote: > Hi, > > Got the following error when accessing product API publisher. I was able > to overcome this error after copying an older version of

[Dev] TomcatValveContainer.addValves(int index, List valves) implementation changed

2014-07-22 Thread Jayanga Dissanayake
Hi, There was a bug reported for TomcatValveContainer, saying that, if someone try to call addValves(index, valveList) to add a valve to TomcatValveContainer when the TomcatValveContainer is empty, it gives, java.lang.IllegalArgumentException: Invalid value specified for index: 0 So, when the cod

Re: [Dev] CARBON-14857 - Single Logout is not working because of using JSESSIONID cookie only in the logout request

2014-07-22 Thread Dulanja Liyanage
Hi Sameera, As per the offline chat we had, I have resolved the CARBON jira as a duplicate. Now this is tracked in IDENTITY [1]. The reason I created this as a CARBON JIRA in the first place is that the fix is a platform level change (SAML SSO Carbon Authenticator), but I guess it creates a confu