[Carbon-dev] Upcoming Carbon 4.0.0 Release

2012-02-14 Thread Dimuthu Leelarathne
Hi devs,

Please find the work items of upcoming carbon core release.

New Features
===

Tomcat OSGification - Pradeep/Dileepa - In Progress
JVM Autoscalling - Nirmal/Azeez - In Progress
CPU/Memoary usage per Tenant - Dimuthu/AmilaM/Amani - In Research
Versioning Support for CAPP - Pradeep/Dileepa - Not started
Ground work for Admin Service Security Framework - AmilaJ - In Progress
Ground work for Admin Service - Shared Schema / JaxWS - Sagara - In Progress
Ground work for Tenant partisioning - Sanjeewa/Ashansa/Azeez - Will start
Ground work for Tenant aware load balancing - Sanjeewa/Ashansa/Azeez - Will
start
P2 feature improvement - Pradeep  - Will start

Other required work
==
SVN restructuring - Sameera/Pradeep - In Progress
Upgrading orbit bundles to new version - Core - ??? - Need to start
Caching issues - Senaka/DimuthuL
Automated testing - Krishantha
Clustering problems - Sanjeewa
Exclude Dependencies in Core - ??? - Need to start
Identify Carbon Core JIRAs to be fixed - DimuthuL

We will copy the core build to specific location every Wednesday/Friday and
send a mail. We also copy AS -  ESB -  Greg for QA. Our target is to
release by end of March.

thanks,
dimuthul

-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Upcoming Carbon 4.0.0 Release

2012-02-14 Thread Dimuthu Leelarathne
Hi all,


On Tue, Feb 14, 2012 at 2:37 PM, Samisa Abeysinghe sam...@wso2.com wrote:


 When do we plan to feature complete?

 29th February is the planned date for feature complete build.


 When would be the code freeze.


We are hoping to code freeze by 7th March.

thanks,
dimuthu

Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Cleaning up Carbon Authenticator Framework

2012-02-14 Thread Dimuthu Leelarathne
Hi,

And we also discussed that we need to write an AbstractAuthenticator to
make life easy for other people who are writing authenticators.

thanks,
dimuthu

On Tue, Feb 14, 2012 at 3:22 PM, Amila Jayasekara ami...@wso2.com wrote:

 Hi All,

 We had a review discussion on Carbon Authenticators and following are
 the review notes.

 1. There are some common logic that should be implemented in every
 authenticator. Currently invoking this logic is duplicated among
 authenticators. So to avoid that we are planning to come up with an
 abstract Authenticator implementation.
 2. As per now AuthenticationHandler first invokes AuthenticationAdmin
 and then it calls chain of authenticators. The AuthenticationAdmin
 call is not necessary. We need to refactor code in such a way that
 authenticator it self will only handle authenticating logic (Rather
 than within the Handler).
 3. Properly implement authenticator chaining pattern. Make use
 “isHandle”, “priority”, “isAuthenticated” methods and make only
 authenticator aware about the logic.
 4. After cleaning up the API, implement “Basic Auth” authenticator.
 (As first step)

 Thanks
 AmilaJ

 --
 Mobile : +94773330538
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Committers += Nirmal Fernando

2012-02-06 Thread Dimuthu Leelarathne
Hi Nirmal,

Congratulations!

It is with great pleasure that we welcome you as a WSO2 committer. Thank
you for your contributions.

thanks and best regards,
Dimuthu

-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Committers += Ajanthan Balachandran

2012-02-06 Thread Dimuthu Leelarathne
Hi Ajanthan,

Congratulations!

It is with great pleasure that we welcome you as a WSO2 committer. Thank
you for your contributions.

thanks and best regards,
Dimuthu

-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Architecture] [Proposal] Restructuring the SVN repository of Carbon

2012-02-06 Thread Dimuthu Leelarathne
Hi all,

+1.

When installing other features to different products, it should mention the
carbon core version. Currently, the carbon core is the intersection of
products, so there is no problem at all. But if we go ahead with minimizing
carbon-core it can be tricky to handle. Just had an offline chat with
Sameera, and according to him P2 handles it nicely.

thanks,
dimuthu

On Mon, Feb 6, 2012 at 8:24 AM, Sumedha Rubasinghe sume...@wso2.com wrote:

 +1 for the idea. B4 doing the actual change, how about running through
 different scenarios (like Amila mentioned) - like how we did for branching
 approach. Figuring out problems later would be costly in terms of time.

 /sumedha

 On Sat, Feb 4, 2012 at 5:14 PM, Sameera Jayasoma same...@wso2.com wrote:

 *Objective*:
 Make Carbon core a top level project in WSO2 trunk. At the moment
 complete Carbon platform code lies under
 https://svn.wso2.org/repos/wso2/trunk/carbon/. This structure has its
 own problems.

 *Motivations*:
 1) Carbon core can be treated as a separate product which has its own
 dependencies, orbit and Carbon core can be released independently of other
 Carbon components, products.
 2) To ensure that the Carbon based products can depend on a stable, well
 tested and released version of Carbon instead of the Carbon trunk.
 3) This will also ensure the stability of the Carbon based products,
 because they are no longer depend on the Carbon trunk which might undergo
 drastic changes time to time.

 *Execution*:
 Here is my proposal.
 1) We need to create two top level directories for Carbon and for
 components, features and Carbon based products. Sample structure is shown
 below.

 carbon
 |--dependencies
 |--orbits
 |--core (core set of bundles.)
 |--features (Carbon core features)
 |--product (Carbon product)

 X (TODO we need to come up with a name. How about silicon. Dr. Sanjiva
 once mentioned this name. :) )
 |--dependencies
 |--orbits
 |--components
 |--features
 |--products

 2) In order to change the existing svn structure to a structure like
 above, we need to hold all the commits, say for two to three days and
 restructure the SVN, test properly and release for commits.

 Please feel free to comment.

 Thanks,
 Sameera.

 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 /sumedha
 +94 773017743

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Dimuthu Leelarathne
Hi Nirmal,

By design the password length of Carbon platform is configurable. Please
have a look at user-mgt.xml

Property name=PasswordJavaScriptRegEx[\\S]{5,30}/Property

Since Java and JS use slightly different ways for expressing regular
expressions there should be another attribute in user-mgt.xml as follows.
This already there for others - username length and etc..

Property name=PasswordJavaRegExxyz/Property

We should use this information EVERYWHERE to do password validation. This
includes ALL JS validation in the front end as well.

thanks,
dimuthul


On Sat, Feb 4, 2012 at 2:01 PM, Afkham Azeez az...@wso2.com wrote:

 No,  that's not the correct bundle. May be a method in CarbonUtil would do

 --
 Afkham Azeez
 Sent from my phone
 On Feb 4, 2012 11:49 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 On Mon, Jan 30, 2012 at 9:24 AM, Afkham Azeez az...@wso2.com wrote:

 Please fix this to do the password requirements validation from a single
 place. The length should be the same in all cases.

  Will it be right to do the password validation at
 org.wso2.carbon.registry.common.ui (inside registry component)? or Is
 there a more suitable place?

 --
 Afkham Azeez
 Sent from my phone
 On Jan 28, 2012 10:27 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 When you create a new domain in Stratos minimum password length
 requirement is 6, but after logged in when you adding a new user minimum
 password length requirement is 5 (which can only be seen in the error
 message pop up, when u enter a 5 character password).

 Is this a design decision? If we have this inconsistency isn't it
 better to add a tip mentioning minimum password length requirement when you
 create a new user.

 PS: this is related to issue at
 https://wso2.org/jira/browse/CARBON-12290

 Thanks

 --

 regards,
 Nirmal

 Software Engineer, WSO2 Inc.
 mobile: +94715779733


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Dimuthu Leelarathne
Hi Nirmal,

One more thing. You cannot add a dependency of CarbonUtils to User.Core, it
will create a cyclic dependency. So I would look at adding it to
UserCoreUtil and CarbonUIUtil.

thanks,
dimuthu

On Sat, Feb 4, 2012 at 2:55 PM, Nirmal Fernando nir...@wso2.com wrote:



 On Sat, Feb 4, 2012 at 2:37 PM, Senaka Fernando sen...@wso2.com wrote:



 On Sat, Feb 4, 2012 at 2:01 PM, Afkham Azeez az...@wso2.com wrote:

 No,  that's not the correct bundle. May be a method in CarbonUtil would
 do


 +1. For cross-cutting concerns use CarbonUtil and CarbonUIUtil.


 Thanks, will have a look!



 Thanks,
 Senaka.

  --
 Afkham Azeez
 Sent from my phone
 On Feb 4, 2012 11:49 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 On Mon, Jan 30, 2012 at 9:24 AM, Afkham Azeez az...@wso2.com wrote:

 Please fix this to do the password requirements validation from a
 single place. The length should be the same in all cases.

  Will it be right to do the password validation at
 org.wso2.carbon.registry.common.ui (inside registry component)? or Is
 there a more suitable place?

 --
 Afkham Azeez
 Sent from my phone
 On Jan 28, 2012 10:27 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 When you create a new domain in Stratos minimum password length
 requirement is 6, but after logged in when you adding a new user minimum
 password length requirement is 5 (which can only be seen in the error
 message pop up, when u enter a 5 character password).

 Is this a design decision? If we have this inconsistency isn't it
 better to add a tip mentioning minimum password length requirement when 
 you
 create a new user.

 PS: this is related to issue at
 https://wso2.org/jira/browse/CARBON-12290

 Thanks

 --

 regards,
 Nirmal

 Software Engineer, WSO2 Inc.
 mobile: +94715779733


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Caches Map

2012-02-03 Thread Dimuthu Leelarathne
Hi Senaka,

I see a hashmap like this in InfinispanCacheManager.

  private final MapString, Cache caches = Collections.synchronizedMap(new
HashMapString, Cache());

I think this code comes from InMemoryCacheManager and I don't see real
purpose of it. I am going to remove it. WDYT?

thanks,
dimuthu


-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ResourceNotFoundException thrown when resourceExists() is true

2012-01-25 Thread Dimuthu Leelarathne


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] What is the correct behavior regarding onSuccessAdminLogin() method in GovernanceListUIServiceComponent

2012-01-16 Thread Dimuthu Leelarathne
Hi,

This looks like a permission issue. What is the permission of
GovernanceListUIServiceComponent ? Is the permission correctly set for the
GovernanceListUI component?

thanks,
dimuthu

On Mon, Jan 16, 2012 at 6:46 PM, Eranda Sooriyabandara era...@wso2.comwrote:

 When I try to fix a bug [1] in Governance Registry I saw
 that onSuccessAdminLogin() method called for a non-admin user in
 GovernanceListUIServiceComponent. This cause a exceptions in the server
 when a non-user login. What is the expected behavior of this method?

 thanks

 [1]. https://wso2.org/jira/browse/CARBON-11854

 --
 *Eranda Sooriyabandara
 *Software Engineer;
 WSO2 Inc.; http://wso2.com


 *
 *


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] What is the correct behavior regarding onSuccessAdminLogin() method in GovernanceListUIServiceComponent

2012-01-16 Thread Dimuthu Leelarathne
Hi Eranda,

Looks like GovernanceListUI is doing a BE call when a user logs in without
checking his permission. In order to call operations in the GovernanceList
the user needs a /permission/admin/manage/
resources/govern/metadata/list premission.

So make sure before calling that method the user has the permission. You
have to look for an implementation of UIAuthenticationExtender interface
inside GovernanceListUI and do a permission check inside it before doing
the BE call.

CarobnUIUtil.isUserAuthorized

thanks,
dimuthu


On Tue, Jan 17, 2012 at 11:16 AM, Eranda Sooriyabandara era...@wso2.comwrote:

 Hi Dimuthu,
 in component.xml  /permission/admin/manage/resources/govern/metadata/list
 in services.xml /permission/admin/manage/resources/govern/metadata/list

 thanks
 Eranda




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #92 has FAILED (2 tests failed, 1 failures were new). Change made by amani and dimuthul.

2012-01-11 Thread Dimuthu Leelarathne
Hi all,

We looked at this. None of commits mentioned by Bamboo is in carbon core.
Perhaps this is a intermittent test failure. I am not getting this test
failure with local build. Does anyone else get this error?

thanks,
dimuthul

On Wed, Jan 11, 2012 at 3:50 PM, Amani Soysa am...@wso2.com wrote:

 I am looking into this

 On Wed, Jan 11, 2012 at 3:23 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 Carbon 
 Trunkhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK/› WSO2
 Carbon - Platform 
 Trunkhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK/›
 #92http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/
 failed

 Code has been updated by 
 amanihttp://builder4.us1.wso2.org:/bamboo/browse/author/amani,
 dimuthulhttp://builder4.us1.wso2.org:/bamboo/browse/author/dimuthul
 .

 *2/7769* tests failed.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/
 Job
 Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/
  (Default
 Stage)  303 minutes  2 of 7769 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/commit/
   View
 full change 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/commit/
 amani http://builder4.us1.wso2.org:/bamboo/browse/author/amani
 Applying a patch for the fix 
 STRATOS-1478http://builder4.us1.wso2.org:/bamboo/project/jiraRedirect.action?jiraIssueKey=STRATOS-1478bambooProjectKey=WSO2CARBONTUNK(Fix
  provided by ajanthan balachandiran).
  118798
 amanihttp://builder4.us1.wso2.org:/bamboo/browse/author/amani
 Applying a patch for the fix 
 STRATOS-1981http://builder4.us1.wso2.org:/bamboo/project/jiraRedirect.action?jiraIssueKey=STRATOS-1981bambooProjectKey=WSO2CARBONTUNK(Fix
  provided by ajanthan balachandiran).
  118797
 dimuthulhttp://builder4.us1.wso2.org:/bamboo/browse/author/dimuthul
 Applyaing Ashansa's patch to fix Stratos-1705

  118796 
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/test
1
 New Test Failures   Test Job ServerAdminTestCase
 testRetrieveServerInfohttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test/case/1619400
   WSO2
 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test
1
 Existing Test Failures   Test Job SchemaTest 
 testAddSchemahttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test/case/1619374
   WSO2
 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

 If you wish to stop receiving these emails edit your user 
 profilehttp://builder4.us1.wso2.org:/bamboo/profile/userNotifications.actionor
  notify
 your 
 administratorhttp://builder4.us1.wso2.org:/bamboo/viewAdministrators.action
 .

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Removing forked-off OpenId4J Code

2012-01-11 Thread Dimuthu Leelarathne
Hi all,

I am planning to remove the forked off OpenId4J code and use the released
0.9.6 OpenID4J library.

Please shout if any concerns.

thanks,
dimuthu

-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Displaying 'Qpid Port' in MB Admin Console

2012-01-10 Thread Dimuthu Leelarathne
Hi Nirmal,

Please see my comments inline.

On Fri, Jan 6, 2012 at 12:11 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 $Subject is related to a JIRA issue [1].

 I have two questions.

 1) Would it be okay to display qpid port as in the attached image?  If
 not please suggest a suitable position.


What if do the same on Queue list page?


 2) Is the following way of reading qpid port is encouraged?

QpidServiceImpl qpidServiceImpl = new QpidServiceImpl(null);
String qpidPort = qpidServiceImpl.getPort();


You have to use QpidService interface.

thanks,
dimuthu

 [1] https://wso2.org/jira/browse/STRATOS-1166

 Thanks
 --
 regards,
 Nirmal

 Software Engineer, WSO2 Inc.
 mobile: +94715779733

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead and Product Manager, WSO2 Stratos

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Fwd: [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #78 has FAILED. Change made by hasiniy, dimuthul and thilini.

2012-01-05 Thread Dimuthu Leelarathne
On Fri, Jan 6, 2012 at 8:14 AM, Srinath Perera srin...@wso2.com wrote:

 Has this been fixed, update please? --Srinath


Yes.



 On Thu, Jan 5, 2012 at 1:55 PM, Harshana Martin harsh...@wso2.com wrote:



 On Thu, Jan 5, 2012 at 1:51 PM, Pradeep Fernando prad...@wso2.comwrote:

 compilation failure in user-core. (?)


 Yes. There is a build failure in user.core

 Thanks.
 /Harshana


 Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.user.core: Compilation failure 
  04-Jan-2012
 15:47:22 [ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/DefaultRealm.java:[42,43]
 package org.wso2.carbon.user.core.common.dao does not exist

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




 --
 
 Srinath Perera, Ph.D.
   Senior Software Architect, WSO2 Inc.
   Visiting Faculty, University of Moratuwa
   Member, Apache Software Foundation
   Research Scientist, Lanka Software Foundation
   Blog: http://srinathsview.blogspot.com/
   Photos: http://www.flickr.com/photos/hemapani/
  Phone: 0772360902

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead and Product Manager, WSO2 Stratos

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] The table UM_CUSTOM_USERSTORE is not in trunk

2011-11-24 Thread Dimuthu Leelarathne
Hi,

On Thu, Nov 24, 2011 at 7:09 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 That is a bug. Someone did not update the trunk when fixing the branch.



This is my fault. I only committed it to 3.2.2 branch. I will commit this
before Monday morning.

thanks,
dimuthu




 On Wed, Nov 23, 2011 at 9:20 PM, Fazlan Sabar faz...@wso2.com wrote:

 This was related to a L1 [1]


 [1] https://wso2.org/jira/browse/CARBON-11402

 On Wed, Nov 23, 2011 at 9:18 PM, Fazlan Sabar faz...@wso2.com wrote:
  Hi,
 
  I couldn't fine the table 'UM_CUSTOM_USERSTORE' in
  core/distribution/carbon-home/dbscripts. But it's in 3.2.3 branch.
 
  --
  Thanks,
  Fazlan
 



 --
 Thanks,
 Fazlan
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Dimuthu Leelarathne
Technical Lead and Product Manager, WSO2 Stratos

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Release TODOs - Carbon 3.2.2 Stratos 1.5.2

2011-10-28 Thread Dimuthu Leelarathne
Hi,

Singed Stratos source packs updated to ]
http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/signed-packs/stratos

tx,
dimuthul

On Fri, Oct 28, 2011 at 2:58 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 Hi,

 signed packs are uploaded for LB[1] and ESB.[2].

 [1]
 http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/signed-packs/lb/
 [2]
 http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/signed-packs/esb/

 -Ratha.

 On 28 October 2011 14:42, Asela Pathberiya as...@wso2.com wrote:
 
 
  On Fri, Oct 28, 2011 at 1:17 PM, Supun Malinga sup...@wso2.com wrote:
 
  Hi,
  signed uploaded the as packs to,
 
 http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/signed-packs/as/
 
  signed packs are uploaded for IS at
 
 http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/signed-packs/is/
 
  Thanks,
  Asela
 
 
  thanks,
 
  On Fri, Oct 28, 2011 at 12:57 PM, Samisa Abeysinghe sam...@wso2.com
  wrote:
 
 
  On Fri, Oct 28, 2011 at 12:54 PM, Ranga Siriwardena ra...@wso2.com
  wrote:
 
  Hi,
 
  On Fri, Oct 28, 2011 at 9:01 AM, Samisa Abeysinghe sam...@wso2.com
  wrote:
 
  Here are the immediate TODOs
  1. RMs/PMs, please sign the packs and upload the signatures and keys
 to
  location where builds are hosted ASAP
  2. Host the packs on OT
  3. RM to send release notes out
  4. Builders to deploy jars to m2 repos
  5. Builders to host source jars into m2 source repos
 
  I will work on completing task 4 and 5 together.
 
 
  6. Builders to publish p2 repos
 
  I will work on this. RMs please check weather all last minute changes
  were applied to p2-repo as well.
  So basically all the newly added features should be there in
  CARBON_HOME/features/repository/3.2.2/pom.xml as well.
 
  Or else your product features will be broken!
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Supun Malinga,
 
  Software Engineer,
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
  email - sup...@wso2.com
  mobile - 071 56 91 321
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Code freeze for Carbon 3.2.2 Stratos 1.5.2

2011-10-26 Thread Dimuthu Leelarathne
Hi all,

I need to commit to fix[1]. This involves adding
org.apache.httpcomponents.wso2:httpclient to relayingparty.ui feature.

tx,
dimuthul

[1]https://wso2.org/jira/browse/STRATOS-1836

On Wed, Oct 26, 2011 at 11:20 AM, Fazlan Sabar faz...@wso2.com wrote:

 Hi,

 I need to make commit to fix [1], and also pointed out by Senaka in the
 SVN commit r4463 - in
 clients/ba/org.wso2.carbon.governance.services.ui/3.1.0/src/main:
 java/org/wso2/carbon/governance/services/ui/utils resources/web/services


 [1] https://wso2.org/jira/browse/CARBON-11344

 On Wed, Oct 26, 2011 at 6:06 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 The code needs to be absolutely frozen for the release.

 Please make the svn read only at this point. After that only L1s will be
 allowed in.


 On Wed, Oct 26, 2011 at 1:23 AM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi,

 Im going to commit the fix for 
 CARBON-11355https://wso2.org/jira/browse/CARBON-11355
 .

 Thanks,
 Janaka


 On Tue, Oct 25, 2011 at 11:06 PM, Janaka Ranabahu jan...@wso2.comwrote:

 Hi,

 Im going to commit the fix for 
 CARBON-11332https://wso2.org/jira/browse/CARBON-11332
 .

 Thanks,
 Janaka


 On Tue, Oct 25, 2011 at 10:52 PM, Janaka Ranabahu jan...@wso2.comwrote:

 Hi,

 Committing the fix for the following issue.

 CARBON-11347 https://wso2.org/jira/browse/CARBON-11347

 Thanks,
 Janaka


 On Tue, Oct 25, 2011 at 9:26 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 On Tue, Oct 25, 2011 at 7:59 PM, Sadeep Jayasumana 
 sad...@wso2.comwrote:

 Hi,

 I'm going to create
 components/endpoint/org.wso2.carbon.endpoint/3.2.2 to do an essential 
 fix
 reported by [1]. Had an offline discussion with Shankar on this.


 Done.

 Thanks,
  Sadeep



 [1] https://wso2.org/jira/browse/ESBJAVA-822

 Thanks,
 Sadeep


 On Tue, Oct 25, 2011 at 7:45 PM, Lalaji Sureshika 
 lal...@wso2.comwrote:

 Hi all;

 I'm going to commit the fix to [1] in
 mashup/org.wso2.carbon.javascript-scraper.ui.Since 3.2.2 branch has not
 added to this bundle I'll added necassary modifications in
 components/features/products level.Had a offline chat with Shankar 
 before
 doing this.

 [1] https://wso2.org/jira/browse/STRATOS-1876


 On Tue, Oct 25, 2011 at 6:33 PM, Ajith Vitharana 
 aji...@wso2.comwrote:

 Hi all,

 I'm going to commit
 to reporting/org.wso2.carbon.reporting.custom.ui/3.2.2 to fix the 
 issue[1]

 [1]https://wso2.org/jira/browse/CARBON-11349

 Thanks
 Ajithn


 On Tue, Oct 25, 2011 at 6:58 PM, Isuru Suriarachchi 
 is...@wso2.com wrote:

 I'm committing the fix for the following issue which is a concern
 for data services and mashup services.

 https://wso2.org/jira/browse/STRATOS-1868

 Thanks,
 ~Isuru


 On Tue, Oct 25, 2011 at 6:44 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 On Tue, Oct 25, 2011 at 6:38 PM, Hasini Yatawatte 
 hasi...@wso2.com wrote:
  Hi all,
 
  I'm going to commit a missing fix to
 core/org.wso2.carbon.bootstrap .
  CarbonSecurityManager.java class has been reverted (110767).

 It was reverted by Pradeepan.. Pradeepan, why it was reverted?

 Shankar

  Hence I'm going
  to add it back.
 
  Thanks,
 
  HasiniY.
 
 
  On Tue, Oct 25, 2011 at 6:26 PM, Ajith Vitharana 
 aji...@wso2.com wrote:
 
  Hi all,
  I'm going to commit changes to
   registry/org.wso2.carbon.registry.search.ui/3.2.2.
  This commit is resolved the
  issue https://wso2.org/jira/browse/CARBON-11322
  Thanks
  Ajithn
 
  On Tue, Oct 25, 2011 at 3:22 PM, Kasun Weranga 
 kas...@wso2.com wrote:
 
  Hi,
  I am going to commit a change to
  data-services/org.wso2.carbon.dataservices.core/3.2.2. There
 was a small
  usability issue identified by recently in DSS 2.6.0, Anjana
 told that it is
  better to commit that fix into 3.2.2 branch.
  Thanks,
  KasunW.
  On Tue, Oct 25, 2011 at 12:05 PM, Shammi Jayasinghe 
 sha...@wso2.com
  wrote:
 
  Hi,
  I am going to commit  following to the 3.2.2 branch for
 fixing the
  bug we have on Message Broker
  1.0.2 version which is unable to create message boxes and
 list message
  boxes when we have enabled
  local transport.
 
 
 3.2.0/components/messagebox/org.wso2.carbon.messagebox.ui/3.2.2
 
 3.2.0/features/messagebox/org.wso2.carbon.messagebox.ui.feature/3.2.2
 
 
 3.2.0/features/messagebox/org.wso2.carbon.messagebox.server.feature/3.2.2
 
 3.2.0/features/messagebox/org.wso2.carbon.messagebox.feature/3.2.2
 
  3.2.0/products/mb/1.0.2/modules/p2-profile/product/pom.xml
  3.2.0/products/mb/1.0.2/modules/p2-profile/service/pom.xml
 
  3.2.0/patch-releases/3.2.2/components/pom.xml
  3.2.0/patch-releases/3.2.2/features/pom.xml
 
 
  Thanks
  Shammi
 
 
 
 
  On Mon, Oct 24, 2011 at 6:50 PM, Selvaratnam Uthaiyashankar
  shan...@wso2.com wrote:
 
  Hi,
 
  Code is frozen for 3.2.0 branch. However, we will allow
 controlled
  commits. If you need to commit something, please talk to
 your PM/RM.
  If they approved, please reply to this mail about what you
 are
  committing etc. and then commit. You can do this until
 tomorrow
  morning 10AM 

Re: [Carbon-dev] Hard code freeze for Carbon 3.2.2 Stratos 1.5.2

2011-10-26 Thread Dimuthu Leelarathne
Hi,

Hard code freeze is now now on.

We have 4 L1s.

https://wso2.org/jira/browse/STRATOS-1864 - Denis
https://wso2.org/jira/browse/STRATOS-1863 - Sadeep
https://wso2.org/jira/browse/STRATOS-1828 - Sanjeewa
https://wso2.org/jira/browse/STRATOS-1787 - Ranga

tx,
dimuthul


https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10579

On Wed, Oct 26, 2011 at 2:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi all,

 Hard code freeze will be at 5.00PM today, 26th October 2011. The packs
 built tonight will be the final 3.2.2 packs.

 thanks,
 dimuthu


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] service-stubs cannot be built on trunk

2011-10-25 Thread Dimuthu Leelarathne
On Tue, Oct 25, 2011 at 10:08 PM, Afkham Azeez az...@wso2.com wrote:

 I managed to build up to carbon/core after locally commenting out the gapp
 stub module.


Will fix within today.

tx,
dimuthul



 On Tue, Oct 25, 2011 at 5:58 PM, Afkham Azeez az...@wso2.com wrote:

 [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 37.794s
 [INFO] Finished at: Tue Oct 25 17:59:07 IST 2011
 [INFO] Final Memory: 25M/81M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.tenant.register.gapp.stub: Could not resolve dependencies
 for project
 org.wso2.carbon:org.wso2.carbon.tenant.register.gapp.stub:bundle:3.2.0-SNAPSHOT:
 Could not find artifact
 org.wso2.securevault:org.wso2.securevault:jar:${securevault.version} in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.tenant.register.gapp.stub


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Still some products and services are having older versions of jar!!

2011-10-18 Thread Dimuthu Leelarathne
Hi,

Manager fixed. WSO2stratos-bam also should also be ok, because the fix was
in bam.feature.

tx,
dimuthul

On Wed, Oct 19, 2011 at 5:52 AM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 Note that ESB, AS,  BPS and StratosESB are reported here because of
 qpid-client version. I guess, it should be ok.

 There is another thread regarding this.

 Shankar

 On Wed, Oct 19, 2011 at 5:37 AM, Selvaratnam Uthaiyashankar
 shan...@wso2.com wrote:
  $subject.
 
  Products
  =
  AS
  BAM
  BPS
  BRS
  DataServices
  ESB
  GS
  LB
  Mashup
 
  Services
  ===
  BAM
  BRS
  DSS
  ESB
  Manager
 
  The revision of above builds is r114394
 
  Attachment shows the jar differences. Release managers, please attend
  to this as soon as possible.
 
  Regards,
  Shankar
 
  --
  S.Uthaiyashankar
  Senior Architect  Senior Manager
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 



 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Update versions in all features

2011-10-18 Thread Dimuthu Leelarathne
Hi,

When adding a new bundle or a feature please update versions all the
features related to it.

For exmaple.

org.wso2.carbon.xyz-3.2.2.jar maybe used in several features. Update all
features.

Please do a grep -R -I org.wso2.carbon.xyz-3.2.2 * before claiming
completed.

Sorry for the cross post.

tx,
dimuthul
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.2.3 Release

2011-10-13 Thread Dimuthu Leelarathne
hi,


On Thu, Oct 13, 2011 at 12:52 PM, Sadeep Jayasumana sad...@wso2.com wrote:

 Hi,

 On Wed, Oct 12, 2011 at 8:58 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Hi Folks,

 Please create corresponding products in the SVN for Carbon 3.2.3 -


 This is done for ESB.


Please make sure that you include the commit I did to ESB service yesterday
- r113770

tx,
dimuthul


 Thanks,
 Sadeep


 Currently we only have IS and BPS...

 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sadeep Jayasumana

 Software Engineer
 WSO2 Inc.
 Email - sad...@wso2.com
 Mobile - +94 77 22 66 507

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Please deploy Carbon 3.2.2 release packs for Stratos testing

2011-10-12 Thread Dimuthu Leelarathne
Hi,

On Thu, Oct 13, 2011 at 8:12 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Do we have packs later than than 6 days ago? It is time we tested these.
 Please provide latest packs today.


Build team did a build yesterday as well.

thanks,
dimuthu



 On Thu, Oct 6, 2011 at 4:51 PM, Ranga Siriwardena ra...@wso2.com wrote:


 Hi Sanjaya,

 Please use the latest packs under [1] for the deployment.

 [1]
 http://builder4.us1.wso2.org/~build/releases/carbon/3.2.2/2011-10-06_03-54-01/


 On Thu, Oct 6, 2011 at 12:06 PM, Supun Malinga sup...@wso2.com wrote:



 On Thu, Oct 6, 2011 at 12:04 PM, Muhammed Shariq sha...@wso2.comwrote:

 Fix the signer issue, now the tomcat patch jar should be signed during
 the build. I tested it locally, build team please confirm.


 Confirmed.
 wso2stratos-as-1.5.2/lib/patches$ jarsigner -verify
 org.wso2.carbon.tomcat.patch-1.0.0.jar
 jar verified.

 thanks,



 On Thu, Oct 6, 2011 at 10:31 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Oct 6, 2011 at 10:28 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:



 On Thu, Oct 6, 2011 at 10:23 AM, Afkham Azeez az...@wso2.com wrote:

 Hmm people have been asking this question many times. If the
 standard Tomcat jars have been signed with two keys, the patch jar also
 should be signed with the same two keys. If it is signed only with one 
 of
 the keys, you could see this error.


 We need to fix this problem for the current build. Before copying the
 patch we have to sign it.



 Supun,
 Please fix this ASAP.


 tx,
 dimuthu





 On Thu, Oct 6, 2011 at 10:18 AM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

  Hi,

 The appserver pack is corrupted. I get error after error for this.
 This is the first error [1] I tried signing the
 org.wso2.carbon.tomcat-3.2.0.jar with the keystore inside the pack but 
 then
 i run into a completely different error.

 Shall we pack AppServer Serivce again and see?

 thanks,
 dimuthul

 [1]
 java.lang.SecurityException: class org.apache.coyote.RequestInfo's
 signer information does not match signer information of other classes 
 in the
 same package
  at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
 at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
  at
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
  at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
  at java.lang.Class.privateGetPublicMethods(Class.java:2547)
 at java.lang.Class.getMethods(Class.java:1410)
  at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
  at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
 at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
  at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
 at
 org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
  at
 org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
 at
 org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
  at
 org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
 at
 org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
  at
 org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
 at
 org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
  at
 org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at
 org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
  at
 org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at
 org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
  at
 org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
  at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
 at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
  at
 org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
 at org.wso2.carbon.server.Main.startServer(Main.java:74)
  at org.wso2.carbon.server.Main.start(Main.java:192)
 at sun.reflect.NativeMethodAccessorImpl.invoke0

Re: [Carbon-dev] Do we have separate registry space for each user

2011-10-07 Thread Dimuthu Leelarathne
Hi,

On Fri, Oct 7, 2011 at 1:30 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Nuwan,

 IMO, to me that sounds like a hack, we are simply trying to find
 alternative ways because the registry doesn't support a certain requirement.


 IMHO, I think Tharindu is right and this is not a hack. We can think of the
 repository as a Unix style file system I guess. Where in a multi-user
 system, they share the same file system, and according to the permissions
 you can access specific files/folders. Maybe an ideal solution would be have
 something like a home folder that you can put user data into, which I
 guess should be implemented in a higher abstraction on top of the
 repository.

 Also, I noticed by using the registry browser, when creating a resource,
 that resource always grants read permission to the user role everyone. And
 also every user have the user role everyone. So does that mean, all user
 still gets to read other users' data by default? ..


This is related to lifelong question that data services guys have
anonymous and everyone. Everyone is a role. And all people in the system
are in that role. This is not anonymous.

thanks,
dimuthu



 And, the initial question, so what does it really mean by passing in the
 user name to a method like getConfigUserRegistry()?, does two separate
 getConfigUserRegistry calls to two users in the same tenant return the same
 registry or not? .. maybe we should just ask a registry guy and see :) ..

 Cheers,
 Anjana.



 Regards,
 /Nuwan




 Thanks,
 Thilina



 Thanks,
 Thilina




 Thanks,
 Thilina


 On Fri, Oct 7, 2011 at 12:54 AM, Tharindu Mathew 
 thari...@wso2.com wrote:

 For Nuwan's question, the simple answer is no.

 If you have read permissions for that user Y of user X's resource,
 user Y can view it.

 Separate registry spaces are only present per tenant.


 On Fri, Oct 7, 2011 at 12:40 AM, Thilina Buddhika 
 thili...@wso2.com wrote:

 Actually we had used governance user registry in permission
 update task, not config user registry.

 Thanks,
 Thilina


 On Fri, Oct 7, 2011 at 12:11 AM, Thilina Buddhika 
 thili...@wso2.com wrote:

 Hi Nuwan,

 On Thu, Oct 6, 2011 at 11:48 PM, Nuwan Bandara 
 nu...@wso2.comwrote:

 Hi,

 I am aware that we have a separate isolated registry space for
 each tenant. However do we have the same for a user.


 Yes.



 if I want to take a user's registry and put a value, can
 another user with registry browse permission can see that value.

 ie.

 User-X and User-Y are in the same tenant = 1

 login as user-X

 registry = getConfigUserRegistry(1);
 registry.put(repository/foo, bar);

 and login as user-Y

 registry = getConfigUserRegistry(1);
 registry.get(repository/foo)

 will the result be bar ?


 You will not be allowed to access this resource. I am sure that
 this permission model is working fine, because there was an issue 
 in the
 permission update task where it had written a flag to the user 
 space rather
 than the system space.

 Thanks,
 Thilina




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thilina Buddhika
 Associate Technical Lead

 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thilina Buddhika
 Associate Technical Lead
 

Re: [Carbon-dev] [Stratos-dev] Please deploy Carbon 3.2.2 release packs for Stratos testing

2011-10-05 Thread Dimuthu Leelarathne
Hi,

The appserver pack is corrupted. I get error after error for this. This is
the first error [1] I tried signing the org.wso2.carbon.tomcat-3.2.0.jar
with the keystore inside the pack but then i run into a completely different
error.

Shall we pack AppServer Serivce again and see?

thanks,
dimuthul

[1]
java.lang.SecurityException: class org.apache.coyote.RequestInfo's signer
information does not match signer information of other classes in the same
package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
at
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
at
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
at
org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
at
org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
at
org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
at
org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
at
org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
at org.wso2.carbon.server.Main.startServer(Main.java:74)
at org.wso2.carbon.server.Main.start(Main.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
[2011-10-06 09:54:22,478]  WARN {org.apache.tomcat.util.modeler.Registry} -
 No metadata found for org.apache.coyote.RequestGroupInfo
[2011-10-06 09:54:22,479] ERROR {org.apache.tomcat.util.modeler.Registry} -
 Error registering Tomcat:type=GlobalRequestProcessor,name=http-nio-9766
java.lang.NullPointerException
at
org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
at
org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
at 

Re: [Carbon-dev] [Stratos-dev] Please deploy Carbon 3.2.2 release packs for Stratos testing

2011-10-05 Thread Dimuthu Leelarathne
On Thu, Oct 6, 2011 at 10:23 AM, Afkham Azeez az...@wso2.com wrote:

 Hmm people have been asking this question many times. If the standard
 Tomcat jars have been signed with two keys, the patch jar also should be
 signed with the same two keys. If it is signed only with one of the keys,
 you could see this error.


We need to fix this problem for the current build. Before copying the patch
we have to sign it.

tx,
dimuthu





 On Thu, Oct 6, 2011 at 10:18 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 The appserver pack is corrupted. I get error after error for this. This is
 the first error [1] I tried signing the org.wso2.carbon.tomcat-3.2.0.jar
 with the keystore inside the pack but then i run into a completely different
 error.

 Shall we pack AppServer Serivce again and see?

 thanks,
 dimuthul

 [1]
 java.lang.SecurityException: class org.apache.coyote.RequestInfo's
 signer information does not match signer information of other classes in the
 same package
  at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
 at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
  at
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
  at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
  at java.lang.Class.privateGetPublicMethods(Class.java:2547)
 at java.lang.Class.getMethods(Class.java:1410)
  at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
  at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
 at
 org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
  at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
 at
 org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
  at
 org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
 at
 org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
  at
 org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
 at
 org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
  at
 org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
 at
 org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at
 org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at
 org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
  at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
 at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
  at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
 at org.wso2.carbon.server.Main.startServer(Main.java:74)
  at org.wso2.carbon.server.Main.start(Main.java:192)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
  at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2011-10-06 09:54:22,478]  WARN {org.apache.tomcat.util.modeler.Registry}
 -  No metadata found for org.apache.coyote.RequestGroupInfo
 [2011-10-06 09:54:22,479] ERROR {org.apache.tomcat.util.modeler.Registry}
 -  Error registering Tomcat:type=GlobalRequestProcessor,name=http-nio-9766
 java.lang.NullPointerException
 at
 org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
  at
 org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
 at
 org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
  at
 org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
 at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101

Re: [Carbon-dev] Compilation error - components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2

2011-09-08 Thread Dimuthu Leelarathne
Hi,

Will fix this.

tx,
dimuthu

On Fri, Sep 9, 2011 at 9:20 AM, Kathiravelu Pradeeban pradee...@wso2.comwrote:

 Dimuthu,
 getTenantDomain() was removed in the revision 112464 from src/main/java/
 org/wso2/carbon/core/multitenancy/utils/TenantAxisUtils.java. Is this
 compilation error due to some missing commits?

 Regards,
 Pradeeban.

 On Thu, Sep 8, 2011 at 1:57 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 I got following compilation error while building 3.2.2 branch.

 [INFO] Compiling 10 source files to
 /opt/projects/carbon/branches/3.2.0/3.2.0/components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /opt/projects/carbon/branches/3.2.0/3.2.0/components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,20]
 cannot find symbol
 symbol  : method getTenantDomain(java.lang.String)
 location: class org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 /opt/projects/carbon/branches/3.2.0/3.2.0/components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,20]
 cannot find symbol
 symbol  : method getTenantDomain(java.lang.String)
 location: class org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils


 [INFO]
 
 [INFO] Trace
 org.apache.maven.BuildFailureException: Compilation failure
 /opt/projects/carbon/branches/3.2.0/3.2.0/components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,20]
 cannot find symbol
 symbol  : method getTenantDomain(java.lang.String)
 location: class org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils


 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
  at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.CompilationFailureException:
 Compilation failure
 /opt/projects/carbon/branches/3.2.0/3.2.0/components/wsdl2form/org.wso2.carbon.wsdl2form/3.2.2/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,20]
 cannot find symbol
 symbol  : method getTenantDomain(java.lang.String)
 location: class org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils


 at
 org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
  at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
 at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
 ... 17 more


 Thanks,
 KasunW.



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Kathiravelu Pradeeban.
 Software Engineer.
 WSO2 Inc.

 Blog: [Llovizna] http://kkpradeeban.blogspot.com/


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest set of packs available for testing

2011-09-01 Thread Dimuthu Leelarathne
Hi,

When you are doing smoke testing please include Stratos services as well. In
addition to smoke test, just spare 2 minutes to ensure that all the new jars
are included in your product/service and no bundles are duplicated.

thanks,
dimuthu

On Fri, Sep 2, 2011 at 12:14 AM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi All,

  Latest set of packs which is taken from 3.2.2 branch is hosted at [1].
 These packs are related to svn revision 112211.

 Please note that BAM and ESB packs are not there because of integration
 test failures.

 [1]
 http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.2/2011-09-01_13-43-41/

 Thanks and Regards,
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Skip authentication for jsps

2011-08-30 Thread Dimuthu Leelarathne
Hi,

Does anyone know how to skip authentication for a set of jsps that doesn't
have a menu item (other than modifying CarbonSecuredHttpContext) ?

The component.xml has skip-authentication/skip-authentication inside
menu.

thanks,
dimuthul
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Carbon-build] WSO2 Carbon Continuous Build has FAILED

2011-08-28 Thread Dimuthu Leelarathne
Hi,

On Sat, Aug 27, 2011 at 10:31 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi All,

 The reports contain the following error.

 Caused by: org.wso2.carbon.user.core.UserStoreException: Failed to
 initialize the user manager. org.h2.jdbc.JdbcSQLException: Table
 UM_CUSTOM_USERSTORE not found; SQL statement:

 Did we do any changes to the database schema?


Yes. It is an addition. Fixing the dbscripts now.

thanks,
dimuthu


 Thanks,
 Janaka


 On Sat, Aug 27, 2011 at 12:19 AM, Ranga Siriwardena ra...@wso2.comwrote:

 Hi,

 Test Failure in Core. Please have a look.
 Surefire-reports attached.


 On Fri, Aug 26, 2011 at 7:06 PM, WSO2 Carbon 3.2.2 Builder (US1) 
 cbuil...@wso2.org wrote:

 Repository Root: https://svn.wso2.org/repos/wso2
 Repository UUID: a5903396-d722-0410-b921-86c7d4935375
 Revision: 111978
 Node Kind: directory
 Schedule: normal
 Last Changed Author: rathav
 Last Changed Rev: 111977
 Last Changed Date: 2011-08-26 08:18:56 -0400 (Fri, 26 Aug 2011)
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.295 sec
 Running org.wso2.carbon.registry.core.test.jdbc.PropertiesTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.685 sec
 Running org.wso2.carbon.registry.core.test.jdbc.DumpTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.516
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.039
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.849
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.RenameTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.7 sec

 Results :

 Tests in error:

 Tests run: 170, Failures: 0, Errors: 3, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/carbon320/322_carbon/core/org.wso2.carbon.registry.core/3.2.2/target/surefire-reports-0
 for the individual test results.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 22 minutes 21 seconds
 [INFO] Finished at: Fri Aug 26 09:36:37 EDT 2011
 [INFO] Final Memory: 471M/1204M
 [INFO]
 
 ___
 Carbon-build mailing list
 carbon-bu...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-build



 Thanks.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.

 Blog: http://rangasiriwardena.blogspot.com/


 ___
 Carbon-build mailing list
 carbon-bu...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-build




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

 Mobile +94 718370861
 Email : jan...@wso2.com
 Blog : janakaranabahu.blogspot.com


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Carbon-build] WSO2 Carbon Continuous Build has FAILED

2011-08-28 Thread Dimuthu Leelarathne
Hi,

On Sun, Aug 28, 2011 at 9:59 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Dimuthu,

 Please also prepare relevant migration scripts for this addition upfront.
 Also, has this got to do something with a new type of User Store being
 introduced?


No migration is required.

Yes, it requires a new wrapper user store. The architecture review was held
on Thursday.

thanks,
dimuthul



 Thanks,
 Senaka.


 On Sun, Aug 28, 2011 at 9:51 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 On Sat, Aug 27, 2011 at 10:31 PM, Janaka Ranabahu jan...@wso2.comwrote:

 Hi All,

 The reports contain the following error.

 Caused by: org.wso2.carbon.user.core.UserStoreException: Failed to
 initialize the user manager. org.h2.jdbc.JdbcSQLException: Table
 UM_CUSTOM_USERSTORE not found; SQL statement:

 Did we do any changes to the database schema?


 Yes. It is an addition. Fixing the dbscripts now.

 thanks,
 dimuthu


 Thanks,
 Janaka


 On Sat, Aug 27, 2011 at 12:19 AM, Ranga Siriwardena ra...@wso2.comwrote:

 Hi,

 Test Failure in Core. Please have a look.
 Surefire-reports attached.


 On Fri, Aug 26, 2011 at 7:06 PM, WSO2 Carbon 3.2.2 Builder (US1) 
 cbuil...@wso2.org wrote:

 Repository Root: https://svn.wso2.org/repos/wso2
 Repository UUID: a5903396-d722-0410-b921-86c7d4935375
 Revision: 111978
 Node Kind: directory
 Schedule: normal
 Last Changed Author: rathav
 Last Changed Rev: 111977
 Last Changed Date: 2011-08-26 08:18:56 -0400 (Fri, 26 Aug 2011)
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.295
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.PropertiesTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.685
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.DumpTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.516
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.039
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.849
 sec
 Running org.wso2.carbon.registry.core.test.jdbc.RenameTest
 log4j:WARN No appenders could be found for logger
 (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
 log4j:WARN Please initialize the log4j system properly.
 Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.7 sec

 Results :

 Tests in error:

 Tests run: 170, Failures: 0, Errors: 3, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/carbon320/322_carbon/core/org.wso2.carbon.registry.core/3.2.2/target/surefire-reports-0
 for the individual test results.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 22 minutes 21 seconds
 [INFO] Finished at: Fri Aug 26 09:36:37 EDT 2011
 [INFO] Final Memory: 471M/1204M
 [INFO]
 
 ___
 Carbon-build mailing list
 carbon-bu...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-build



 Thanks.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.

 Blog: http://rangasiriwardena.blogspot.com/


 ___
 Carbon-build mailing list
 carbon-bu...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-build




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

 Mobile +94 718370861
 Email : jan...@wso2.com
 Blog : janakaranabahu.blogspot.com



 ___
 Carbon-build mailing list
 carbon-bu...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-build




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77

Re: [Carbon-dev] Use an LDAP group to authorize a webapp access in AS 4.1

2011-07-31 Thread Dimuthu Leelarathne
Hi,

Yes. For that you have to write a BE bundle with the permissions mentioned
in the component.xml and add it into
{CARBON_HOME}/repository/components/dropins/

Please find a sample BE bundle at

https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt

And it's component.xml is at

https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/resources/META-INF/component.xml


thanks,
dimuthul


On Sun, Jul 31, 2011 at 3:25 AM, Guillaume Devianne gdevia...@gmail.comwrote:

 Amila,

 I played with permissions and gave permission to LOGIN under Admin
 Permissions
 That worked for the scenario I have now which is to log in to my webapp but
 have no right on the server admin interface.


 Now, is there a way to have the webapp as a permission item?

 Something like putting a serverRole name in the webapp  deployment file
 (web.xml)
 and in the permission list, there would be :

 -All Permissions
 ---Admin Permissions
 ---Super Admin Permissions
 ---Webapp1 Permissions
 ---Webapp2 Permissions


 Guillaume



 On Fri, Jul 29, 2011 at 11:22 PM, Amila Jayasekara ami...@wso2.comwrote:

 Hi Guillaume,

 Did you try giving login permission to GROUPA ?
 You can do that through the management console. Select Users and
 Roles - Roles - Select particular group - Select permissions

 Thanks
 AmilaJ

 On Sat, Jul 30, 2011 at 4:06 AM, Guillaume Devianne gdevia...@gmail.com
 wrote:
 
  Hi,
  My AS 4.1 is setup with an Active Directory through.
  In a Webapp, I use the Carbon authentification through :
  org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient that calls
 the
  Carbon AuthenticationAdmin service.
  Now, if a user want to log in, I must include him in my admin group in
 the
  AS.
  How can I tell carbon that users from the GROUPA, defined in Active
  Directory and available in AS can log on to my app?
  Thanks,
  Guillaume
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Stratos 1.5.1 Released!

2011-07-18 Thread Dimuthu Leelarathne
*WSO2 Stratos 1.5.1 Released!*

WSO2 Stratos team is pleased to announce the release of version 1.5.1 of
WSO2 Stratos.

Home page: http://wso2.org/library/stratos

WSO2 Stratos is a complete cloud middleware platform for implementing an
enterprise service-oriented
architecture (SOA). WSO2 Stratos is open source and is available under
Apache license. It is built on
top of and extends WSO2 Carbon, the award-winning, comprehensive, concise,
lean enterprise middleware
platform.

With WSO2 Stratos, IT professionals have a fully hosted
platform-as-a-service (PaaS) for rapidly
building and deploying services and composite applications, with instant
provisioning capability.
WSO2 Stratos delivers on the promise of cloud computing with a complete,
enterprise middleware
platform for delivering applications that can run on, and integrate with,
any combination of private
clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with
features for auto-scaling
and single sign-on, as well as enhanced functionality for automatic activity
monitoring, usage metering,
and centralized governance and identity management.

WSO2 Stratos offers all the benefits of the cloud without the complexity or
fear of vendor lock-in.
* WSO2 Stratos is integrated across multiple middleware platform
services and provides unified
 interfaces across services; hence facilitate shorter project times.
* Metering reduce costs by allowing monitoring that lead to optimizing
data center utilization
 and allowing companies to pay only for what they use.
* Auto-scaling provides the ability to scale up or down based on the
demand for services and usage
 capacity, eliminating both resource starvation as well as resource
slack. The artifacts are
 automatically deployed to scaled instances.
* Multi-tenancy means applications supporting different organizations,
business units or regional
 offices can be delivered cost-effectively from a single location
sharing the same platform and
 resources, yet run fully independently.
* Built-in automated governance and centralized identity management
facilitates control over
 applications and services across different tenants.
* WSO2 Stratos is based on the comprehensive WSO2 Carbon middleware
platform, hence, applications
 can be migrated smoothly and safely on premise, to a private cloud,
to the public cloud, or to a
 hybrid environment, providing unprecedented deployment flexibility.

WSO2 Stratos comes with all of the production-quality runtime engines in
WSO2 Carbon available as cloud services:
* WSO2 Enterprise Service Bus as a Service
* WSO2 Application Server as a Service
* WSO2 Data as a Service
* WSO2 Governance as a Service
* WSO2 Identity as a Service
* WSO2 Business Activity Monitoring as a Service
* WSO2 Business Processes as a Service
* WSO2 Business Rules as a Service
* WSO2 Mashups as a Service
* WSO2 Gadgets as a Service
* WSO2 Complex Event Processing as a Service
* WSO2 Message Broker as a Service

*WSO2 Stratos Features*
At the heart of the WSO2 Stratos Platform as a Service is a cloud manager.
This PaaS home service provides
management and monitoring capabilities and offers a Web portal where users
can register their domains (tenants),
log in, manage their accounts, manage users and roles, and
activate/deactivate the middleware services that
are available for their users.

The PaaS home offers point-and-click simplicity for provisioning middleware
services, so developers can
get started immediately and focus on the business logic, rather than
configuring and deploying software systems.

The platform integration layer within WSO2 Stratos allows it to install onto
any existing cloud infrastructure
such as Eucalyptus, Ubuntu Enterprise Cloud, Amazon EC2, and VMware ESX.
Enterprises are never locked into a
specific infrastructure provider or platform.

Once WSO2 Stratos is installed, a Web-based management portal lets users
configure, manage and govern
independent-but-consistent services for each department, or for each stage
of a system's lifecycle.
Each server is completely virtual, scaling up automatically to handle the
required load, and metered and
billed according to use.

Noteworthy WSO2 Stratos features include:
* Auto-scaling capabilities.
WSO2 Stratos automatically adjusts the use of cloud resources to
meet increased or decreased demand.
* Single sign-on functionality.
Users only need to sign on once to access all WSO2 Stratos services
that they are authorized to use.
* Enhanced automatic activity monitoring.
Activity monitoring is available in real time, so there is no time
gap between data collection and
the availability of data for monitoring.
* Enhanced usage metering.
Metering is automated so that every operation by tenant users will
be monitored and recorded.
The 

[Carbon-dev] [ANN] WSO2 Stratos 1.5.1 Released!

2011-07-18 Thread Dimuthu Leelarathne
*WSO2 Stratos 1.5.1 Released!*

WSO2 Stratos team is pleased to announce the release of version 1.5.1 of
WSO2 Stratos.

Home page: http://wso2.org/library/stratos

WSO2 Stratos is a complete cloud middleware platform for implementing an
enterprise service-oriented
architecture (SOA). WSO2 Stratos is open source and is available under
Apache license. It is built on
top of and extends WSO2 Carbon, the award-winning, comprehensive, concise,
lean enterprise middleware
platform.

With WSO2 Stratos, IT professionals have a fully hosted
platform-as-a-service (PaaS) for rapidly
building and deploying services and composite applications, with instant
provisioning capability.
WSO2 Stratos delivers on the promise of cloud computing with a complete,
enterprise middleware
platform for delivering applications that can run on, and integrate with,
any combination of private
clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with
features for auto-scaling
and single sign-on, as well as enhanced functionality for automatic activity
monitoring, usage metering,
and centralized governance and identity management.

WSO2 Stratos offers all the benefits of the cloud without the complexity or
fear of vendor lock-in.
* WSO2 Stratos is integrated across multiple middleware platform
services and provides unified
 interfaces across services; hence facilitate shorter project times.
* Metering reduce costs by allowing monitoring that lead to optimizing
data center utilization
 and allowing companies to pay only for what they use.
* Auto-scaling provides the ability to scale up or down based on the
demand for services and usage
 capacity, eliminating both resource starvation as well as resource
slack. The artifacts are
 automatically deployed to scaled instances.
* Multi-tenancy means applications supporting different organizations,
business units or regional
 offices can be delivered cost-effectively from a single location
sharing the same platform and
 resources, yet run fully independently.
* Built-in automated governance and centralized identity management
facilitates control over
 applications and services across different tenants.
* WSO2 Stratos is based on the comprehensive WSO2 Carbon middleware
platform, hence, applications
 can be migrated smoothly and safely on premise, to a private cloud,
to the public cloud, or to a
 hybrid environment, providing unprecedented deployment flexibility.

WSO2 Stratos comes with all of the production-quality runtime engines in
WSO2 Carbon available as cloud services:
* WSO2 Enterprise Service Bus as a Service
* WSO2 Application Server as a Service
* WSO2 Data as a Service
* WSO2 Governance as a Service
* WSO2 Identity as a Service
* WSO2 Business Activity Monitoring as a Service
* WSO2 Business Processes as a Service
* WSO2 Business Rules as a Service
* WSO2 Mashups as a Service
* WSO2 Gadgets as a Service
* WSO2 Complex Event Processing as a Service
* WSO2 Message Broker as a Service

*WSO2 Stratos Features*
At the heart of the WSO2 Stratos Platform as a Service is a cloud manager.
This PaaS home service provides
management and monitoring capabilities and offers a Web portal where users
can register their domains (tenants),
log in, manage their accounts, manage users and roles, and
activate/deactivate the middleware services that
are available for their users.

The PaaS home offers point-and-click simplicity for provisioning middleware
services, so developers can
get started immediately and focus on the business logic, rather than
configuring and deploying software systems.

The platform integration layer within WSO2 Stratos allows it to install onto
any existing cloud infrastructure
such as Eucalyptus, Ubuntu Enterprise Cloud, Amazon EC2, and VMware ESX.
Enterprises are never locked into a
specific infrastructure provider or platform.

Once WSO2 Stratos is installed, a Web-based management portal lets users
configure, manage and govern
independent-but-consistent services for each department, or for each stage
of a system's lifecycle.
Each server is completely virtual, scaling up automatically to handle the
required load, and metered and
billed according to use.

Noteworthy WSO2 Stratos features include:
* Auto-scaling capabilities.
WSO2 Stratos automatically adjusts the use of cloud resources to
meet increased or decreased demand.
* Single sign-on functionality.
Users only need to sign on once to access all WSO2 Stratos services
that they are authorized to use.
* Enhanced automatic activity monitoring.
Activity monitoring is available in real time, so there is no time
gap between data collection and
the availability of data for monitoring.
* Enhanced usage metering.
Metering is automated so that every operation by tenant users will
be monitored and recorded.
The 

[Carbon-dev] Code freeze on Monday morning

2011-07-08 Thread Dimuthu Leelarathne
Hi all,

Code freeze will be on Monday morning 10.00AM. Please checkin your L1 fixes
by then.

thanks,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Code freeze on Monday morning

2011-07-08 Thread Dimuthu Leelarathne
Hi,

As per STRATOS L1s, these are the people having most L1s.

Rajika - 4
Sanjeewa - 4

@ Rajika and Sanjeewa are everything under control?

@ Waruna - Can you/team look at the 2 issues assigned to Milinda?

Still under development
- Cassandra security (DimuthuL)
- NIO transport issues (Hiranya)

@ Hiranya can we get this done by Monday?

Please shout if we cannot code freeze on Monday.

thanks,
dimuthul



On Fri, Jul 8, 2011 at 4:04 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi all,

 Code freeze will be on Monday morning 10.00AM. Please checkin your L1 fixes
 by then.

 thanks,
 dimuthu


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB with servlet transport?

2011-07-08 Thread Dimuthu Leelarathne
Hi all,

I am not an ESB expert but, shall we drop Aggregator mediator and go ahead
with servlet transport? We need to code freeze on Monday.

WDYT?

tx,
dimuthul

On Wed, Jul 6, 2011 at 11:09 AM, Afkham Azeez az...@wso2.com wrote:

 No. We agreed on me trying to look into multiple HTTP/S port support for a
 single member. I didn't have time to look into that, but will do so. The
 primary plan is to get ESB working with servlet transport. If not, ESB may
 not be fronted with LB.


 On Wed, Jul 6, 2011 at 10:54 AM, Supun Kamburugamuva su...@wso2.comwrote:

 I thought we agreed not to use the servlet transport. Are we going to
 switch to servlet transport?

 Thanks,
 Supun..

 On Wed, Jul 6, 2011 at 8:38 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Wed, Jul 6, 2011 at 6:28 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya, can you please work on this?


 I just ran a bunch of samples with the servlet transport and the
 situation looks fairly ok. I only encountered two issues:

  1. Main sequence cannot be hit directly. Any request to
 http://server:9763 receives a 302 back. The request URL must contain the
 /services or some other registered context. I think this is due to the
 Carbon/Tomcat servlet configuration.

 2. Aggregate mediator doesn't work. I get the following exception:

 [2011-07-06 08:29:30,976] ERROR - SynapseXPath Evaluation of the XPath
 expression //m0:getQuoteResponse resulted in an error
 org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException:
 Attempted read on closed stream.
 at
 org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
  at
 org.apache.axiom.om.impl.llom.OMDocumentImpl.buildNext(OMDocumentImpl.java:135)
 at
 org.apache.axiom.om.impl.llom.OMNodeImpl.getNextOMSibling(OMNodeImpl.java:122)
  at
 org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:343)
 at
 org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)
  at
 org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)
 at
 org.jaxen.util.DescendantAxisIterator.hasNext(DescendantAxisIterator.java:101)
  at org.jaxen.expr.DefaultStep.evaluate(DefaultStep.java:152)
 at
 org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140)
  at
 org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)
 at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
  at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)
 at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)
  at org.jaxen.BaseXPath.evaluate(BaseXPath.java:172)
 at
 org.apache.synapse.util.xpath.SynapseXPath.evaluate(SynapseXPath.java:239)
  at
 org.apache.synapse.mediators.eip.EIPUtils.getMatchingElements(EIPUtils.java:66)
 at
 org.apache.synapse.mediators.eip.EIPUtils.enrichEnvelope(EIPUtils.java:117)
  at
 org.apache.synapse.mediators.eip.aggregator.AggregateMediator.getAggregatedMessage(AggregateMediator.java:367)
 at
 org.apache.synapse.mediators.eip.aggregator.AggregateMediator.completeAggregate(AggregateMediator.java:314)
  at
 org.apache.synapse.mediators.eip.aggregator.AggregateMediator.mediate(AggregateMediator.java:259)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
  at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
 at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:219)
  at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:364)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:159)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:235)
  at
 org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:174)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
  at
 org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:411)
 at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:271)
 at
 org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:292)
  at
 org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
 at
 org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:87)
  at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
 at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
  at
 org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:69)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 

Re: [Carbon-dev] 2011-07-04 night build is not up to date with the latest jars

2011-07-05 Thread Dimuthu Leelarathne
Hi,

Next build will be at 8.00 AM IST 7th of July. Please try to fix all your
jars.

On Wed, Jul 6, 2011 at 9:30 AM, Amani Soysa am...@wso2.com wrote:

 Hi,

 Following newly branched components are not added to the service
 packs{2011-07-04 night build}

!-- event component and feature --

 module../../../components/event/org.wso2.carbon.event.core/3.2.1/module
 module../../../components/event/org.wso2.carbon.event.ws/3.2.1
 /module
 *Following packs are not updated :
 esb,bps,cep,manager,as,ms,governance,brs,bam,mb*

 @Amila Suriarachchi can we fix this for next build?


  !-- Light weight event feature --

 module../../../components/light-weight-eventing/org.wso2.carbon.lwevent.core/3.2.1/module
 *Following packs are not updated : esb*

 @BuddhikaC can we fix this for next build?


  !-- OAuth components and features--

 module../../../components/identity/org.wso2.carbon.identity.oauth.mediator/3.2.1/module
 *Following packs are not updated : esb*

 @Asela can we fix this for next build?


  !-- Stratos components --

  
 module../../../components/stratos/payment/org.wso2.carbon.payment.paypal/3.2.1/module
 *Following packs are not updated : manager*


@AmilaM can we fix this for next build?



 module../../../components/stratos/sample-installer/org.wso2.carbon.sample.installer/3.2.1/module

 module../../../components/stratos/throttling/org.wso2.carbon.throttling.agent/3.2.1/module

 module../../../components/stratos/throttling/org.wso2.carbon.usage.agent/3.2.1/module
 *Following packs are not updated:
 is,esb,bps,cep,manager,dss,ms,governance,brs,bam,mb*


@Saneewa  can we fix this for next build?


   !-- DataServices Component --

 module../../../components/data-services/org.wso2.carbon.dataservices.common/3.2.1/module

 module../../../components/data-services/org.wso2.carbon.dataservices.core/3.2.1/module
 *Following packs are not updated: manager,bam*

 @Anjana can we fix this for next build?

!-- Cassandra Component --

 module../../../components/cassandra/org.wso2.carbon.cassandra.dataaccess/3.2.1/module

 module../../../components/cassandra/org.wso2.carbon.cassandra.server/3.2.1/module

 module../../../components/cassandra/org.wso2.carbon.cassandra.mgt.ui/3.2.1/module
 *Following packs are not updated:dss
 *

 @ Deep can you verify this is actually fixed?


!-- qpid compoents --

 module../../../components/qpid/org.wso2.carbon.qpid.commons/3.2.1/module

 module../../../components/qpid/org.wso2.carbon.qpid.authorization/3.2.1/module
 *Following packs are not
 updated:esb,bps,cep,manager,as,ms,governance,brs,bam*

 !-- message box compoents --

 module../../../components/messagebox/org.wso2.carbon.messagebox.core/3.2.1/module

 module../../../components/messagebox/org.wso2.carbon.messagebox.ui/3.2.1/module
 *Following packs are not updated:cep*


@ManjulaR can we fix this for next build?

tx,
dimuthul

Regards,
 Amani

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon core is too big has lots of unnecessary stuff

2011-07-02 Thread Dimuthu Leelarathne
Hi,

On Sat, Jul 2, 2011 at 6:53 PM, Afkham Azeez az...@wso2.com wrote:

 I realized $subject when removing unnecessary components  files from the
 LB product. Most of the stuff that comes from the Carbon core is not needed
 by the LB, which means, we can identify a much more smaller Carbon kernel.
 Let's fix this in the trunk.


+1

tx,
dimuthul


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] How to expire Cache?

2011-07-01 Thread Dimuthu Leelarathne
Hi all,

This may sound like a really basic question. I am raking code, but I cannot
find a way to do it. If i write a cache extending from
org.wso2.carbon.caching.core.BaseCache from where can I set the cache
expiration time? Do we have to use the cache.xml for it, I can't find any
parameter there?

tx,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] triggerred a build in the local builder for carbon 3.2.1

2011-06-28 Thread Dimuthu Leelarathne
On Mon, Jun 27, 2011 at 7:44 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi All,
 New packs of stratos services will be available at
 http://10.100.1.43/~carbon/releases/carbon/3.2.1/2011-06-27/. since we
 have less space remain will build one by one and upload.
 Thanks.


Can we host these packs in private cloud?

tx,
dimuthul



 On Mon, Jun 27, 2011 at 8:36 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 build is in components level.


 On Mon, Jun 27, 2011 at 1:36 AM, Supun Malinga sup...@wso2.com wrote:

 $subject, with revision 108366.
 building in a clean repo.

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Sanjeewa Malalgoda*
 Software Engineer
 **
 *WSO2, Inc.*
 lean.enterprise.middleware.

 mobile : +94 713068779
 web: http://wso2.com
  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/

 [image:
 http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Meeting tomorrow morning, 10AM with all folks working on Stratos

2011-06-25 Thread Dimuthu Leelarathne
Hi,

On Fri, Jun 24, 2011 at 11:25 AM, Afkham Azeez az...@wso2.com wrote:

 What are the product teams doing? What about the performance  long running
 tests? Webapp throttling owner was Milinda.

 Can I know how many in the product teams has setup a Stratos system on
 their local machines? We have a very good setup script that allows you to
 setup everything on your local machines. QA folks, you could use that script
 as well to test the features. Some features do not work on Stratos due to MT
 issues.

 Also, when will the private cloud be ready?


Private cloud will be ready on Monday.

tx,
dimuthul




 On Fri, Jun 24, 2011 at 11:18 AM, Hasini Yatawatte hasi...@wso2.comwrote:

 *Meeting notes*

 *Target*

 Cloud1 setup – needs to be ready by 1st July. Days allocated for setting
 up are 28,29,30th June

 Cloud2 setup – needs to be ready by 2nd July


 *Blockers*

 BPS - 4 L1s

 ESB - 6 L1s

 Registry


 *Tasks and owners*

 Data story – Anjana , Prabath

 Billing – AmilaM

 Service aware LB- Azeez

 Data story testing – Amani

 Testing throttling

-

   web apps – Sanjeewa
   -

   Fail on big loads – Rajika

 Fixing issues – Amani, HasiniY

 Testing CSG by Q/A team

 Testing platform samples and facebook sample in cloud1 and cloud2


 *Time Line*

 Alpha packs - 27th noon, 29th noon

 RC packs - 4th July



 Thanks,
 Regards,
 HasiniY


 On Fri, Jun 24, 2011 at 10:16 AM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 Commencing the meeting in 5 mins in Stratos area.

 tx,
 dimuthul


 On Thu, Jun 23, 2011 at 3:40 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 Please commit your trunk fixes to branch and resolve the Stratos issues.
 There are 39 stratos issues!

 I know several people have fixed them on the trunk and not fixed them on
 the branch.

 tx,
 dimuthu

 On Thu, Jun 23, 2011 at 3:25 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to have this tomorrow to see how things are progressing on the
 Stratos front. Please note that we have less than 3 weeks for the final
 release!

 Thanks
 Azeez

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hasini Randika Yatawatte,
 Software Engineer.
 WSO2 Inc.


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] build triggered for 3.2.1 build in ec2 instance

2011-06-23 Thread Dimuthu Leelarathne
Hi,

As a summary the products are having integration test failures. (I just
added from previous mails)

BAM
BPS

tx,
dimuthul

On Thu, Jun 23, 2011 at 11:11 AM, Supun Malinga sup...@wso2.com wrote:

 Hi All,

 Some products are having integration test failures. I'll host the packs
 anyway as this the the first build and we need packs quickly. Will do
 another build asap.
 Packs are being hosted @ [1].

 [1] http://10.100.1.43/~carbon/releases/carbon/3.2.1/latest/

 thanks,


 On Thu, Jun 23, 2011 at 8:53 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 +1


 On Thu, Jun 23, 2011 at 8:38 AM, Supun Malinga sup...@wso2.com wrote:

 Hi all,
 Building products now.
 as- is successful
 products build has failed @bam (sent a seperate mail to carbon-dev).
 Resumed the build from bps.

 thanks,

 On Wed, Jun 22, 2011 at 10:39 PM, Supun Malinga sup...@wso2.com wrote:



 On Wed, Jun 22, 2011 at 10:36 PM, Supun Malinga sup...@wso2.comwrote:

 Hi All,

 Do to a mistake the .m2 repo used for building in ec2 has been deleted
 in the process of releasing carbon-studio release. :(
 Since artifact deployment is finished i'll use the same .m2 repo and
 build the 3.2.1 in local builder. Hopefully if there are no critical build
 failures we can finish the build by mid-day tomorrow.

 Please *DO NOT* use the local builder(10.100.1.43).

 account : release1@10.100.1.43


 regards,

 On Wed, Jun 22, 2011 at 5:21 PM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 We are @the products stage.


 On Wed, Jun 22, 2011 at 4:58 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi,

 Do we have a build now?

 tx,
 dimuthu

  On Wed, Jun 22, 2011 at 9:11 AM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 building from the core level and up.

 thanks,


 On Wed, Jun 22, 2011 at 7:49 AM, Supun Malinga sup...@wso2.comwrote:

 Build has hanged at a latter stage of the orbit.
 Now building orbit and service stubs.

 thanks,

 On Tue, Jun 21, 2011 at 10:09 PM, Supun Malinga 
 sup...@wso2.comwrote:



 On Tue, Jun 21, 2011 at 10:08 PM, Supun Malinga 
 sup...@wso2.comwrote:

 Hi All,

 currently building 3.2.0 in a clean repo.
 Build still in the dependencies level. Will post here if there
 are any issues and the progress.

 revision 108054



 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Sanjeewa Malalgoda*
 Software Engineer
 **
 *WSO2, Inc.*
 lean.enterprise.middleware.

 mobile : +94 713068779
 web: http://wso2.com
  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/

 [image:
 http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Meeting tomorrow morning, 10AM with all folks working on Stratos

2011-06-23 Thread Dimuthu Leelarathne
Hi,

Please commit your trunk fixes to branch and resolve the Stratos issues.
There are 39 stratos issues!

I know several people have fixed them on the trunk and not fixed them on the
branch.

tx,
dimuthu

On Thu, Jun 23, 2011 at 3:25 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to have this tomorrow to see how things are progressing on the
 Stratos front. Please note that we have less than 3 weeks for the final
 release!

 Thanks
 Azeez

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Meeting tomorrow morning, 10AM with all folks working on Stratos

2011-06-23 Thread Dimuthu Leelarathne
Hi,

Commencing the meeting in 5 mins in Stratos area.

tx,
dimuthul

On Thu, Jun 23, 2011 at 3:40 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 Please commit your trunk fixes to branch and resolve the Stratos issues.
 There are 39 stratos issues!

 I know several people have fixed them on the trunk and not fixed them on
 the branch.

 tx,
 dimuthu

 On Thu, Jun 23, 2011 at 3:25 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to have this tomorrow to see how things are progressing on the
 Stratos front. Please note that we have less than 3 weeks for the final
 release!

 Thanks
 Azeez

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] build triggered for 3.2.1 build in ec2 instance

2011-06-22 Thread Dimuthu Leelarathne
Hi,

Do we have a build now?

tx,
dimuthu

On Wed, Jun 22, 2011 at 9:11 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 building from the core level and up.

 thanks,


 On Wed, Jun 22, 2011 at 7:49 AM, Supun Malinga sup...@wso2.com wrote:

 Build has hanged at a latter stage of the orbit.
 Now building orbit and service stubs.

 thanks,

 On Tue, Jun 21, 2011 at 10:09 PM, Supun Malinga sup...@wso2.com wrote:



 On Tue, Jun 21, 2011 at 10:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi All,

 currently building 3.2.0 in a clean repo.
 Build still in the dependencies level. Will post here if there are any
 issues and the progress.

 revision 108054



 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] 28 Stratos L1s!

2011-06-20 Thread Dimuthu Leelarathne
Hi All,

We need help from everybody to fix Stratos Issues.

@Malinga. Is it possible trigger an Alpha build on Wednesday - 22nd June at
12  noon?

thanks,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Setup 3.2.1 continuos build

2011-06-20 Thread Dimuthu Leelarathne
Hi all,

Can the new build team trigger 3.2.1  build on builder today and setup
continuous build by getting advice from AmilaM.

tx,
dimuthul

On Sun, Jun 19, 2011 at 9:14 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 On Sat, Jun 18, 2011 at 2:39 PM, Afkham Azeez az...@wso2.com wrote:

 Build team please note. You will have to get all 3.2.0 dependencies from
 the Maven repo, and will need to build only
 3.2.0-branch/patch-releases/3.2.1


 Will do it on Monday.

 Thanks,
 AmilaM.


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Rough performance comparison after the registry caching fix in RC10

2011-06-12 Thread Dimuthu Leelarathne
Hi,

On Sat, Jun 11, 2011 at 10:55 PM, Afkham Azeez az...@wso2.com wrote:

 UM folks, please note. This needs to be implemented for Stratos 1.5.


We didn't cache user-roles to allow changes done by external means, for
example an update done using PhpMyLDAPAdmin. Primarily it was done because
of read-only user-stores where it is updated by other external means. So we
can implement it as follows.

1) We always cache-user roles for X seconds. And we update the document
saying changes done using external tools  will be effected only after X
seconds. If the change is done using our UI we clean the cache immediately.
The value X will be configurable.
OR
2) We make caching configurable - Yes or No

I am +1 for option-1. I will update the JDBCUserStore manager accordingly.

tx,
dimuthu




 On Sat, Jun 11, 2011 at 8:08 PM, Senaka Fernando sen...@wso2.com wrote:



 On Sat, Jun 11, 2011 at 8:03 PM, Afkham Azeez az...@wso2.com wrote:

 Seems like we need caching for UM as well to be effective. Please
 implement this for Stratos, Carbon 3.2.1.


 +1. AFAIU, permissions-for-role is cached, but role-of-user is not.

 Thanks,
 Senaka.



 On Sat, Jun 11, 2011 at 7:46 PM, Senaka Fernando sen...@wso2.comwrote:



 On Sat, Jun 11, 2011 at 7:39 PM, Senaka Fernando sen...@wso2.comwrote:



 On Sat, Jun 11, 2011 at 6:17 PM, Afkham Azeez az...@wso2.com wrote:

 So caching gives a significant performance improvement. Anyway, the
 only difference between RC9  RC10 is the following code segment;

   if (!AuthorizationUtils.authorize(path, ActionConstants.GET)) {
 +String msg = User  + CurrentSession.getUser() + 
 is not authorized to  +
 +read the resource  + path + .;
 +log.warn(msg);
 +throw new AuthorizationFailedException(msg);
 +}

 Senaka, can you profile and see what is the overhead introduced by
 the AuthorizationUtils.authorize method (that method should have been
 named isAuthorized!)


 +1, we need to go through these method names sometime later, when we
 are doing a major carbon release. Attached to this reply is a call-trace.
 The UM code, seems to be making a DB-call, and two JNDI calls to ApacheDS,
 all of which are reasonably expensive.


 Please disregard the overhead for logging the WARN message (in my
 previous attachment), since I actually tried a scenario that failed to
 authorize, and not one that passes as seen in Charitha's test. Attached
 herewith is the output for a scenario that actually passes authorization.

 Thanks,
 Senaka.


 Thanks,
 Senaka.



 On Sat, Jun 11, 2011 at 2:52 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 Figures with caching disabled.

 Requests per second:1,661.51 [#/sec] (mean)
 Requests per second:1,699.38 [#/sec] (mean)
 Requests per second:1,664.97 [#/sec] (mean)
 Requests per second:1,664.65 [#/sec] (mean)
 Requests per second:1,662.48 [#/sec] (mean)

 /Charitha



 On Sat, Jun 11, 2011 at 2:32 PM, Afkham Azeez az...@wso2.comwrote:

 pls compare this with no-caching

 On Sat, Jun 11, 2011 at 2:06 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 Did a quick performance comparison of RC10 and RC9 versions of
 Carbon-3.2.0.

 Test:
 =
 Service hosted in AS which reads a resource in embedded registry
 (service impl class is as follows)

  Registry registry =
 CarbonContext.getCurrentContext().getRegistry(RegistryType.SYSTEM_CONFIGURATION);

 Resource r1 = null;
 try {
 r1 = registry.get(d1/d2/d3/r1);
 } catch (RegistryException e) {
 e.printStackTrace();  //To change body of catch
 statement use File | Settings | File Templates.
 }
 return r1.getDescription();

 java-bench client:-

 while true;do java -jar benchmark.jar -p registry_get_request.xml
 -n 1000 -c 200 -k -H SOAPAction: urn:getResource -T 
 application/soap+xml;
 charset=UTF-8
 http://192.168.122.1:9763/services/RegistryGetService/;done


 RC9
 =
 Requests per second:3,291.87 [#/sec] (mean)
 Requests per second:3,448.57 [#/sec] (mean)
 Requests per second:3,417.59 [#/sec] (mean)
 Requests per second:3,334.18 [#/sec] (mean)
 Requests per second:3,291.88 [#/sec] (mean)
 Requests per second:3,433.59 [#/sec] (mean)
 Requests per second:3,477.33 [#/sec] (mean)
 Requests per second:3,368.26 [#/sec] (mean)
 Requests per second:3,323.68 [#/sec] (mean)
 Requests per second:3,364.71 [#/sec] (mean)

 RC10
 =
 Requests per second:2,931.87 [#/sec] (mean)
 Requests per second:2,992.98 [#/sec] (mean)
 Requests per second:2,964.73 [#/sec] (mean)
 Requests per second:2,977.55 [#/sec] (mean)
 Requests per second:3,047.40 [#/sec] (mean)
 Requests per second:2,909.69 [#/sec] (mean)
 Requests per second:3,121.50 [#/sec] (mean)
 Requests per second:2,992.58 [#/sec] (mean)
 Requests per 

Re: [Carbon-dev] [Stratos-dev] Progress on Stratos pending Stratos issues

2011-06-08 Thread Dimuthu Leelarathne
Hi,


On Wed, Jun 8, 2011 at 11:19 AM, Afkham Azeez az...@wso2.com wrote:

 What are the pending issues in Stratos  how are the stuff progressing?

 The following are the new major attractions in this release.

 1. Usage  Metering
 2. Logging
 3. Data story, Cassandra
 4. Google Auth integration


Google Auth Integration can be demo-ed on RC7 packs on private cloud.

tx,
dimuthul



 What are the pending issues in those areas (did I miss anything)? Sanjaya
 has setup private cloud with RC7 packs, is it possible to demonstrate those
 features on the private cloud?

 We are having weird issues on EC2 related to LB  autoscaling, and most of
 those issues seem to be AWS specific ones. Sanjaya, Pradeeban, Chamith  I
 will be working on those to sort those out within the next few days.

 Thanks
 Azeez
 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Stratos-dev mailing list
 stratos-...@wso2.org
 https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [IMPORTANT] Carbon 3.2.0 RC3 - Code Freeze - 10.30 PM IST

2011-05-28 Thread Dimuthu Leelarathne
Hi,

On Sat, May 28, 2011 at 10:03 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Folks,

 As Prabath mentioned, please *DO NOT* commit to the branch, once we
 announce the code freeze.


Committed. Thanks for the 10 minute tolerance.

tx,
dimuthul



 Thanks
 Sameera


 On Sat, May 28, 2011 at 9:24 PM, Prabath Siriwardena prab...@wso2.comwrote:

 $subject

 Please strictly refrain from committing to the branch after 10.30 PM...

 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Defining a role as internal or external

2011-05-26 Thread Dimuthu Leelarathne
Hi,

On Thu, May 26, 2011 at 10:20 AM, Hasini Gunasinghe has...@wso2.com wrote:

 This category name and the definition needs to be sorted out and I think
 this discussion started to decide that. There is an jira [1] related to
 this.

 In finalizing that, I have two questions:
 1. What is the actual requirement of displaying the category as 'Internal'
 or 'External' in front of the role name? Because through UI, we enable
 edit/delete options for a role only if the role is editable.


Internal/external categorization was introduced eliminate confusion.

There were problems such as,
-Why can't I edit this role?
-Why can't I delete this role?

If a role is editable/deletable (that means if WSO2 servers own this role)
it was indicated internal. Otherwise external.

Current usage of these categorization is wrong, and leads to more confusion.
If you can suggest more better namings +1.

tx,
dimuthu


 2. IMO, above mentioned definition of *external* can lead to confusion when
 the user store is external ldap with read/write permission, because then the
 WSO2 UM may or may not have originated that role, but still it is editable
 though management console.

 [1] https://wso2.org/jira/browse/CARBON-9195

 Thanks,
 Hasini.


 thanks,
 Amila.


 On Sun, May 22, 2011 at 11:10 AM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 This is the understanding that I have regarding this. Please correct if
 anything is wrong.

 Differentiation of roles as external or internal is based on whether we
 manage user roles in the user store itself or in internal UM database in a
 hybrid manner.

 For an example, we find the above use case with LDAP user store where we
 can either manage roles in LDAP itself or in internal JDBC database in a
 hybrid manner (basically when user store is read only).

 In that case, internal role means: if a role is managed in internal UM
 database in a hybrid manner.
external role means: if a role is managed in LDAP
 user store - can be either embedded LDAP or external LDAP.


 Roles defined in embedded LDAP are not external.

 It really doesn't matter whether the underlying implementation is JDBC or
 LDAP. Users should not be worrying about underlying implementation.

 tx,
 dimuthul



 I think above mail is related to issue:
 https://wso2.org/jira/browse/CARBON-9195. The issue reported there is
 the default behavior according to above understanding.
 Because JDBC user store manager handles roles in hybrid manner only when
 read only property is set to true in user-mgt.xml.

 Thanks,
 Hasini.

 On Fri, May 6, 2011 at 11:09 AM, Amila Jayasekara ami...@wso2.comwrote:

 Hi All,

 How do we define whether a particular role is internal or external ?
 (Role type)

 After a chat with Pavithra, we came to following conclusion.

 If a role is defined within a server we treat those as internal roles.
 If a server reads role information from some other user store we
 consider those as external roles.

 If above definition is not correct, please advice.

 Thanks
 AmilaJ
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 In functionality wise there is no issue.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] A window to commit for RC2

2011-05-26 Thread Dimuthu Leelarathne
Hi,

If we are going to have RC2, can we get a window to commit before RC2? We
have some critical bugs that is required to be committed.

https://wso2.org/jira/browse/STRATOS-971
https://wso2.org/jira/browse/STRATOS-970

tx,
dimuthul
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Compilation failure : Stratos - Theme Configuration User Interface

2011-05-25 Thread Dimuthu Leelarathne
Hi,

Check whether org.apache.batik.wso2:batik is corrupted.

tx,
dimuthul

On Wed, May 25, 2011 at 3:09 PM, Supun Kamburugamuva su...@wso2.com wrote:

 [INFO] Building WSO2 Stratos - Theme Configuration User Interface
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting

 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/target
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 111 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Compiling 4 source files to

 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[21,34]
 package org.apache.batik.transcoder does not exist

 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[22,40]
 package org.apache.batik.transcoder.image does not exist

 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[215,8]
 cannot find symbol
 symbol  : class JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor

 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[215,40]
 cannot find symbol
 symbol  : class JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor

 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[216,38]
 cannot find symbol
 symbol  : variable JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor

 [ERROR]
 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[218,41]
 cannot find symbol
 symbol  : class TranscoderOutput
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor

 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure


 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[21,34]
 package org.apache.batik.transcoder does not exist


 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[22,40]
 package org.apache.batik.transcoder.image does not exist


 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[215,8]
 cannot find symbol
 symbol  : class JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor


 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[215,40]
 cannot find symbol
 symbol  : class JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor


 /Users/supun/dev/wso2/branches/3.2.0/components/stratos/theme-mgt/org.wso2.carbon.theme.mgt.ui/3.2.0/src/main/java/org/wso2/carbon/theme/mgt/ui/processors/AddThemeResourceProcessor.java:[216,38]
 cannot find symbol
 symbol  : variable JPEGTranscoder
 location: class
 org.wso2.carbon.theme.mgt.ui.processors.AddThemeResourceProcessor


 

Re: [Carbon-dev] Stratos release - migration tasks

2011-05-25 Thread Dimuthu Leelarathne
Hi,

On Thu, May 26, 2011 at 10:16 AM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 Reminder about the migration stuff !


We need to add one more item.

9. Create user-mgt.xmls in DB for all existing tenants. I will take over the
task.

tx,
dimuthul



 Shankar

 On Wed, Apr 27, 2011 at 5:24 PM, Afkham Azeez az...@wso2.com wrote:
  As discussed with some of you today, we need to start working on the
 tasks
  listed in the attached image immediately
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 



 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Version errors when building 3.2.0 branch

2011-05-23 Thread Dimuthu Leelarathne
Hi all,

I started building the branch from root pom level. But I am getting a whole
lot of version errors as follows. But these versions are there in the root
pom. What can I do overcome them? Please help.

  Path to dependency:
  1) org.wso2.carbon:org.wso2.carbon.rule.core:bundle:3.2.0-SNAPSHOT
  2) org.wso2.carbon:org.wso2.carbon.rulecep.adapters:jar:3.2.0-SNAPSHOT
  3) org.apache.ws.commons.axiom:axiom-impl:jar:${version.axiom}


  Path to dependency:
  1) org.wso2.carbon:org.wso2.carbon.rule.core:bundle:3.2.0-SNAPSHOT
  2) org.wso2.carbon:org.wso2.carbon.rulecep.adapters:jar:3.2.0-SNAPSHOT
  3) jaxen:jaxen:jar:${version.jaxen}




  Path to dependency:
  1) org.wso2.carbon:org.wso2.carbon.proxyadmin:bundle:3.2.0-SNAPSHOT
  2)
org.wso2.carbon:org.wso2.carbon.mediation.initializer:jar:3.2.0-SNAPSHOT
  3) org.wso2.carbon:org.wso2.carbon.event.core:jar:3.2.0-SNAPSHOT
  4) org.wso2.carbon:org.wso2.carbon.qpid:jar:3.2.0-SNAPSHOT
  5) org.apache.qpid.wso2:qpid:jar:${orbit.version.qpid}



  Path to dependency:
  1)
org.wso2.carbon:org.wso2.carbon.mediator.event:bundle:3.2.0-SNAPSHOT
  2) org.wso2.carbon:org.wso2.carbon.event.core:jar:3.2.0-SNAPSHOT
  3) org.wso2.carbon:org.wso2.carbon.qpid:jar:3.2.0-SNAPSHOT
  4) org.apache.qpid.wso2:qpid:jar:${orbit.version.qpid}


tx,
dimuthul
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Defining a role as internal or external

2011-05-22 Thread Dimuthu Leelarathne
Hi,

On Sun, May 22, 2011 at 4:13 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Dimuthu,

 I need to clarify a small thing related to LDAP.What would be the overhead
 of switching from embedded LDAP to external LDAP?

 Say I have created a replica of my external LDAP locally, and tested it,
 and I now want to switch to the corporate LDAP server. If the roles on the
 embedded LDAP were a subset of the roles on the external LDAP, what would I
 need to do when I migrate? Do I need to recreate or reorganize the roles?
 and if not, do I need to redefine all permissions?


It depends on your scenario.

If you have read only permission to cooperate LDAP and tested with embedded
LDAP using readonly LDAP realm, then the switching is basically a change in
the connection properties. Please note WSO2 servers are operating in read
only mode because you are not the owner of these roles. WSO2 servers merely
use them.

If you have read/write permission to cooperate LDAP and tested with embedded
LDAP using the ApacheDS realm then the change over becomes a bit tricky.
First of all you have to import the schemas. The last time I tried with
OpenLDAP it didn't work. The secondly you have to create whatever the roles
you created in Embedded LDAP in cooperate LDAP. But you don't have to
reconfigure permissions as long as database and role names are the same.  In
this case WSO2 servers becomes an party that owns roles.

tx,
dimuthul




 Thanks,
 Senaka.


 tx,
 dimuthul



 I think above mail is related to issue:
 https://wso2.org/jira/browse/CARBON-9195. The issue reported there is
 the default behavior according to above understanding.
 Because JDBC user store manager handles roles in hybrid manner only when
 read only property is set to true in user-mgt.xml.

 Thanks,
 Hasini.

 On Fri, May 6, 2011 at 11:09 AM, Amila Jayasekara ami...@wso2.comwrote:

 Hi All,

 How do we define whether a particular role is internal or external ?
 (Role type)

 After a chat with Pavithra, we came to following conclusion.

 If a role is defined within a server we treat those as internal roles.
 If a server reads role information from some other user store we
 consider those as external roles.

 If above definition is not correct, please advice.

 Thanks
 AmilaJ
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-20 Thread Dimuthu Leelarathne
Hi,

On Fri, May 20, 2011 at 12:12 PM, Tharindu Mathew thari...@wso2.com wrote:

 We are looking into this.

 On Fri, May 20, 2011 at 12:10 PM, Denis Weerasiri de...@wso2.com wrote:

 FYI,
 product/manager also fails.

 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - BAM Core Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.bam.server.feature.group 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: WSO2 Carbon - BAM Core Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.bam.server.feature.group 3.2.0.SNAPSHOT)
 requires 'org.wso2.carbon.gadget.editor.ui.feature.group
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found
 [ERROR] Application failed, log file location:
 /home/release/carbon/products/manager/modules/p2-profile-gen/service/target/p2-agent/configuration/1305872544413.log
 [INFO] ---


Manager fixed. Commit,
[Carbon-commits] [Carbon] svn commit r100852 -
trunk/carbon/products/manager/modules/p2-profile-gen/servic

tx,
dimuthul



 On Fri, May 20, 2011 at 11:36 AM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Installing org.wso2.carbon.xfer.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.registry.resource.properties.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.common.feature.group 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.appserver.styles.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.appserver.utils.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.appserver.deployment.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.appserver.dashboard.ui.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.stratos.appserver.sample.installer.ui.feature.group 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.appserver.login.ui.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.bam.data.publisher.servicestats.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.event.common.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.event.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.application.mgt.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.application.deployer.webapp.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.server.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.ui.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.core.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.core.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.relying.party.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.relying.party.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - BAM Service Statistics
 Data Publisher Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.bam.data.publisher.servicestats.feature.group
 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: WSO2 Carbon - BAM Service Statistics Data
 Publisher Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.bam.data.publisher.servicestats.feature.group
 3.2.0.SNAPSHOT) requires 'org.wso2.carbon.event.ui.feature.group
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/appserver/modules/p2-profile-gen/service/target/p2-agent/configuration/1305871571079.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 326 minutes 42 seconds
 [INFO] Finished at: Fri May 20 06:06:36 UTC 2011
 [INFO] Final Memory: 1486M/1665M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Software Engineer; WSO2 Inc.; http://wso2.com,
 *email: denis 

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi,

On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi am...@wso2.com wrote:

  renamed the admin and every one Roles. But still see the admin role as.


You have to clean the database. You can see the new admin role. If you want
to delete the existing admin role you have to explicitly delete it.
user-mgt.xml is only for configuration. It is not recommended to use it for
subsequent start-ups.

In-order to avoid this confusion I propose to check for -Dsetup option
when creating initial data in the database. WDYT ?

tx,
dimuthul



 Please see the attachments.

 thanks,
 Amila,


 tx,
 dimuthul


 And also,

 userRealm.getAuthorizationManager().isUserAuthorized(
 loggedInUser, topicResourcePath,
 EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)

 returns false if user is not explicitly given the permission to that
 resource. But in carbon there is a convention to
 allow any user in admin role to do any activity. Then why don't we add
 that rule too to the user manager.

 Then everyone does not have to repeat admin role check every where.

 thanks,
 Amila.


 [1] https://wso2.org/jira/browse/CARBON-9959

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi,

Please see my comments inline.

On Tue, May 17, 2011 at 9:34 AM, Amila Suriarachchi am...@wso2.com wrote:

 In the user-mgt.xml we have,

 Configuration
 AdminRoleadmin/AdminRole
 AdminUser
  UserNameadmin/UserName
  Passwordadmin/Password
 /AdminUser
 EveryOneRoleNameeveryone/EveryOneRoleName !-- By default
 users in this role sees the registry root --/Configuration

 It seems there is no real admin user or admin role concept in carbon. What
 it does is create a user with the given user name and password and assign a
 role to that user given in Admin Role.

 Then this admin role is assigned all the permissions given in the
 compoent.xml files.

 In otherwords we only have the static permissions we define before the
 server starts. But there can be stituations where we need to create
 resourceIDs and assign permissions to them at system runtime. eg. adding
 queues, topics.
 And also I am not sure how this model work with XCMAL polices or with
 tenant configuration where we talk about a tenant Admin.


You can define dynamic permissions. Otherwise how can users give permissions
to newly created resources in registry?

tx,
dimuthu

 thanks,
 Amila.




 On Tue, May 17, 2011 at 9:21 AM, Amila Suriarachchi am...@wso2.comwrote:

 User manager.xml

 thanks,
 Amila.


 On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Mon, May 16, 2011 at 6:58 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 hi,

 On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 This is regarding this issue[1].

 Can we change the admin role name? if so what is the meaning of the
 ADMIN_ROLE = admin in
  org.wso2.carbon.utils.ServerConstants?


 We don't have a hard-coded admin rolename.
 +1 for removing it or if it is used for some other purpose rename it.


 I renamed the admin and every one Roles. But still see the admin role as.


 Please see the attachments.

 thanks,
 Amila,


 tx,
 dimuthul


 And also,

 userRealm.getAuthorizationManager().isUserAuthorized(
 loggedInUser, topicResourcePath,

 EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)

 returns false if user is not explicitly given the permission to that
 resource. But in carbon there is a convention to
 allow any user in admin role to do any activity. Then why don't we add
 that rule too to the user manager.

 Then everyone does not have to repeat admin role check every where.

 thanks,
 Amila.


 [1] https://wso2.org/jira/browse/CARBON-9959

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi,

On Tue, May 17, 2011 at 9:34 AM, Amila Suriarachchi am...@wso2.com wrote:

 In the user-mgt.xml we have,

 Configuration
 AdminRoleadmin/AdminRole
 AdminUser
  UserNameadmin/UserName
  Passwordadmin/Password
 /AdminUser
 EveryOneRoleNameeveryone/EveryOneRoleName !-- By default
 users in this role sees the registry root --/Configuration

 It seems there is no real admin user or admin role concept in carbon. What
 it does is create a user with the given user name and password and assign a
 role to that user given in Admin Role.

 Then this admin role is assigned all the permissions given in the
 compoent.xml files.

 In otherwords we only have the static permissions we define before the
 server starts. But there can be stituations where we need to create
 resourceIDs and assign permissions to them at system runtime. eg. adding
 queues, topics.
 And also I am not sure how this model work with XCMAL polices or with
 tenant configuration where we talk about a tenant Admin.


Permission consist of three things - String entityName, String resourceId,
String action

Here action is fixed. You can have any string for entity and resource. The
only reason action is fixed due to our cache implementation. So if you want
to write to a queue, you can say.

entryName, queueName, write

If you want to read to a queue,  you can say

entryName, queueName, write

tx,
dimuthu


 thanks,
 Amila.




 On Tue, May 17, 2011 at 9:21 AM, Amila Suriarachchi am...@wso2.comwrote:

 User manager.xml

 thanks,
 Amila.


 On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Mon, May 16, 2011 at 6:58 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 hi,

 On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 This is regarding this issue[1].

 Can we change the admin role name? if so what is the meaning of the
 ADMIN_ROLE = admin in
  org.wso2.carbon.utils.ServerConstants?


 We don't have a hard-coded admin rolename.
 +1 for removing it or if it is used for some other purpose rename it.


 I renamed the admin and every one Roles. But still see the admin role as.


 Please see the attachments.

 thanks,
 Amila,


 tx,
 dimuthul


 And also,

 userRealm.getAuthorizationManager().isUserAuthorized(
 loggedInUser, topicResourcePath,

 EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)

 returns false if user is not explicitly given the permission to that
 resource. But in carbon there is a convention to
 allow any user in admin role to do any activity. Then why don't we add
 that rule too to the user manager.

 Then everyone does not have to repeat admin role check every where.

 thanks,
 Amila.


 [1] https://wso2.org/jira/browse/CARBON-9959

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi

On Tue, May 17, 2011 at 5:35 PM, Amila Suriarachchi am...@wso2.com wrote:


 without making assumptions please try yourself with a clean build. In the
 registry permissions section I can only see the admin role (not the
 adminRole I set)


Sorry about this. Created an L1 issue for this. We'll fix it soon.

https://wso2.org/jira/browse/CARBON-10045

tx,
dimuthu



 thanks,
 Amila.


 tx,
 dimuthul



 Please see the attachments.

 thanks,
 Amila,


 tx,
 dimuthul


 And also,

 userRealm.getAuthorizationManager().isUserAuthorized(
 loggedInUser, topicResourcePath,

 EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)

 returns false if user is not explicitly given the permission to that
 resource. But in carbon there is a convention to
 allow any user in admin role to do any activity. Then why don't we add
 that rule too to the user manager.

 Then everyone does not have to repeat admin role check every where.

 thanks,
 Amila.


 [1] https://wso2.org/jira/browse/CARBON-9959

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why do we have Change Password functionality under Configure -- Users and Roles

2011-05-17 Thread Dimuthu Leelarathne
Hi

On Wed, May 18, 2011 at 6:14 AM, Prabath Siriwardena prab...@wso2.comwrote:

 +1

 I guess Change My Password needs to go under My Profile.

 Yes. But my profile isn't in every product.

tx,
dimuthul



 Thanks  regards,
 -Prabath

 On Tue, May 17, 2011 at 11:17 PM, Senaka Fernando sen...@wso2.com wrote:
  When you have Login permissions, you'll see Configure -- Users and
 Roles.
  This is to change the password. But, seeing the Configure menu, even
 without
  having any Configuration-related permissions, is a bit odd, and
 misleading
  isn't it?
 
  Thanks,
  Senaka.
 
  --
  Senaka Fernando
  Product Manager - WSO2 Governance Registry;
  Associate Technical Lead; WSO2 Inc.; http://wso2.com
  Member; Apache Software Foundation; http://apache.org
 
  E-mail: senaka AT wso2.com
  P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
  Linked-In: http://linkedin.com/in/senakafernando
 
  Lean . Enterprise . Middleware
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to check for Admin Role

2011-05-16 Thread Dimuthu Leelarathne
hi,

On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi am...@wso2.com wrote:

 hi,

 This is regarding this issue[1].

 Can we change the admin role name? if so what is the meaning of the
 ADMIN_ROLE = admin in
  org.wso2.carbon.utils.ServerConstants?


We don't have a hard-coded admin rolename.
+1 for removing it or if it is used for some other purpose rename it.

tx,
dimuthul


 And also,

 userRealm.getAuthorizationManager().isUserAuthorized(
 loggedInUser, topicResourcePath,
 EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)

 returns false if user is not explicitly given the permission to that
 resource. But in carbon there is a convention to
 allow any user in admin role to do any activity. Then why don't we add that
 rule too to the user manager.

 Then everyone does not have to repeat admin role check every where.

 thanks,
 Amila.


 [1] https://wso2.org/jira/browse/CARBON-9959

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New set of builds available for smoke testing

2011-05-13 Thread Dimuthu Leelarathne
Hi,

On Fri, May 13, 2011 at 10:08 AM, Afkham Azeez az...@wso2.com wrote:

 Stratos team is a devs team, not a qa team. You guys have to build your
 stuff on a regular basis.


We build our own packs for tests. But we cannot upload them to the builder.
If we can have access to the builder machine, I can trigger a build myself
if our packs are not stable.

tx,
dimuthu



 On May 13, 2011 10:07 AM, Afkham Azeez az...@wso2.com wrote:
  Build your own packs from svn. Don't wait for build team to give you
 packs.
  On May 13, 2011 9:33 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:
  Hi,
 
  On Fri, May 13, 2011 at 9:24 AM, Afkham Azeez az...@wso2.com wrote:
 
  Stratos team  product teams should thoroughly test the Stratos
 services
  from builds from the trunk.
 
  Yes. So can we have a new set of packs?
 
  tx,
  dimuthu
 
 
  On May 13, 2011 9:19 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:
   Hi,
  
   On Fri, May 13, 2011 at 7:54 AM, Sameera Jayasoma same...@wso2.com
  wrote:
  
   RMs, please smoke test and update the google doc. We need to give
 this
   build to qa today.
  
  
   There was a critical issue with Stratos service ativations and it was
  fixed
   only at 11:40pm last night by Azeez. Since the timestamp of these
 packs
  are
   00:*, I don't think our fix has gone in. So it is not useful for
  Stratos
   team to do the smoke test on these packs.
  
   tx,
   dimuthu
  
  
   Thanks,
   Sameera
  
   -- Forwarded message --
   From: Denis Weerasiri
   Date: Friday, May 13, 2011
   Subject: New set of packs available
   To: Sameera Jayasoma
  
  
   Hi Sameera,Packs are available at
   http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/ .
   --
   Thanks,
   Denis
   --
   Denis Weerasiri
   Software Engineer; WSO2 Inc.; http://wso2.com,
   email: denis http://goog_277208233/ [AT] wso2.com
   blog: http://ddweerasiri.blogspot.com
   twitter: http://twitter.com/ddweerasiri
   linked-in: http://lk.linkedin.com/in/ddweerasiri
  
  
  
  
   --
   Sameera Jayasoma
   Technical Lead and Product Manager, WSO2 Carbon
  
   WSO2, Inc. (http://wso2.com)
   email: same...@wso2.com
   blog: http://tech.jayasoma.org
  
   Lean . Enterprise . Middleware
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New set of builds available for smoke testing

2011-05-12 Thread Dimuthu Leelarathne
Hi,

On Fri, May 13, 2011 at 7:54 AM, Sameera Jayasoma same...@wso2.com wrote:

 RMs, please smoke test and update the google doc. We need to give this
 build to qa today.


There was a critical issue with Stratos service ativations and it was fixed
only at 11:40pm last night by Azeez. Since the timestamp of these packs are
00:*, I don't think our fix has gone in. So it is not  useful for Stratos
team to do the smoke test on these packs.

tx,
dimuthu


 Thanks,
 Sameera

 -- Forwarded message --
 From: Denis Weerasiri
 Date: Friday, May 13, 2011
 Subject: New set of packs available
 To: Sameera Jayasoma


 Hi Sameera,Packs are available at
 http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/ .
 --
 Thanks,
 Denis
 --
 Denis Weerasiri
 Software Engineer; WSO2 Inc.; http://wso2.com,
 email: denis http://goog_277208233/ [AT] wso2.com
 blog: http://ddweerasiri.blogspot.com
 twitter: http://twitter.com/ddweerasiri
 linked-in: http://lk.linkedin.com/in/ddweerasiri




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New set of builds available for smoke testing

2011-05-12 Thread Dimuthu Leelarathne
Hi,

On Fri, May 13, 2011 at 9:24 AM, Afkham Azeez az...@wso2.com wrote:

 Stratos team  product teams should thoroughly test the Stratos services
 from builds from the trunk.

Yes. So can we have a new set of packs?

tx,
dimuthu


 On May 13, 2011 9:19 AM, Dimuthu Leelarathne dimut...@wso2.com wrote:
  Hi,
 
  On Fri, May 13, 2011 at 7:54 AM, Sameera Jayasoma same...@wso2.com
 wrote:
 
  RMs, please smoke test and update the google doc. We need to give this
  build to qa today.
 
 
  There was a critical issue with Stratos service ativations and it was
 fixed
  only at 11:40pm last night by Azeez. Since the timestamp of these packs
 are
  00:*, I don't think our fix has gone in. So it is not useful for Stratos
  team to do the smoke test on these packs.
 
  tx,
  dimuthu
 
 
  Thanks,
  Sameera
 
  -- Forwarded message --
  From: Denis Weerasiri
  Date: Friday, May 13, 2011
  Subject: New set of packs available
  To: Sameera Jayasoma
 
 
  Hi Sameera,Packs are available at
  http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/ .
  --
  Thanks,
  Denis
  --
  Denis Weerasiri
  Software Engineer; WSO2 Inc.; http://wso2.com,
  email: denis http://goog_277208233/ [AT] wso2.com
  blog: http://ddweerasiri.blogspot.com
  twitter: http://twitter.com/ddweerasiri
  linked-in: http://lk.linkedin.com/in/ddweerasiri
 
 
 
 
  --
  Sameera Jayasoma
  Technical Lead and Product Manager, WSO2 Carbon
 
  WSO2, Inc. (http://wso2.com)
  email: same...@wso2.com
  blog: http://tech.jayasoma.org
 
  Lean . Enterprise . Middleware
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Skipping Signing Artifacts for Local Builds

2011-05-09 Thread Dimuthu Leelarathne
Hi all,

I tried to avoid sign-artifacts for local builds because it takes a lot of
time. I moved sign plugin to deploy. Still it runs. Does anyone know how to
skip it?

tx,
dimuthul
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Error when svn updating MB product

2011-05-08 Thread Dimuthu Leelarathne
Hi,

I am getting an error when svn updating products/mb. I tried deleting mb
from local file system and getting the svn up again. But it fails.

Dmb/modules/samples/product/jmsclient/ReadMe.txt
Amb/modules/samples/product/jmsclient/README.txt
Dmb/modules/samples/product/wsclient/ReadMe.txt
Amb/modules/samples/product/wsclient/README.txt
svn: REPORT of '/repos/wso2/!svn/vcc/default': Could not read chunk
delimiter: Secure connection truncated (https://svn.wso2.org)
muthulee@muthulee-laptop:~/work/tcarbon-platform/products$ svn up
svn: REPORT of '/repos/wso2/!svn/vcc/default': 404 Not Found (
https://svn.wso2.org)

Anyone else facing this problem?

tx,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error when svn updating MB product

2011-05-08 Thread Dimuthu Leelarathne
Hi,

On Mon, May 9, 2011 at 9:22 AM, Sameera Jayasoma same...@wso2.com wrote:

 This seems to be a network problem.


But the same error  occurs at the same line. So I took a checkout to a
separate place. Now fine.

-dimuthu


 Sameera.

 On Mon, May 9, 2011 at 9:15 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 I am getting an error when svn updating products/mb. I tried deleting mb
 from local file system and getting the svn up again. But it fails.

 Dmb/modules/samples/product/jmsclient/ReadMe.txt
 Amb/modules/samples/product/jmsclient/README.txt
 Dmb/modules/samples/product/wsclient/ReadMe.txt
 Amb/modules/samples/product/wsclient/README.txt
 svn: REPORT of '/repos/wso2/!svn/vcc/default': Could not read chunk
 delimiter: Secure connection truncated (https://svn.wso2.org)
 muthulee@muthulee-laptop:~/work/tcarbon-platform/products$ svn up
 svn: REPORT of '/repos/wso2/!svn/vcc/default': 404 Not Found (
 https://svn.wso2.org)

 Anyone else facing this problem?

 tx,
 dimuthu



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New set of packs are available for Smoke Tests

2011-05-06 Thread Dimuthu Leelarathne
Hi,

Cloud manager smoke test passed.

tx,
dimuthu

On Fri, May 6, 2011 at 11:04 AM, Amila Jayasekara ami...@wso2.com wrote:

 IS smoke tests passed.

 Thanks
 AmilaJ

 On Fri, May 6, 2011 at 12:51 AM, Denis Weerasiri de...@wso2.com wrote:
  Hi devs,
  $subject at http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/ .
  Only ESB is not there.
  --
  Thanks,
  Denis
  --
  Denis Weerasiri
  Software Engineer; WSO2 Inc.; http://wso2.com,
  email: denis [AT] wso2.com
  blog: http://ddweerasiri.blogspot.com
  twitter: http://twitter.com/ddweerasiri
  linked-in: http://lk.linkedin.com/in/ddweerasiri
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why are the table names in different cases?

2011-05-01 Thread Dimuthu Leelarathne
Hi,

All dbscripts are in Caps for both registry and usermanager. Does this
happen in MacOS?

tx,
dimuthu


On Sun, May 1, 2011 at 12:59 PM, Afkham Azeez az...@wso2.com wrote:

 See attached image? Why aren't we being consistent?

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] 30 L1s - 1 more day to go!

2011-04-28 Thread Dimuthu Leelarathne
Hi,

Stratos team has 13 L1 issues. Out of which 11 are code-level L1s. 2 are
none code level L1s.

tx,
dimuthu

On Thu, Apr 28, 2011 at 7:08 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 BTW, it is down to 24 now. We had 50 this morning. So we seem to be doing a
 good job.

 On Thu, Apr 28, 2011 at 6:35 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to review the pending 29 L1s tomorrow, and let us know immediately
 if anyone who has L1s assigned cannot complete this by EoD tomorrow.

 Thanks
 Azeez


 On Thu, Apr 28, 2011 at 5:04 PM, Afkham Azeez az...@wso2.com wrote:

 $subject

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Release Readiness [Stratos] : L1-[17] : L2-[42]

2011-04-26 Thread Dimuthu Leelarathne
Hi,

${subject}

tx,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Stratos IS : bundles.info

2011-04-21 Thread Dimuthu Leelarathne
Hi all,

When I do a build on my local machine, the bundles.info in Stratos IS is
the same as carbon's bundles.info. However bundles.info in IS product has
all the proper features is perfect. I have svn updated yesterday and have
build p2-plugin.

But I tried copying the bundles.info inside
p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT into my
distribution and it seems to work fine so far.

tx,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB Startup Error (Missing advanced/etc/config.xml)

2011-04-12 Thread Dimuthu Leelarathne
Hi,

Look at the OSGI console. It will give you a better idea. I think I know
what it is.

tx,
dimuthu

On Tue, Apr 12, 2011 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi,

 I get the following error when starting an ESB snapshot build from the
 trunk:

 Initialisation Error : File
 /home/hiranya/Projects/Java/carbon-platform/trunk/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/advanced/etc/config.xml
 could not be found. Check the file exists and is readable.

 The above is printed as a sysout and then the startup halts. After that,
 hitting ctrl+c does not stop the server either. I have to kill it
 forcefully. Any idea what's causing this?

 Thanks
 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Dimuthu Leelarathne
Hi,

As we have discussed in a previous thread  (Error while installing
tenant.mgt feature!) we can fix this by taking the svn checkout from
svn.wso2.org completely root to bottom.

And as a precausion we can also do the following.

 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
inside tenant-mgt core feature

I cannot commit the above however.

tx,
dimuthu

On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.com wrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [3 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302097985020.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 

Re: [Carbon-dev] Introducing a new config file - authenticators.xml

2011-04-04 Thread Dimuthu Leelarathne
On Mon, Apr 4, 2011 at 1:21 PM, Thilina Buddhika thili...@wso2.com wrote:

 Sorry about that. All the tags are starting with Upper case letters. This
 is the modified config.

 Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml
 

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 Priority5/Priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 Priority10/Priority
 Config
 Parameter name=LoginPage/carbon/admin/login.jsp/parameter
 Parameter name=ServiceProviderIDcarbonServer/parameter
 Parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /Config
 /Authenticator

 /Authenticators



+1

Thanks,
DimuthuL



 On Mon, Apr 4, 2011 at 1:18 PM, Afkham Azeez az...@wso2.com wrote:

 Why are some tags starting with capitals and others starting with simple
 letters?


 On Mon, Apr 4, 2011 at 1:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 This is a sample configuration of the authenticators.xml.

 It contains a list of authenticator elements where each of them describes
 a different authenticator. Attribute name is a mandatory attr which is
 used to identify each of the authenticator. It is possible to disable an
 installed authenticator. The optional attribute disabled is used for that
 purpose and it defaults to 'false' if not mentioned specifically.

 Each authenticator has a priority level, which is used in runtime to
 identify the authenticator with the highest priority which can handle a
 particular authentication request.

 'Config' element is used for the authenticator specific configurations.
 These configurations are given as parameter elements.

 Authenticators xmlns=
 http://wso2.org/projects/carbon/authenticators.xml;

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 priority5/priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 priority10/priority
 config
 parameter
 name=LoginPage/carbon/admin/login.jsp/parameter
 parameter name=ServiceProviderIDcarbonServer/parameter
 parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /config
 /Authenticator

 /Authenticators


 Please provide your feedback on this model.

 Thanks,
 Thilina

 On Fri, Apr 1, 2011 at 12:02 PM, Sameera Jayasoma same...@wso2.comwrote:



 On Fri, Apr 1, 2011 at 11:46 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 At the moment, we have some configurations related to Carbon
 authenticator framework scattered across multiple configuration files. For
 instance, all the authenticator configurations and priorities are set in 
 the
 carbon.xml and SSO configurations are in the user-mgt.xml. Also since 
 users
 can write their own authenticators and plug into Carbon, we should 
 provide a
 default place to put their configurations.

 After an offline discussion with Azeez, we thought of introducing a new
 config. file called 'authenticators.xml' which will be categorized as an
 advanced configuration file. Users have to modify it only if they want to
 use a different authentication mechanism other than the default
 authenticator.

 WDYT ?


 +1 for applying separation of concerns concept. Merging all
 authenticators related configurations to a single config files is better
 approach.

 Sameera


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: 

Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Dimuthu Leelarathne
Hi,

We have encountered the same problem with the same feature before. It got
fixed mysteriously automatically.

Check the mail with the subject,
[Carbon-dev] IS product build failure

This worries me!

Thanks,
Dimuthu

On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else
 had experienced
 the same before so that I would be able to grab some useful information to
 sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


 On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi,

 I'm running into the following error while installing stratos tenant.mgt
 feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Dimuthu Leelarathne
Hi,

I am working on it. That is why I am concerned.

thx,
dimuthu

On Mon, Apr 4, 2011 at 2:26 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 2:24 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Sameera,

 The necessary log files are attached herewith.

 Seems like this's occurred due to nonexistence of conf folder in
 tenant.mgt.feature.zip.
 Right now I'm delving into the issue further to come up with a fix for
 this. Any help would
 be much appreciated!


 This is an issue with the tenant-mgt feature. Who is working on this
 component?

 Thanks
 Sameera



 Regards,

 On Mon, Apr 4, 2011 at 2:08 PM, Sameera Jayasoma same...@wso2.comwrote:

 Nothing get fixed automatically. :)

 Prabath, can you send all the log files. There should be two.

 Thank
 Sameera


 On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It
 got fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other
 than what's mentioned
 in the mail. That's why I've sent it here to check whether someone
 else had experienced
 the same before so that I would be able to grab some useful
 information to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org

Re: [Carbon-dev] Tenant Registration failure - Stratos Manager 1.1.0

2011-04-04 Thread Dimuthu Leelarathne
Hi,

Fixed.

tx,
dimuthu

On Fri, Apr 1, 2011 at 10:43 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 On Fri, Apr 1, 2011 at 10:13 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 This works in a one week old build I got from AmilaM. Some change done
 this week has broken this.


 Yep. Managed to reproduce on the latest build. I am looking into this.

 thanks,
 dimuthu



 Shankar


 On Fri, Apr 1, 2011 at 8:44 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 Hi,

 When trying to register a tenant in manager (trunk version), getting
 following exception. Any help?

 [2011-04-01 08:42:12,746] ERROR
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Invalid Registry
 Root. The root of the registry must not be a resource.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 [2011-04-01 08:42:12,746] FATAL
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Failed to add the
 root collection to the coreRegistry.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid
 Registry Root. The root of the registry must not be a resource.

 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:357)

 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)

 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)

 at
 org.wso2.carbon.tenant.mgt.core.internal.TenantMgtCoreServiceComponent.getConfigSystemRegistry(TenantMgtCoreServiceComponent.java:109)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.copyUIPermissions(DefaultTenantPersistor.java:226)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:107)

 at
 org.wso2.carbon.tenant.mgt.services.TenantSelfRegistrationService.registerTenant(TenantSelfRegistrationService.java:112)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 at java.lang.reflect.Method.invoke(Method.java:597)

 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)

 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)

 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)

 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)

 at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)

 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)

 at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

 at
 org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:242)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-03 Thread Dimuthu Leelarathne
Hi,

On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 There are many product builds in broken state...


8 errors are due to the following.

[ERROR]  I/O Error while copying /home/carbon/carbon/products/
greg/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/cloud-services-desc.xml
- see details.
[ERROR] Caused by:  java.io.IOException: Target:
/home/carbon/carbon/products/greg/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../conf/cloud-services-desc.xml
already exists
[ERROR] Application failed, log file location:
/home/carbon/carbon/products/greg/modules/p2-profile-gen/service/target/p2-agent/configuration/1301795928079.log

I am looking into this problem.

Thanks,
dimuthu


 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Qpid Frustration

2011-04-01 Thread Dimuthu Leelarathne
Hi,

On Fri, Apr 1, 2011 at 11:12 AM, Pradeep Fernando prad...@wso2.com wrote:

 +1 agreed with danushka. Adding default configuration is not the
 solution for what dimuthu has encountered. In this case dimuthu is
 responsible for making the stratos distribution. Anybody working on
 wso2 product distribution should know what should be done in order to
 get the product running. No excuses.



There is something very wrong here. Either technology or the process. Let me
ask the simple question. How did Qpid config files get copied to all
products and not services? How come services got second hand treatment?
AFAIK Qpid config files were added products by someone from Qpid team.

So lets speculate,

1) Should someone from Stratos team do it?
2) Should the feature be developed as self contained?
3) Should technology be developed to handle this situation? Automatic
copying of config files?
3) Should the RM of each product check the service? At minimum check whether
it starts?

Copying something to 13 products is not an easy task if you want to build
them all check whether anything breaks (speaking by experience because I
have done it). If someone told me adding Qpid config files was my
responsibility I would create time to do it. I fixed it for manager. I
wasn't even aware of it until each server started hanging - one after other.



 If we rely on default configs, then wso2 products will go in to
 production with default configs in the future. (by mistake)


-1. What about the config files we already ship? Don't they have default
configs?

thanks,
dimuthu


But having a default config will serve a different scenario. If a user
 deletes the qpid config files after installing the features, and we
 still want the server to be started then we should have default
 configs.

 --Pradeep
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Qpid Frustration

2011-04-01 Thread Dimuthu Leelarathne
Hi

On Fri, Apr 1, 2011 at 10:47 AM, Danushka Menikkumbura danus...@wso2.comwrote:

 But I think we have a fundamental issue in the way we build products. We
 manually copy stuff (mostly configuration files) from the generated carbon
 distribution to the product pack we build. As I learned from Pradeep the
 generated carbon distribution contains all that should go into the product.


+1

thanks,
dimuthu



 Thanks,
 Danushka



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Tenant Registration failure - Stratos Manager 1.1.0

2011-03-31 Thread Dimuthu Leelarathne
Hi,

On Fri, Apr 1, 2011 at 10:13 AM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 This works in a one week old build I got from AmilaM. Some change done this
 week has broken this.


Yep. Managed to reproduce on the latest build. I am looking into this.

thanks,
dimuthu



 Shankar


 On Fri, Apr 1, 2011 at 8:44 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 Hi,

 When trying to register a tenant in manager (trunk version), getting
 following exception. Any help?

 [2011-04-01 08:42:12,746] ERROR
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Invalid Registry
 Root. The root of the registry must not be a resource.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 [2011-04-01 08:42:12,746] FATAL
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Failed to add the
 root collection to the coreRegistry.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid
 Registry Root. The root of the registry must not be a resource.

 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:357)

 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)

 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)

 at
 org.wso2.carbon.tenant.mgt.core.internal.TenantMgtCoreServiceComponent.getConfigSystemRegistry(TenantMgtCoreServiceComponent.java:109)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.copyUIPermissions(DefaultTenantPersistor.java:226)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:107)

 at
 org.wso2.carbon.tenant.mgt.services.TenantSelfRegistrationService.registerTenant(TenantSelfRegistrationService.java:112)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 at java.lang.reflect.Method.invoke(Method.java:597)

 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)

 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)

 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)

 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)

 at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)

 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)

 at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

 at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:242)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)

 at
 

[Carbon-dev] FYI - Adding alchim.snapshots repo

2011-03-30 Thread Dimuthu Leelarathne
Hi,

I need to add a snapshot repo to the dependencies/openid4java build -
temporarily.

Let me explain why. Upto today dependencies/openid4java was not added to the
build. Our functionality is running and being tested from openid4java
snapshot. I am going to add it today.  It needs higgins snapshots available
at http://alchim.sf.net/download/snapshots. Even though I see
alchim.snapshot as added to Nexus in the dependencies/openid4java/pom.xml,
since it was never compiled it was never added to Nexus cache.

I tried running an online build, but it doesn't populate Nexus either.

I promise to get this fixed before end of week. Pradeep will also help me to
look into the problem.

Thanks,
Dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build break in identity provider

2011-03-30 Thread Dimuthu Leelarathne
Hi,

This is not a typo. I followed the format number.number.number.qualifier.

Please see the commits 91237 and 91240

thanks,
dimuthu



On Wed, Mar 30, 2011 at 5:25 PM, Tharindu Mathew thari...@wso2.com wrote:

 0.9.6.SNAPSHOTwso2v1?? What is this version?

 I built openid4java dependencies and orbit and changed the version to
 0.9.6-SNAPSHOT.wso2v1 in the component root pom and it works. So I assume
 this is a typo that should not have been committed.

 I will commit this change. Please shout if you have a concern.

 [INFO]
 
 [INFO] Building WSO2 Carbon - Identity Provider
 [INFO]task-segment: [install]
 [INFO]
 
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.identity.relyingparty:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
   1)
 org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT
   2) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

 --
 1 required artifact is missing.

 for artifact:
   org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 13 minutes 15 seconds
 [INFO] Finished at: Wed Mar 30 17:07:55 IST 2011
 [INFO] Final Memory: 488M/1694M
 [INFO]
 


 --
 Regards,

 Tharindu


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build break in identity provider

2011-03-30 Thread Dimuthu Leelarathne
Hi,

For dependencies you put the version like that. For orbit bundles the format
is nubmer.nuber.number.qualifier.

Thanks,
Dimuthu

On Wed, Mar 30, 2011 at 7:42 PM, Tharindu Mathew thari...@wso2.com wrote:

 I believe then the version should 0.9.6.SNAPSHOT-wso2v1


 On Wed, Mar 30, 2011 at 6:15 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 This is not a typo. I followed the format number.number.number.qualifier.

 Please see the commits 91237 and 91240

 thanks,
 dimuthu



 On Wed, Mar 30, 2011 at 5:25 PM, Tharindu Mathew thari...@wso2.comwrote:

 0.9.6.SNAPSHOTwso2v1?? What is this version?

 I built openid4java dependencies and orbit and changed the version to
 0.9.6-SNAPSHOT.wso2v1 in the component root pom and it works. So I assume
 this is a typo that should not have been committed.

 I will commit this change. Please shout if you have a concern.

 [INFO]
 
 [INFO] Building WSO2 Carbon - Identity Provider
 [INFO]task-segment: [install]
 [INFO]
 
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.identity.relyingparty:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
   1)
 org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT
   2) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

 --
 1 required artifact is missing.

 for artifact:
   org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 13 minutes 15 seconds
 [INFO] Finished at: Wed Mar 30 17:07:55 IST 2011
 [INFO] Final Memory: 488M/1694M
 [INFO]
 


 --
 Regards,

 Tharindu


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 --
 Regards,

 Tharindu


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build break in identity provider

2011-03-30 Thread Dimuthu Leelarathne
Hi,

On Wed, Mar 30, 2011 at 8:01 PM, Tharindu Mathew thari...@wso2.com wrote:

 Take a look at how these orbit versions are done. It's still
 number.number.number.qualifier !

 wsdl-validator.version1.2.0.SNAPSHOT-wso2v1/wsdl-validator.version


Wrong!! If this is a bundle correct version is wsdl-validator.wso2


 opensaml2.wso2.version2.0.0.alpha1-wso2v1/opensaml2.wso2.version


Wrong again!!  This should either be
2.0.0.alpha1.wso2v1 or  2.0.0.alpha1wso2v1


We can carry out a meaningful argument about picking one of the later. So
you can argue that 0.9.6.SNAPSHOTwso2v1 should be 0.9.6.SNAPSHOT.wso2v1  :)
But i prefer 0.9.6.SNAPSHOT.wso2v1 because it is simpler to me. Why?
number.number.number.qualifier.

Thanks,
Dimuthu

thanks,
dimuthu



 On Wed, Mar 30, 2011 at 7:52 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 For dependencies you put the version like that. For orbit bundles the
 format is nubmer.nuber.number.qualifier.

 Thanks,
 Dimuthu


 On Wed, Mar 30, 2011 at 7:42 PM, Tharindu Mathew thari...@wso2.comwrote:

 I believe then the version should 0.9.6.SNAPSHOT-wso2v1


 On Wed, Mar 30, 2011 at 6:15 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 This is not a typo. I followed the format
 number.number.number.qualifier.

 Please see the commits 91237 and 91240

 thanks,
 dimuthu



 On Wed, Mar 30, 2011 at 5:25 PM, Tharindu Mathew thari...@wso2.comwrote:

 0.9.6.SNAPSHOTwso2v1?? What is this version?

 I built openid4java dependencies and orbit and changed the version to
 0.9.6-SNAPSHOT.wso2v1 in the component root pom and it works. So I assume
 this is a typo that should not have been committed.

 I will commit this change. Please shout if you have a concern.

 [INFO]
 
 [INFO] Building WSO2 Carbon - Identity Provider
 [INFO]task-segment: [install]
 [INFO]
 
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.identity.relyingparty:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the
 file there:
   mvn deploy:deploy-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
   1)
 org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT
   2)
 org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

 --
 1 required artifact is missing.

 for artifact:

 org.wso2.carbon:org.wso2.carbon.identity.provider:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO

Re: [Carbon-dev] Build break in identity provider

2011-03-30 Thread Dimuthu Leelarathne
hi,

It is not a personal preference. It is wrong to use - in bundles. What
Tharidu is suggesting is wrong. The examples Tharindu has given are wrong.

We have clearly defined using the following versioning for bundles is the
wrong standard.
0.9.6.SNAPSHOT-wso2v1

It should either be one of the following.
0.9.6.SNAPSHOT.wso2v1
0.9.6.SNAPSHOTwso2v1

We haven't clearly defined the correct version from one of the above. So
let's create a standard now.

thanks,
dimuthu


On Wed, Mar 30, 2011 at 8:20 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Mar 30, 2011 at 8:17 PM, Tharindu Mathew thari...@wso2.comwrote:

 On Wed, Mar 30, 2011 at 8:12 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 On Wed, Mar 30, 2011 at 8:01 PM, Tharindu Mathew thari...@wso2.comwrote:

 Take a look at how these orbit versions are done. It's still
 number.number.number.qualifier !

 wsdl-validator.version1.2.0.SNAPSHOT-wso2v1/wsdl-validator.version


 Wrong!! If this is a bundle correct version is wsdl-validator.wso2


 opensaml2.wso2.version2.0.0.alpha1-wso2v1/opensaml2.wso2.version


 Wrong again!!  This should either be
 2.0.0.alpha1.wso2v1 or  2.0.0.alpha1wso2v1


 We can carry out a meaningful argument about picking one of the later. So
 you can argue that 0.9.6.SNAPSHOTwso2v1 should be 0.9.6.SNAPSHOT.wso2v1  :)
 But i prefer 0.9.6.SNAPSHOT.wso2v1 because it is simpler to me. Why?
 number.number.number.qualifier.

 No arguments here :) Let's get the others to change :P



 Just follow the convention everybody else has been following, and do not go
 for personal preferences. If you want to change the global versioning style,
 start a discussion on that.



 Thanks,
 Dimuthu

 thanks,
 dimuthu



 On Wed, Mar 30, 2011 at 7:52 PM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:

 Hi,

 For dependencies you put the version like that. For orbit bundles the
 format is nubmer.nuber.number.qualifier.

 Thanks,
 Dimuthu


 On Wed, Mar 30, 2011 at 7:42 PM, Tharindu Mathew thari...@wso2.comwrote:

 I believe then the version should 0.9.6.SNAPSHOT-wso2v1


 On Wed, Mar 30, 2011 at 6:15 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi,

 This is not a typo. I followed the format
 number.number.number.qualifier.

 Please see the commits 91237 and 91240

 thanks,
 dimuthu



 On Wed, Mar 30, 2011 at 5:25 PM, Tharindu Mathew 
 thari...@wso2.comwrote:

 0.9.6.SNAPSHOTwso2v1?? What is this version?

 I built openid4java dependencies and orbit and changed the version
 to 0.9.6-SNAPSHOT.wso2v1 in the component root pom and it works. So I 
 assume
 this is a typo that should not have been committed.

 I will commit this change. Please shout if you have a concern.

 [INFO]
 
 [INFO] Building WSO2 Carbon - Identity Provider
 [INFO]task-segment: [install]
 [INFO]
 
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.pom
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:pom:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.identity.relyingparty:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo1.maven.org/maven2/org/openid4java/wso2/openid4java-nodeps/0.9.6.SNAPSHOTwso2v1/openid4java-nodeps-0.9.6.SNAPSHOTwso2v1.jar
 [INFO] Unable to find resource
 'org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1' in
 repository central (http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.openid4java.wso2:openid4java-nodeps:jar:0.9.6.SNAPSHOTwso2v1

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.openid4java.wso2
 -DartifactId=openid4java-nodeps -Dversion=0.9.6.SNAPSHOTwso2v1
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively

[Carbon-dev] Qpid Frustration

2011-03-30 Thread Dimuthu Leelarathne
Hi,

I am having a really hard time coping with Qpid instability. I did an svn up
yesterday and build everything. Since BAM didn't start up, I did an svn up
of all Qpid related artifacts and build them again.

But still BAM doesn't start up because of Qpid config files !
#$%$^%^%$#%

Here are the the qpid related I build again.

dependencies/qpid
orbit/qpid
orbit/qpid-client
components/qpid
features/qpid

And finallly BAM. I cannot commit my GApp feature or test it with any
product because of this.

Here is the error I get.

[2011-03-30 22:34:09,293] ERROR
{org.wso2.carbon.qpid.service.QpidServiceImpl} -
/home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/config.xml
not found
Initialisation Error : File
/home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
could not be found. Check the file exists and is readable.

Please help.

tx,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Qpid Frustration

2011-03-30 Thread Dimuthu Leelarathne
Hi,

As Manjula pointed out (offline) I had to build features/event as well.
Now the server starts.

tx,
dimuthu

On Wed, Mar 30, 2011 at 10:46 PM, Tharindu Mathew thari...@wso2.com wrote:

 Even though qpid files are not present BAM starts up.

 [2011-03-30 22:44:47,554]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS
 port   : 9443
 [2011-03-30 22:44:47,555]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP
 port: 9763
 [2011-03-30 22:44:47,631] ERROR
 {org.wso2.carbon.qpid.service.QpidServiceImpl} -
 /home/mackie/source-checkouts/carbon/products/bam/modules/distribution/product/target/wso2bam-1.3.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
 not found
 [2011-03-30 22:44:47,647] ERROR
 {org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Failed to start Qpid
 broker : File
 /home/mackie/source-checkouts/carbon/products/bam/modules/distribution/product/target/wso2bam-1.3.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
 could not be found. Check the file exists and is readable.
 [2011-03-30 22:44:51,210]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  :
 https://192.168.1.38:9443/carbon/
 [2011-03-30 22:44:51,241]  INFO
 {org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS} -
 Successfully registered the event broker
 [2011-03-30 22:44:51,257]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2011-03-30 22:44:51,258]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
 Server   :  WSO2 Business Activity Monitor-1.3.0-SNAPSHOT
 [2011-03-30 22:44:51,258]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 45 sec


 On Wed, Mar 30, 2011 at 10:38 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 I am having a really hard time coping with Qpid instability. I did an svn
 up yesterday and build everything. Since BAM didn't start up, I did an svn
 up of all Qpid related artifacts and build them again.

 But still BAM doesn't start up because of Qpid config files !
 #$%$^%^%$#%

 Here are the the qpid related I build again.

 dependencies/qpid
 orbit/qpid
 orbit/qpid-client
 components/qpid
 features/qpid

 And finallly BAM. I cannot commit my GApp feature or test it with any
 product because of this.

 Here is the error I get.

 [2011-03-30 22:34:09,293] ERROR
 {org.wso2.carbon.qpid.service.QpidServiceImpl} -
 /home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 Please help.

 tx,
 dimuthu




 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Qpid Frustration

2011-03-30 Thread Dimuthu Leelarathne
Hi,

On Wed, Mar 30, 2011 at 11:46 PM, Danushka Menikkumbura
danus...@wso2.comwrote:

 The event team has repeatedly pointed out that qpid gets installed as a
 result of installing event. No product does use qpid alone as far as I know.
 Even in that case it is your responsibility to install what you need. Also
 you guys not reading mails is your problem. I do not want to pay the price
 for all that.


Today (at this moment) after a long time I was able to get the Stratos
services up and running. Since Carbon still can't copy the configuration
files with the feature at build time (I think people call it advanced
folder), I think best thing should have been to just let the server start if
these files are not present, just as it happens now.

Thanks a lot for fixing it.

Dimuthu



 Yes. This is indeed frustrating!

 Danushka

 On Wed, Mar 30, 2011 at 10:43 PM, Afkham Azeez az...@wso2.com wrote:

 Danushka or whoever is responsible for creating these issues, please fix
 this asap. We don't want to see this tomorrow morning !
  On Mar 30, 2011 10:39 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:
  Hi,
 
  I am having a really hard time coping with Qpid instability. I did an
 svn up
  yesterday and build everything. Since BAM didn't start up, I did an svn
 up
  of all Qpid related artifacts and build them again.
 
  But still BAM doesn't start up because of Qpid config files !
  #$%$^%^%$#%
 
  Here are the the qpid related I build again.
 
  dependencies/qpid
  orbit/qpid
  orbit/qpid-client
  components/qpid
  features/qpid
 
  And finallly BAM. I cannot commit my GApp feature or test it with any
  product because of this.
 
  Here is the error I get.
 
  [2011-03-30 22:34:09,293] ERROR
  {org.wso2.carbon.qpid.service.QpidServiceImpl} -
 
 /home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/config.xml
  not found
  Initialisation Error : File
 
 /home/muthulee/work/tcarbon-platform/products/bam/modules/distribution/service/target/wso2stratos-bam-1.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
  could not be found. Check the file exists and is readable.
 
  Please help.
 
  tx,
  dimuthu

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error occurred while performing an SVN update.

2011-03-29 Thread Dimuthu Leelarathne
Hi,

SVN can fetch files as externs from SVN 1.6 and +

Thanks,
Dimuthu

On Tue, Mar 29, 2011 at 1:45 PM, Sameera Jayasoma same...@wso2.com wrote:

 Fetching external item into
 'products/dss/modules/samples/product/shopping_cart/sql'
 Updated external to revision 91126.


 Fetching external item into
 'products/is/modules/distribution/service/conf/cloud-services-desc.xml'
 svn: URL '
 https://svn.wso2.org/repos/wso2/trunk/carbon/products/manager/conf/cloud-services-desc.xml'
 refers to a file, not a directory

 IS team, please looking to this.

 Thanks,
 Sameera


 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Avoiding SVN Externals

2011-03-28 Thread Dimuthu Leelarathne
Hi,

We can avoid some (not all) svn externals by maintaining copies of the same
file. But we need to ensure that they are exact replica with each other. I
think we should check whether they are exact replica at the commit time,
either on server side or client side.

We can use a pre-commit-hook for this or some similar technology.

One option would be,
http://wordaligned.org/articles/a-subversion-pre-commit-hook

WDYT?

thanks,
dimuthu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Where to find qpid/config.xml?

2011-03-27 Thread Dimuthu Leelarathne
Hi,

The following in bin.xml would solve the problem for now. [1]

I wrote this before and I am saying it AGAIN here. There is a programming
issue here. We need to fix the Qpid such that it reads the qpid files from
within the bundle if it is not present in the repository/conf directory. At
minimum we need to fix Qpid to let the server start even if config files are
not there.

Thanks,
Dimuthu

[1]
fileSet
directory

../../p2-profile-gen/service/target/wso2carbon-core-${carbon.version}/repository/conf/qpid/

/directory

outputDirectory${pom.artifactId}-${pom.version}/repository/conf/qpid
/outputDirectory
includes
include**/*/include
/includes
/fileSet

tx,
dimuthu

On Mon, Mar 28, 2011 at 1:28 AM, Afkham Azeez az...@wso2.com wrote:

 Now AS is not starting in the trunk. Can you please remove this event
 component for the time being?

 On Sun, Mar 27, 2011 at 2:39 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 When I add the new event component into AS and try to start the server, it
 gives the following error and startup fails.

 [2011-03-27 13:01:53,082] ERROR
 {org.wso2.carbon.qpid.service.QpidServiceImpl} -
  
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 [2011-03-27 13:02:51,916]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 [2011-03-27 13:02:51,919]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-trust-1.6.1.wso2v1
 [2011-03-27 13:02:51,920]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-core-1.6.1.wso2v1


 From where I can find this qpid/config.xml? Should it be included in all
 products using eventing?

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Where to find qpid/config.xml?

2011-03-27 Thread Dimuthu Leelarathne
Hi Manjula,

None of the Stratos services are starting because of this. I know all
Startos services have errors during start-up, but they do not hang the
server (except the one in ESB - I am looking into it). All other services
are hanging because of this.

This is a simple programming fix. Other solution is you can also copy the
Qpid config files to all services as well. Please take one of the actions.

If you are going to fix it programmaticly please refer user.core bundle. We
let servers to start up even when claim-mgt.xml bundle is not in
repository/conf directory.

Sample code is available here
org.wso2.carbon.user.core.claim.builder.ClaimBuilder:getRootElement()

Thanks,
Dimuthu

[1]

On Mon, Mar 28, 2011 at 9:16 AM, Manjula Rathnayake manju...@wso2.comwrote:



 On Mon, Mar 28, 2011 at 1:28 AM, Afkham Azeez az...@wso2.com wrote:

 Now AS is not starting in the trunk. Can you please remove this event
 component for the time being?

 On Sun, Mar 27, 2011 at 2:39 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 When I add the new event component into AS and try to start the server,
 it gives the following error and startup fails.

 [2011-03-27 13:01:53,082] ERROR
 {org.wso2.carbon.qpid.service.QpidServiceImpl} -
  
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 [2011-03-27 13:02:51,916]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
 delayed due to the following unsatisfied items:
 [2011-03-27 13:02:51,919]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-trust-1.6.1.wso2v1
 [2011-03-27 13:02:51,920]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-core-1.6.1.wso2v1


 From where I can find this qpid/config.xml? Should it be included in all
 products using eventing?


 Sorry for late reply, I added qpid broker config files to appserver service
 but not to product since it did not used new event feature.
 I will add those config files to product as well.

 Thank you.


 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Where to find qpid/config.xml?

2011-03-27 Thread Dimuthu Leelarathne
Hi,

On Mon, Mar 28, 2011 at 9:36 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I think from maintenance perspective, the best thing to do is to fix the
 component so that it will try to read an embedded configuration when a
 configuration is not available in the conf directory. That will make the
 component more self contained and portable to different products/services.



+1. I have given the sample code as well.


Thanks
Hiranya.



 Thanks,
 Hiranya


 On Mon, Mar 28, 2011 at 9:34 AM, Manjula Rathnayake manju...@wso2.comwrote:



 On Mon, Mar 28, 2011 at 9:32 AM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Here I am attaching svn diff for bam, bps, ms and esb services.
 Since I am getting server startup errors, I didnt commit these chages
 except for app server.
 Please apply the diff from product root.

 Thank you.


 On Mon, Mar 28, 2011 at 9:28 AM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi Manjula,

 None of the Stratos services are starting because of this. I know all
 Startos services have errors during start-up, but they do not hang the
 server (except the one in ESB - I am looking into it). All other services
 are hanging because of this.

 This is a simple programming fix. Other solution is you can also copy
 the Qpid config files to all services as well. Please take one of the
 actions.

 As I saw, Not all services are using new event feature.


 If you are going to fix it programmaticly please refer user.core bundle.
 We let servers to start up even when claim-mgt.xml bundle is not in
 repository/conf directory.

 Sample code is available here
 org.wso2.carbon.user.core.claim.builder.ClaimBuilder:getRootElement()

 Thanks,
 Dimuthu

 [1]


 On Mon, Mar 28, 2011 at 9:16 AM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Mon, Mar 28, 2011 at 1:28 AM, Afkham Azeez az...@wso2.com wrote:

 Now AS is not starting in the trunk. Can you please remove this event
 component for the time being?

 On Sun, Mar 27, 2011 at 2:39 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:

 Hi all,

 When I add the new event component into AS and try to start the
 server, it gives the following error and startup fails.

 [2011-03-27 13:01:53,082] ERROR
 {org.wso2.carbon.qpid.service.QpidServiceImpl} -
  
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 [2011-03-27 13:02:51,916]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon 
 initialization is
 delayed due to the following unsatisfied items:
 [2011-03-27 13:02:51,919]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-trust-1.6.1.wso2v1
 [2011-03-27 13:02:51,920]  WARN
 {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
 Module: rampart-core-1.6.1.wso2v1


 From where I can find this qpid/config.xml? Should it be included in
 all products using eventing?


 Sorry for late reply, I added qpid broker config files to appserver
 service but not to product since it did not used new event feature.
 I will add those config files to product as well.

 Thank you.


 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

  1   2   3   >