Re: [Dev] Test failure- Capp deployment.

2013-07-25 Thread Manoj Kumara
Hi Ajith, I will look in to this and will update you. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Wed, Jul 24, 2013 at 11:26 PM, Ajith Vitharana aji...@wso2.com wrote: Hi All, The

[Dev] OSGI bundles startup order

2013-07-25 Thread Lakmali Baminiwatta
Hi all, I have a requirement to publish some internal APIs at the server startup. We are planing to use the Publisher API for this. So in order to call Publisher API, the publisher web app should be available and in that case, the server should have been started. We thought of writing a new OSGI

Re: [Dev] Cluster initialization delays the server start up by almost 1 minute

2013-07-25 Thread Nirodha Pramod
On Thu, Jul 25, 2013 at 12:01 PM, Nirodha Pramod niro...@wso2.com wrote: Hi, You can see the below logs, when multicast clustering is enabled, it takes around 1 minute to do the cluster initialization. [2013-07-25 11:54:50,339] INFO

[Dev] We should switch to Log4J 2

2013-07-25 Thread Afkham Azeez
http://www.javacodegeeks.com/2013/07/log4j-2-performance-close-to-insane.html *Log4j 2: Performance close to insane* by Christian Grobmeierhttp://www.javacodegeeks.com/author/Christian-Grobmeier/ on July 24th, 2013 | *Filed in: *Enterprise Javahttp://www.javacodegeeks.com/java/enterprise-java/

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Sinthuja Ragendran
Hi Lakmali, There is ServerStartupHandler in the carbon core, i think it'll be useful for your use-case. You just need to to implement the ServerStartupHandler in your component, and then register that class during the bundle activation time. The stuff you need to do after the server startup,

[Dev] ELB startup errors.

2013-07-25 Thread Pradeep Fernando
Hi, I fixed the caching related issue. Now getting the below error while startup. Looking in to it. [2013-07-25 13:14:56,270] FATAL - PassThroughHttpSSLListener Exception encountered in the HTTPS Listener. No more connections will be accepted by this transport

Re: [Dev] ELB startup errors.

2013-07-25 Thread Pradeep Fernando
looks like theres a CNF. @Miyuru: any recent refactoring.. ? java.lang.ClassNotFoundException: org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Shariq Muhammed
Hi Lakmali, You can mark the service as a ListenerManagerRequiredServices, the the server won't startup until the osgi service is available ... On Thu, Jul 25, 2013 at 12:19 PM, Lakmali Baminiwatta lakm...@wso2.comwrote: Hi all, I have a requirement to publish some internal APIs at the

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Shariq Muhammed
Correction, it should be ListenerManager-RequiredServices, check the pom.xml file of org.wso2.carbon.mediation.initializer component ... On Thu, Jul 25, 2013 at 1:34 PM, Shariq Muhammed sha...@wso2.com wrote: Hi Lakmali, You can mark the service as a ListenerManagerRequiredServices, the the

Re: [Dev] ELB startup errors.

2013-07-25 Thread Miyuru Wanninayaka
This class is located @ components/transport-mgt/org.wso2.carbon.transport.nhttp Are we packing that component in ELB? On Thu, Jul 25, 2013 at 1:29 PM, Pradeep Fernando prad...@wso2.com wrote: looks like theres a CNF. @Miyuru: any recent refactoring.. ? java.lang.ClassNotFoundException:

[Dev] Invalid wsdl reference in service.metadata.xml (G-reg integration test)

2013-07-25 Thread Lasith Chandrasekara
Hi, The service.metadata.xml [1] has invalid reference to BizService.wsdl. This will lead to file not found exceptions in greg test cases i.e MetaDataTestCase.testAddService() Anyway the required wsdl is located at [2]. Shall we change wsdlurl in service.metadata.xml to [2] ? Or should we copy

Re: [Dev] ELB startup errors.

2013-07-25 Thread Pradeep Fernando
we are using that as per axis2.xml transportReceiver name=http class=org.apache.synapse.transport.passthru.PassThroughHttpListener parameter name=port8280/parameter parameter name=non-blocking true/parameter parameter name=httpGetProcessor

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Lakmali Baminiwatta
Hi Sinthuja, On 25 July 2013 13:14, Sinthuja Ragendran sinth...@wso2.com wrote: Hi Lakmali, There is ServerStartupHandler in the carbon core, i think it'll be useful for your use-case. You just need to to implement the ServerStartupHandler in your component, and then register that class

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Lakmali Baminiwatta
Hi Shariq, On 25 July 2013 13:36, Shariq Muhammed sha...@wso2.com wrote: Correction, it should be ListenerManager-RequiredServices, check the pom.xml file of org.wso2.carbon.mediation.initializer component ... Thanks for the info. As per my understanding what this does is, guranteening that

Re: [Dev] DSS 3.0.2 release

2013-07-25 Thread Chanika Geeganage
Hi Samisa, Yes, we are releasing DSS 3.1.0 (note that the release version is 3.0.2 as per the discussion on 'Product versioning strategy for Carbon 4.2.0 based products'). But due to the kernel changes, the release date will be delayed. Because of those changes, many start-up and tenant related

[Dev] Compilation Error - platform/trunk/components/user-manager

2013-07-25 Thread Ayashkantha Ramasinghe
Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5.889s [INFO] Finished at: Thu Jul 25 14:13:27 IST 2013 [INFO] Final Memory: 33M/618M [INFO]

Re: [Dev] Compilation Error - platform/trunk/components/user-manager

2013-07-25 Thread Dimuthu De Lanerolle
Hi, I am also getting the same error. Regards On Thu, Jul 25, 2013 at 2:21 PM, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO] [INFO]

Re: [Dev] Compilation Error - platform/trunk/components/user-manager

2013-07-25 Thread Darshana Gunawardana
Hi Ayashkantha, Have you build the kernel? Thanks, On Thu, Jul 25, 2013 at 2:21 PM, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO]

Re: [Dev] Compilation Error - platform/trunk/components/user-manager

2013-07-25 Thread Gokul Balakrishnan
This won't appear if you build the kernel. On 25 July 2013 14:21, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO] [INFO] Total time:

Re: [Dev] Compilation Error - platform/trunk/components/user-manager

2013-07-25 Thread Ayashkantha Ramasinghe
Hi Dimuthu, Yes, building the kernel fixing this issue. Thank you, On Thu, Jul 25, 2013 at 2:32 PM, Gokul Balakrishnan go...@wso2.com wrote: This won't appear if you build the kernel. On 25 July 2013 14:21, Ayashkantha Ramasinghe ayashkan...@wso2.comwrote: Hi, I am getting the

[Dev] Registry caching issue observed while ELB startup..

2013-07-25 Thread Pradeep Fernando
Hi Senaka/Ajith, FYI, java.lang.NullPointerException: Tenant domain has not been set in CarbonContext at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79) at

Re: [Dev] Invalid wsdl reference in service.metadata.xml (G-reg integration test)

2013-07-25 Thread Senaka Fernando
Hi Lasith, Please fix [1], and do not copy the WSDL to the old location. Thanks, Senaka. On Thu, Jul 25, 2013 at 1:43 PM, Lasith Chandrasekara las...@wso2.comwrote: Hi, The service.metadata.xml [1] has invalid reference to BizService.wsdl. This will lead to file not found exceptions in

Re: [Dev] Registry caching issue observed while ELB startup..

2013-07-25 Thread Senaka Fernando
Hi all, Should the registry set the tenant domain in this case, or the code accessing the registry set the tenant domain? AFAIU, its the code accessing the registry which needs to ensure that this is done isn't it? In other words, whoever responsible for creating this thread should be doing this

Re: [Dev] Shall we remove _ (underscore) suffix component from kernel trunk

2013-07-25 Thread Shameera Rathnayaka
Hi Pradeep, On Tue, Jul 23, 2013 at 12:48 PM, Pradeep Fernando prad...@wso2.com wrote: Hi Shameera, Please create a tag of current kernel trunk in the scratch area (so that prabath can continue work..) and remove the components with '_' from the trunk. Done. @Prabath Please find scratch

Re: [Dev] Registry caching issue observed while ELB startup..

2013-07-25 Thread Ajith Vitharana
AFAIK , The code accessing the registry should set the domain/id. Thanks Ajith. On Thu, Jul 25, 2013 at 2:54 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Should the registry set the tenant domain in this case, or the code accessing the registry set the tenant domain? AFAIU, its the

Re: [Dev] Test failure- Capp deployment.

2013-07-25 Thread Manoj Kumara
Hi Ajith, On the current CApp deployment process we did not create copy of the CApp on the registry. It will be copied in to file location under CarbonHOME/repository/deployment/server/carbonapps. So we can either modify this test case accordingly or remove it. Thanks, Manoj Best Regards..

Re: [Dev] Test failure- Capp deployment.

2013-07-25 Thread Ajith Vitharana
On Thu, Jul 25, 2013 at 3:06 PM, Manoj Kumara ma...@wso2.com wrote: Hi Ajith, On the current CApp deployment process we did not create copy of the CAppon the registry. It will be copied in to file location under CarbonHOME/repository/deployment/server/carbonapps. So we can either modify

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Shariq Muhammed
On Thu, Jul 25, 2013 at 2:10 PM, Lakmali Baminiwatta lakm...@wso2.comwrote: Hi Shariq, On 25 July 2013 13:36, Shariq Muhammed sha...@wso2.com wrote: Correction, it should be ListenerManager-RequiredServices, check the pom.xml file of org.wso2.carbon.mediation.initializer component ...

Re: [Dev] Status of webapp stat publishing for aPaaS

2013-07-25 Thread Shariq Muhammed
On Tue, Jul 23, 2013 at 5:45 PM, Amila Maha Arachchi ami...@wso2.comwrote: Thanks Shariq. If the bam.xml only shipped with AS? Seems like we'll have to use it for this purpose. Make sure to use secure vault for this. This is shipped with any product that has data agents, its basically use

Re: [Dev] Registry caching issue observed while ELB startup..

2013-07-25 Thread Pradeep Fernando
Hi, Thanks, will look in to this.. On Thu, Jul 25, 2013 at 2:58 PM, Ajith Vitharana aji...@wso2.com wrote: AFAIK , The code accessing the registry should set the domain/id. Thanks Ajith. On Thu, Jul 25, 2013 at 2:54 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Should the

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Lakmali Baminiwatta
Hi, On 25 July 2013 14:03, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi Sinthuja, On 25 July 2013 13:14, Sinthuja Ragendran sinth...@wso2.com wrote: Hi Lakmali, There is ServerStartupHandler in the carbon core, i think it'll be useful for your use-case. You just need to to

[Dev] [Carbon 4.2.0] -Deployment synchronizer subversion error on worker/Manage separated setup

2013-07-25 Thread Asanka Vithanage
Hi , we have observed following error looping on manager stack trace when try to deploy a web application. Even undeploying the web application not worked and we have to cleanup the svn. Noted: svnkit-bundle-1.0.0.jar available on the cluster TID: [0] [AS] [2013-07-25 15:47:58,120] INFO

[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1039 has FAILED. Change made by Melan Nimesh.

2013-07-25 Thread Bamboo
--- Developer Studio Eclipse-Tools #1039 failed. --- Code has been updated by Melan Nimesh. No failed tests found, a possible compilation error.

[Dev] ${carbon.version} in carbon.xml in carbon

2013-07-25 Thread Bhathiya Jayasekara
Hi, In kernel distribution's carbon.xml, it has following element. FeatureRepository RepositoryNamedefault repository/RepositoryName RepositoryURLhttp://dist.wso2.org/p2/carbon/releases/*${carbon.version}* /RepositoryURL /FeatureRepository How does this *${carbon.version} *is resolved in

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Anjana Fernando
Hi, That is a bit strange, it is basically saying the UserAdmin, admin service is not available .. not any webapp. That admin service should be deployed by then. Sameera, at the line which has CarbonCoreServiceComponent.startup() in [1], is there a chance, that the above mentioned admin service

Re: [Dev] ${carbon.version} in carbon.xml in carbon

2013-07-25 Thread Gokul Balakrishnan
When compiling the maven assembly plugin is invoked for packaging. For filtering purposes this plugin depends on the filter.properties file under /src/assembly/ where the assembly descriptors are also held. AFAIK the parameter you mentioned is resolved at this point. Please correct me if I am

[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1040 has FAILED. Change made by Melan Nimesh.

2013-07-25 Thread Bamboo
--- Developer Studio Eclipse-Tools #1040 failed. --- Code has been updated by Melan Nimesh. No failed tests found, a possible compilation error.

Re: [Dev] ${carbon.version} in carbon.xml in carbon

2013-07-25 Thread Bhathiya Jayasekara
Does that mean *${carbon.version} *should already be resolved in distribution pack? Thanks, --Bhathiya On Thu, Jul 25, 2013 at 5:25 PM, Gokul Balakrishnan go...@wso2.com wrote: When compiling the maven assembly plugin is invoked for packaging. For filtering purposes this plugin depends on

[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1041 was SUCCESSFUL. Change made by Melan Nimesh.

2013-07-25 Thread Bamboo
--- Developer Studio Eclipse-Tools #1041 was successful. --- Code has been updated by Melan Nimesh. http://wso2.org/bamboo/browse/DS0001-DSET01-1041/

Re: [Dev] OSGI bundles startup order

2013-07-25 Thread Lakmali Baminiwatta
Hi all, On 25 July 2013 16:51, Anjana Fernando anj...@wso2.com wrote: Hi, That is a bit strange, it is basically saying the UserAdmin, admin service is not available .. not any webapp. That admin service should be deployed by then. Sameera, at the line which has

Re: [Dev] Fwd: Generating UIs for RXTs in a Jaggery App

2013-07-25 Thread Senaka Fernando
Hi all, AFAIU the question is about. Option 1: Not using a standard API but inventing your way of parsing the RXT configuration. VS Option 2: Using a Standard API exposed by G-Reg. I would definitely go for #2. However, I'm not sure whether the APIs we have to date can facilitate what's

Re: [Dev] Shall we update to tomcat 7.0.42 in platform 4.2.0

2013-07-25 Thread Sagara Gunathunga
On Sun, Jul 21, 2013 at 1:25 AM, Supun Malinga sup...@wso2.com wrote: Hi, https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511styleName=HtmlCreate=Createversion=12324383 Its been almost two weeks.. I guess we can upgrade to 7.0.42.. +1 just do a quick search if there

Re: [Dev] Cluster initialization delays the server start up by almost 1 minute

2013-07-25 Thread Afkham Azeez
This is the time it takes for Hazelcast to initialize. We will have to dig into the Hazelcast code to see why it takes so long. Suho, when you guys were using Hazelcast, did you notice such delays as well? On Thu, Jul 25, 2013 at 12:21 PM, Nirodha Pramod niro...@wso2.com wrote: On Thu, Jul

Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-07-25 Thread Afkham Azeez
Can you confirm that there is no such delay when there is a single node? and when there is no clustering setup? On Thu, Jul 25, 2013 at 4:53 PM, Shashika Ubhayaratne shash...@wso2.comwrote: Hi, We observed that tenant creation is very slow on cluster set up. It took more than 3 minutes. In

[Dev] Build Failure - kernal/trunk/core/org.wso2.carbon.registry.api

2013-07-25 Thread Mohanadarshan Vivekanandalingam
Hi, I'm getting the following exception when building the kernal in clean repo. java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at

[Dev] WSO2 Enterprise Store Milestone-1 Released

2013-07-25 Thread Nuwan Bandara
*WSO2 Enterprise Store Milestone-1 Released* * * This is the first milestone of WSO2 Enterprise Store, which will create a marketplace for your enterprise assets. You can download the milestone at [1]. It mainly contains 1. Standalone store distribution 2. User registration sign-in 3.

Re: [Dev] Running multiple g-reg instances

2013-07-25 Thread Sanjeewa Malalgoda
On Wed, Jul 24, 2013 at 11:10 AM, Sumedha Rubasinghe sume...@wso2.comwrote: This is due to API Management feature starting up a Thrift server multiple instances of G-Reg causing a port conflict. As discussed before on the thread API Manager PortOffset issue, we are not supporting port offset

Re: [Dev] Cluster initialization delays the server start up by almost 1 minute

2013-07-25 Thread Sriskandarajah Suhothayan
In the Siddhi case its take some time at times when using in distributed set-up. And there use to be logs like [192.168.1.4]:5702 [siddhi5-cluster-1374770850615] ** setting master address to Address[192.168.1.4]:5701 [192.168.1.4]:5702 [siddhi5-cluster-1374770850615] ** setting master address to

Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-07-25 Thread Afkham Azeez
Also please run a node with jprofiler Sen the profile for tenant loading -- Afkham Azeez Sent from my phone On Jul 25, 2013 7:59 PM, Afkham Azeez az...@wso2.com wrote: Can you confirm that there is no such delay when there is a single node? and when there is no clustering setup? On Thu,

Re: [Dev] Publishing GREG Rest API

2013-07-25 Thread Vijitha Kumara
Please update the status on this as we need to finalize the work for the release. Note what is supported for this release and what's pending etc... Regards, Vijitha. On Tue, Jul 23, 2013 at 7:25 AM, Vijitha Kumara viji...@wso2.com wrote: Hi All, On Fri, Jul 19, 2013 at 3:48 PM, Senaka

Re: [Dev] CurrentSession.getUser() returns PRIMARY/admin.

2013-07-25 Thread Ajith Vitharana
Hi Asela, What is the progress on this ? Can we update trunk and test ? Thanks Ajith On Wed, Jul 24, 2013 at 9:54 PM, Asela Pathberiya as...@wso2.com wrote: I guess, this is also due the the adding PRIMARY prefix in to the default user store...? we will remove it soon. sorry we are

Re: [Dev] Test failure- Capp deployment.

2013-07-25 Thread Ajith Vitharana
On Thu, Jul 25, 2013 at 3:11 PM, Ajith Vitharana aji...@wso2.com wrote: On Thu, Jul 25, 2013 at 3:06 PM, Manoj Kumara ma...@wso2.com wrote: Hi Ajith, On the current CApp deployment process we did not create copy of the CAppon the registry. It will be copied in to file location under

Re: [Dev] [Carbon 4.2.0] Tenant creation is very slow (more than 3 minutes) in cluster setup

2013-07-25 Thread Shashika Ubhayaratne
Verified on standalone product (locally) and there was no such delay. Shashika Ubhayaratne Associate Technical Lead - QA WSO2 Inc: http://www.wso2.com/ Mobile: *+94773383831* On Thu, Jul 25, 2013 at 7:59 PM, Afkham Azeez az...@wso2.com wrote: Can you confirm that there is no such delay when

[Dev] Did we changed caching packages?

2013-07-25 Thread Miyuru Wanninayaka
Hi all, $subject I'm getting following when message hitting ESB [2013-07-26 10:36:26,133] ERROR - NativeWorkerPool Uncaught exception java.lang.NoClassDefFoundError: org/wso2/caching/CacheConfiguration at

Re: [Dev] Publishing GREG Rest API

2013-07-25 Thread Lakmali Baminiwatta
Hi all, On 26 July 2013 06:25, Vijitha Kumara viji...@wso2.com wrote: Please update the status on this as we need to finalize the work for the release. Note what is supported for this release and what's pending etc... I was working on publishing the API at the server startup by calling the

[Dev] Build Failure - platform/trunk/components/axis2-repo-mgt/org.wso2.carbon.repomanager.axis2.ui

2013-07-25 Thread Ruwan Yatawara
Hi All, I am getting a build break when building platform/trunk/components/axis2-repo-mgt/org.wso2.carbon.repomanager.axis2.ui [ERROR] Failed to execute goal on project org.wso2.carbon.repomanager.axis2.ui: Could not resolve dependencies for project

Re: [Dev] Shall we update to tomcat 7.0.42 in platform 4.2.0

2013-07-25 Thread Isuru Perera
Hi, As Supun said, there are lot of fixes/improvements since Apache Tomcat 7.0.34 [1]. I think it's better if we can upgrade the version. What prevents you from upgrading? Is it a considerable effort? I guess it shouldn't be such a considerable effort. Anyway, I'm just giving my opinion!

Re: [Dev] Shall we update to tomcat 7.0.42 in platform 4.2.0

2013-07-25 Thread Supun Malinga
Its just changing a version in few pom files. I believe we just started testing.. On Fri, Jul 26, 2013 at 10:57 AM, Isuru Perera isu...@wso2.com wrote: Hi, As Supun said, there are lot of fixes/improvements since Apache Tomcat 7.0.34 [1]. I think it's better if we can upgrade the version.

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-25 Thread Isuru Perera
Hi, When comparing with Tomcat configuration options for SSL [1], it seems that the SSL transports for ESB lacks support for many important configurations. AFAIK, the option to specify SSL protocol only introduced in ESB 4.7.0. On Wed, Jul 24, 2013 at 10:53 AM, Isuru Perera isu...@wso2.com

Re: [Dev] Shall we update to tomcat 7.0.42 in platform 4.2.0

2013-07-25 Thread Isuru Perera
On Fri, Jul 26, 2013 at 11:04 AM, Supun Malinga sup...@wso2.com wrote: Its just changing a version in few pom files. I believe we just started testing.. So, I hope we can go ahead and upgrade. On Fri, Jul 26, 2013 at 10:57 AM, Isuru Perera isu...@wso2.com wrote: Hi, As Supun said,

Re: [Dev] Shall we update to tomcat 7.0.42 in platform 4.2.0

2013-07-25 Thread Sameera Jayasoma
Do we have any specific reason to this upgrade? Do we have any blockers due to the old version? If we are just upgrading for improvement then its too late as I've explained earlier. This is a kernel version change. We shouldn't do any adhoc changes right now. Lets plan this for the next

Re: [Dev] Did we changed caching packages?

2013-07-25 Thread Miyuru Wanninayaka
Hi Predeep , Seems trunk synapse cache mediator compilation also fails once pointed to trunk caching component because all methods in CacheManager is commented What are the alternative methods which synapse can call in [1] [1]