Re: [Dev] [Blocker] Rampart handlers consuming 8% time during an invocation even if security is not engaged

2012-09-05 Thread Sagara Gunathunga
Hi Hasini,

Can you please provide same patch for Rampart Apache trunk too ?

Thanks !

On Tue, Sep 4, 2012 at 11:47 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Attaching the modifications at Rampart handlers level which caused slight
 improvement.
 Please review and commit.

 We can also consider removing rampart module (i.e security phase) from
 global phase in a future release so that rampart handlers will not be
 invoked for each service call.

 Thanks,
 Hasini.


 On Tue, Sep 4, 2012 at 4:55 PM, Afkham Azeez az...@wso2.com wrote:

 Just by making the following change we were able to see a performance
 improvement of close to 20% !!!

 Index: src/org/apache/axis2/description/AxisModule.java
 ===
 --- src/org/apache/axis2/description/AxisModule.java (revision 141042)
 +++ src/org/apache/axis2/description/AxisModule.java (working copy)
 @@ -129,8 +129,17 @@
   *
   * @return the archive name of the module
   */
 +private String archiveName;
 +
  public String getArchiveName() {
 -return version == null ? name : (name + - + version);
 +if (archiveName == null){
 +if(version == null){
 +archiveName = name;
 +} else {
 +archiveName = name + - + version;
 +}
 +}
 +return archiveName;
  }

 On Tue, Sep 4, 2012 at 2:27 PM, Afkham Azeez az...@wso2.com wrote:

 This is a simple echo service which has not been secured. In the in
 flow, the overhead caused by the rampart handlers is 8%  in the out flow
 the overhead is 12%. So, we can improve performance by 20% just by
 optimizing this bit of code.

 Azeez


 On Tue, Sep 4, 2012 at 2:23 PM, Prabath Siriwardena prab...@wso2.comwrote:

 What is the security policy you used here..?

 Thanks  regards,
 -Prabath


 On Tue, Sep 4, 2012 at 2:20 PM, Afkham Azeez az...@wso2.com wrote:

 Rampart handlers are causing much higher overhead in the outflow. See
 attached screenshot.



 On Tue, Sep 4, 2012 at 2:16 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Will look into this.

 Thanks,
 Hasini.

 On Tue, Sep 4, 2012 at 2:06 PM, Afkham Azeez az...@wso2.com wrote:

 See attached jprofiler screenshot.

 The main culprit seems to be the isEngaged method call which is
 repeatedly building the module name. The fix should be simple, we could
 remember the module name. Prabath et. al. please take this up urgently.

 --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*



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




-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services ;  http://ws.apache.org/
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] Rampart handlers consuming 8% time during an invocation even if security is not engaged

2012-09-05 Thread Hasini Gunasinghe
Hi Sagara,

Sure, will do.

Thanks,
Hasini.

On Wed, Sep 5, 2012 at 11:42 AM, Sagara Gunathunga sag...@wso2.com wrote:

 Hi Hasini,

 Can you please provide same patch for Rampart Apache trunk too ?

 Thanks !

 On Tue, Sep 4, 2012 at 11:47 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Attaching the modifications at Rampart handlers level which caused slight
 improvement.
 Please review and commit.

 We can also consider removing rampart module (i.e security phase) from
 global phase in a future release so that rampart handlers will not be
 invoked for each service call.

 Thanks,
 Hasini.


 On Tue, Sep 4, 2012 at 4:55 PM, Afkham Azeez az...@wso2.com wrote:

 Just by making the following change we were able to see a performance
 improvement of close to 20% !!!

 Index: src/org/apache/axis2/description/AxisModule.java
 ===
 --- src/org/apache/axis2/description/AxisModule.java (revision 141042)
 +++ src/org/apache/axis2/description/AxisModule.java (working copy)
 @@ -129,8 +129,17 @@
   *
   * @return the archive name of the module
   */
 +private String archiveName;
 +
  public String getArchiveName() {
 -return version == null ? name : (name + - + version);
 +if (archiveName == null){
 +if(version == null){
 +archiveName = name;
 +} else {
 +archiveName = name + - + version;
 +}
 +}
 +return archiveName;
  }

 On Tue, Sep 4, 2012 at 2:27 PM, Afkham Azeez az...@wso2.com wrote:

 This is a simple echo service which has not been secured. In the in
 flow, the overhead caused by the rampart handlers is 8%  in the out flow
 the overhead is 12%. So, we can improve performance by 20% just by
 optimizing this bit of code.

 Azeez


 On Tue, Sep 4, 2012 at 2:23 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 What is the security policy you used here..?

 Thanks  regards,
 -Prabath


 On Tue, Sep 4, 2012 at 2:20 PM, Afkham Azeez az...@wso2.com wrote:

 Rampart handlers are causing much higher overhead in the outflow. See
 attached screenshot.



 On Tue, Sep 4, 2012 at 2:16 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Will look into this.

 Thanks,
 Hasini.

 On Tue, Sep 4, 2012 at 2:06 PM, Afkham Azeez az...@wso2.com wrote:

 See attached jprofiler screenshot.

 The main culprit seems to be the isEngaged method call which is
 repeatedly building the module name. The fix should be simple, we could
 remember the module name. Prabath et. al. please take this up urgently.

 --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*



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




 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services ;  http://ws.apache.org/
 Blog ;  http://ssagara.blogspot.com



Re: [Dev] [Blocker] Rampart handlers consuming 8% time during an invocation even if security is not engaged

2012-09-05 Thread Afkham Azeez
I have already committed the perf improvement part in Axis2 to Apache trunk.

On Wed, Sep 5, 2012 at 11:42 AM, Sagara Gunathunga sag...@wso2.com wrote:

 Hi Hasini,

 Can you please provide same patch for Rampart Apache trunk too ?

 Thanks !

 On Tue, Sep 4, 2012 at 11:47 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Attaching the modifications at Rampart handlers level which caused slight
 improvement.
 Please review and commit.

 We can also consider removing rampart module (i.e security phase) from
 global phase in a future release so that rampart handlers will not be
 invoked for each service call.

 Thanks,
 Hasini.


 On Tue, Sep 4, 2012 at 4:55 PM, Afkham Azeez az...@wso2.com wrote:

 Just by making the following change we were able to see a performance
 improvement of close to 20% !!!

 Index: src/org/apache/axis2/description/AxisModule.java
 ===
 --- src/org/apache/axis2/description/AxisModule.java (revision 141042)
 +++ src/org/apache/axis2/description/AxisModule.java (working copy)
 @@ -129,8 +129,17 @@
   *
   * @return the archive name of the module
   */
 +private String archiveName;
 +
  public String getArchiveName() {
 -return version == null ? name : (name + - + version);
 +if (archiveName == null){
 +if(version == null){
 +archiveName = name;
 +} else {
 +archiveName = name + - + version;
 +}
 +}
 +return archiveName;
  }

 On Tue, Sep 4, 2012 at 2:27 PM, Afkham Azeez az...@wso2.com wrote:

 This is a simple echo service which has not been secured. In the in
 flow, the overhead caused by the rampart handlers is 8%  in the out flow
 the overhead is 12%. So, we can improve performance by 20% just by
 optimizing this bit of code.

 Azeez


 On Tue, Sep 4, 2012 at 2:23 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 What is the security policy you used here..?

 Thanks  regards,
 -Prabath


 On Tue, Sep 4, 2012 at 2:20 PM, Afkham Azeez az...@wso2.com wrote:

 Rampart handlers are causing much higher overhead in the outflow. See
 attached screenshot.



 On Tue, Sep 4, 2012 at 2:16 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Will look into this.

 Thanks,
 Hasini.

 On Tue, Sep 4, 2012 at 2:06 PM, Afkham Azeez az...@wso2.com wrote:

 See attached jprofiler screenshot.

 The main culprit seems to be the isEngaged method call which is
 repeatedly building the module name. The fix should be simple, we could
 remember the module name. Prabath et. al. please take this up urgently.

 --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*



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




 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services ;  http://ws.apache.org/
 Blog ;  

Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Afkham Azeez
On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


:) You have discovered an easter egg in Carbon :) If a user tries to login
as admin@carbon.super we should throw an authentication failure. Can we get
this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-05 Thread Harshana Martin
Hi Shankar,

On Wed, Sep 5, 2012 at 9:48 AM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:



 On Wed, Sep 5, 2012 at 9:46 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi Shankar,

 On Sep 5, 2012 8:44 AM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:
 
 
 
  On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin harsh...@wso2.com
 wrote:
 
  Hi Shankar,
 
  On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:
 
  I didn't understand your requirements fully. Why do you need the
 tenant Id? Normally, you logged in using correct tenant username, and
 internally it will handle it. We do not need to handle this at the dev
 studio level. Can you explain what kind of operations you are trying to do?
 
 
  Previously we deployed C-App to a common location of
 repository/deployment/server/carbonapps location. But now servers running
 in tenant mode, deploying the C-App to super tenant is wrong IMO.
 
  If an user adds a Remote Server to Developer Studio, user provide the
 server URL. So that URL is now contains tenant domiain. Therefore we need
 the Tenant Id corresponding to Tenant Domain to deploy the C-App to remote
 Server now.
 
  Therefore now we need the Tenant Id at the Dev Studio side.
 
 
  No, IMO, user gives the server URL as
 https://appserver.stratoslive.wso2.com  and user name as f...@bar.com
 
  Even previously, we used to do that, and developer studio uses (AFAIK)
 CApp uploader admin service by passing above username. In that case, it
 will be deployed to correct tenant. Developer studio will not be able to
 copy the file to a location in file system. If you calculate that path and
 copy, now that logic is in two places (dev studio and CApp uploader admin
 service). I believe, you should use the admin service only.

 Yes. This is correct for remote servers. The problem occurs for local
 servers.

 For local servers we use the file system for this operation but not the
 admin service. In rhat casr we have it.

 But for local severs also we can use the admin service. But it will
 slowdown the deployment a bit.


 But, isn't it clean? The logic should be only in one place for
 maintainability, IMO :).


True. I agree!!

It's clean and maintainable but it adds an extra couple of seconds overhead
to Car deployment :-).

Anyway I'll use the C-App uploading Admin service instead of writing new
admin service to expose the Tenant Id.

Thanks and Regards,
Harshana


 Shankar



 Thanks and Regards,
 Harahana

 
  Shankar
 
 
 
 
  Thanks and Regards,
  Harshana
 
 
  Shankar
 
 
  On Tuesday, September 4, 2012, Harshana Martin wrote:
 
  Hi All,
 
  Can someone explain $Subject?
 
  We need to get the Tenant Id for C-App deployment to Servers from
 Dev Studio. Now that servers running in Service mode, C-App deployment also
 has to be tenant specific. Therefore we need this.
 
  Is there any existing Admin Service we can reuse? If yes, can
 someone point it to me?
 
  Thanks and Regards,
  Harshana
  --
  Harshana Martin
  Senior Software Engineer
  Member, Management Committee - Development Technologies
  WSO2 Inc. : http://wso2.com ; http://wso2.org
  Mobile: +94 775 998 115
  Profile: https://www.google.com/profiles/harshana05
  Blog: http://harshana05.blogspot.com
  Twitter: http://twitter.com/harshana05
 
 
 
 
  --
  S.Uthaiyashankar
  Director, Cloud Solutions
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 
  Phone: +94 714897591
 
 
 
 
  --
  Harshana Martin
  Senior Software Engineer
  Member, Management Committee - Development Technologies
  WSO2 Inc. : http://wso2.com ; http://wso2.org
  Mobile: +94 775 998 115
  Profile: https://www.google.com/profiles/harshana05
  Blog: http://harshana05.blogspot.com
  Twitter: http://twitter.com/harshana05
 
 
 
 
 
  --
  S.Uthaiyashankar
  Director, Cloud Solutions
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 
  Phone: +94 714897591




 --
 S.Uthaiyashankar
 Director, Cloud Solutions
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




-- 
Harshana Martin
Senior Software Engineer
Member, Management Committee - Development Technologies
WSO2 Inc. : http://wso2.com ; http://wso2.org
Mobile: +94 775 998 115
Profile: https://www.google.com/profiles/harshana05
Blog: http://harshana05.blogspot.com
Twitter: http://twitter.com/harshana05
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-05 Thread Afkham Azeez
On Wed, Sep 5, 2012 at 12:15 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Shankar,

 On Wed, Sep 5, 2012 at 9:48 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 9:46 AM, Harshana Martin harsh...@wso2.comwrote:

 Hi Shankar,

 On Sep 5, 2012 8:44 AM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:
 
 
 
  On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin harsh...@wso2.com
 wrote:
 
  Hi Shankar,
 
  On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:
 
  I didn't understand your requirements fully. Why do you need the
 tenant Id? Normally, you logged in using correct tenant username, and
 internally it will handle it. We do not need to handle this at the dev
 studio level. Can you explain what kind of operations you are trying to do?
 
 
  Previously we deployed C-App to a common location of
 repository/deployment/server/carbonapps location. But now servers running
 in tenant mode, deploying the C-App to super tenant is wrong IMO.
 
  If an user adds a Remote Server to Developer Studio, user provide the
 server URL. So that URL is now contains tenant domiain. Therefore we need
 the Tenant Id corresponding to Tenant Domain to deploy the C-App to remote
 Server now.
 
  Therefore now we need the Tenant Id at the Dev Studio side.
 
 
  No, IMO, user gives the server URL as
 https://appserver.stratoslive.wso2.com  and user name as f...@bar.com
 
  Even previously, we used to do that, and developer studio uses (AFAIK)
 CApp uploader admin service by passing above username. In that case, it
 will be deployed to correct tenant. Developer studio will not be able to
 copy the file to a location in file system. If you calculate that path and
 copy, now that logic is in two places (dev studio and CApp uploader admin
 service). I believe, you should use the admin service only.

 Yes. This is correct for remote servers. The problem occurs for local
 servers.

 For local servers we use the file system for this operation but not the
 admin service. In rhat casr we have it.

 But for local severs also we can use the admin service. But it will
 slowdown the deployment a bit.


 But, isn't it clean? The logic should be only in one place for
 maintainability, IMO :).


 True. I agree!!

 It's clean and maintainable but it adds an extra couple of seconds
 overhead to Car deployment :-).


That is fine since the maintenance advantage outweighs the couple of extra
seconds. The CAR deployer can independently choose where it deploys
artifacts from.



 Anyway I'll use the C-App uploading Admin service instead of writing new
 admin service to expose the Tenant Id.

 Thanks and Regards,
 Harshana


 Shankar



 Thanks and Regards,
 Harahana

 
  Shankar
 
 
 
 
  Thanks and Regards,
  Harshana
 
 
  Shankar
 
 
  On Tuesday, September 4, 2012, Harshana Martin wrote:
 
  Hi All,
 
  Can someone explain $Subject?
 
  We need to get the Tenant Id for C-App deployment to Servers from
 Dev Studio. Now that servers running in Service mode, C-App deployment also
 has to be tenant specific. Therefore we need this.
 
  Is there any existing Admin Service we can reuse? If yes, can
 someone point it to me?
 
  Thanks and Regards,
  Harshana
  --
  Harshana Martin
  Senior Software Engineer
  Member, Management Committee - Development Technologies
  WSO2 Inc. : http://wso2.com ; http://wso2.org
  Mobile: +94 775 998 115
  Profile: https://www.google.com/profiles/harshana05
  Blog: http://harshana05.blogspot.com
  Twitter: http://twitter.com/harshana05
 
 
 
 
  --
  S.Uthaiyashankar
  Director, Cloud Solutions
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 
  Phone: +94 714897591
 
 
 
 
  --
  Harshana Martin
  Senior Software Engineer
  Member, Management Committee - Development Technologies
  WSO2 Inc. : http://wso2.com ; http://wso2.org
  Mobile: +94 775 998 115
  Profile: https://www.google.com/profiles/harshana05
  Blog: http://harshana05.blogspot.com
  Twitter: http://twitter.com/harshana05
 
 
 
 
 
  --
  S.Uthaiyashankar
  Director, Cloud Solutions
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 
  Phone: +94 714897591




 --
 S.Uthaiyashankar
 Director, Cloud Solutions
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




 --
 Harshana Martin
 Senior Software Engineer
 Member, Management Committee - Development Technologies
 WSO2 Inc. : http://wso2.com ; http://wso2.org
 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05





-- 
*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: 

Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Hasini Gunasinghe
On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to login
 as admin@carbon.super we should throw an authentication failure.


Even with correct admin credentials?
I too have tried this before and I do not see why we should throw an
authentication failure.. May be I have missed some aspect.. Would
appreciate more insight on what is the risk here...

Thanks,
Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*


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


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Prabath Siriwardena
On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication failure.




 Even with correct admin credentials?


Yes.. what is the risk here..?

Thanks  regards,
-Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Afkham Azeez
On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


It can cause downstream logic to fail. Besides carbon.super  tenant ID
of -1234 are internal details which we don't expose. We may decide to
change super tenant name to super.duper.dude in the future because we
came up with that as an internal implementation detail. But if some clients
start relying on carbon.super  -1234, then externals parties will get
affected. So, we should not allow or encourage others to use these when
they call into Carbon. So, we put a stop to it then and there by throwing
an authentication exception.



 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Prabath Siriwardena
On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super  tenant ID
 of -1234 are internal details which we don't expose. We may decide to
 change super tenant name to super.duper.dude in the future because we
 came up with that as an internal implementation detail. But if some clients
 start relying on carbon.super  -1234, then externals parties will get
 affected. So, we should not allow or encourage others to use these when
 they call into Carbon. So, we put a stop to it then and there by throwing
 an authentication exception.


+1

Thanks  regards,
-Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Hasini Gunasinghe
+1. Will fix this.

Thanks,
Hasini.

On Wed, Sep 5, 2012 at 12:33 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super  tenant ID
 of -1234 are internal details which we don't expose. We may decide to
 change super tenant name to super.duper.dude in the future because we
 came up with that as an internal implementation detail. But if some clients
 start relying on carbon.super  -1234, then externals parties will get
 affected. So, we should not allow or encourage others to use these when
 they call into Carbon. So, we put a stop to it then and there by throwing
 an authentication exception.


 +1

 Thanks  regards,
 -Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in as
 admin@carbon.super. For example, half of admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com


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


[Dev] PersistenceMetaDataDeployer debug logs at AS startup

2012-09-05 Thread Nirodha Pramod
Hi,

I can see the below debug logs in AS startup.


[2012-09-05 13:33:03,773] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..ServerAdminModule
[2012-09-05 13:33:03,780] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module ServerAdminModule4.1
 file contents - module name=ServerAdminModule
version id=4.1 globallyEngaged=false successfullyAdded=true
parameter name=managedModuletrue/parameter
parameter name=adminModule locked=truetrue/parameter
/version
/module
[2012-09-05 13:33:03,782] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..wso2throttle
[2012-09-05 13:33:03,784] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module wso2throttle4.1
 file contents - module name=wso2throttle
version id=4.1 globallyEngaged=false successfullyAdded=true
parameter name=managedModule locked=truetrue/parameter
policies
policy policyType=1 version=4.1

policyUUID7b58fa33a63fd8974ee076424d9c482258605d19e3d3ac73/policyUUID
wsp:Policy xmlns:wsp=
http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsu=
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id=7b58fa33a63fd8974ee076424d9c482258605d19e3d3ac73
throttle:ModuleThrottleAssertion xmlns:throttle=
http://www.wso2.org/products/wso2commons/throttle;
wsp:Policy
throttle:ID
throttle:type=IPother/throttle:ID
wsp:Policy
throttle:Allow/
/wsp:Policy
/wsp:Policy
wsp:Policy
throttle:ID
throttle:type=DOMAINother/throttle:ID
wsp:Policy
throttle:Allow/
/wsp:Policy
/wsp:Policy
/throttle:ModuleThrottleAssertion
/wsp:Policy
/policy
/policies
/version
/module
[2012-09-05 13:33:03,785] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..ComponentMgtModule
[2012-09-05 13:33:03,786] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module ComponentMgtModule4.0
 file contents - module name=ComponentMgtModule
version id=4.0 globallyEngaged=false successfullyAdded=true
parameter name=managedModuletrue/parameter
parameter name=adminModule locked=truetrue/parameter
/version
/module
[2012-09-05 13:33:03,786] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..POXSecurityModule
[2012-09-05 13:33:03,787] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module POXSecurityModule4.1
 file contents - module name=POXSecurityModule
version id=4.1 globallyEngaged=false successfullyAdded=true
parameter name=managedModuletrue/parameter
parameter name=adminModule locked=truetrue/parameter
/version
/module
[2012-09-05 13:33:03,788] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..wso2tracer
[2012-09-05 13:33:03,788] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module wso2tracer4.0
 file contents - module name=wso2tracer
version id=4.0 globallyEngaged=false successfullyAdded=true
parameter name=managedModuletrue/parameter
parameter name=adminModule locked=truetrue/parameter
/version
/module
[2012-09-05 13:33:03,789] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..rahas
[2012-09-05 13:33:03,790] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module rahas1.61-wso2v5
 file contents - module name=rahas
version id=1.61-wso2v5 globallyEngaged=false
successfullyAdded=true
parameter name=managedModuletrue/parameter
/version
/module
[2012-09-05 13:33:03,790] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Detected Module Meta File change..wso2caching
[2012-09-05 13:33:03,791] DEBUG
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Meta Change for module wso2caching4.0
 file contents - module name=wso2caching
version id=4.0 globallyEngaged=false successfullyAdded=true
parameter name=managedModule locked=truetrue/parameter
/version
/module
[2012-09-05 13:33:03,792] DEBUG

Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Hasini Gunasinghe
Please find the attached patch with the fix.

Thanks,
Hasini.

On Wed, Sep 5, 2012 at 12:43 PM, Hasini Gunasinghe has...@wso2.com wrote:

 +1. Will fix this.

 Thanks,
 Hasini.

 On Wed, Sep 5, 2012 at 12:33 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication
 failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super  tenant
 ID of -1234 are internal details which we don't expose. We may decide to
 change super tenant name to super.duper.dude in the future because we
 came up with that as an internal implementation detail. But if some clients
 start relying on carbon.super  -1234, then externals parties will get
 affected. So, we should not allow or encourage others to use these when
 they call into Carbon. So, we put a stop to it then and there by throwing
 an authentication exception.


 +1

 Thanks  regards,
 -Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in
 as admin@carbon.super. For example, half of admin/index.jsp is
 gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com





authentication.patch
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Adding HeapDumpOnOutOfMemoryError to wso2server.sh

2012-09-05 Thread Kasun Indrasiri
Can we do the $subject?
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=$CARBON_HOME/repository/logs/heap-dump.hprof \


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SCM G-Reg problem

2012-09-05 Thread Padala, Subhash
Hi Sanaka,

 

My User Case is :

 

I want to upload the WSDL and XSDs from G-Reg UI and those should be
checked In to SVN and my CI can  check out those files in build system.

 

 

I have installed G-Registry 4.5.0 and  configured the SCM in
registry.xml as below.

 

scm

connection checkOutURL= workingDir=D:/wso2/svn
mountPoint=/_system/governance/trunk/wsdls
checkInURL=scm:svn:http://svn.company.com/dev/projects/registry;
readOnly=false updateFrequency=

usernameuser/username

passwordpwd/password

/connection

/scm

 

and when  I try to add the  WSDL and XSD in  Zip file from G-Reg UI,
it's not showing  in  WSDL  List at all and am getting the  below error.

And I can only see wsdl , not XSD in workingDir (i.e : D:/wso2/svn ).

 

Your help will  be  appreciated.

 

Regards

Subhash

 

 

ERROR
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l} -  A path is not associated with the artifact.
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l}

TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,051] ERROR
{org.wso2.carbon.governance.api.util.GovernanceUtils} -  Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.
{org.wso2.carbon.governance.api.util.GovernanceUtils}

org.wso2.carbon.governance.api.exception.GovernanceException: A path is
not associated with the artifact.

at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetail
s(WsdlImpl.java:244)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.init(WsdlImp
l.java:67)

at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:701)

at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)

at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)

at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)

at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)

at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJ
obAdapter.java:71)

at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
:557)

TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,052] ERROR
{org.wso2.carbon.governance.list.util.task.PreFetchTask} -  Error
occurred while populating the cache
{org.wso2.carbon.governance.list.util.task.PreFetchTask}

org.wso2.carbon.governance.api.exception.GovernanceException: Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.

at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:807)

at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)

at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)

at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)

at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)

at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJ
obAdapter.java:71)

at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
:557)

Caused by: org.wso2.carbon.governance.api.exception.GovernanceException:
A path is not associated with the artifact.

at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetail
s(WsdlImpl.java:244)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.init(WsdlImp
l.java:67)

at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:701)

... 7 more

 

 

From: Ajith Vitharana [mailto:aji...@wso2.com] 
Sent: Monday, September 03, 2012 12:19 PM
To: Senaka Fernando
Cc: Padala, Subhash; dev@wso2.org
Subject: Re: [Dev] maven plugin for G-Reg

 

 

On Fri, Aug 31, 2012 at 9:33 PM, Senaka Fernando sen...@wso2.com
wrote:

Hi Subash,

 

Yes, but only in 4.5.0. And, the docs should explain how to 

[Dev] More build failures

2012-09-05 Thread Afkham Azeez
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2:24:25.630s
[INFO] Finished at: Wed Sep 05 13:47:57 IST 2012
[INFO] Final Memory: 698M/1308M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen (p2-feature-generation)
on project org.wso2.carbon.stratos.common.server.feature: ERROR: Could not
find artifact
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
-Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
-Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR]
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo1.maven.org/maven2, releases=true,
snapshots=false)


-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding HeapDumpOnOutOfMemoryError to wso2server.sh

2012-09-05 Thread Rajika Kumarasiri
+1.

Rajika

On Wed, Sep 5, 2012 at 2:42 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Can we do the $subject?
 -XX:+HeapDumpOnOutOfMemoryError \
 -XX:HeapDumpPath=$CARBON_HOME/repository/logs/heap-dump.hprof \


 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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


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


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Afkham Azeez
I'm getting an error while applying the patch at
the carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1 level

On Wed, Sep 5, 2012 at 2:27 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Please find the attached patch with the fix.

 Thanks,
 Hasini.


 On Wed, Sep 5, 2012 at 12:43 PM, Hasini Gunasinghe has...@wso2.comwrote:

 +1. Will fix this.

 Thanks,
 Hasini.

 On Wed, Sep 5, 2012 at 12:33 PM, Prabath Siriwardena prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also 
 admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries to
 login as admin@carbon.super we should throw an authentication
 failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super  tenant
 ID of -1234 are internal details which we don't expose. We may decide to
 change super tenant name to super.duper.dude in the future because we
 came up with that as an internal implementation detail. But if some clients
 start relying on carbon.super  -1234, then externals parties will get
 affected. So, we should not allow or encourage others to use these when
 they call into Carbon. So, we put a stop to it then and there by throwing
 an authentication exception.


 +1

 Thanks  regards,
 -Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in
 as admin@carbon.super. For example, half of admin/index.jsp is
 gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com






-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding HeapDumpOnOutOfMemoryError to wso2server.sh

2012-09-05 Thread Nirmal Fernando
On Wed, Sep 5, 2012 at 2:42 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Can we do the $subject?
 -XX:+HeapDumpOnOutOfMemoryError \
 -XX:HeapDumpPath=$CARBON_HOME/repository/logs/heap-dump.hprof \


+1



 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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




-- 

Thanks  regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] More build failures

2012-09-05 Thread Prabath Siriwardena
Did you take an up of patch-releases/4.0.1 - This was added to the build in
 r138914

Thanks  regards,
-Prabath

On Wed, Sep 5, 2012 at 2:48 PM, Afkham Azeez az...@wso2.com wrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:24:25.630s
 [INFO] Finished at: Wed Sep 05 13:47:57 IST 2012
 [INFO] Final Memory: 698M/1308M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen (p2-feature-generation)
 on project org.wso2.carbon.stratos.common.server.feature: ERROR: Could not
 find artifact
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy the
 file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]
 [ERROR]
 [ERROR]
 [ERROR]
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 [ERROR]
 [ERROR] from the specified remote repositories:
 [ERROR] wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
 snapshots=true),
 [ERROR] central (http://repo1.maven.org/maven2, releases=true,
 snapshots=false)


 --
 *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*




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] More build failures

2012-09-05 Thread Afkham Azeez
I took an update in the morning

On Wed, Sep 5, 2012 at 2:52 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Did you take an up of patch-releases/4.0.1 - This was added to the build
 in  r138914

 Thanks  regards,
 -Prabath

 On Wed, Sep 5, 2012 at 2:48 PM, Afkham Azeez az...@wso2.com wrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:24:25.630s
 [INFO] Finished at: Wed Sep 05 13:47:57 IST 2012
 [INFO] Final Memory: 698M/1308M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen (p2-feature-generation)
 on project org.wso2.carbon.stratos.common.server.feature: ERROR: Could not
 find artifact
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy the
 file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]
 [ERROR]
 [ERROR]
 [ERROR]
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 [ERROR]
 [ERROR] from the specified remote repositories:
 [ERROR] wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
 snapshots=true),
 [ERROR] central (http://repo1.maven.org/maven2, releases=true,
 snapshots=false)


 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Afkham Azeez
Prabath, can you commit this patch?

On Wed, Sep 5, 2012 at 2:51 PM, Afkham Azeez az...@wso2.com wrote:

 I'm getting an error while applying the patch at
 the carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1 level


 On Wed, Sep 5, 2012 at 2:27 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Please find the attached patch with the fix.

 Thanks,
 Hasini.


 On Wed, Sep 5, 2012 at 12:43 PM, Hasini Gunasinghe has...@wso2.comwrote:

 +1. Will fix this.

 Thanks,
 Hasini.

 On Wed, Sep 5, 2012 at 12:33 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena prab...@wso2.com
  wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe 
 has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also 
 admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries
 to login as admin@carbon.super we should throw an authentication
 failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super  tenant
 ID of -1234 are internal details which we don't expose. We may decide to
 change super tenant name to super.duper.dude in the future because we
 came up with that as an internal implementation detail. But if some 
 clients
 start relying on carbon.super  -1234, then externals parties will get
 affected. So, we should not allow or encourage others to use these when
 they call into Carbon. So, we put a stop to it then and there by throwing
 an authentication exception.


 +1

 Thanks  regards,
 -Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw an
 authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log in
 as admin@carbon.super. For example, half of admin/index.jsp
 is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com






 --
 *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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] More build failures

2012-09-05 Thread Prabath Siriwardena
Also you need to take an up of carbon/platform/branches/4.0.
0/features/authenticators/saml2-sso/org.wso2.carbon.identity.authenticator.
saml2.sso.server.feature/4.0.1/pom.xml

Which was added around 9 AM today.

On Wed, Sep 5, 2012 at 2:54 PM, Afkham Azeez az...@wso2.com wrote:

 I took an update in the morning


 On Wed, Sep 5, 2012 at 2:52 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Did you take an up of patch-releases/4.0.1 - This was added to the build
 in  r138914

 Thanks  regards,
 -Prabath

 On Wed, Sep 5, 2012 at 2:48 PM, Afkham Azeez az...@wso2.com wrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:24:25.630s
 [INFO] Finished at: Wed Sep 05 13:47:57 IST 2012
 [INFO] Final Memory: 698M/1308M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen (p2-feature-generation)
 on project org.wso2.carbon.stratos.common.server.feature: ERROR: Could not
 find artifact
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy
 the file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.identity.authenticator.saml2.sso.server.feature
 -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]
 [ERROR]
 [ERROR]
 [ERROR]
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:zip:4.0.1
 [ERROR]
 [ERROR] from the specified remote repositories:
 [ERROR] wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
 snapshots=true),
 [ERROR] central (http://repo1.maven.org/maven2, releases=true,
 snapshots=false)


 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] Should I be able to login as admin@carbon.super as the username?

2012-09-05 Thread Afkham Azeez
I applied the patch to the wrong location. Now everything is fine.

On Wed, Sep 5, 2012 at 3:03 PM, Hasini Gunasinghe has...@wso2.com wrote:

 I took a check out from
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core.services/4.0.1/and
  checked applying the patch and the 4 files were patched without an
 issue.
 Could I know what is the error you got?

 Thanks,
 Hasini.


 On Wed, Sep 5, 2012 at 2:51 PM, Afkham Azeez az...@wso2.com wrote:

 I'm getting an error while applying the patch at
 the carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1 level


 On Wed, Sep 5, 2012 at 2:27 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Please find the attached patch with the fix.

 Thanks,
 Hasini.


  On Wed, Sep 5, 2012 at 12:43 PM, Hasini Gunasinghe has...@wso2.comwrote:

 +1. Will fix this.

 Thanks,
 Hasini.

 On Wed, Sep 5, 2012 at 12:33 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:30 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Prabath Siriwardena 
 prab...@wso2.com wrote:



 On Wed, Sep 5, 2012 at 12:22 PM, Hasini Gunasinghe 
 has...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 12:04 PM, Afkham Azeez az...@wso2.comwrote:



 On Wed, Sep 5, 2012 at 2:13 AM, Senaka Fernando 
 sen...@wso2.comwrote:

 Hi all,

 Right now I can log in as admin/admin and also 
 admin@carbon.super/admin.
 Is this proper behavior?


 :) You have discovered an easter egg in Carbon :) If a user tries
 to login as admin@carbon.super we should throw an authentication
 failure.




 Even with correct admin credentials?


 Yes.. what is the risk here..?


 It can cause downstream logic to fail. Besides carbon.super 
 tenant ID of -1234 are internal details which we don't expose. We may
 decide to change super tenant name to super.duper.dude in the future
 because we came up with that as an internal implementation detail. But if
 some clients start relying on carbon.super  -1234, then externals
 parties will get affected. So, we should not allow or encourage others to
 use these when they call into Carbon. So, we put a stop to it then and
 there by throwing an authentication exception.


 +1

 Thanks  regards,
 -Prabath





 Thanks  regards,
 -Prabath


 I too have tried this before and I do not see why we should throw
 an authentication failure.. May be I have missed some aspect.. Would
 appreciate more insight on what is the risk here...

 Thanks,
 Hasini.

 Can we get this fixed soon? Should be a simple fix.



 If it is proper, some UIs are not rendering properly when I log
 in as admin@carbon.super. For example, half of
 admin/index.jsp is gone.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com






 --
 *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: 

[Dev] [Bamboo-Build] Carbon Snapshot Orbit #170 was SUCCESSFUL

2012-09-05 Thread Bamboo

---
Carbon Snapshot  Orbit  #170 was successful.
---
This build was triggered at the scheduled time of 12:00 AM

http://wso2.org/bamboo/browse/WSO2CARBON-CARBONKERNELBUILD-170/





--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deploying Carbon bundles in Geronimo

2012-09-05 Thread Dileepa Jayakody
It seems the dynamic-import wiring problem is specific to
org.wso2.carbon.core package.

axis2 bundle is wired for other dynamically imported packages including
below packages coming from org.wso2.carbon.core bundle;
org.wso2.carbon.core.transports.http;
version=0.0.0org.wso2.carbon.core_4.0.0 [104]
org.wso2.carbon.core.deployment;
version=0.0.0org.wso2.carbon.core_4.0.0 [104]
org.wso2.carbon.core.multitenancy;
version=0.0.0org.wso2.carbon.core_4.0.0 [104]
org.wso2.carbon.core.services.echo;
version=0.0.0org.wso2.carbon.core_4.0.0 [104]
org.wso2.carbon.core.services.version;
version=0.0.0org.wso2.carbon.core_4.0.0 [104]

I tried out several things like manually adding org.wso2.carbon.core
package as an Import-Package in axis2 (which is not a viable solution) but
it didn't work out.
Does anyone have an idea/suggestion on a way forward with this?

Thanks,
Dileepa

On Mon, Sep 3, 2012 at 12:10 PM, Dileepa Jayakody dile...@wso2.com wrote:

 Hi All,

 I managed to resolve the issue with osgi http service inside Geronimo, as
 I did some config changes in org.eclipse.equinox.http bundle. Now the osgi
 http service is available for other bundles and the carbon initialization
 went forward up to axis2-module deployment.

 But now I'm facing issues with dynamic class loading in axis2 bundle
 requiring carbon.core classes to load as below [1]. Seems like dynamic
 class loading mechanism in Geronimo is different, hence these issues are
 popping-up with dynamic imports. I'm looking into this further, will
 clarify with geronimo folks also.

 Thanks,
 Dileepa

 [1]
 [2012-09-03 11:20:48,595]  INFO
 {org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sender started
 [2012-09-03 11:20:49,023] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 java.lang.NoClassDefFoundError: org/wso2/carbon/core/AbstractAdmin
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 at
 org.apache.geronimo.hook.equinox.GeronimoClassLoader.defineClass(GeronimoClassLoader.java:213)
 at
 org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601)
 at
 org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567)
 at
 org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490)
 at
 org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478)
 at
 org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458)
 at
 org.apache.geronimo.hook.equinox.GeronimoClassLoader.findLocalClass(GeronimoClassLoader.java:237)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
 at
 org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:169)
 at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
 at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
 at org.apache.axis2.util.Utils.getServiceClass(Utils.java:799)
 at
 org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:430)
 at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:471)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)




 On Thu, Aug 30, 2012 at 11:26 

Re: [Dev] SCM G-Reg problem

2012-09-05 Thread Senaka Fernando
Hi Subhash,

Here you go, http://docs.wso2.org/wiki/display/Governance450/Support+for+SCM
.

Thanks,
Senaka.

On Wed, Sep 5, 2012 at 10:40 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Subhash,

 When it comes to CI integration through SCM, there is a missing piece in
 our documentation. I will fix that now and get back to you with the pointer.

 Thanks,
 Senaka.


 On Wed, Sep 5, 2012 at 10:17 AM, Padala, Subhash 
 subhash.pad...@catlin.com wrote:

  Hi Sanaka,

 ** **

 My User Case is :

 ** **

 I want to upload the WSDL and XSDs from G-Reg UI and those should be
 checked In to SVN and my CI can  check out those files in build system.**
 **

 ** **

 ** **

 I have installed G-Registry 4.5.0 and  configured the SCM in registry.xml
 as below.

 ** **

 scm

 connection checkOutURL= workingDir=D:/wso2/svn
 mountPoint=/_system/governance/trunk/wsdls  checkInURL=scm:svn:
 http://svn.company.com/dev/projects/registry; readOnly=false
 updateFrequency=

 usernameuser/username

 passwordpwd/password

 /connection

 /scm

 ** **

 and when  I try to add the  WSDL and XSD in  Zip file from G-Reg UI, it’s
 not showing  in  WSDL  List at all and am getting the  below error.

 And I can only see wsdl , not XSD in workingDir (i.e : D:/wso2/svn ).

 ** **

 Your help will  be  appreciated.

 ** **

 Regards

 Subhash

 ** **

 ** **

 ERROR
 {org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl}
 -  A path is not associated with the artifact.
 {org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl}
 

 TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,051] ERROR
 {org.wso2.carbon.governance.api.util.GovernanceUtils} -  Error in
 retrieving governance artifact by path. path:
 /trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.
 {org.wso2.carbon.governance.api.util.GovernanceUtils}

 org.wso2.carbon.governance.api.exception.GovernanceException: A path is
 not associated with the artifact.

 at
 org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)
 

 at
 org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetails(WsdlImpl.java:244)
 

 at
 org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.init(WsdlImpl.java:67)
 

 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceArtifactByPath(GovernanceUtils.java:701)
 

 at
 org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager.java:401)
 

 at
 org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(FilterWSDL.java:51)
 

 at
 org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTenantArtifactCache(ArtifactPopulator.java:56)
 

 at
 org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchTask.java:70)
 

 at
 org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:71)
 

 at org.quartz.core.JobRunShell.run(JobRunShell.java:213)*
 ***

 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
 

 TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,052] ERROR
 {org.wso2.carbon.governance.list.util.task.PreFetchTask} -  Error occurred
 while populating the cache
 {org.wso2.carbon.governance.list.util.task.PreFetchTask}

 org.wso2.carbon.governance.api.exception.GovernanceException: Error in
 retrieving governance artifact by path. path:
 /trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.

 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceArtifactByPath(GovernanceUtils.java:807)
 

 at
 org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager.java:401)
 

 at
 org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(FilterWSDL.java:51)
 

 at
 org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTenantArtifactCache(ArtifactPopulator.java:56)
 

 at
 org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchTask.java:70)
 

 at
 org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:71)
 

 at org.quartz.core.JobRunShell.run(JobRunShell.java:213)*
 ***

 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
 

 Caused by: org.wso2.carbon.governance.api.exception.GovernanceException:
 A path is not associated with the artifact.

 at
 

[Dev] Build break in app server

2012-09-05 Thread Tharindu Mathew
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1:09:24.724s
[INFO] Finished at: Wed Sep 05 17:29:15 IST 2012
[INFO] Final Memory: 507M/1015M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-repo-gen (2-p2-repo-generation) on
project wso2appserver-profile-gen: ERROR: Could not find artifact
org.wso2.carbon:org.wso2.carbon.module.mgt.feature:zip:4.0.1 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.module.mgt.feature -Dversion=4.0.1
-Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.module.mgt.feature -Dversion=4.0.1
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wso2.carbon:org.wso2.carbon.module.mgt.feature:zip:4.0.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo1.maven.org/maven2, releases=true,
snapshots=false)
[ERROR] - [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :wso2appserver-profile-gen

-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +9459908
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: App Factory Repository Management Component Code review @ Thu Sep 6 2:30pm - 3:30pm (dev@wso2.org)

2012-09-05 Thread Ajanthan Balachandran
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120906T09Z
DTEND:20120906T10Z
DTSTAMP:20120905T130505Z
ORGANIZER;CN=ajant...@wso2.com:mailto:ajant...@wso2.com
UID:hgrvcbkciru9m1t4qvn4iil...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Selvaratnam Uthaiyashankar;X-NUM-GUESTS=0:mailto:shan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Thilini Ishaka;X-NUM-GUESTS=0:mailto:thil...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Achala Aponso;X-NUM-GUESTS=0:mailto:ach...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dilshan Edirisuriya;X-NUM-GUESTS=0:mailto:dils...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ashansa Perera;X-NUM-GUESTS=0:mailto:asha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ramith Jayasinghe;X-NUM-GUESTS=0:mailto:ram...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
CREATED:20120905T130505Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWeid=aGdydmNia2NpcnU5bTF0NHF2bjRpaWxuMzAgZGV2QHdzbzIub3Jntok=MTcjYWphb
 nRoYW5Ad3NvMi5jb21kNDkyZGIwNDhhMjA0ZGNjNjVhMTJlNDM2MjU0Yjk0ZTlmMjJmM2Qxctz
 =Asia/Colombohl=en.
LAST-MODIFIED:20120905T130505Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:App Factory Repository Management  Component Code review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proper name for BAM data publishers.

2012-09-05 Thread Srinath Perera
+1

sent from mobile
On Sep 5, 2012 7:40 PM, Suhothayan Sriskandarajah s...@wso2.com wrote:


 Currently AS, ESB have data publishers to BAM and CEP.
 But they are referring to the endpoints urls  as BAM URL and Credential
 as BAM Credential,
 and the mediator is called as BAM mediator.

 We have to use a common name instead of BAM because this is giving a wrong
 idea to the user.

 I believe DataBridge is the appropriate term.

 Thoughts?

 Suho

 --
 *S. Suhothayan
 *
 Software Engineer,
 Data Technologies Team,
  *WSO2, Inc. **http://wso2.com
  http://wso2.com/*
 *lean.enterprise.middleware.*

 *email: **s...@wso2.com* s...@wso2.com* cell: (+94) 779 756 757
 blog: **http://suhothayan.blogspot.com/* http://suhothayan.blogspot.com/
 *
 twitter: **http://twitter.com/suhothayan* http://twitter.com/suhothayan*
 linked-in: **http://lk.linkedin.com/in/suhothayan*
 *
 *


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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #261 has FAILED. Change made by 11 authors.

2012-09-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #261 failed.
---
This build occurred because it is a dependant of WCB001-KER000-174.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PLA000-261/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 1724 tests passed.



--
Code Changes
--
nirmal (141183):

Fixing LB-39

prabath (141128):



ajithn (141161):

format



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SCM G-Reg problem

2012-09-05 Thread Padala, Subhash
Hi 

Maven unable to find the checkin-client-4.5.0.jar in given  repository

http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/governan
ce/checkin-client

 

 

is that  versions should be  version4.1.1/version in below
dependency ?

 

dependencies

dependency

groupIdorg.wso2.governance/groupId

version4.5.0/version

artifactIdcheckin-client/artifactId

/dependency

/dependencies

 

Regards

Subhash

 

 

From: Senaka Fernando [mailto:sen...@wso2.com] 
Sent: Wednesday, September 05, 2012 12:21 PM
To: Padala, Subhash
Cc: Ajith Vitharana; dev@wso2.org; Tomlinson, Richard; Swainston, Mike;
Kanu, Chukwuemeka; Palmer, Richard
Subject: Re: SCM G-Reg problem

 

Hi Subhash,

 

Here you go,
http://docs.wso2.org/wiki/display/Governance450/Support+for+SCM.

 

Thanks,
Senaka.

On Wed, Sep 5, 2012 at 10:40 AM, Senaka Fernando sen...@wso2.com
wrote:

Hi Subhash,

 

When it comes to CI integration through SCM, there is a missing piece in
our documentation. I will fix that now and get back to you with the
pointer.

 

Thanks,
Senaka.

 

On Wed, Sep 5, 2012 at 10:17 AM, Padala, Subhash
subhash.pad...@catlin.com wrote:

Hi Sanaka,

 

My User Case is :

 

I want to upload the WSDL and XSDs from G-Reg UI and those should be
checked In to SVN and my CI can  check out those files in build system.

 

 

I have installed G-Registry 4.5.0 and  configured the SCM in
registry.xml as below.

 

scm

connection checkOutURL= workingDir=D:/wso2/svn
mountPoint=/_system/governance/trunk/wsdls
checkInURL=scm:svn:http://svn.company.com/dev/projects/registry;
readOnly=false updateFrequency=

usernameuser/username

passwordpwd/password

/connection

/scm

 

and when  I try to add the  WSDL and XSD in  Zip file from G-Reg UI,
it's not showing  in  WSDL  List at all and am getting the  below error.

And I can only see wsdl , not XSD in workingDir (i.e : D:/wso2/svn ).

 

Your help will  be  appreciated.

 

Regards

Subhash

 

 

ERROR
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l} -  A path is not associated with the artifact.
{org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImp
l}

TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,051] ERROR
{org.wso2.carbon.governance.api.util.GovernanceUtils} -  Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.
{org.wso2.carbon.governance.api.util.GovernanceUtils}

org.wso2.carbon.governance.api.exception.GovernanceException: A path is
not associated with the artifact.

at
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
.checkRegistryResourceAssociation(GovernanceArtifactImpl.java:617)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.loadWsdlDetail
s(WsdlImpl.java:244)

at
org.wso2.carbon.governance.api.wsdls.dataobjects.WsdlImpl.init(WsdlImp
l.java:67)

at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:701)

at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)

at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)

at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)

at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)

at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJ
obAdapter.java:71)

at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java
:557)

TID: [-1234] [WSO2 Governance Registry] [2012-09-05 10:02:00,052] ERROR
{org.wso2.carbon.governance.list.util.task.PreFetchTask} -  Error
occurred while populating the cache
{org.wso2.carbon.governance.list.util.task.PreFetchTask}

org.wso2.carbon.governance.api.exception.GovernanceException: Error in
retrieving governance artifact by path. path:
/trunk/wsdls/com/catlin/epic/EpicService-1.0.0.wsdl.

at
org.wso2.carbon.governance.api.util.GovernanceUtils.retrieveGovernanceAr
tifactByPath(GovernanceUtils.java:807)

at
org.wso2.carbon.governance.api.wsdls.WsdlManager.getAllWsdls(WsdlManager
.java:401)

at
org.wso2.carbon.governance.list.util.filter.FilterWSDL.getArtifacts(Filt
erWSDL.java:51)

at
org.wso2.carbon.governance.list.util.task.ArtifactPopulator.populateTena
ntArtifactCache(ArtifactPopulator.java:56)

at
org.wso2.carbon.governance.list.util.task.PreFetchTask.execute(PreFetchT
ask.java:70)

at

[Dev] Regarding https://wso2.org/jira/browse/CARBONROADMAP-31

2012-09-05 Thread Afkham Azeez
I think there is a problem in the way
https://wso2.org/jira/browse/CARBONROADMAP-31 has been implemented.

I think the requirement is, if a service has been secured using UT policy,
the client has two options:
1. Send credentials using basic auth HTTP headers
2. Send credentials using SOAP headers

The POXSecurityHandler properly handles those two from the looks of it.

However, if the client sends a SOAP message, without the basic auth HTTP
headers  without SOAP headers, the current implementation of
the POXSecurityHandler sends a basic auth challenge, and not a SOAP fault,
which I consider is wrong.

Thoughts?

-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding https://wso2.org/jira/browse/CARBONROADMAP-31

2012-09-05 Thread Prabath Siriwardena
IIRC current implementation cannot handle the scenario - where a SOAP
Message comes with an Authorization HTTP header... - which is something we
need to fix...

So, the correct behavior would be - if it is SOAP (expects UT - we applied
UT) we need to return a SOAP fault - or else send the basic auth challenge..

Thanks  regards,
-Prabath

On Wed, Sep 5, 2012 at 8:52 PM, Afkham Azeez az...@wso2.com wrote:

 I think there is a problem in the way
 https://wso2.org/jira/browse/CARBONROADMAP-31 has been implemented.

 I think the requirement is, if a service has been secured using UT policy,
 the client has two options:
 1. Send credentials using basic auth HTTP headers
 2. Send credentials using SOAP headers

 The POXSecurityHandler properly handles those two from the looks of it.

 However, if the client sends a SOAP message, without the basic auth HTTP
 headers  without SOAP headers, the current implementation of
 the POXSecurityHandler sends a basic auth challenge, and not a SOAP fault,
 which I consider is wrong.

 Thoughts?

 --
 *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*




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] Regarding https://wso2.org/jira/browse/CARBONROADMAP-31

2012-09-05 Thread Afkham Azeez
On Wed, Sep 5, 2012 at 9:07 PM, Prabath Siriwardena prab...@wso2.comwrote:

 IIRC current implementation cannot handle the scenario - where a SOAP
 Message comes with an Authorization HTTP header... - which is something we
 need to fix...

 So, the correct behavior would be - if it is SOAP (expects UT - we applied
 UT) we need to return a SOAP fault - or else send the basic auth challenge..


if(soap  no sec header) send SOAP fault

if(rest  no basic auth headers) send challenge

is that what you are saying.

Currently we are seeing;

if(soap  no sec header) send challenge

That is wrong isn't it?



 Thanks  regards,
 -Prabath

 On Wed, Sep 5, 2012 at 8:52 PM, Afkham Azeez az...@wso2.com wrote:

 I think there is a problem in the way
 https://wso2.org/jira/browse/CARBONROADMAP-31 has been implemented.

 I think the requirement is, if a service has been secured using UT
 policy, the client has two options:
 1. Send credentials using basic auth HTTP headers
 2. Send credentials using SOAP headers

 The POXSecurityHandler properly handles those two from the looks of it.

 However, if the client sends a SOAP message, without the basic auth HTTP
 headers  without SOAP headers, the current implementation of
 the POXSecurityHandler sends a basic auth challenge, and not a SOAP fault,
 which I consider is wrong.

 Thoughts?

 --
 *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*




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] MORE BUILD failures

2012-09-05 Thread Afkham Azeez
[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 3:54:33.357s
[INFO] Finished at: Wed Sep 05 22:30:42 IST 2012
[INFO] Final Memory: 775M/2065M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-profile-gen
(3-p2-profile-generation) on project wso2mb-p2-profile: P2 publisher return
code was 13 - [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :wso2mb-p2-profile

-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Afkham Azeez
java.lang.NoClassDefFoundError:
org/eclipse/wst/wsdl/validation/internal/IValidationInfo
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
 at
org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
 at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
 at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
 at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.wst.wsdl.validation.internal.IValidationInfo
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 15 more

-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #262 was SUCCESSFUL (with 1724 tests). Change made by 11 authors.

2012-09-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #262 was successful.
---
This build occurred because it is a dependant of WCB001-KER000-175.
1724 tests in total.

http://wso2.org/bamboo/browse/WCB001-PLA000-262/




--
Code Changes
--
buddhikac (141232):

Adding configuration file to optionally enable service data agent handlers.


buddhikac (141235):

Adding bam.xml configuration file.


krishantha (141205):

Applying Nuwan's patch for ESB integration test failure - TA-553



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Updated Invitation: App Factory Repository Management Component Code review @ Thu Sep 6 2:30pm - 3:30pm (dev@wso2.org)

2012-09-05 Thread Ajanthan Balachandran
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120906T09Z
DTEND:20120906T10Z
DTSTAMP:20120906T023817Z
ORGANIZER;CN=Ajanthan Balachandran:mailto:ajant...@wso2.com
UID:hgrvcbkciru9m1t4qvn4iil...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Selvaratnam Uthaiyashankar;X-NUM-GUESTS=0:mailto:shan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Thilini Ishaka;X-NUM-GUESTS=0:mailto:thil...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Achala Aponso;X-NUM-GUESTS=0:mailto:ach...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dilshan Edirisuriya;X-NUM-GUESTS=0:mailto:dils...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Ashansa Perera;X-NUM-GUESTS=0:mailto:asha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Ramith Jayasinghe;X-NUM-GUESTS=0:mailto:ram...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK #59 2nd Floor Room;X-NUM-GUESTS=0:mailto:wso2.com_3832343234393438
 393...@resource.calendar.google.com
CREATED:20120905T130505Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWeid=aGdydmNia2NpcnU5bTF0NHF2bjRpaWxuMzAgZGV2QHdzbzIub3Jntok=MTcjYWphb
 nRoYW5Ad3NvMi5jb21kNDkyZGIwNDhhMjA0ZGNjNjVhMTJlNDM2MjU0Yjk0ZTlmMjJmM2Qxctz
 =Asia/Colombohl=en.
LAST-MODIFIED:20120906T023817Z
LOCATION:LK #59 2nd Floor Room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:App Factory Repository Management  Component Code review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Supun Malinga
Hi,

Faced the issue earlier. Was an issue with the wsdl validator jar thats
deployed from 4.0.0. AFAIK we corrected this. Not sure what happened.
Please build wsdl-validator locally and replace the jar and try.

thanks,

On Wed, Sep 5, 2012 at 11:03 PM, Afkham Azeez az...@wso2.com wrote:

 java.lang.NoClassDefFoundError:
 org/eclipse/wst/wsdl/validation/internal/IValidationInfo
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
  at
 org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
 at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
  at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.wst.wsdl.validation.internal.IValidationInfo
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 15 more

  --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BUILD FAILURE

2012-09-05 Thread Ajith Vitharana
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 20:45.897s
[INFO] Finished at: Thu Sep 06 09:53:34 IST 2012
[INFO] Final Memory: 1411M/1749M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.identity.authenticator.saml2.sso.common: Could not resolve
dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.common:bundle:4.0.1:
Could not find artifact
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.stub:jar:4.0.1
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]

Thanks
Ajithn

-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BUILD FAILURE

2012-09-05 Thread Ajith Vitharana
[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2:55.045s
[INFO] Finished at: Thu Sep 06 10:38:50 IST 2012
[INFO] Final Memory: 193M/1359M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.identity.authenticator.iwa.ui.feature: Could not resolve
dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui.feature:pom:4.0.1:
Failed to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.stub:jar:4.0.1
(compile)]: Failed to read artifact descriptor for
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1:
Failure to find org.wso2.carbon:iwa-authenticator:pom:4.0.1 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [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


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Dileepa Jayakody
Hi Azeez,
On Thu, Sep 6, 2012 at 9:40 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Faced the issue earlier. Was an issue with the wsdl validator jar thats
 deployed from 4.0.0. AFAIK we corrected this. Not sure what happened.
 Please build wsdl-validator locally and replace the jar and try.

 The Manifest of the deployed jar earlier had some unexpected changes. To
rectify this, the jar was redeployed [1], and the startup error was
resolved with this jar.
Can  you please try building the wsdl-validator bundle and replace the
bundle in plugins?

Thanks,
Dileepa

[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/wsdl/validator/wso2/wsdl-validator/1.2.0.wso2v1/

 thanks,

 On Wed, Sep 5, 2012 at 11:03 PM, Afkham Azeez az...@wso2.com wrote:

 java.lang.NoClassDefFoundError:
 org/eclipse/wst/wsdl/validation/internal/IValidationInfo
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
  at
 org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
 at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
  at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.wst.wsdl.validation.internal.IValidationInfo
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 15 more

  --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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




-- 
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Afkham Azeez
On Thu, Sep 6, 2012 at 10:54 AM, Dileepa Jayakody dile...@wso2.com wrote:


 Hi Azeez,
 On Thu, Sep 6, 2012 at 9:40 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Faced the issue earlier. Was an issue with the wsdl validator jar thats
 deployed from 4.0.0. AFAIK we corrected this. Not sure what happened.
 Please build wsdl-validator locally and replace the jar and try.

 The Manifest of the deployed jar earlier had some unexpected changes. To
 rectify this, the jar was redeployed [1], and the startup error was
 resolved with this jar.
 Can  you please try building the wsdl-validator bundle and replace the
 bundle in plugins?


Where is the svn location?


 Thanks,
 Dileepa

 [1]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/wsdl/validator/wso2/wsdl-validator/1.2.0.wso2v1/

 thanks,

 On Wed, Sep 5, 2012 at 11:03 PM, Afkham Azeez az...@wso2.com wrote:

 java.lang.NoClassDefFoundError:
 org/eclipse/wst/wsdl/validation/internal/IValidationInfo
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
  at
 org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
 at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
  at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.wst.wsdl.validation.internal.IValidationInfo
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 15 more

  --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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




 --
 Dileepa Jayakody,
 Software Engineer, WSO2 Inc.

 Lean . Enterprise . Middleware

 Mobile : +94777-857616




-- 
*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*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Supun Malinga
Hi,

On Thu, Sep 6, 2012 at 11:04 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Sep 6, 2012 at 10:54 AM, Dileepa Jayakody dile...@wso2.comwrote:


 Hi Azeez,
 On Thu, Sep 6, 2012 at 9:40 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Faced the issue earlier. Was an issue with the wsdl validator jar thats
 deployed from 4.0.0. AFAIK we corrected this. Not sure what happened.
 Please build wsdl-validator locally and replace the jar and try.

 The Manifest of the deployed jar earlier had some unexpected changes. To
 rectify this, the jar was redeployed [1], and the startup error was
 resolved with this jar.
 Can  you please try building the wsdl-validator bundle and replace the
 bundle in plugins?


 Where is the svn location?

https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/commons/wsdlvalidator/1.2.0-wso2v1

thanks,


 Thanks,
 Dileepa

 [1]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/wsdl/validator/wso2/wsdl-validator/1.2.0.wso2v1/

 thanks,

 On Wed, Sep 5, 2012 at 11:03 PM, Afkham Azeez az...@wso2.com wrote:

 java.lang.NoClassDefFoundError:
 org/eclipse/wst/wsdl/validation/internal/IValidationInfo
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
  at
 org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
 at
 org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
  at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.wst.wsdl.validation.internal.IValidationInfo
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 15 more

  --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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




 --
 Dileepa Jayakody,
 Software Engineer, WSO2 Inc.

 Lean . Enterprise . Middleware

 Mobile : +94777-857616




 --
 *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*




-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest AppServer pack from 4.0.1 branch does not startup

2012-09-05 Thread Dileepa Jayakody
On Thu, Sep 6, 2012 at 11:20 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Thu, Sep 6, 2012 at 11:04 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Sep 6, 2012 at 10:54 AM, Dileepa Jayakody dile...@wso2.comwrote:


 Hi Azeez,
 On Thu, Sep 6, 2012 at 9:40 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Faced the issue earlier. Was an issue with the wsdl validator jar thats
 deployed from 4.0.0. AFAIK we corrected this. Not sure what happened.
 Please build wsdl-validator locally and replace the jar and try.

 The Manifest of the deployed jar earlier had some unexpected changes.
 To rectify this, the jar was redeployed [1], and the startup error was
 resolved with this jar.
 Can  you please try building the wsdl-validator bundle and replace the
 bundle in plugins?


 Where is the svn location?


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/commons/wsdlvalidator/1.2.0-wso2v1

 Nope that's the dependency, the orbit bundle is what's giving trouble.
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/orbit/wsdl-validator/1.2.0.wso2v1


 thanks,


 Thanks,
 Dileepa

 [1]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/wsdl/validator/wso2/wsdl-validator/1.2.0.wso2v1/

 thanks,

 On Wed, Sep 5, 2012 at 11:03 PM, Afkham Azeez az...@wso2.com wrote:

 java.lang.NoClassDefFoundError:
 org/eclipse/wst/wsdl/validation/internal/IValidationInfo
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
  at
 org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.init(DefaultSchemaGenerator.java:140)
 at
 org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453)
  at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
  at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:469)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.wst.wsdl.validation.internal.IValidationInfo
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 15 more

  --
 *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*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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




 --
 Dileepa Jayakody,
 Software Engineer, WSO2 Inc.

 Lean . Enterprise . Middleware

 Mobile : +94777-857616




 --
 *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*




 --
 Supun Malinga,

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




-- 
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616
___
Dev mailing list
Dev@wso2.org