Re: [Dev] [Stratos-dev] Tenant Aware load balance implementation

2012-04-01 Thread Paul Fremantle
Let me understand: can I use this to put a specific tenant to cluster and no-one else? Also: can the config be dynamic? e.g. can I modify this definition at runtime? Or only static? Paul On 12 March 2012 13:31, Sanjeewa Malalgoda wrote: > Hi, > > Here i'm attaching the design diagram of this i

Re: [Dev] [Stratos-dev] Tenant Aware load balance implementation

2012-04-01 Thread Afkham Azeez
On Sun, Apr 1, 2012 at 2:57 PM, Paul Fremantle wrote: > Let me understand: can I use this to put a specific tenant to cluster and > no-one else? Yes, you can define a cluster that contains a single tenant. So, we can now support private jet mode. The number of nodes in that cluster is done thro

Re: [Dev] [Stratos-dev] Tenant Aware load balance implementation

2012-04-01 Thread Paul Fremantle
Great. I think that is what one of our other customers is looking for right now. Paul On 1 April 2012 10:34, Afkham Azeez wrote: > > > On Sun, Apr 1, 2012 at 2:57 PM, Paul Fremantle wrote: > >> Let me understand: can I use this to put a specific tenant to cluster and >> no-one else? > > > Yes,

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Nirmal Fernando
Hi Azeez, On Thu, Mar 29, 2012 at 7:52 PM, Afkham Azeez wrote: > For some reason, authentication is failing when you try to login to the > LB. There is no error stacktrace. Only an error message which says that the > authenticators.xml file is not found, and the default one is used. I can't un

Re: [Dev] [Stratos-dev] Tenant Aware load balance implementation

2012-04-01 Thread Sanjeewa Malalgoda
yes we can make it dynamic. Once main sequence updated it pick up loadbalancer.xml changes and work according to that. So we can improve that or we can update config as per admin request. Thanks. On Sun, Apr 1, 2012 at 3:06 PM, Paul Fremantle wrote: > Great. I think that is what one of our other

Re: [Dev] [Stratos-dev] Tenant Aware load balance implementation

2012-04-01 Thread Afkham Azeez
This is different. The main sequence may not change at all, but the loadbalancer.conf file will be changed to modify the tenant partitioning. We will need a separate hot deployer to handle the loadbalancer config change. On Sun, Apr 1, 2012 at 4:54 PM, Sanjeewa Malalgoda wrote: > yes we can make

[Dev] [Bamboo-Build] WSO2 Carbon > P2-Repo > #16 has FAILED. Change made by 53 authors.

2012-04-01 Thread Bamboo
--- WSO2 Carbon > P2-Repo > #16 failed. --- This build was manually triggered by BambooBuilder. No failed tests found, a possible compilation error. http://build

Re: [Dev] How to use an Endpoint/XSLT file stored in a GReg instance when creating a proxy service with Developer studio?

2012-04-01 Thread Senaka Fernando
Hi all, Can those from ESB/G-Reg respond to this. By the way things like this should be obvious to do. Right now, ESB and G-Reg are not 100% in-sync for these types of operations, and we need to follow some best practices to get it right. We should, 1. Improve documentation on those. 2. Make the

[Dev] [Bamboo-Build] Developer-Studio > Eclipse-Tools > #26 was SUCCESSFUL

2012-04-01 Thread Bamboo
--- Developer-Studio > Eclipse-Tools > #26 was successful. --- This build was manually triggered by BambooBuilder. http://builder4.us1.wso2.org:/bamboo/brows

[Dev] Windows Debugging Tip

2012-04-01 Thread Senaka Fernando
Hi all, For those on Windows, you might have noticed that you cannot create a separation between lines using the ENTER key, to separate stack traces. This can be done on the Linux shell, and that was somewhat inconvenient. But luckily, the OSGi console in Carbon works much better on Windows. It re

[Dev] Error while retrieving WSDL in Carbon 4.0.0 Snapshot

2012-04-01 Thread Shelan Perera
Hi, I am getting following error [1] while trying to retrieve a WSDL . getting ?wsdl fails while wsdl2 is working. I suspect this is due to some error in trunk build as same configuration worked in 3.2.0. Please advice if i am doing anything wrong. I saw the same error in mail discussion [2]. So

Re: [Dev] How to use an Endpoint/XSLT file stored in a GReg instance when creating a proxy service with Developer studio?

2012-04-01 Thread Chathuri Wimalasena
Hi Amila, To browse the registry, your remote registry instance should be up and running. If your ESB instance is up and runing after mounted, resources should be shown. Regards, Chathuri On Sun, Apr 1, 2012 at 3:33 PM, Amila Suriarachchi wrote: > hi, > > I want to use some registry key refere

Re: [Dev] BackwardAssociationHandlerTestCase and WSDLTestCase are failing in G-Reg

2012-04-01 Thread Vijitha Kumara
I'm looking into this. Regards, On Fri, Mar 30, 2012 at 8:33 PM, Senaka Fernando wrote: > Hi Subash, Vijitha, > > Please test this on a clean M2 repo, and before you start to compile edit > the POM in the integration tests for G-Reg and make sure you enable the > excluded tests. If we can repro

Re: [Dev] How to use an Endpoint/XSLT file stored in a GReg instance when creating a proxy service with Developer studio?

2012-04-01 Thread Amila Suriarachchi
On Sun, Apr 1, 2012 at 7:36 PM, Chathuri Wimalasena wrote: > Hi Amila, > > To browse the registry, your remote registry instance should be up and > running. If your ESB instance is up and runing after mounted, resources > should be shown. > This is what I did. First started GReg 4.1.1. Then creat

Re: [Dev] How to use an Endpoint/XSLT file stored in a GReg instance when creating a proxy service with Developer studio?

2012-04-01 Thread Amila Suriarachchi
On Sun, Apr 1, 2012 at 9:01 PM, Amila Suriarachchi wrote: > > > On Sun, Apr 1, 2012 at 7:36 PM, Chathuri Wimalasena wrote: > >> Hi Amila, >> >> To browse the registry, your remote registry instance should be up and >> running. If your ESB instance is up and runing after mounted, resources >> shou

Re: [Dev] Let's increase default value for session timeout

2012-04-01 Thread Amila Jayasekara
On Fri, Mar 30, 2012 at 3:34 PM, Dimuthu Leelarathne wrote: > Hi, > > I am - 0 for this. There are some negative effects of increasing session > timeout. > > 1) Objects we keep in the session can grow. This will be multiplied by the > number of users with active sessions > 2) Security risk is marg

Re: [Dev] BasicAuth security headers vs. AuthenticationAdmin.login

2012-04-01 Thread Amila Jayasekara
On Thu, Mar 29, 2012 at 11:07 PM, Senaka Fernando wrote: > Hi all, > > Can someone explain in detail how this new mechanism works? Please explain > how this would be used in UI bundles, and how are we supposed to retrieve > passwords etc for invoking, > > CarbonUtils.setBasicAccessSecurityHeaders(

Re: [Dev] How to create a durable subscriber for a topic in WSO2 MB

2012-04-01 Thread Amila Maha Arachchi
Hi Waruna, I found this [1]. It says TopicSession.createDurableSubscriber instead of TopicSession.createSubscriber [1] http://docs.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024758 Regards, AmilaM. On Sun, Apr 1, 2012 at 10:58 AM, Waruna Ranasinghe wrote: > Link to the tut

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Kathiravelu Pradeeban
On Thu, Mar 29, 2012 at 7:52 PM, Afkham Azeez wrote: > For some reason, authentication is failing when you try to login to the > LB. There is no error stacktrace. Only an error message which says that Hi Azeez, How are you trying to log in to the load balancer? Logging into LB through the manag

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Amila Jayasekara
On Sun, Apr 1, 2012 at 10:11 PM, Kathiravelu Pradeeban wrote: > > > On Thu, Mar 29, 2012 at 7:52 PM, Afkham Azeez wrote: >> >> For some reason, authentication is failing when you try to login to the >> LB. There is no error stacktrace. Only an error message which says that > > > Hi Azeez, > How a

Re: [Dev] Let's increase default value for session timeout

2012-04-01 Thread Tharindu Mathew
On Sun, Apr 1, 2012 at 9:26 PM, Amila Jayasekara wrote: > On Fri, Mar 30, 2012 at 3:34 PM, Dimuthu Leelarathne > wrote: > > Hi, > > > > I am - 0 for this. There are some negative effects of increasing session > > timeout. > > > > 1) Objects we keep in the session can grow. This will be multiplie

Re: [Dev] Let's increase default value for session timeout

2012-04-01 Thread Amila Jayasekara
On Sun, Apr 1, 2012 at 11:51 PM, Tharindu Mathew wrote: > > > On Sun, Apr 1, 2012 at 9:26 PM, Amila Jayasekara wrote: >> >> On Fri, Mar 30, 2012 at 3:34 PM, Dimuthu Leelarathne >> wrote: >> > Hi, >> > >> > I am - 0 for this. There are some negative effects of increasing session >> > timeout. >>

[Dev] [Bamboo-Build] WSO2 Carbon > P2-Repo > #17 has FAILED. Change made by sumedha.

2012-04-01 Thread Bamboo
--- WSO2 Carbon > P2-Repo > #17 failed. --- Code has been updated by sumedha. No failed tests found, a possible compilation error. http://builder4.us1.wso2.org:8

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Asela Pathberiya
As Azeez explained , Issue is that the service dispatching does not happen correctly, because in LB some of the normal normal dispatch handlers has been removed, Therefore when UI authenticator, calls the "LoggedUserInfoAdmin" admin service in BE, it goes to _SynapseService. So AuthenticationHand

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Amila Jayasekara
On Mon, Apr 2, 2012 at 7:24 AM, Asela Pathberiya wrote: > As Azeez explained ,  Issue is that the service dispatching does not > happen correctly, because in LB some of the normal normal dispatch > handlers has been removed, Therefore when UI authenticator,  calls the > "LoggedUserInfoAdmin" admin

Re: [Dev] Let's increase default value for session timeout

2012-04-01 Thread Sanjiva Weerawarana
Guys we also ship the product with admin/admin as the password. I'm willing to bet there are tons of production machines with this unchanged :(. If the security risk at hand is that someone will leave their machine unlocked and someone else can come in and access the admin console because the sess

[Dev] Error with running web app on Stratos Live

2012-04-01 Thread Kasun Perera
On Sun, Apr 1, 2012 at 8:49 AM, Supun Malinga wrote: > Hi Kasun, > > On Fri, Mar 30, 2012 at 1:28 PM, Kasun Perera wrote: > >> Hi supun >> >> About reading files- I can Access other tables and read data on data >> servise server? >> What I'm doing here is read a PDF file that stored as a Blob and

[Dev] API Manager - Pre alpha 1 available for download

2012-04-01 Thread Sumedha Rubasinghe
Pre alpha 1 pack of WSO2 API Manager can be downloaded from - http://people.wso2.com/~sumedha/builds/am/02-04-2012/wso2am-1.0.0-SNAPSHOT.zip A README on how to test functionality is available inside samples/TwitterSearch (also available @ http://svn.wso2.org/repos/wso2/carbon/platform/trunk/produc

[Dev] WSO2 Developer Studio M11 Released !

2012-04-01 Thread Chathuri Wimalasena
Hi All, WSO2 Developer Studio M11 is ready to be downloaded at [1] (with dependencies) and [2] (without dependencies). We will use these packs for test hackaton that is going to happen with ESB team 2nd and 3rd of April. Following are the issues that has been fixed for M11. Bug - [TOOLS-133 <

Re: [Dev] Don't declare a plugin multiple times

2012-04-01 Thread Dimuthu Leelarathne
Hi Pradeeban, Nice work. I can see a visible improvement in the building time. thanks, dimuthu On Sat, Mar 31, 2012 at 3:46 PM, Supun Malinga wrote: > +1 > Hope everyone will stick to best practices. > > thanks, > > > On Sat, Mar 31, 2012 at 11:39 AM, Isuru Suriarachchi wrote: > >> +1 Good job

[Dev] Carbon Kernel integration test failure in windows.

2012-04-01 Thread Selvaratnam Uthaiyashankar
$subject due to emma. I am looking into this. --- T E S T S --- Running TestSuite [2012-04-01 21:18:19,201] INFO {org.wso2.carbon.integration.framework.utils.TestUtil} - Copying E:\src\java\c

Re: [Dev] Status of Stratos Services in trunk

2012-04-01 Thread Muhammed Shariq
On Sat, Mar 31, 2012 at 11:51 AM, Afkham Azeez wrote: > Folks, > Are all the Stratos stuff running fine? Is anybody extensively testing > them? We cannot release the kernel without Stratos working because most of > the core Stratos functionality is in the kernel. > I have been working on several

[Dev] [Bamboo-Build] WSO2 Carbon > Products > #27 has FAILED. Change made by sumedha.

2012-04-01 Thread Bamboo
--- WSO2 Carbon > Products > #27 failed. --- This build occurred because it is a dependant of WSO2CARBON-PLATFORM-49. No failed tests found, a possible compilatio

Re: [Dev] Cannot add integration tests to LB due to authentication failure

2012-04-01 Thread Afkham Azeez
Yes, I discussed this with Asela last week. Irrespective of the incoming request, the dispatching happens to _SynapseService and then the main sequence. This is because we removed all the dispatchers to avoid requests being accidentally dispatched into the LB instead of the BE node. Our integratio

[Dev] smoke testing - alpha packs

2012-04-01 Thread Pradeep Fernando
Hi RMs, please do smoke testing on these packs [1] . Once you are done with smoke testing of your product, please send a mail to this thread, stating QA readiness of the product. [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact thanks, --Pradeep _

Re: [Dev] Is -DenableOsgiDebug working?

2012-04-01 Thread Pradeep Fernando
Hi, not sure whether its working (I haven't used it, honestly). I created a JIRA to track this. [1] https://wso2.org/jira/browse/CARBON-12761 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] smoke testing - alpha packs

2012-04-01 Thread Rajika Kumarasiri
Do you know where to get p2 repo ? Rajika On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando wrote: > Hi RMs, > > please do smoke testing on these packs [1] . Once you are done with smoke > testing of your product, please send a mail to this thread, stating QA > readiness of the product. > > [1]

Re: [Dev] Is -DenableOsgiDebug working?

2012-04-01 Thread Rajika Kumarasiri
Off the topic. I noticed that Main.java#processCmdLineArgs( https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java) has used a manual way of parsing command line options. You can use commons-cli for this purposes(http://common

[Dev] wss4j build time warning

2012-04-01 Thread Afkham Azeez
The Java version has not been set in the compiler plugin [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent! [WARNING] Error while parsing /Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws

[Dev] Some bundles getting activated only after Manager start-up

2012-04-01 Thread Muhammed Shariq
Hi, Since starting to write integration test for Manager I am facing an issue in that, even though the server starts up and the ports are open some bundles are not even activated. Initially the idea was that the ther server getting started up before the relevant admin services gets deployed, so I

Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-01 Thread Afkham Azeez
Try making those "ListenerManager-RequiredServices" Add that "ListenerManager-RequiredServices" OSGi header and declare the services in the respective bundles. Until those become available, ports will not be open. On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq wrote: > Hi, > > Since starting

Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-01 Thread Amila Maha Arachchi
Hi Shariq, This is not the behaviour we see in a 1.5.2 released pack. In that pack, Billing bundle gets started before the server starts up. I checked a 1.5.2 pack with DEBUG logs and confirmed. So, is this due to a change in one of those bundles? Billing components has the same code as the 1.5.2