Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Kishanthan Thangarajah
I'll have a look. Kishanthan. On Tue, Oct 8, 2013 at 10:05 AM, Subash Chaturanga sub...@wso2.com wrote: Hi all, I am seeing this in the today's packs. Have anybody else seeing this in today's packs. 2013-10-08 09:49:41,888] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -

Re: [Dev] InitialContext.lookup failed to find an already created topic, if it isn't specified in the jndi.properties file

2013-10-08 Thread Shammi Jayasinghe
Hi Nirmal, Thanks for reporting this . Could you please send us more information on this. Thanks Shammi On Tue, Oct 8, 2013 at 11:06 AM, Nirmal Fernando nir...@wso2.com wrote: Hi All, Noticed $Subject when subscribing to a topic via a client. -- Thanks regards, Nirmal Senior

Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Shazni Nazeer
Hi Dulitha, Currently we don't have an email executor for asset life cycle change. But as far as I know there is way to invoke a particular service when a state change occurs. Shazni Nazeer Senior Software Engineer Mob: +94 715 440 607 On Tue, Oct 8, 2013 at 11:07 AM, Chan

Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Isuruwan Herath
Hi Chan, Yes, you can subscribe to Change LC status via email. See doc : - *Change LC State* - Represents the event of changing a lifecycle state Regs! Isuruwan On Tue, Oct 8, 2013 at 11:07 AM, Chan duli...@wso2mobile.com wrote: Hi Nuwan, The change LC state is triggered when ever a

Re: [Dev] Where can I find the documentation on available functions of a CEP window?

2013-10-08 Thread Rajeev Sampath
Hi Nirmal, Some suggestions for your use case: 1. use time windows with current-events and expired-events (expired event is the one that's get emitted at the end of the time - i.e the oldest, current event is the incoming one - i.e. the latest) 2. or use output rate limiting [1], you can extract

Re: [Dev] [Build Failure] [P2 Repo] org.wso2.carbon.discovery.proxy.feature:4.2.0

2013-10-08 Thread Kasun Gajasinghe
I have fixed this. Thanks. On Tue, Oct 8, 2013 at 9:06 AM, Subash Chaturanga sub...@wso2.com wrote: Hi Please fix. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:26.897s [INFO] Finished at: Tue Oct 08 03:34:45

Re: [Dev] [Build Failure][chunk 02] [P2 Repo] org.wso2.carbon.repomanager.axis2.feature

2013-10-08 Thread Kasun Gajasinghe
I have fixed this. Thanks. On Tue, Oct 8, 2013 at 9:02 AM, Subash Chaturanga sub...@wso2.com wrote: Hi Apparently this is due to some uncommited local change since there is no such 4.2.1 in svn. Please commit them. I will build the p2 at the moment without the 4.2.1. On Tue, Oct 8, 2013

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Mohanadarshan Vivekanandalingam
Hi, On Tue, Oct 8, 2013 at 10:24 AM, Lakmali Baminiwatta lakm...@wso2.comwrote: Hi, On 8 October 2013 10:05, Subash Chaturanga sub...@wso2.com wrote: Hi all, I am seeing this in the today's packs. Have anybody else seeing this in today's packs. Yes getting this in AM packs as well.

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Sumedha Rubasinghe
Guys, Please use the original mail thread to discuss matters related to refactoring. On Tue, Oct 8, 2013 at 11:30 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: I'll have a look. Kishanthan. On Tue, Oct 8, 2013 at 10:05 AM, Subash Chaturanga sub...@wso2.comwrote: Hi all, I am

Re: [Dev] [Appfactory] common object in the seesion to hold data related to an applicaiton

2013-10-08 Thread Asanka Dissanayake
Hi All, In case you want to get application info in the front end, you can simply use the following way. var application = %=session.get(APP_INFO); Following detail can be found , application.key application.name application.owner --- this is the creator of the

Re: [Dev] [Build Failure][Clean Repo] P2 Profile Gen

2013-10-08 Thread Nalin Chandraratne
Hi Subash, org.wso2.carbon.discovery.ui.feature:4.2.0 is in chunk-01 feature list. Which means its released and should be available in the nexus repository. Thanks, Nalin. On Mon, Oct 7, 2013 at 11:45 PM, Subash Chaturanga sub...@wso2.com wrote: Hi ESB team Please fix $subject. [INFO]

Re: [Dev] APIs cannot be invoked in AM 5th Oct Pack. APISecurityException occurred.

2013-10-08 Thread Lakmali Baminiwatta
Hi all, On 7 October 2013 14:40, Sumedha Rubasinghe sume...@wso2.com wrote: Ushani, Saturday packs are not QA testable. It was shared to be tested by product teams. Please use yesterday packs[1] for QA. There is a startup error which is common to all products and Kishanthan is looking

[Dev] Install features for ESB 4.6.0

2013-10-08 Thread Udara Liyanage
Hi, As release matrix [1] suggest, the carbon version of the ESB 4.6.0 is carbon 4.0.6. But I could not find a feature repository location for 4.0.6 in [2] . What is the correct feature repository location ? [1] http://wso2.com/products/carbon/release-matrix/ [2]

Re: [Dev] Does Conditional Router Mediator allow child mediators?

2013-10-08 Thread Asanka Sanjeewa
Hi, Clarified the $subject with ESB team. Since Conditional Router Mediator doesn't allow child mediators inside, the graphical representation of the mediator will be modified accordingly in Developer Studio ESB Graphical Editor. Thanks and Regards, AsankaS. On Thu, Oct 3, 2013 at 12:00 PM,

[Dev] require_once() function for Jaggery

2013-10-08 Thread Dilshan Edirisuriya
Hi, Is there anything similar to subject? Looked into the docs and could not find any. Above function is needed for cyclic module dependencies. I know its a bad design to implement such way but there are few scenarios this will be needed. 1) If there is cyclic dependencies we may have to come

Re: [Dev] Are we running integration tests against nightly builds

2013-10-08 Thread Krishantha Samaraweera
I believe human builders are not the solution for this. However RMs should take the responsibility of building with integration tests until proper CI server with smooth build process is available. I think most product teams have dedicated machine for building, so how about scheduling a build at

Re: [Dev] Where can I find the documentation on available functions of a CEP window?

2013-10-08 Thread Nirmal Fernando
On Tue, Oct 8, 2013 at 11:40 AM, Rajeev Sampath raje...@wso2.com wrote: Hi Nirmal, Some suggestions for your use case: 1. use time windows with current-events and expired-events (expired event is the one that's get emitted at the end of the time - i.e the oldest, current event is the

[Dev] Hadoop 0.20.203.1-wso2v5 on 4.1.0 branch

2013-10-08 Thread Malith Dhanushka
Hi folks, I am going to add Hadoop dependency to 4.2.0 branch. As it seems only 0.20.203.1-wso2v4 has been released with 4.1.0. But there is already a 0.20.203.1-wso2v5 in 4.1.0 branch. Is there any special reason to have 0.20.203.1-wso2v5 in 4.1.0 branch? Thanks, Malith -- Malith Dhanushka

Re: [Dev] InitialContext.lookup failed to find an already created topic, if it isn't specified in the jndi.properties file

2013-10-08 Thread Nirmal Fernando
Hi Shammi, * I'm using MB 2.1.0 and I've created a topic X there. * I've written a small JMS client to subscribe to a topic (same as MB's sample topic subscriber). * JMS client creates initial context after reading jndi.properties file. * In my jndi.properties file, I have;

Re: [Dev] require_once() function for Jaggery

2013-10-08 Thread Dulitha Wijewantha
+1 for the require_once method. The best example for this (since we are in the javascript world) is requirejs. http://requirejs.org/. They have mentioned that they support rhino runtime as well. Also I don't think it's a bad design considering the fact that we are talking about scripting.

Re: [Dev] Hadoop 0.20.203.1-wso2v5 on 4.1.0 branch

2013-10-08 Thread Maninda Edirisooriya
Hi Malith, AFAIK v5 is a mistake. The correct one which is shipped with BAM is v4. v4 has all the fixes in the v5. So neglect v5 and if you want to create a new version you need to create v6 which should be the modified version of v4. * Maninda Edirisooriya* Software Engineer *WSO2, Inc.

Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Chan
We will have to write a custom executor to send an email- to trigger from the lifecycle state change. Also we will have to send the dynamic email parameters from promote method with a ThreadLocal. Also the promote method is invoked via a jaggery code so we'll have to utilize the thread local in

Re: [Dev] Hadoop 0.20.203.1-wso2v5 on 4.1.0 branch

2013-10-08 Thread Malith Dhanushka
Hi Maninda, Thanks for the verification , will proceed with v6. On Tue, Oct 8, 2013 at 2:17 PM, Maninda Edirisooriya mani...@wso2.comwrote: Hi Malith, AFAIK v5 is a mistake. The correct one which is shipped with BAM is v4. v4 has all the fixes in the v5. So neglect v5 and if you want to

[Dev] getContent in Jaggery doesn't return Base64 encoded data

2013-10-08 Thread Dilshan Edirisuriya
Hi, Looked into the code. I believe if its application/json or aplication/json/badgerfish the code looks ok. If the data is a stream IMO this needs to be a Base64 encoded string rather than making it a string using UTF-8. Regards, Dilshan -- Dilshan Edirisuriya Senior Software Engineer -

Re: [Dev] InitialContext.lookup failed to find an already created topic, if it isn't specified in the jndi.properties file

2013-10-08 Thread Shammi Jayasinghe
Hi Nirmal, Thank you for the explanation. I think you are doing the same thing which we have done in our JMS transport. How ever , if would be great if you can attach your client in this case, because i need to verify that , entries in your jndi.properties file is getting loaded in to the initial

[Dev] Axiom test failure {axiom-osgi-run-1.2.11-wso2v4.jar is not a valid bundle}

2013-10-08 Thread Eranda Sooriyabandara
Hi All, I am getting following failure when build kernel with tests on clean repo. thanks Eranda --- T E S T S --- The current artifact axiom-osgi-run-1.2.11-wso2v4.jar is not a valid bundle

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Kishanthan Thangarajah
Found the issue. We have added a fix (correct) to read the wsdl files from bundles. This causes the above error. We will have to properly fix this. On Tue, Oct 8, 2013 at 11:30 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: I'll have a look. Kishanthan. On Tue, Oct 8, 2013 at

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Nandika Jayawardana
Previosly, In Axis2ServiceRegistry.processWSDL method, its was calculating the wsdl path incorrectly and hence was not processing wsdls packed in the bundles. A fix was done for this since BPS uses some wsdls with useOriginalwsdl=true option. The actual problem is these error producing bundles

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Kishanthan Thangarajah
On Tue, Oct 8, 2013 at 3:28 PM, Nandika Jayawardana nand...@wso2.comwrote: Previosly, In Axis2ServiceRegistry.processWSDL method, its was calculating the wsdl path incorrectly and hence was not processing wsdls packed in the bundles. A fix was done for this since BPS uses some wsdls with

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Manoj Kumara
Change is reverted with r187598 form patch0001. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Tue, Oct 8, 2013 at 3:40 PM, Kishanthan Thangarajah kishant...@wso2.comwrote: On Tue, Oct

[Dev] Server takes about 1 min to bootup

2013-10-08 Thread Nuwan Bandara
Seems [2013-10-08 16:17:39,518] INFO {org.apache.shiro.config.IniSecurityManagerFactory} - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. [2013-10-08 16:17:39,964] INFO {org.apache.shiro.realm.AuthorizingRealm} - No cache or

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Kishanthan Thangarajah
Subash, Please start a fresh build updating kernel as-well. Thanks, Kishanthan. On Tue, Oct 8, 2013 at 3:45 PM, Manoj Kumara ma...@wso2.com wrote: Change is reverted with r187598 form patch0001. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Subash Chaturanga
OK, Sure will do in the next build. On Tue, Oct 8, 2013 at 4:36 PM, Kishanthan Thangarajah kishant...@wso2.comwrote: Subash, Please start a fresh build updating kernel as-well. Thanks, Kishanthan. On Tue, Oct 8, 2013 at 3:45 PM, Manoj Kumara ma...@wso2.com wrote: Change is reverted

Re: [Dev] [GReg] Server Startup Error in todays packs

2013-10-08 Thread Shavantha Weerasinghe
hi yes saw this issue coming on startup 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 Tue, Oct 8, 2013 at 10:05 AM, Subash Chaturanga sub...@wso2.com wrote: Hi all,

[Dev] Developer Studio 3.3.0 Alpha Released!

2013-10-08 Thread Asanka Sanjeewa
Hi All, We have WSO2 Developer Studio 3.3.0 Alpha version ready to be downloaded at [1]. Installed eclipse distributions available at [2]. This release includes following improvement and bug fixes. Improvement - [TOOLS-2017 https://wso2.org/jira/browse/TOOLS-2017] - Deserialization

Re: [Dev] Server takes about 1 min to bootup

2013-10-08 Thread Prabath Siriwardena
Looks like someone has introduced Shiro ? Thanks regards, -Prabath On Tue, Oct 8, 2013 at 4:28 PM, Nuwan Bandara nu...@wso2.com wrote: Seems [2013-10-08 16:17:39,518] INFO {org.apache.shiro.config.IniSecurityManagerFactory} - Realms have been explicitly set on the SecurityManager

[Dev] SSO issue for tenant users

2013-10-08 Thread Ranga Siriwardena
Hi devs, We are using sso hostobject for appfactory sso purpose. We encountered $Subject when login as a tenant user. Following are the issues encountered. - tenant registry is not loaded during the signature validation phase - decode method is not compatible with encode mechanism We were

[Dev] org.wso2.carbon.application.deployer build failure in carbon kernel

2013-10-08 Thread Eranda Sooriyabandara
Hi Sameera, Any idea of the following compilation failure? thanks Eranda [ERROR] COMPILATION ERROR : [INFO] - [ERROR]

Re: [Dev] [Build] Integration test failure in API Manager

2013-10-08 Thread Krishantha Samaraweera
Hi Sanjeewa, Is this issue still there. it seems like server hasn't got started within 18ms. Did you try to manually start the server ? Thanks, On Sat, Oct 5, 2013 at 6:11 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote: I ran user creation and server start up manually and everything works

Re: [Dev] SSO issue for tenant users

2013-10-08 Thread Sumedha Rubasinghe
How this is working for two web apps (store , publisher) in API Manager? On Tue, Oct 8, 2013 at 5:57 PM, Ranga Siriwardena ra...@wso2.com wrote: Hi devs, We are using sso hostobject for appfactory sso purpose. We encountered $Subject when login as a tenant user. Following are the issues

Re: [Dev] Server takes about 1 min to bootup

2013-10-08 Thread Sumedha Rubasinghe
On Tue, Oct 8, 2013 at 5:50 PM, Prabath Siriwardena prab...@wso2.comwrote: Looks like someone has introduced Shiro ? How could she do something bad as this? !!! Thanks regards, -Prabath On Tue, Oct 8, 2013 at 4:28 PM, Nuwan Bandara nu...@wso2.com wrote: Seems [2013-10-08

Re: [Dev] SSO issue for tenant users

2013-10-08 Thread Ranga Siriwardena
On Tue, Oct 8, 2013 at 7:35 PM, Sumedha Rubasinghe sume...@wso2.com wrote: How this is working for two web apps (store , publisher) in API Manager? This need to be tested. Since AM also depend on hostobject, store and publisher also may fail with SSO. On Tue, Oct 8, 2013 at 5:57 PM, Ranga

Re: [Dev] org.wso2.carbon.application.deployer build failure in carbon kernel

2013-10-08 Thread Kishanthan Thangarajah
Are you building with jdk 7? On Tue, Oct 8, 2013 at 6:35 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi Sameera, Any idea of the following compilation failure? thanks Eranda [ERROR] COMPILATION ERROR : [INFO] - [ERROR]

Re: [Dev] org.wso2.carbon.application.deployer build failure in carbon kernel

2013-10-08 Thread Eranda Sooriyabandara
Hi Kicha, Yeah, figured out. It worked with JDK 6. thanks Eranda On Tue, Oct 8, 2013 at 8:50 PM, Kishanthan Thangarajah kishant...@wso2.comwrote: Are you building with jdk 7? On Tue, Oct 8, 2013 at 6:35 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi Sameera, Any idea of the

Re: [Dev] Axiom test failure {axiom-osgi-run-1.2.11-wso2v4.jar is not a valid bundle}

2013-10-08 Thread Eranda Sooriyabandara
This was due to using JDK 7. These tests passed with JDK 6. thanks Eranda On Tue, Oct 8, 2013 at 3:08 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi All, I am getting following failure when build kernel with tests on clean repo. thanks Eranda

Re: [Dev] SSO issue for tenant users

2013-10-08 Thread Amila De Silva
Hi, Can't we take out the registry loading out of the sso hostobject and do it from the acs.jag ? The thing is when populating the store/publisher for a tenant we somehow have to load the tenant registry and doing it in the sso hostobject would only incur an additional cost. When loading tenant

[Dev] WSO2 Enterprise Store 1.0.0 ALPHA-3 Released

2013-10-08 Thread Nuwan Bandara
*WSO2 Enterprise Store 1.0.0 ALPHA-3 Released !* This is the ALPHA-3 release of WSO2 Enterprise Store, which will create a marketplace for your enterprise assets. You can download the Alpha-3 at [1]. This release specifically contains following tasks, improvements and bug fixes towards 1.0.0 GA.

[Dev] [Kernel][patch0001] Test Failure in Axiom

2013-10-08 Thread Subash Chaturanga
Hi Following is the sure fire report for $subject ? Were we before able to build the kernel with all tests passing ? --- Test set: org.apache.axiom.attachments.PartOnFileTest

Re: [Dev] [Kernel][patch0001] Test Failure in Axiom

2013-10-08 Thread Manoj Kumara
Hi, Yes there was no issue with the test. Will look into this. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Tue, Oct 8, 2013 at 11:17 PM, Subash Chaturanga sub...@wso2.com wrote: Hi

Re: [Dev] [Kernel][patch0001] Test Failure in Axiom

2013-10-08 Thread Manoj Kumara
Hi, All the axiom tests were passed for me. Can you please check. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Wed, Oct 9, 2013 at 9:28 AM, Manoj Kumara ma...@wso2.com wrote: Hi, Yes

Re: [Dev] [Kernel][patch0001] Test Failure in Axiom

2013-10-08 Thread Subash Chaturanga
sure will do. On Wed, Oct 9, 2013 at 9:37 AM, Manoj Kumara ma...@wso2.com wrote: Hi, All the axiom tests were passed for me. Can you please check. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile:

[Dev] [DEV] ERROR NullPointerException Error occurred while running CacheCleanupTask in GREG

2013-10-08 Thread Nuwan Silva
Following occurs when running GREG cluster https://wso2.org/jira/browse/REGISTRY-1984 Exception in thread hz.greg.qa.460.domain.instance.cached.thread-3 java.lang.NullPointerException at

[Dev] Fwd: [jira] [Created] (STRATOS-95) Build failure on trunk (3.0.0-SNAPSHOT)

2013-10-08 Thread Sanjiva Weerawarana
FYI - please fix in Carbon itself (see thread on d...@stratos.incubator.apache.org for more info). -- Forwarded message -- From: Hadrian Zbarcea (JIRA) j...@apache.org Date: Tue, Oct 8, 2013 at 7:10 AM Subject: [jira] [Created] (STRATOS-95) Build failure on trunk (3.0.0-SNAPSHOT)

Re: [Dev] Balana policy source question

2013-10-08 Thread Asela Pathberiya
Hi Scott, If you create an account in wso2.com [1]. Then you can login to jira account with those credentials. [1] https://wso2.com/user/register Thanks, Asela. On Wed, Oct 9, 2013 at 6:01 AM, Scott Came scott.c...@search.org wrote: Hi Asela. I have created an InMemoryPolicyFinderModule

[Dev] Python client for WSO2 Message Broker

2013-10-08 Thread Dinesh Bandara
Hi, I have tried to implement a python client for WSO2 MB by using the [1] which supports for RabbitMQ as well as Qpid. When use it with WSO2MB, publisher can publish into topic but subscriber could not be able to consume messages from the topic. Can anyone help me to figure this out? [1]

[Dev] cmis tool scenario does not work

2013-10-08 Thread Shavantha Weerasinghe
Hi All with the GReg pack on 8th October I was not able to login to CMIS as per the http://docs.wso2.org/display/Governance460/Integrate+CMIS+Client+with+WSO2+Governance+Registry. however, I reverted back to 3rd September pack which allowed me to gain access to CMIS. Jira is

Re: [Dev] [Kernel][patch0001] Test Failure in Axiom

2013-10-08 Thread Subash Chaturanga
In clean repo in the builder machine, this test fails. JDK version in builder is jdk1.6.0_45. But I will continue the build with out tests in kernel to build packs. On Wed, Oct 9, 2013 at 10:03 AM, Subash Chaturanga sub...@wso2.com wrote: sure will do. On Wed, Oct 9, 2013 at 9:37 AM, Manoj

Re: [Dev] Python client for WSO2 Message Broker

2013-10-08 Thread Ishara Premadasa
Hi Dinesh, Do you see any error log there when running the subscriber ? Also can you see any terminal logs saying that 'Subscriber binded successfully with ID_XX ' etc. ? If possible please add the MB log here after running the sample clients. Thanks, Ishara On Wed, Oct 9, 2013 at 11:00 AM,