Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-03-14 Thread Denis Weerasiri
On Mon, Mar 14, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 On Mon, Mar 14, 2011 at 10:31 AM, Manisha Gayathri mani...@wso2.comwrote:




 On Fri, Mar 11, 2011 at 7:04 PM, Denis Weerasiri de...@wso2.com wrote:



 On Fri, Mar 11, 2011 at 5:09 PM, Pradeep Fernando prad...@wso2.comwrote:

 hi,

 why i cant access this URL ? its not working.

 Hi,
 Some of the files corrupted and I removed them. Find the latest release
 at [1].

 [1] -  
 http://10.100.1.43/~carbon/releases/carbon/3.2.0http://10.100.1.43/%7Ecarbon/releases/carbon/3.2.0/latest/


 Hi Denis,

 The link above is redirected to a wrong page.

 Also most of the packs do not have their content in the packages. They are
 empty.
 Eg: any of the CEP distribution have their content
 [image: [ 
 ]]wso2cep-1.0.0-SNAPSHOT-docs.ziphttp://10.100.1.43/%7Ecarbon/releases/carbon/3.2.0/2011-03-11_07-07-18/wso2cep-1.0.0-SNAPSHOT-docs.zip
  11-Mar-2011
 07:080   [image: [ 
 ]]wso2cep-1.0.0-SNAPSHOT-src.ziphttp://10.100.1.43/%7Ecarbon/releases/carbon/3.2.0/2011-03-11_07-07-18/wso2cep-1.0.0-SNAPSHOT-src.zip
  11-Mar-2011
 07:08 0   [image: [ 
 ]]wso2cep-1.0.0-SNAPSHOT.ziphttp://10.100.1.43/%7Ecarbon/releases/carbon/3.2.0/2011-03-11_07-07-18/wso2cep-1.0.0-SNAPSHOT.zip
  11-Mar-2011
 07:08 0
 Please look into this


 I think something has gone wrong while copying the packs (specifically in
 the latest build). All the packs were available in the build prior to the
 latest one. I think, there are some problems in the file system.

Yp, there were. So the latest directory also was removed. But after that,
still there's no any successful builds.


 Thanks,
 AmilaM.


 Thanks,
 Regards,
 Manisha


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




 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Software Engineer; WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/
 *
 blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/
 *
 twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri
 *
 linked-in: 
 **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri


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



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



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




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Renaming test modules

2011-03-14 Thread Chamara Silva
Current test framework having module call common for maintain test
framework template class and some other client classes.To move this in to
the carbon trunk we need to have standard name like
org.wso2.carbon.framework.core.template etc.

-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] test

2011-03-14 Thread Supun Malinga
please ignore..

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


[Carbon-dev] Compilation failure in Qpid

2011-03-14 Thread Isuru Suriarachchi
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuru/checkouts/wso2/carbon/components/qpid/org.wso2.carbon.qpid/src/main/java/org/wso2/carbon/qpid/internal/QpidServiceComponent.java:[78,67]
cannot find symbol
symbol  : method getShutdownHook()
location: class org.apache.qpid.server.registry.ApplicationRegistry

[INFO] 1error
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/isuru/checkouts/wso2/carbon/components/qpid/org.wso2.carbon.qpid/src/main/java/org/wso2/carbon/qpid/internal/QpidServiceComponent.java:[78,67]
cannot find symbol
symbol  : method getShutdownHook()
location: class org.apache.qpid.server.registry.ApplicationRegistry

-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Gadget Best Practices

2011-03-14 Thread Nuwan Bandara
Hi Lahiru,

On Mon, Mar 14, 2011 at 12:58 PM, Lahiru Gunathilake lah...@wso2.comwrote:

 Did we make best practices public ? If so can someone please send me the
 location ?

 Regards
 Lahiru


I will make this a KB article and send you the link asap.

Regards,
/Nuwan




 On Thu, Nov 25, 2010 at 11:19 AM, nu...@wso2.com nu...@wso2.com wrote:

 Hi

 On Thu, Nov 25, 2010 at 7:25 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Thu, Nov 25, 2010 at 6:51 AM, Srinath Perera srin...@wso2.comwrote:

 Hi Samisa,

 Shall we write a article/KB on OT, then link that from Azeez's
 document, and may be also from a wiki page for discussing this as
 well. My rationale is we need one landing page for someone to find
 all/ most of best practices.


 +1 for making all these public. However, we need to be very clear in
 terms of  what is targeted for developers and what is targeted for end
 users.
  In other words, we should have developer guide and user guide.


 +1, I will work on an OT KB article

 Regards,
 /Nuwan


 Thanks,
 Samisa...

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



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




 --
 Thanks  Regards,

 Nuwan Bandara

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

 http://www.nuwanbando.com

 http://www.nuwanbando.com/

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




 --
 Lahiru Gunathilake
 Senior Software Engineer - WSO2 Inc. www.wso2.com

 Email:lah...@wso2.com Blog: www.lahiru.org
 Mobile: +94716381143

 Lean . Enterprise . Middleware




-- 
Thanks  Regards,

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

http://www.nuwanbando.com

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


Re: [Carbon-dev] Carbon Build Fails at products/appserver [Help Wanted]

2011-03-14 Thread Thilina Buddhika
Can you please check the MANIFEST of the savan-core bundle and verify the
Axiom version it imports ?

Thanks,
Thilina

On Mon, Mar 14, 2011 at 12:47 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Thilina,

 On Sun, Mar 13, 2011 at 10:34 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Thilina,

 On Sun, Mar 13, 2011 at 9:41 PM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Harshana,

 We are not planning to release a savan-core bundle with Carbon 3.2.0,
 since there are no changes from the previous release. So we have commented
 it out from the build profiles. But it was there in the build profiles for
 sometime before its been removed from the profiles.

 I guess you are having a savan-core artifact in your local repo which was
 built around that time. Can you try removing it from your local repo and try
 a new online build.


 Sure. I'll try that. Thanks an lot for the detailed explanation.


 I removed the savan-core from my local maven repo and build the eventing
 feature and component online. Then it downloaded the savan-core from dist.
 But still I get the same error when trying to build  the App Server product.

 Thanks and Regards,
 Harshana


 Thanks and Regards,
 Harshana


 Thanks,
 Thilina

 On Sun, Mar 13, 2011 at 1:48 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi All,

 I am building Carbon from the default profile and i got the following
 error when building appserver.

 *[ERROR] Cannot complete the install because one or more required items
 could not be found.*
 *[ERROR]  Software being installed: WSO2 Carbon - Eventing Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]  Missing requirement: savan-core 1.0.0.wso2v2 (savan-core
 1.0.0.wso2v2) requires 'package org.apache.axiom.om.impl.llom.factory
 [1.2.12.SNAPSHOT-wso2v1,1.3.0)' but it could not be found*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: org.wso2.carbon.eventing.server.feature.group
 [3.2.0.SNAPSHOT]*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Server Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.server.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: savan-core [1.0.0.wso2v2]*
 *[ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/appserver/modules/p2-profile-gen/product/target/p2-agent/configuration/132728371.log
 *
 *[INFO]
 
 *
 *[ERROR] BUILD ERROR*
 *[INFO]
 
 *

 Any help to solve this much appreciated.

 Thanks and Regards,
 Harshana
 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

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


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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : %2B94%2077%2044%2088%20727 %2B94%2077%2044%2088%20727+94 77
 44 88 727
 blog : http://blog.thilinamb.com




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

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




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

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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Gadget Best Practices

2011-03-14 Thread Lahiru Gunathilake
Did we make best practices public ? If so can someone please send me the
location ?

Regards
Lahiru

On Thu, Nov 25, 2010 at 11:19 AM, nu...@wso2.com nu...@wso2.com wrote:

 Hi

 On Thu, Nov 25, 2010 at 7:25 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Thu, Nov 25, 2010 at 6:51 AM, Srinath Perera srin...@wso2.com wrote:

 Hi Samisa,

 Shall we write a article/KB on OT, then link that from Azeez's
 document, and may be also from a wiki page for discussing this as
 well. My rationale is we need one landing page for someone to find
 all/ most of best practices.


 +1 for making all these public. However, we need to be very clear in terms
 of  what is targeted for developers and what is targeted for end users.
  In other words, we should have developer guide and user guide.


 +1, I will work on an OT KB article

 Regards,
 /Nuwan


 Thanks,
 Samisa...

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



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




 --
 Thanks  Regards,

 Nuwan Bandara

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

 http://www.nuwanbando.com

 http://www.nuwanbando.com/

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




-- 
Lahiru Gunathilake
Senior Software Engineer - WSO2 Inc. www.wso2.com

Email:lah...@wso2.com Blog: www.lahiru.org
Mobile: +94716381143

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


Re: [Carbon-dev] Product release managers for Carbon 3.2.0

2011-03-14 Thread Afkham Azeez
All those who volunteered as RMs, please get the ball rolling starting today
itself. We don't have much time.

Thanks
Azeez

On Wed, Mar 9, 2011 at 10:21 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 We need $subject.

 Note that release managers are responsible for keeping the builds working
 and ensuring issues are fixed on time.

 Since we are targeting the Stratos release based on this Carbon release, we
 need all products working ASAP. We cannot really do a long phased chunked
 model this time around. So we need to start testing now.

 Thanks,
 Samisa...

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



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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Build Fails at products/appserver [Help Wanted]

2011-03-14 Thread Harshana Martin
Hi Thilina,

On Sun, Mar 13, 2011 at 10:34 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Thilina,

 On Sun, Mar 13, 2011 at 9:41 PM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Harshana,

 We are not planning to release a savan-core bundle with Carbon 3.2.0,
 since there are no changes from the previous release. So we have commented
 it out from the build profiles. But it was there in the build profiles for
 sometime before its been removed from the profiles.

 I guess you are having a savan-core artifact in your local repo which was
 built around that time. Can you try removing it from your local repo and try
 a new online build.


 Sure. I'll try that. Thanks an lot for the detailed explanation.


I removed the savan-core from my local maven repo and build the eventing
feature and component online. Then it downloaded the savan-core from dist.
But still I get the same error when trying to build  the App Server product.

Thanks and Regards,
Harshana


 Thanks and Regards,
 Harshana


 Thanks,
 Thilina

 On Sun, Mar 13, 2011 at 1:48 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi All,

 I am building Carbon from the default profile and i got the following
 error when building appserver.

 *[ERROR] Cannot complete the install because one or more required items
 could not be found.*
 *[ERROR]  Software being installed: WSO2 Carbon - Eventing Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]  Missing requirement: savan-core 1.0.0.wso2v2 (savan-core
 1.0.0.wso2v2) requires 'package org.apache.axiom.om.impl.llom.factory
 [1.2.12.SNAPSHOT-wso2v1,1.3.0)' but it could not be found*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: org.wso2.carbon.eventing.server.feature.group
 [3.2.0.SNAPSHOT]*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Server Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.server.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: savan-core [1.0.0.wso2v2]*
 *[ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/appserver/modules/p2-profile-gen/product/target/p2-agent/configuration/132728371.log
 *
 *[INFO]
 
 *
 *[ERROR] BUILD ERROR*
 *[INFO]
 
 *

 Any help to solve this much appreciated.

 Thanks and Regards,
 Harshana
 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

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


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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : %2B94%2077%2044%2088%20727+94 77 44 88 727
 blog : http://blog.thilinamb.com




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

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




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

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build

2011-03-14 Thread Isuru Suriarachchi
On Mon, Mar 14, 2011 at 12:33 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Mon, Mar 14, 2011 at 12:28 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 12:23 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 12:19 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 7:41 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 We have branched the codependencies already for the trunk. So we can
 deploy these plugins to maven repo.
 Pradeep please note!


 I think the solution should be to refer to the last released version
 rather than deploying the current version. That's what we've been doing in
 previous releases as well.


 We will never patch these plugins, would we? If so why not just deploy
 them?


 Yes normally we don't patch those :). But the safer (or theoretically
 correct) option is to go with the latest released version.


 But in theory, that is wrong too, you are building version X with version
 X-1 plugin.


Yes if the version X-1 plugin is compatible with version X, there's nothing
wrong in doing that. But when we deploy the new plugin, if we'll come up
with a change later, we are in trouble :).

Anyway for this particular problem, both ways are ok as we don't do changes
in these plugins.

Thanks,
~Isuru



 Thanks,
 Samisa...

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






-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Message Box Build Error

2011-03-14 Thread Pradeep Fernando
hi

No it should point to the branched versions of the dependencies.  this
is wrong i guess.
Thilina should know about this.

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


Re: [Carbon-dev] Build

2011-03-14 Thread Isuru Suriarachchi
On Mon, Mar 14, 2011 at 7:41 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 We have branched the codependencies already for the trunk. So we can deploy
 these plugins to maven repo.
 Pradeep please note!


I think the solution should be to refer to the last released version rather
than deploying the current version. That's what we've been doing in previous
releases as well.

Thanks,
~Isuru




 On Mon, Mar 14, 2011 at 4:03 AM, Paul Fremantle p...@wso2.com wrote:

 Ok. I sort of understand. But I assume this particular maven plugin
 doesn't need to be rebuilt. Can't we reference one that is pre-built?

 Paul


 On 13 March 2011 17:08, Hiranya Jayathilaka hira...@wso2.com wrote:



 On Sun, Mar 13, 2011 at 9:37 PM, Paul Fremantle p...@wso2.com wrote:

 Hiranya, any idea how come this doesn't happen with the 3.1.0 branch?


 This branch probably references a released version of the plugins.


 And there must be a fix. This isn't good


 I raised an issue [1] to keep track of this sometime back. It has now
 been resolved with the following comment:

 *The axis2-(a|m)ar-maven-plugin issue cannot be avoided and is well
 documented (see the README.txt file). *

 Thanks,
 Hiranya

 [1] - https://issues.apache.org/jira/browse/AXIS2-4460



 Paul


 On 13 March 2011 15:38, Hiranya Jayathilaka hira...@wso2.com wrote:

 I think you need to build the axis2 aar plugin and axis2 mar plugin
 separately (under axis2/modules/tools). This is a known issue in the Axis2
 build which has been in existence for years. There have been discussions
 around this in the past on axis2-dev@ but without a proper solution :(

 Thanks,
 Hiranya

 On Sun, Mar 13, 2011 at 8:55 PM, Paul Fremantle p...@wso2.com wrote:

 I'm trying to build the trunk with a clean mvn repo:

 Downloading:
 http://repo1.maven.org/maven2/org/apache/axis2/axis2-mar-maven-plugin/1.6.1-wso2v1/axis2-mar-maven-plugin-1.6.1-wso2v1.jar
 [INFO] Unable to find resource
 'org.apache.axis2:axis2-mar-maven-plugin:maven-plugin:1.6.1-wso2v1' in
 repository central (http://repo1.maven.org/maven2)
  [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Plugin could not be found - check that the goal name is
 correct: Unable to download the artifact from any repository

 This happened straight away.

 Is it me?

 Paul

 --
 Paul Fremantle
 CTO and Co-Founder, WSO2
 OASIS WS-RX TC Co-chair, VP, Apache Synapse

 Office: %2B44%20844%20484%208143 
 %2B44%20844%20484%208143%2B44%20844%20484%208143+44
 844 484 8143
 Cell: %2B44%20798%20447%204618 
 %2B44%20798%20447%204618%2B44%20798%20447%204618+44
 798 447 4618

 blog: http://pzf.fremantle.org
 twitter.com/pzfreo
 p...@wso2.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the 
 addressee/s. If
 you are not the intended recipient/s, or believe that you may have 
 received
 this communication in error, please reply to the sender indicating that 
 fact
 and delete the copy you received and in addition, you should not print,
 copy, retransmit, disseminate, or otherwise use the information 
 contained in
 this communication. Internet communications cannot be guaranteed to be
 timely, secure, error or virus-free. The sender does not accept liability
 for any errors or omissions.

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




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: 
 %2B94%2077%20633%203491%2B94%2077%20633%203491+94
 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Paul Fremantle
 CTO and Co-Founder, WSO2
 OASIS WS-RX TC Co-chair, VP, Apache Synapse

 Office: %2B44%20844%20484%208143 %2B44%20844%20484%208143+44 844
 484 8143
 Cell: %2B44%20798%20447%204618 %2B44%20798%20447%204618+44 798 447
 4618

 blog: http://pzf.fremantle.org
 twitter.com/pzfreo
 p...@wso2.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s. 
 If
 you are not the intended recipient/s, or believe that you may have received
 this communication in error, please reply to the sender indicating that 
 fact
 and delete the copy you received and in addition, you should not print,
 copy, retransmit, disseminate, or otherwise use the information contained 
 in
 this communication. Internet communications cannot be guaranteed to be
 timely, secure, error or virus-free. The sender does not accept liability
 for any errors or omissions.




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: %2B94%2077%20633%203491+94 77 633
 3491
 Blog: 

[Carbon-dev] MB hackathon

2011-03-14 Thread Paul Fremantle
Folks

We are going to start having a bit of a Message Broker hackathon this week.
We will kickoff at 15:30 in the board room today.

Paul

-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
p...@wso2.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] No builds after March 10th for testing

2011-03-14 Thread Charitha Kankanamge
We do not see any new builds at
http://10.100.1.43/~carbon/releases/carbon/3.2.0/

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


Re: [Carbon-dev] Message Box Build Error

2011-03-14 Thread Hiranya Jayathilaka
On Mon, Mar 14, 2011 at 2:36 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi Hiranya,

 I will update the pom soon, This module contains some test cases, need to
 update that as well.
 Since I am building the trunk, it will take some time to correct this.

 Rampart was used to test sqs web service with username/password included.


If Rampart is only used for tests, then the relevant dependency should be
put in the 'test' scope.

Thanks,
Hiranya



 Thank you.

 On Mon, Mar 14, 2011 at 2:24 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi Folks,

 The message box component is depending on the SNAPSHOT versions of
 Rampart. Is this correct? I'm getting following build errors due to this:


 [INFO]
 
 [INFO] Building WSO2 Carbon - Messagebox SQS Client Module
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
  1) org.apache.axis2:addressing:mar:SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.apache.axis2
 -DartifactId=addressing -Dversion=20100208.162959-28 -Dpackaging=mar
 -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.apache.axis2
 -DartifactId=addressing -Dversion=20100208.162959-28 -Dpackaging=mar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.messagebox.sqs.client:bundle:3.2.0-SNAPSHOT
2) org.apache.rampart:rampart-core:jar:SNAPSHOT
3) org.apache.axis2:addressing:mar:SNAPSHOT


 Thanks
 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: %2B94%2077%20633%203491+94 77 633
 3491
 Blog: http://techfeast-hiranya.blogspot.com

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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Build Fails at products/appserver [Help Wanted]

2011-03-14 Thread Harshana Martin
Hi Thilina,

On Mon, Mar 14, 2011 at 1:23 PM, Thilina Buddhika thili...@wso2.com wrote:

 Can you please check the MANIFEST of the savan-core bundle and verify the
 Axiom version it imports ?


MANIFEST of savan-core does not contain the OSGi manifest headers it seems.
It looks like a jar. I found the following content in the MANIFEST.

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: carbon
Build-Jdk: 1.5.0_08

thanks and Regards,
Harshana


 Thanks,
 Thilina


 On Mon, Mar 14, 2011 at 12:47 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Thilina,

 On Sun, Mar 13, 2011 at 10:34 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Thilina,

 On Sun, Mar 13, 2011 at 9:41 PM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Harshana,

 We are not planning to release a savan-core bundle with Carbon 3.2.0,
 since there are no changes from the previous release. So we have commented
 it out from the build profiles. But it was there in the build profiles for
 sometime before its been removed from the profiles.

 I guess you are having a savan-core artifact in your local repo which
 was built around that time. Can you try removing it from your local repo 
 and
 try a new online build.


 Sure. I'll try that. Thanks an lot for the detailed explanation.


 I removed the savan-core from my local maven repo and build the eventing
 feature and component online. Then it downloaded the savan-core from dist.
 But still I get the same error when trying to build  the App Server product.

 Thanks and Regards,
 Harshana


 Thanks and Regards,
 Harshana


 Thanks,
 Thilina

 On Sun, Mar 13, 2011 at 1:48 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi All,

 I am building Carbon from the default profile and i got the following
 error when building appserver.

 *[ERROR] Cannot complete the install because one or more required
 items could not be found.*
 *[ERROR]  Software being installed: WSO2 Carbon - Eventing Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)
 *
 *[ERROR]  Missing requirement: savan-core 1.0.0.wso2v2 (savan-core
 1.0.0.wso2v2) requires 'package org.apache.axiom.om.impl.llom.factory
 [1.2.12.SNAPSHOT-wso2v1,1.3.0)' but it could not be found*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: org.wso2.carbon.eventing.server.feature.group
 [3.2.0.SNAPSHOT]*
 *[ERROR]  Cannot satisfy dependency:*
 *[ERROR]   From: WSO2 Carbon - Eventing Server Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.eventing.server.feature.group 3.2.0.SNAPSHOT)*
 *[ERROR]   To: savan-core [1.0.0.wso2v2]*
 *[ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/appserver/modules/p2-profile-gen/product/target/p2-agent/configuration/132728371.log
 *
 *[INFO]
 
 *
 *[ERROR] BUILD ERROR*
 *[INFO]
 
 *

 Any help to solve this much appreciated.

 Thanks and Regards,
 Harshana
 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

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


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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : %2B94%2077%2044%2088%20727 
 %2B94%2077%2044%2088%20727%2B94%2077%2044%2088%20727+94
 77 44 88 727
 blog : http://blog.thilinamb.com




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

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




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

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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

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




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

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org

[Carbon-dev] stratos/org.wso2.carbon.ui.menu commented out

2011-03-14 Thread Isuru Suriarachchi
In the components/stratos/pom.xml, org.wso2.carbon.ui.menu module is
commented out. But the Stratos AppServer needs it. When I uncomment and
build it, there's a compilation failure. Is this no longer used? In that
case, how can I get the AppServer build fixed?

Thanks,
~Isuru


-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
3/236K
 5/236K
 6/236K
 8/236K
 9/236K
 10/236K
 12/236K
 13/236K
 15/236K
 16/236K
 18/236K
 19/236K
 20/236K
 22/236K
 23/236K
 25/236K
 26/236K
 27/236K
 [INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.request:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.external
29/236K
30/236K
32/236K
33/236K
35/236K
36/236K
37/236K
39/236K
40/236K
42/236K
43/236K
44/236K
46/236K
47/236K
49/236K
50/236K
51/236K
53/236K
54/236K
56/236K
57/236K
59/236K
60/236K
61/236K
63/236K
64/236K
66/236K
67/236K
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.scraper:3.2.0-SNAPSHOT:
 checking for updates from wso2-maven2-snapshot-repository
68/236K
70/236K
71/236K
73/236K
74/236K
76/236K
77/236K
78/236K
80/236K
81/236K
83/236K
84/236K
85/236K
87/236K
88/236K
90/236K
91/236K
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.scraper:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.release
92/236K
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.scraper:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.external
94/236K
95/236K
96/236K
97/236K
98/236K
100/236K
101/236K
102/236K
104/236K
105/236K
106/236K
107/236K
108/236K
109/236K
111/236K
112/236K
113/236K
115/236K
115/236K
117/236K
118/236K
119/236K
121/236K
122/236K
123/236K
124/236K
125/236K
126/236K
128/236K
129/236K
130/236K
132/236K
133/236K
134/236K
136/236K
137/236K
138/236K
140/236K
141/236K
142/236K
144/236K
145/236K
146/236K
148/236K
149/236K
150/236K
152/236K
153/236K
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.session:3.2.0-SNAPSHOT:
 checking for updates from wso2-maven2-snapshot-repository
155/236K
156/236K
158/236K
159/236K
160/236K
162/236K
163/236K
164/236K
166/236K
167/236K
168/236K
170/236K
170/236K
172/236K
173/236K
174/236K
176/236K
177/236K
179/236K
180/236K
182/236K
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.session:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.release
183/236K
184/236K
186/236K
187/236K
189/236K
190/236K
191/236K
193/236K
194/236K
196/236K
197/236K
199/236K
200/236K
201/236K
203/236K
204/236K
206/236K
207/236K
208/236K
210/236K
211/236K
213/236K
214/236K
216/236K
217/236K
218/236K
220/236K
221/236K
223/236K
224/236K
225/236K
227/236K
228/236K
230/236K
231/236K
232/236K
234/236K
235/236K
236/236K
236K downloaded  (axiom-api-SNAPSHOT.jar)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.session:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.external
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.wsrequest:3.2.0-SNAPSHOT:
 checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.wsrequest:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.wsrequest:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.external
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.sparql:3.2.0-SNAPSHOT:
 checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.sparql:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript.hostobjects.sparql:3.2.0-SNAPSHOT:
 checking for updates from com.springsource.repository.bundles.external
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.jabber:3.2.0-SNAPSHOT: 
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.jabber:3.2.0-SNAPSHOT: 
checking for updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.jabber:3.2.0-SNAPSHOT: 
checking for updates from com.springsource.repository.bundles.external
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.msn:3.2.0-SNAPSHOT: checking 
for updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.msn:3.2.0-SNAPSHOT: checking 
for updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.msn:3.2.0-SNAPSHOT: checking 
for updates from com.springsource.repository.bundles.external
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.yahoo:3.2.0-SNAPSHOT: 
checking for updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.im-wrapper.yahoo:3.2.0-SNAPSHOT: 
checking for updates from com.springsource.repository.bundles.release

[Carbon-dev] stratos/org.wso2.carbon.ui.menu commented out

2011-03-14 Thread Isuru Suriarachchi
In the components/stratos/pom.xml, org.wso2.carbon.ui.menu module is
commented out. But the Stratos AppServer needs it. When I uncomment and
build it, there's a compilation failure. Is this no longer used? In that
case, how can I get the AppServer build fixed?

Thanks,
~Isuru

-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Build

2011-03-14 Thread Isuru Suriarachchi
On Mon, Mar 14, 2011 at 12:23 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Mon, Mar 14, 2011 at 12:19 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 7:41 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 We have branched the codependencies already for the trunk. So we can
 deploy these plugins to maven repo.
 Pradeep please note!


 I think the solution should be to refer to the last released version
 rather than deploying the current version. That's what we've been doing in
 previous releases as well.


 We will never patch these plugins, would we? If so why not just deploy
 them?


Yes normally we don't patch those :). But the safer (or theoretically
correct) option is to go with the latest released version.

Thanks,
~Isuru



 Thanks,
 Samisa...

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






-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Renaming test modules

2011-03-14 Thread Chamara Silva
i am going to do this

regards,
Chamara

On Mon, Mar 14, 2011 at 4:56 PM, Chamara Silva cham...@wso2.com wrote:

 Current test framework having module call common for maintain test
 framework template class and some other client classes.To move this in to
 the carbon trunk we need to have standard name like
 org.wso2.carbon.framework.core.template etc.

 --
 Suminda Chamara Silva
 WSO2 Inc.
 Mobile: +94 718 302858
 blog: http://chamaras.blogspot.com




-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Remember me feature

2011-03-14 Thread Supun Kamburugamuva
Remember me feature is not consistent across all the components.
Because of it, there are so many errors in different UI components.
For example if we change the URL manually it gives a blank page. Many
components give errors after the time out happens. I believe the
effort required to get this feature working nicely across all the
products is huge. Shall we remove it?

Thanks,
-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Supun Kamburugamuva
Finally I got an ESB build. But I had to comment out the dashboard
feature from the product. GS folks please have a look.

Thanks,
Supun..

On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com wrote:
 I'm trying to build the trunk and it seems the build is quite
 unstable. There are multiple build failures.

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build

2011-03-14 Thread Samisa Abeysinghe
On Mon, Mar 14, 2011 at 12:28 PM, Isuru Suriarachchi is...@wso2.com wrote:



 On Mon, Mar 14, 2011 at 12:23 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 12:19 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 7:41 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 We have branched the codependencies already for the trunk. So we can
 deploy these plugins to maven repo.
 Pradeep please note!


 I think the solution should be to refer to the last released version
 rather than deploying the current version. That's what we've been doing in
 previous releases as well.


 We will never patch these plugins, would we? If so why not just deploy
 them?


 Yes normally we don't patch those :). But the safer (or theoretically
 correct) option is to go with the latest released version.


But in theory, that is wrong too, you are building version X with version
X-1 plugin.

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Compilation failure in Qpid

2011-03-14 Thread Isuru Suriarachchi
Sorry, my mistake. I had not updated dependencies/qpid.

Thanks,
~Isuru

On Mon, Mar 14, 2011 at 4:33 PM, Isuru Suriarachchi is...@wso2.com wrote:

 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/isuru/checkouts/wso2/carbon/components/qpid/org.wso2.carbon.qpid/src/main/java/org/wso2/carbon/qpid/internal/QpidServiceComponent.java:[78,67]
 cannot find symbol
 symbol  : method getShutdownHook()
 location: class org.apache.qpid.server.registry.ApplicationRegistry

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 /home/isuru/checkouts/wso2/carbon/components/qpid/org.wso2.carbon.qpid/src/main/java/org/wso2/carbon/qpid/internal/QpidServiceComponent.java:[78,67]
 cannot find symbol
 symbol  : method getShutdownHook()
 location: class org.apache.qpid.server.registry.ApplicationRegistry

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Renaming test modules

2011-03-14 Thread Afkham Azeez
On Mon, Mar 14, 2011 at 4:56 PM, Chamara Silva cham...@wso2.com wrote:

 Current test framework having module call common for maintain test
 framework template class and some other client classes.To move this in to
 the carbon trunk we need to have standard name like
 org.wso2.carbon.framework.core.template etc.


carbon.framework???




 --
 Suminda Chamara Silva
 WSO2 Inc.
 Mobile: +94 718 302858
 blog: http://chamaras.blogspot.com

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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Generate client dependency versions

2011-03-14 Thread Afkham Azeez
Isuru,
Have we upgraded the versions in this tool?

-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Afkham Azeez
No, it is a very useful feature. The reason for most of these issues is
because of bugs in the UI components assuming state in HttpSession.


On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.com wrote:

 Remember me feature is not consistent across all the components.
 Because of it, there are so many errors in different UI components.
 For example if we change the URL manually it gives a blank page. Many
 components give errors after the time out happens. I believe the
 effort required to get this feature working nicely across all the
 products is huge. Shall we remove it?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Generate client dependency versions

2011-03-14 Thread Isuru Suriarachchi
On Mon, Mar 14, 2011 at 6:28 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Have we upgraded the versions in this tool?


Yes. Committed the version fixes 1 min ago.. :)

Thanks,
~Isuru



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


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




-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Amila Maha Arachchi
Hi,

While going through this, I came across the the commit r87172 done by Nuwan.
According to this, version of the parent pom is defined as
${wso2carbon.version.dashboar}. But this is defined in the parent pom.xml.
This is like the chicken  egg problem. I think we have to keep the version
as 3.2.0-SNAPSHOT or define the variable in each pom itself.

I changed this locally and was able to get the dashboard features build
successfully.

Thanks,
AmilaM.

On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva su...@wso2.com wrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
 Unable to get dependency information: Unable to read the metadata file
 for artifact 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar':
 Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
at
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
at
 

Re: [Carbon-dev] Build

2011-03-14 Thread Afkham Azeez
Well it is like using an older version of a C compiler to write a new
version of a C compiler. So, the nth C compiler version was compiled using
the (n-1)th C compiler version. The Axis plugins are something like that.

On Mon, Mar 14, 2011 at 12:33 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Mon, Mar 14, 2011 at 12:28 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 12:23 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 12:19 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Mar 14, 2011 at 7:41 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 We have branched the codependencies already for the trunk. So we can
 deploy these plugins to maven repo.
 Pradeep please note!


 I think the solution should be to refer to the last released version
 rather than deploying the current version. That's what we've been doing in
 previous releases as well.


 We will never patch these plugins, would we? If so why not just deploy
 them?


 Yes normally we don't patch those :). But the safer (or theoretically
 correct) option is to go with the latest released version.


 But in theory, that is wrong too, you are building version X with version
 X-1 plugin.

 Thanks,
 Samisa...

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



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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Message Box Build Error

2011-03-14 Thread Manjula Rathnayake
Hi Hiranya,

I will update the pom soon, This module contains some test cases, need to
update that as well.
Since I am building the trunk, it will take some time to correct this.

Rampart was used to test sqs web service with username/password included.

Thank you.

On Mon, Mar 14, 2011 at 2:24 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi Folks,

 The message box component is depending on the SNAPSHOT versions of Rampart.
 Is this correct? I'm getting following build errors due to this:


 [INFO]
 
 [INFO] Building WSO2 Carbon - Messagebox SQS Client Module
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.apache.axis2:addressing:mar:SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.apache.axis2
 -DartifactId=addressing -Dversion=20100208.162959-28 -Dpackaging=mar
 -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.apache.axis2
 -DartifactId=addressing -Dversion=20100208.162959-28 -Dpackaging=mar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.messagebox.sqs.client:bundle:3.2.0-SNAPSHOT
2) org.apache.rampart:rampart-core:jar:SNAPSHOT
3) org.apache.axis2:addressing:mar:SNAPSHOT


 Thanks
 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

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




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Product release managers for Carbon 3.2.0

2011-03-14 Thread Samisa Abeysinghe
On Mon, Mar 14, 2011 at 12:38 PM, Afkham Azeez az...@wso2.com wrote:

 All those who volunteered as RMs, please get the ball rolling starting
 today itself. We don't have much time.


The first task is to help QA team to automate tests and verify all
samples/add all samples.


 Thanks
 Azeez

 On Wed, Mar 9, 2011 at 10:21 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 We need $subject.

 Note that release managers are responsible for keeping the builds working
 and ensuring issues are fixed on time.

 Since we are targeting the Stratos release based on this Carbon release,
 we need all products working ASAP. We cannot really do a long phased chunked
 model this time around. So we need to start testing now.

 Thanks,
 Samisa...

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



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




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

  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] [Important] Carbon 3.2.0 release hackathon mode from today onwards

2011-03-14 Thread Afkham Azeez
Hi RMs and team,

Please make sure that you go into hackathon mode from today onwards. You can
start by making sure that all samples in your respective products run out of
the box, all tests are passing, and also go through all the docs in your
products. Please make this an opportunity to write integration tests for the
samples using the CarbonIntegrationTestCase I introduced. You also need to
go through the JIRAs of your respective products and then prioritize them
and assign them to whoever applicable.

Thanks
Azeez


-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Ranga Siriwardena
Hi Supun,

When building dashboard features we got following error and we are
looking in to it. Still looking for the root caused for this issue and
will let you know once we fixed it.

[INFO] 
[INFO] Building WSO2 Carbon - Dashboard Server Side Feature
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory
/media/S3A8345D001/Users/TOSHIBA/Desktop/work/New-3-2/carbon/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
null:org.wso2.carbon.dashboard.common:bundle:null for project
null:org.wso2.carbon.dashboard.common:bundle:null


On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.com wrote:
 Finally I got an ESB build. But I had to comment out the dashboard
 feature from the product. GS folks please have a look.

 Thanks,
 Supun..

 On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com wrote:
 I'm trying to build the trunk and it seems the build is quite
 unstable. There are multiple build failures.

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



Thank You.
-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.

Mobile: +94 779808031
Blog: http://rangasiriwardena.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Amila Maha Arachchi
Hi Supun,

I think I found the reason for the dashboard build failure. I replied to
your other mail in carbon-dev regarding this.

Thanks,
AmilaM.

On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.com wrote:

 Finally I got an ESB build. But I had to comment out the dashboard
 feature from the product. GS folks please have a look.

 Thanks,
 Supun..

 On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  I'm trying to build the trunk and it seems the build is quite
  unstable. There are multiple build failures.
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
 



 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

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


[Carbon-dev] Build Error in Dashboard Feature

2011-03-14 Thread Hiranya Jayathilaka
[INFO]

[INFO] Building WSO2 Carbon - Dashboard Server Side Feature
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/hiranya/Projects/Java/carbon-platform/trunk/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
null:org.wso2.carbon.dashboard.common:bundle:null for project
null:org.wso2.carbon.dashboard.common:bundle:null



-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Nuwan Bandara
Hi Amila,

On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent pom.xml.
 This is like the chicken  egg problem. I think we have to keep the version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


r87172 is committed for dashboard/components, and I think this is not the
same issue. However regarding the versions, I have defined a property called

 *wso2carbon.version.dashboard* in my dashboard root pom and in my child
poms I have given this property as the parent's version. AFAIK, this doesnt
create any cyclic issue, because at the build time, 1st of all the parent
pom is read by maven and the properties are taken to memory, and by the time
the child is build this property is there in the memory. So there cant be
any issue. I might be wrong here, but I did not encounter such issue while
building components in a clean repo.

However there seems to be an issue in the building features/dashboard Ranga
is looking in to it at the moment.

Thanks  Regards,
/Nuwan



 I changed this locally and was able to get the dashboard features build
 successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva su...@wso2.comwrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
 Unable to get dependency information: Unable to read the metadata file
 for artifact 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar':
 Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/classes
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
[INFO] Installing 
org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] Building CSG module
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 147 minutes 37 seconds
[INFO] Finished at: Mon Mar 14 19:08:14 IST 2011
[INFO] Final Memory: 1460M/1923M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Add all ports to carbon.xml ports section cleanup port definitions in carbon.xml

2011-03-14 Thread Tharindu Mathew
Hi,

Since the ldap is embedded do we need to expose it on a port?

Having too many ports open might be a concern to some.

On Mon, Mar 14, 2011 at 3:24 AM, Amila Jayasekara ami...@wso2.com wrote:

 On Sun, Mar 13, 2011 at 1:27 PM, Afkham Azeez az...@wso2.com wrote:
 
 
  On Mon, Mar 14, 2011 at 1:32 AM, Amila Jayasekara ami...@wso2.com
 wrote:
 
  On Sat, Mar 12, 2011 at 5:44 AM, Afkham Azeez az...@wso2.com wrote:
   This is mail is targeted at all devs who introduced config files to
   Carbon.
   If you config files contain port definitions, you must provide
   the functionality for users to override those using an entry in the
   carbon.xml ports section.
   Also,  others who introduced ports into random places in the
 carbon.xml
   file, now is the time to clean it up, and use the ports section to
   define
   the ports.
  
   --
   Afkham Azeez
   Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
  
   Member; Apache Software Foundation; http://www.apache.org/
   email: az...@wso2.com cell: +94 77 3320919
   blog: http://blog.afkham.org
   twitter: http://twitter.com/afkham_azeez
   linked-in: http://lk.linkedin.com/in/afkhamazeez
  
   Lean . Enterprise . Middleware
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
 
  As per above mail, LDAP server component is now reading ports from
  $CARBON_HOME/repository/conf/carbon.xml.
  Both LDAP server port and KDC port can be changed in carbon.xml's
  following configuration sections,
 
  Ports
 !-- Embedded LDAP server specific ports --
 EmbeddedLDAP
 !-- Port which embedded LDAP server runs --
 LDAPServerPort10389/LDAPServerPort
 
  This 10389 port needs to be changed in 2 XML files I think. What if we
 keep
  those commented out, with instructions for advanced users, in those files,
 and default to the values specified in the carbon.xml file?

 Hi Azeez,
 I didnt understand your question completely.
 We need to specify LDAP port in carbon.xml (for LDAP server) and
 usr-mgt.xml (For user manager).
 Are you suggesting to read LDAP port for user manager from carbon.xml ?

 Thanks
 AmilaJ
 
 
 !-- Port which KDC (Kerberos Key Distribution Center)
  server runs --
 KDCServerPort8000/KDCServerPort
 /EmbeddedLDAP
 /Ports
 
  Changes are committed to trunk.
 
  Thanks
  AmilaJ
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 




-- 
Regards,

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


Re: [Carbon-dev] Add all ports to carbon.xml ports section cleanup port definitions in carbon.xml

2011-03-14 Thread Afkham Azeez
Yes, if we can run LDAP like embedded H2 it would be great.


On Mon, Mar 14, 2011 at 7:17 PM, Tharindu Mathew thari...@wso2.com wrote:

 Hi,

 Since the ldap is embedded do we need to expose it on a port?

 Having too many ports open might be a concern to some.


 On Mon, Mar 14, 2011 at 3:24 AM, Amila Jayasekara ami...@wso2.com wrote:

 On Sun, Mar 13, 2011 at 1:27 PM, Afkham Azeez az...@wso2.com wrote:
 
 
  On Mon, Mar 14, 2011 at 1:32 AM, Amila Jayasekara ami...@wso2.com
 wrote:
 
  On Sat, Mar 12, 2011 at 5:44 AM, Afkham Azeez az...@wso2.com wrote:
   This is mail is targeted at all devs who introduced config files to
   Carbon.
   If you config files contain port definitions, you must provide
   the functionality for users to override those using an entry in the
   carbon.xml ports section.
   Also,  others who introduced ports into random places in the
 carbon.xml
   file, now is the time to clean it up, and use the ports section to
   define
   the ports.
  
   --
   Afkham Azeez
   Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
  
   Member; Apache Software Foundation; http://www.apache.org/
   email: az...@wso2.com cell: %2B94%2077%203320919+94 77 3320919
   blog: http://blog.afkham.org
   twitter: http://twitter.com/afkham_azeez
   linked-in: http://lk.linkedin.com/in/afkhamazeez
  
   Lean . Enterprise . Middleware
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
 
  As per above mail, LDAP server component is now reading ports from
  $CARBON_HOME/repository/conf/carbon.xml.
  Both LDAP server port and KDC port can be changed in carbon.xml's
  following configuration sections,
 
  Ports
 !-- Embedded LDAP server specific ports --
 EmbeddedLDAP
 !-- Port which embedded LDAP server runs --
 LDAPServerPort10389/LDAPServerPort
 
  This 10389 port needs to be changed in 2 XML files I think. What if we
 keep
  those commented out, with instructions for advanced users, in those
 files,
 and default to the values specified in the carbon.xml file?

 Hi Azeez,
 I didnt understand your question completely.
 We need to specify LDAP port in carbon.xml (for LDAP server) and
 usr-mgt.xml (For user manager).
 Are you suggesting to read LDAP port for user manager from carbon.xml ?

 Thanks
 AmilaJ
 
 
 !-- Port which KDC (Kerberos Key Distribution Center)
  server runs --
 KDCServerPort8000/KDCServerPort
 /EmbeddedLDAP
 /Ports
 
  Changes are committed to trunk.
 
  Thanks
  AmilaJ
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: %2B94%2077%203320919+94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 




 --
 Regards,

 Tharindu




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Hiranya Jayathilaka
On Mon, Mar 14, 2011 at 7:11 PM, Paul Fremantle p...@wso2.com wrote:

 I'm trying to build MB and getting:

 [INFO] Unable to find resource
 'org.apache.juddi.wso2:juddi:jar:3.0.3.wso2v1' in repository central (
 http://repo1.maven.org/maven2)

 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.


 While building components.

 Any idea?


Looks like the juddi Orbit bundle hasn't been built.

Thanks,
Hiranya



 Paul


 On 14 March 2011 13:14, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi Supun,

 I think I found the reason for the dashboard build failure. I replied to
 your other mail in carbon-dev regarding this.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Finally I got an ESB build. But I had to comment out the dashboard
 feature from the product. GS folks please have a look.

 Thanks,
 Supun..

 On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  I'm trying to build the trunk and it seems the build is quite
  unstable. There are multiple build failures.
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: %2B94%2077%20431%203585+94 77 431
 3585
  Blog: http://supunk.blogspot.com
 



 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: %2B94%2077%20431%203585+94 77 431
 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



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




 --
 Paul Fremantle
 CTO and Co-Founder, WSO2
 OASIS WS-RX TC Co-chair, VP, Apache Synapse

 Office: +44 844 484 8143
 Cell: +44 798 447 4618

 blog: http://pzf.fremantle.org
 twitter.com/pzfreo
 p...@wso2.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other confidential
 information and is intended exclusively for the addressee/s. If you are not
 the intended recipient/s, or believe that you may have received this
 communication in error, please reply to the sender indicating that fact and
 delete the copy you received and in addition, you should not print, copy,
 retransmit, disseminate, or otherwise use the information contained in this
 communication. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

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




-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Error in Dashboard Feature

2011-03-14 Thread Hiranya Jayathilaka
Any feedback on this? Ranga, have you made any progress?

Thanks,
Hiranya

On Mon, Mar 14, 2011 at 4:43 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 [INFO]
 
 [INFO] Building WSO2 Carbon - Dashboard Server Side Feature
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean]
 [INFO] Deleting directory
 /home/hiranya/Projects/Java/carbon-platform/trunk/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null



 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build error at cassandra dependency

2011-03-14 Thread Supun Malinga
btw,  dependency/cassandra artifact is deployed in the mvn repo. You can
directly build the orbit(online) without building dependency/cassandra.

Regards,

On Mon, Mar 14, 2011 at 7:33 PM, Charitha Kankanamge chari...@wso2.comwrote:

 I'm getting the following error while building dependencies. I tried to
 build cassandra separately, but got the same error. Any clue?

 mvn clean install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Apache Cassandra
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [antrun:run {execution: compile}]
 [INFO] Executing tasks

 main:
  [exec] Buildfile: build.xml
  [exec]
  [exec] clean:
  [exec]
  [exec] BUILD SUCCESSFUL
  [exec] Total time: 0 seconds
  [exec] Buildfile: build.xml
  [exec]
  [exec] ivy-download:
  [exec]
  [exec] ivy-init:
  [exec]
  [exec] ivy-retrieve-build:
  [exec] [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 ::
 http://ant.apache.org/ivy/ ::
  [exec] [ivy:retrieve] :: loading settings :: file =
 /home/charitha/projects/carbon/dependencies/cassandra/ivysettings.xml
  [exec] [ivy:retrieve] :: resolving dependencies ::
 apache-cassandra#cassandra;working@charitha-laptop
  [exec] [ivy:retrieve] confs: [default]
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-ant;2.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-generator;2.1 in ibiblio
  [exec] [ivy:retrieve] found com.thoughtworks.qdox#qdox;1.10 in
 ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-core;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found xmlenc#xmlenc;0.52 in ibiblio
  [exec] [ivy:retrieve] found commons-net#commons-net;1.4.1 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-runtime;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-compiler;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found commons-el#commons-el;1.0 in ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jets3t#jets3t;0.7.1 in
 ibiblio
  [exec] [ivy:retrieve] found net.sf.kosmosfs#kfs;0.3 in ibiblio
  [exec] [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-streaming;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found net.sf.jopt-simple#jopt-simple;3.2 in
 ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jna#jna;3.2.7 in
 java.net2
  [exec]
  [exec] BUILD FAILED
  [exec]
 /home/charitha/projects/carbon/dependencies/cassandra/build.xml:169:
 impossible to resolve dependencies:
  [exec] resolve failed - see output for details
  [exec]
  [exec] Total time: 2 seconds
  [exec] [ivy:retrieve] :: resolution report :: resolve 1743ms ::
 artifacts dl 38ms
  [exec] [ivy:retrieve] :: evicted modules:
  [exec] [ivy:retrieve] commons-logging#commons-logging;1.0.3 by
 [commons-logging#commons-logging;1.1.1] in [default]
  [exec] [ivy:retrieve] commons-httpclient#commons-httpclient;3.1 by
 [commons-httpclient#commons-httpclient;3.0.1] in [default]
  [exec]
 -
  [exec] |  |modules||
 artifacts   |
  [exec] |   conf   | number| search|dwnlded|evicted||
 number|dwnlded|
  [exec]
 -
  [exec] |  default |   32  |   0   |   0   |   2   ||   22
 |   0   |
  [exec]
 -
  [exec] [ivy:retrieve]
  [exec] [ivy:retrieve] :: problems summary ::
  [exec] [ivy:retrieve]  WARNINGS
  [exec] [ivy:retrieve] problem while downloading module descriptor:
 http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom: invalid sha1:
 expected= � 0k���a �%49 ��r�i2 .�� [�f%�(
 computed=6b29f29dab1571b5874d010c35fe68842f1fa795 (29ms)
  [exec] [ivy:retrieve] module not found: asm#asm;3.2
  [exec] [ivy:retrieve]  ibiblio: tried
  [exec] [ivy:retrieve]
 http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom
  [exec] [ivy:retrieve] problem while downloading module descriptor:
 http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom: invalid sha1:
 expected= �� 

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

2011-03-14 Thread Denis Weerasiri
On Mon, Mar 14, 2011 at 7:08 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Compiling 8 source files to
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/classes
 [INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/test/resources
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
 [INFO] Installing
 org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 [INFO] Writing OBR metadata
 [INFO]
 
 [INFO] Building CSG module
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --

Hi,
The group id convention has been violated.

 1)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 147 minutes 37 seconds
 [INFO] Finished at: Mon Mar 14 19:08:14 IST 2011
 [INFO] Final Memory: 1460M/1923M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build error at cassandra dependency

2011-03-14 Thread Charitha Kankanamge
Thanks Supun, Orbit built successfully :)

/Charitha

On Mon, Mar 14, 2011 at 7:36 PM, Supun Malinga sup...@wso2.com wrote:

 btw,  dependency/cassandra artifact is deployed in the mvn repo. You can
 directly build the orbit(online) without building dependency/cassandra.

 Regards,

 On Mon, Mar 14, 2011 at 7:33 PM, Charitha Kankanamge chari...@wso2.comwrote:

 I'm getting the following error while building dependencies. I tried to
 build cassandra separately, but got the same error. Any clue?

 mvn clean install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Apache Cassandra
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [antrun:run {execution: compile}]
 [INFO] Executing tasks

 main:
  [exec] Buildfile: build.xml
  [exec]
  [exec] clean:
  [exec]
  [exec] BUILD SUCCESSFUL
  [exec] Total time: 0 seconds
  [exec] Buildfile: build.xml
  [exec]
  [exec] ivy-download:
  [exec]
  [exec] ivy-init:
  [exec]
  [exec] ivy-retrieve-build:
  [exec] [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 ::
 http://ant.apache.org/ivy/ ::
  [exec] [ivy:retrieve] :: loading settings :: file =
 /home/charitha/projects/carbon/dependencies/cassandra/ivysettings.xml
  [exec] [ivy:retrieve] :: resolving dependencies ::
 apache-cassandra#cassandra;working@charitha-laptop
  [exec] [ivy:retrieve] confs: [default]
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-ant;2.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-generator;2.1 in ibiblio
  [exec] [ivy:retrieve] found com.thoughtworks.qdox#qdox;1.10 in
 ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-core;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found xmlenc#xmlenc;0.52 in ibiblio
  [exec] [ivy:retrieve] found commons-net#commons-net;1.4.1 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-runtime;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-compiler;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found commons-el#commons-el;1.0 in ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jets3t#jets3t;0.7.1 in
 ibiblio
  [exec] [ivy:retrieve] found net.sf.kosmosfs#kfs;0.3 in ibiblio
  [exec] [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-streaming;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found net.sf.jopt-simple#jopt-simple;3.2 in
 ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jna#jna;3.2.7 in
 java.net2
  [exec]
  [exec] BUILD FAILED
  [exec]
 /home/charitha/projects/carbon/dependencies/cassandra/build.xml:169:
 impossible to resolve dependencies:
  [exec] resolve failed - see output for details
  [exec]
  [exec] Total time: 2 seconds
  [exec] [ivy:retrieve] :: resolution report :: resolve 1743ms ::
 artifacts dl 38ms
  [exec] [ivy:retrieve] :: evicted modules:
  [exec] [ivy:retrieve] commons-logging#commons-logging;1.0.3 by
 [commons-logging#commons-logging;1.1.1] in [default]
  [exec] [ivy:retrieve] commons-httpclient#commons-httpclient;3.1
 by [commons-httpclient#commons-httpclient;3.0.1] in [default]
  [exec]
 -
  [exec] |  |modules||
 artifacts   |
  [exec] |   conf   | number| search|dwnlded|evicted||
 number|dwnlded|
  [exec]
 -
  [exec] |  default |   32  |   0   |   0   |   2   ||
 22  |   0   |
  [exec]
 -
  [exec] [ivy:retrieve]
  [exec] [ivy:retrieve] :: problems summary ::
  [exec] [ivy:retrieve]  WARNINGS
  [exec] [ivy:retrieve] problem while downloading module
 descriptor: http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom:
 invalid sha1: expected= � 0k���a �%49 ��r�i2 .�� [�f%�(
 computed=6b29f29dab1571b5874d010c35fe68842f1fa795 (29ms)
  [exec] [ivy:retrieve] module not found: asm#asm;3.2
  [exec] [ivy:retrieve]  ibiblio: tried
  [exec] [ivy:retrieve]
 http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom
  [exec] [ivy:retrieve] problem while downloading module
 descriptor: 

Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Muhammed Shariq
On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 Yes, theres no error when building dashboard components. But,

 On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent pom.xml.
 This is like the chicken  egg problem. I think we have to keep the version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


 r87172 is committed for dashboard/components, and I think this is not the
 same issue. However regarding the versions, I have defined a property called

  *wso2carbon.version.dashboard* in my dashboard root pom and in my child
 poms I have given this property as the parent's version. AFAIK, this doesnt
 create any cyclic issue, because at the build time, 1st of all the parent
 pom is read by maven and the properties are taken to memory, and by the time
 the child is build this property is there in the memory. So there cant be
 any issue. I might be wrong here, but I did not encounter such issue while
 building components in a clean repo.


 When reading the parent pom, isnt the version also needed?Because there can
 be more than one pom with the same name but different versions.

 I also don't understand the exact reason how the features get built when I
 replace your property with 3.2.0-SNAPSHOT.


I also managed to build the dashboard features by the method mention by
AmilaM, not sure whats the root cause though.


 And, most of the poms have the parent version hardcoded (just an
 observation)

 Thanks,
 AmilaM.


 However there seems to be an issue in the building features/dashboard
 Ranga is looking in to it at the moment.

 Thanks  Regards,
 /Nuwan



 I changed this locally and was able to get the dashboard features build
 successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva su...@wso2.comwrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2
 ),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 

Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Afkham Azeez
Harshana,
Please help us with this ASAP. There is total chaos now, and the build was
very stable just a few days back. We have to proceed with the testathon and
this is blocking everybody.

Thanks
Azeez

On Mon, Mar 14, 2011 at 7:57 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi,

 I tried to build the dashboard features after commenting the
 incremental build plugin from root pom and it was successful. So it
 looks after adding this plugin caused to the issue(Please correct me
 if I am wrong).

 Harshana, do we need any specific changes related to the plugin and
 can you help on solving this issue.

 Thank You.


 On Mon, Mar 14, 2011 at 6:42 PM, Ranga Siriwardena ra...@wso2.com wrote:
  Hi Supun,
 
  When building dashboard features we got following error and we are
  looking in to it. Still looking for the root caused for this issue and
  will let you know once we fixed it.
 
  [INFO]
 
  [INFO] Building WSO2 Carbon - Dashboard Server Side Feature
  [INFO]task-segment: [clean, install]
  [INFO]
 
  [INFO] [clean:clean]
  [INFO] Deleting directory
 
 /media/S3A8345D001/Users/TOSHIBA/Desktop/work/New-3-2/carbon/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
  [INFO]
 
  [ERROR] BUILD ERROR
  [INFO]
 
  [INFO] Error building POM (may not be this project's POM).
 
 
  Project ID: null:org.wso2.carbon.dashboard.common:bundle:null
 
  Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
  null:org.wso2.carbon.dashboard.common:bundle:null for project
  null:org.wso2.carbon.dashboard.common:bundle:null
 
 
  On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  Finally I got an ESB build. But I had to comment out the dashboard
  feature from the product. GS folks please have a look.
 
  Thanks,
  Supun..
 
  On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  I'm trying to build the trunk and it seems the build is quite
  unstable. There are multiple build failures.
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  Thank You.
  --
  Ranga Siriwardena
  Software Engineer
  WSO2 Inc.
 
  Mobile: +94 779808031
  Blog: http://rangasiriwardena.blogspot.com/
 



 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.

 Mobile: +94 779808031
 Blog: http://rangasiriwardena.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Nuwan Bandara
Hi Amila,

Anyhow will investigate more into this and will let you know.

Thanks,
/Nuwan

On Mon, Mar 14, 2011 at 7:53 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 Yes, theres no error when building dashboard components. But,

 On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent pom.xml.
 This is like the chicken  egg problem. I think we have to keep the version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


 r87172 is committed for dashboard/components, and I think this is not the
 same issue. However regarding the versions, I have defined a property called

  *wso2carbon.version.dashboard* in my dashboard root pom and in my child
 poms I have given this property as the parent's version. AFAIK, this doesnt
 create any cyclic issue, because at the build time, 1st of all the parent
 pom is read by maven and the properties are taken to memory, and by the time
 the child is build this property is there in the memory. So there cant be
 any issue. I might be wrong here, but I did not encounter such issue while
 building components in a clean repo.


 When reading the parent pom, isnt the version also needed?Because there
 can be more than one pom with the same name but different versions.


 Well a child pom can have only one parent pom I belive, and the parent pom
 has the version hard-coded in this case. So I think it should be alright.



 I also don't understand the exact reason how the features get built when I
 replace your property with 3.2.0-SNAPSHOT.


 Wired, how ever for this particular issue we figured that its a result of
 some issue in the incremental build plugin. Ranga will provide more details.

 Regards,
 /Nuwan



 And, most of the poms have the parent version hardcoded (just an
 observation)

 Thanks,
 AmilaM.


 However there seems to be an issue in the building features/dashboard
 Ranga is looking in to it at the moment.

 Thanks  Regards,
 /Nuwan



 I changed this locally and was able to get the dashboard features build
 successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva su...@wso2.comwrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (
 http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 

Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Amila Maha Arachchi
Hi Nuwan,

On Mon, Mar 14, 2011 at 8:01 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 Anyhow will investigate more into this and will let you know.


Yes. Your commit was done on 9th Feb and this was building fine after that
until last Friday (thats when I built this for the last time). So, the
version property cant be the only reason (although removing it fixes the
issue).

Thanks,
AmilaM.


 Thanks,
 /Nuwan


 On Mon, Mar 14, 2011 at 7:53 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 Yes, theres no error when building dashboard components. But,

 On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent pom.xml.
 This is like the chicken  egg problem. I think we have to keep the 
 version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


 r87172 is committed for dashboard/components, and I think this is not
 the same issue. However regarding the versions, I have defined a property
 called
  *wso2carbon.version.dashboard* in my dashboard root pom and in my
 child poms I have given this property as the parent's version. AFAIK, this
 doesnt create any cyclic issue, because at the build time, 1st of all the
 parent pom is read by maven and the properties are taken to memory, and by
 the time the child is build this property is there in the memory. So there
 cant be any issue. I might be wrong here, but I did not encounter such 
 issue
 while building components in a clean repo.


 When reading the parent pom, isnt the version also needed?Because there
 can be more than one pom with the same name but different versions.


 Well a child pom can have only one parent pom I belive, and the parent pom
 has the version hard-coded in this case. So I think it should be alright.



 I also don't understand the exact reason how the features get built when
 I replace your property with 3.2.0-SNAPSHOT.


 Wired, how ever for this particular issue we figured that its a result of
 some issue in the incremental build plugin. Ranga will provide more details.

 Regards,
 /Nuwan



 And, most of the poms have the parent version hardcoded (just an
 observation)

 Thanks,
 AmilaM.


 However there seems to be an issue in the building features/dashboard
 Ranga is looking in to it at the moment.

 Thanks  Regards,
 /Nuwan



 I changed this locally and was able to get the dashboard features build
 successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva 
 su...@wso2.comwrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (
 http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at 

Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Dimuthu Leelarathne
Hi,

On Mon, Mar 14, 2011 at 6:23 PM, Afkham Azeez az...@wso2.com wrote:

 No, it is a very useful feature. The reason for most of these issues is
 because of bugs in the UI components assuming state in HttpSession.


+1. Since this feature is already implemented we can begin testing.

thanks,
dimuthu




 On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Remember me feature is not consistent across all the components.
 Because of it, there are so many errors in different UI components.
 For example if we change the URL manually it gives a blank page. Many
 components give errors after the time out happens. I believe the
 effort required to get this feature working nicely across all the
 products is huge. Shall we remove it?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: %2B94%2077%20431%203585+94 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




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


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


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


Re: [Carbon-dev] Build error at cassandra dependency

2011-03-14 Thread Indika Kumara
Charitha , Could you please let me know ant and maven versions?

BTW, Cassandra was added more than one month ago. I have built it many times
and even Deep built it a few times but never got such an issue. For that
matter, Cassandra is built successfully in builder machine.

I will check whether there are some conditions that can make it fail.

Thanks,

Indika

On Mon, Mar 14, 2011 at 8:03 PM, Charitha Kankanamge chari...@wso2.comwrote:

 I'm getting the following error while building dependencies. I tried to
 build cassandra separately, but got the same error. Any clue?

 mvn clean install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Apache Cassandra
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [antrun:run {execution: compile}]
 [INFO] Executing tasks

 main:
  [exec] Buildfile: build.xml
  [exec]
  [exec] clean:
  [exec]
  [exec] BUILD SUCCESSFUL
  [exec] Total time: 0 seconds
  [exec] Buildfile: build.xml
  [exec]
  [exec] ivy-download:
  [exec]
  [exec] ivy-init:
  [exec]
  [exec] ivy-retrieve-build:
  [exec] [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 ::
 http://ant.apache.org/ivy/ ::
  [exec] [ivy:retrieve] :: loading settings :: file =
 /home/charitha/projects/carbon/dependencies/cassandra/ivysettings.xml
  [exec] [ivy:retrieve] :: resolving dependencies ::
 apache-cassandra#cassandra;working@charitha-laptop
  [exec] [ivy:retrieve] confs: [default]
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-ant;2.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-generator;2.1 in ibiblio
  [exec] [ivy:retrieve] found com.thoughtworks.qdox#qdox;1.10 in
 ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-core;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found xmlenc#xmlenc;0.52 in ibiblio
  [exec] [ivy:retrieve] found commons-net#commons-net;1.4.1 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-runtime;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-compiler;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found commons-el#commons-el;1.0 in ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jets3t#jets3t;0.7.1 in
 ibiblio
  [exec] [ivy:retrieve] found net.sf.kosmosfs#kfs;0.3 in ibiblio
  [exec] [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-streaming;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found net.sf.jopt-simple#jopt-simple;3.2 in
 ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jna#jna;3.2.7 in
 java.net2
  [exec]
  [exec] BUILD FAILED
  [exec]
 /home/charitha/projects/carbon/dependencies/cassandra/build.xml:169:
 impossible to resolve dependencies:
  [exec] resolve failed - see output for details
  [exec]
  [exec] Total time: 2 seconds
  [exec] [ivy:retrieve] :: resolution report :: resolve 1743ms ::
 artifacts dl 38ms
  [exec] [ivy:retrieve] :: evicted modules:
  [exec] [ivy:retrieve] commons-logging#commons-logging;1.0.3 by
 [commons-logging#commons-logging;1.1.1] in [default]
  [exec] [ivy:retrieve] commons-httpclient#commons-httpclient;3.1 by
 [commons-httpclient#commons-httpclient;3.0.1] in [default]
  [exec]
 -
  [exec] |  |modules||
 artifacts   |
  [exec] |   conf   | number| search|dwnlded|evicted||
 number|dwnlded|
  [exec]
 -
  [exec] |  default |   32  |   0   |   0   |   2   ||   22
 |   0   |
  [exec]
 -
  [exec] [ivy:retrieve]
  [exec] [ivy:retrieve] :: problems summary ::
  [exec] [ivy:retrieve]  WARNINGS
  [exec] [ivy:retrieve] problem while downloading module descriptor:
 http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom: invalid sha1:
 expected= � 0k���a �%49 ��r�i2 .�� [�f%�(
 computed=6b29f29dab1571b5874d010c35fe68842f1fa795 (29ms)
  [exec] [ivy:retrieve] module not found: asm#asm;3.2
  [exec] [ivy:retrieve]  ibiblio: tried
  [exec] [ivy:retrieve]
 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Resources directory does not exist : 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
[INFO] Verifying sources...
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
[INFO] Installing 
org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] Building CSG module
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 48 minutes 11 seconds
[INFO] Finished at: Mon Mar 14 20:38:03 IST 2011
[INFO] Final Memory: 1289M/1769M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Milinda Pathirage
Issues Supun showed to me didn't involve any component UIs. We just type a
random URL in the browser and it showed a wired UI for these random URLs.

Thanks
Milinda

On Mon, Mar 14, 2011 at 8:25 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 On Mon, Mar 14, 2011 at 6:23 PM, Afkham Azeez az...@wso2.com wrote:

 No, it is a very useful feature. The reason for most of these issues is
 because of bugs in the UI components assuming state in HttpSession.


 +1. Since this feature is already implemented we can begin testing.

 thanks,
 dimuthu




 On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Remember me feature is not consistent across all the components.
 Because of it, there are so many errors in different UI components.
 For example if we change the URL manually it gives a blank page. Many
 components give errors after the time out happens. I believe the
 effort required to get this feature working nicely across all the
 products is huge. Shall we remove it?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: 
 %2B94%2077%20431%203585%2B94%2077%20431%203585+94
 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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



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




-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

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


[Carbon-dev] Cannot return input stream for content of type: [Ljava.lang.String;

2011-03-14 Thread Andrew Manson
Hi All,

I've already created an issue for this problem here:
https://wso2.org/jira/browse/ESBJAVA-755 but I just wanted to check if
anyone else has experienced the same problems as I have.

I am using ESB and creating a JNDI Datasource for my database connections. I
can create the datasources fine but after restarting the server I get a
series of errors saying:

Cannot return input stream for content of type: [Ljava.lang.String;

I don't quite know if it is something that I'm doing wrong but after these
errors the server becomes unusable and I have to re-extract the zip file
before I can get a working environment again.

Can anyone suggest how I can debug this issue any further?

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


Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Afkham Azeez
OK, can you guys help us fix this? The issue should be in
CarbonSecuredHttpContext


On Mon, Mar 14, 2011 at 8:48 PM, Milinda Pathirage mili...@wso2.com wrote:

 Issues Supun showed to me didn't involve any component UIs. We just type a
 random URL in the browser and it showed a wired UI for these random URLs.

 Thanks
 Milinda


 On Mon, Mar 14, 2011 at 8:25 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 On Mon, Mar 14, 2011 at 6:23 PM, Afkham Azeez az...@wso2.com wrote:

 No, it is a very useful feature. The reason for most of these issues is
 because of bugs in the UI components assuming state in HttpSession.


 +1. Since this feature is already implemented we can begin testing.

 thanks,
 dimuthu




 On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Remember me feature is not consistent across all the components.
 Because of it, there are so many errors in different UI components.
 For example if we change the URL manually it gives a blank page. Many
 components give errors after the time out happens. I believe the
 effort required to get this feature working nicely across all the
 products is huge. Shall we remove it?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: 
 %2B94%2077%20431%203585%2B94%2077%20431%203585%2B94%2077%20431%203585+94
 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: 
 %2B94%2077%203320919%2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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



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




 --
 Milinda Pathirage
 Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
 http://wso2.com
 Blog: http://blog.mpathirage.com

 Lean Enterprise Middleware

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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build error at cassandra dependency

2011-03-14 Thread Charitha Kankanamge
Hi Indika,

mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
Java version: 1.6.0_21

ant -version
Apache Ant version 1.7.1 compiled on July 2 2010

Regards
Charitha


On Mon, Mar 14, 2011 at 8:30 PM, Indika Kumara ind...@wso2.com wrote:

 Charitha , Could you please let me know ant and maven versions?

 BTW, Cassandra was added more than one month ago. I have built it many
 times and even Deep built it a few times but never got such an issue. For
 that matter, Cassandra is built successfully in builder machine.

 I will check whether there are some conditions that can make it fail.

 Thanks,

 Indika

 On Mon, Mar 14, 2011 at 8:03 PM, Charitha Kankanamge chari...@wso2.comwrote:

 I'm getting the following error while building dependencies. I tried to
 build cassandra separately, but got the same error. Any clue?

 mvn clean install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Apache Cassandra
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/charitha/projects/carbon/dependencies/cassandra/target
 [INFO] [antrun:run {execution: compile}]
 [INFO] Executing tasks

 main:
  [exec] Buildfile: build.xml
  [exec]
  [exec] clean:
  [exec]
  [exec] BUILD SUCCESSFUL
  [exec] Total time: 0 seconds
  [exec] Buildfile: build.xml
  [exec]
  [exec] ivy-download:
  [exec]
  [exec] ivy-init:
  [exec]
  [exec] ivy-retrieve-build:
  [exec] [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 ::
 http://ant.apache.org/ivy/ ::
  [exec] [ivy:retrieve] :: loading settings :: file =
 /home/charitha/projects/carbon/dependencies/cassandra/ivysettings.xml
  [exec] [ivy:retrieve] :: resolving dependencies ::
 apache-cassandra#cassandra;working@charitha-laptop
  [exec] [ivy:retrieve] confs: [default]
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-ant;2.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.thoughtworks.paranamer#paranamer-generator;2.1 in ibiblio
  [exec] [ivy:retrieve] found com.thoughtworks.qdox#qdox;1.10 in
 ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-core;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found xmlenc#xmlenc;0.52 in ibiblio
  [exec] [ivy:retrieve] found commons-net#commons-net;1.4.1 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-runtime;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found tomcat#jasper-compiler;5.5.12 in
 ibiblio
  [exec] [ivy:retrieve] found commons-el#commons-el;1.0 in ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jets3t#jets3t;0.7.1 in
 ibiblio
  [exec] [ivy:retrieve] found net.sf.kosmosfs#kfs;0.3 in ibiblio
  [exec] [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in ibiblio
  [exec] [ivy:retrieve] found
 com.cloudera.hadoop#hadoop-streaming;0.20.2-320 in cloudera
  [exec] [ivy:retrieve] found net.sf.jopt-simple#jopt-simple;3.2 in
 ibiblio
  [exec] [ivy:retrieve] found net.java.dev.jna#jna;3.2.7 in
 java.net2
  [exec]
  [exec] BUILD FAILED
  [exec]
 /home/charitha/projects/carbon/dependencies/cassandra/build.xml:169:
 impossible to resolve dependencies:
  [exec] resolve failed - see output for details
  [exec]
  [exec] Total time: 2 seconds
  [exec] [ivy:retrieve] :: resolution report :: resolve 1743ms ::
 artifacts dl 38ms
  [exec] [ivy:retrieve] :: evicted modules:
  [exec] [ivy:retrieve] commons-logging#commons-logging;1.0.3 by
 [commons-logging#commons-logging;1.1.1] in [default]
  [exec] [ivy:retrieve] commons-httpclient#commons-httpclient;3.1
 by [commons-httpclient#commons-httpclient;3.0.1] in [default]
  [exec]
 -
  [exec] |  |modules||
 artifacts   |
  [exec] |   conf   | number| search|dwnlded|evicted||
 number|dwnlded|
  [exec]
 -
  [exec] |  default |   32  |   0   |   0   |   2   ||
 22  |   0   |
  [exec]
 -
  [exec] [ivy:retrieve]
  [exec] [ivy:retrieve] :: problems summary ::
  [exec] [ivy:retrieve]  WARNINGS
  [exec] [ivy:retrieve] problem while downloading module
 descriptor: http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.pom:
 invalid sha1: expected= � 0k���a �%49 ��r�i2 .�� 

Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Afkham Azeez
Nuwan, Harshana,
Please try to fix this ASAP. It is holding back the entire team.

Thanks
Azeez

On Mon, Mar 14, 2011 at 8:22 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 On Mon, Mar 14, 2011 at 8:01 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 Anyhow will investigate more into this and will let you know.


 Yes. Your commit was done on 9th Feb and this was building fine after that
 until last Friday (thats when I built this for the last time). So, the
 version property cant be the only reason (although removing it fixes the
 issue).

 Thanks,
 AmilaM.


 Thanks,
 /Nuwan


 On Mon, Mar 14, 2011 at 7:53 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 Yes, theres no error when building dashboard components. But,

 On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent 
 pom.xml.
 This is like the chicken  egg problem. I think we have to keep the 
 version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


 r87172 is committed for dashboard/components, and I think this is not
 the same issue. However regarding the versions, I have defined a property
 called
  *wso2carbon.version.dashboard* in my dashboard root pom and in my
 child poms I have given this property as the parent's version. AFAIK, this
 doesnt create any cyclic issue, because at the build time, 1st of all the
 parent pom is read by maven and the properties are taken to memory, and by
 the time the child is build this property is there in the memory. So there
 cant be any issue. I might be wrong here, but I did not encounter such 
 issue
 while building components in a clean repo.


 When reading the parent pom, isnt the version also needed?Because there
 can be more than one pom with the same name but different versions.


 Well a child pom can have only one parent pom I belive, and the parent
 pom has the version hard-coded in this case. So I think it should be
 alright.



 I also don't understand the exact reason how the features get built when
 I replace your property with 3.2.0-SNAPSHOT.


 Wired, how ever for this particular issue we figured that its a result of
 some issue in the incremental build plugin. Ranga will provide more details.

 Regards,
 /Nuwan



 And, most of the poms have the parent version hardcoded (just an
 observation)

 Thanks,
 AmilaM.


 However there seems to be an issue in the building features/dashboard
 Ranga is looking in to it at the moment.

 Thanks  Regards,
 /Nuwan



 I changed this locally and was able to get the dashboard features
 build successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva 
 su...@wso2.comwrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
 dependency information: Unable to read the metadata file for artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  org.wso2.carbon:org.wso2.carbon.dashboard.common:jar:3.2.0-SNAPSHOT

 from the specified remote repositories:
  com.springsource.repository.bundles.external
 (http://repository.springsource.com/maven/bundles/external),
  com.springsource.repository.bundles.release
 (http://repository.springsource.com/maven/bundles/release),
  wso2-maven2-snapshot-repository (
 http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)

 Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:pom:3.2.0-SNAPSHOT


at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 

Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Milinda Pathirage
Will check this.

Thanks
Milinda

On Mon, Mar 14, 2011 at 8:54 PM, Afkham Azeez az...@wso2.com wrote:

 OK, can you guys help us fix this? The issue should be in
 CarbonSecuredHttpContext


 On Mon, Mar 14, 2011 at 8:48 PM, Milinda Pathirage mili...@wso2.comwrote:

 Issues Supun showed to me didn't involve any component UIs. We just type a
 random URL in the browser and it showed a wired UI for these random URLs.

 Thanks
 Milinda


 On Mon, Mar 14, 2011 at 8:25 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 On Mon, Mar 14, 2011 at 6:23 PM, Afkham Azeez az...@wso2.com wrote:

 No, it is a very useful feature. The reason for most of these issues is
 because of bugs in the UI components assuming state in HttpSession.


 +1. Since this feature is already implemented we can begin testing.

 thanks,
 dimuthu




 On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Remember me feature is not consistent across all the components.
 Because of it, there are so many errors in different UI components.
 For example if we change the URL manually it gives a blank page. Many
 components give errors after the time out happens. I believe the
 effort required to get this feature working nicely across all the
 products is huge. Shall we remove it?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: 
 %2B94%2077%20431%203585%2B94%2077%20431%203585%2B94%2077%20431%203585%2B94%2077%20431%203585+94
 77 431 3585
 Blog: http://supunk.blogspot.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: 
 %2B94%2077%203320919%2B94%2077%203320919%2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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



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




 --
 Milinda Pathirage
 Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
 http://wso2.com
 Blog: http://blog.mpathirage.com

 Lean Enterprise Middleware

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




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




-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

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


[Carbon-dev] CSG component build failures, convention violations etc lets remove it from main build

2011-03-14 Thread Afkham Azeez
[WARNING] POM for 'org.apache.lucene:lucene-core:pom:2.3.1:compile' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO]

[INFO] Building CSG module
[INFO]task-segment: [idea:idea]
[INFO]

[INFO] Preparing idea:idea
[INFO] No goals needed for project - skipping
[INFO] [idea:idea {execution: default-cli}]
[WARNING] POM for 'org.apache.lucene:lucene-core:pom:2.3.1:compile' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] An error occurred during dependency resolution of the following
artifact:

org.wso2.carbon:org.wso2.carbon.cloud.csg3.2.0-SNAPSHOT

Caused by: Missing:
--
1)
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
   2)
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]

[INFO] Building CSG Agent module
[INFO]task-segment: [idea:idea]
[INFO]

[INFO] Preparing idea:idea
[WARNING] Overriding profile: 'product-wsas' (source: pom) with new instance
from source: pom
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1)
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.wso2.carbon:org.wso2.carbon.cloud.csg.agent:bundle:3.2.0-SNAPSHOT
   2)
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.wso2.carbon:org.wso2.carbon.cloud.csg.agent:bundle:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release (
http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external (
http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 12 seconds
[INFO] Finished at: Mon Mar 14 21:46:42 IST 2011
[INFO] Final Memory: 60M/118M
[INFO]



-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org

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

2011-03-14 Thread Denis Weerasiri
On Mon, Mar 14, 2011 at 8:38 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Resources directory does not exist :
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
 [INFO] Verifying sources...
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/test/resources
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Not compiling test sources
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Tests are skipped.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 /home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
 [INFO] Installing
 org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 [INFO] Writing OBR metadata
 [INFO]
 
 [INFO] Building CSG module
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

Modified to 3.2.0-SNAPSHOT


  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 48 minutes 11 seconds
 [INFO] Finished at: Mon Mar 14 20:38:03 IST 2011
 [INFO] Final Memory: 1289M/1769M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] stratos/org.wso2.carbon.ui.menu commented out

2011-03-14 Thread Isuru Suriarachchi
Anyone who knows about this??

On Mon, Mar 14, 2011 at 5:58 PM, Isuru Suriarachchi is...@wso2.com wrote:

 In the components/stratos/pom.xml, org.wso2.carbon.ui.menu module is
 commented out. But the Stratos AppServer needs it. When I uncomment and
 build it, there's a compilation failure. Is this no longer used? In that
 case, how can I get the AppServer build fixed?

 Thanks,
 ~Isuru


 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] stratos/org.wso2.carbon.ui.menu commented out

2011-03-14 Thread Amila Silva
Hi,

It was commented out because there was a compilation error. Please take a
look here,
http://wso2.markmail.org/search/list:org.wso2.stratos-dev#query:list%3Aorg.wso2.stratos-dev+page:1+mid:ud2je6fvx7tsdvc6+state:results
It's working now :)

On Mon, Mar 14, 2011 at 10:05 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Anyone who knows about this??

 On Mon, Mar 14, 2011 at 5:58 PM, Isuru Suriarachchi is...@wso2.comwrote:

 In the components/stratos/pom.xml, org.wso2.carbon.ui.menu module is
 commented out. But the Stratos AppServer needs it. When I uncomment and
 build it, there's a compilation failure. Is this no longer used? In that
 case, how can I get the AppServer build fixed?

 Thanks,
 ~Isuru


 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




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


[Carbon-dev] Carbon core startup time increased from 8s to 30s on my Mac

2011-03-14 Thread Afkham Azeez
Folks,
I want to let you know that there has been a significant impact on the
startup time from the recent changes.

-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Harshana Martin
Hi Azeez and All,

On Mon, Mar 14, 2011 at 8:59 PM, Afkham Azeez az...@wso2.com wrote:

 Nuwan, Harshana,
 Please try to fix this ASAP. It is holding back the entire team.


When we don't have incremental build integrated, dashboard builds fine. When
we have incremental build in place it has this problem. (I just tested with
and without it).

When we have incremental build plugin in there, it complaints about
null:org.wso2.carbon.dashboard.common:bundle:null. But after commenting
out the org.wso2.carbon.dashboard.common from the dependencies section, it
builds fine with incremental build. Here the thing is
same org.wso2.carbon.dashboard.common bundle is declared as a dependency and
included as in the bundles section as well ( see below)

dependency
groupIdorg.wso2.carbon/groupId
artifactIdorg.wso2.carbon.dashboard.common/artifactId
version3.2.0-SNAPSHOT/version
/dependency

and

bundleDeforg.wso2.carbon:org.wso2.carbon.dashboard.common/bundleDef.

When i commented the dependency section it builds fine with
Incremental-Build. So how should we tackle this?

For the moment I can revert the incremental build. Shall I do that?

@Team, Extremely sorry for the inconvenience.

Thanks and Regards,
Harshana



 Thanks
 Azeez


 On Mon, Mar 14, 2011 at 8:22 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Nuwan,

 On Mon, Mar 14, 2011 at 8:01 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 Anyhow will investigate more into this and will let you know.


 Yes. Your commit was done on 9th Feb and this was building fine after that
 until last Friday (thats when I built this for the last time). So, the
 version property cant be the only reason (although removing it fixes the
 issue).

 Thanks,
 AmilaM.


 Thanks,
 /Nuwan


 On Mon, Mar 14, 2011 at 7:53 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi Nuwan,

 Yes, theres no error when building dashboard components. But,

 On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Amila,

 On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi ami...@wso2.com
  wrote:

 Hi,

 While going through this, I came across the the commit r87172 done by
 Nuwan. According to this, version of the parent pom is defined as
 ${wso2carbon.version.dashboar}. But this is defined in the parent 
 pom.xml.
 This is like the chicken  egg problem. I think we have to keep the 
 version
 as 3.2.0-SNAPSHOT or define the variable in each pom itself.


 r87172 is committed for dashboard/components, and I think this is not
 the same issue. However regarding the versions, I have defined a property
 called
  *wso2carbon.version.dashboard* in my dashboard root pom and in my
 child poms I have given this property as the parent's version. AFAIK, 
 this
 doesnt create any cyclic issue, because at the build time, 1st of all the
 parent pom is read by maven and the properties are taken to memory, and 
 by
 the time the child is build this property is there in the memory. So 
 there
 cant be any issue. I might be wrong here, but I did not encounter such 
 issue
 while building components in a clean repo.


 When reading the parent pom, isnt the version also needed?Because there
 can be more than one pom with the same name but different versions.


 Well a child pom can have only one parent pom I belive, and the parent
 pom has the version hard-coded in this case. So I think it should be
 alright.



 I also don't understand the exact reason how the features get built
 when I replace your property with 3.2.0-SNAPSHOT.


 Wired, how ever for this particular issue we figured that its a result
 of some issue in the incremental build plugin. Ranga will provide more
 details.

 Regards,
 /Nuwan



 And, most of the poms have the parent version hardcoded (just an
 observation)

 Thanks,
 AmilaM.


 However there seems to be an issue in the building features/dashboard
 Ranga is looking in to it at the moment.

 Thanks  Regards,
 /Nuwan



 I changed this locally and was able to get the dashboard features
 build successfully.

 Thanks,
 AmilaM.


 On Mon, Mar 14, 2011 at 3:14 PM, Supun Kamburugamuva su...@wso2.com
  wrote:

 FYI:

 Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

 Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null


 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
 get
 dependency information: Unable to read the metadata file for
 artifact
 'org.wso2.carbon:org.wso2.carbon.dashboard.common:jar': Cannot find
 parent: org.wso2.carbon:dashboard for project:
 null:org.wso2.carbon.dashboard.common:bundle:null for project
 null:org.wso2.carbon.dashboard.common:bundle:null
  

Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Harshana Martin
On Mon, Mar 14, 2011 at 8:02 PM, Afkham Azeez az...@wso2.com wrote:

 Harshana,
 Please help us with this ASAP. There is total chaos now, and the build was
 very stable just a few days back. We have to proceed with the testathon and
 this is blocking everybody.


I'm working on it. For the moment I'm gonna disable the Incremental build
thing and will discuss about the observations I had, tomorrow.

Thanks and Regards,
Harshana


 Thanks
 Azeez


 On Mon, Mar 14, 2011 at 7:57 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi,

 I tried to build the dashboard features after commenting the
 incremental build plugin from root pom and it was successful. So it
 looks after adding this plugin caused to the issue(Please correct me
 if I am wrong).

 Harshana, do we need any specific changes related to the plugin and
 can you help on solving this issue.

 Thank You.


 On Mon, Mar 14, 2011 at 6:42 PM, Ranga Siriwardena ra...@wso2.com
 wrote:
  Hi Supun,
 
  When building dashboard features we got following error and we are
  looking in to it. Still looking for the root caused for this issue and
  will let you know once we fixed it.
 
  [INFO]
 
  [INFO] Building WSO2 Carbon - Dashboard Server Side Feature
  [INFO]task-segment: [clean, install]
  [INFO]
 
  [INFO] [clean:clean]
  [INFO] Deleting directory
 
 /media/S3A8345D001/Users/TOSHIBA/Desktop/work/New-3-2/carbon/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
  [INFO]
 
  [ERROR] BUILD ERROR
  [INFO]
 
  [INFO] Error building POM (may not be this project's POM).
 
 
  Project ID: null:org.wso2.carbon.dashboard.common:bundle:null
 
  Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
  null:org.wso2.carbon.dashboard.common:bundle:null for project
  null:org.wso2.carbon.dashboard.common:bundle:null
 
 
  On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  Finally I got an ESB build. But I had to comment out the dashboard
  feature from the product. GS folks please have a look.
 
  Thanks,
  Supun..
 
  On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  I'm trying to build the trunk and it seems the build is quite
  unstable. There are multiple build failures.
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: %2B94%2077%20431%203585+94 77 431
 3585
  Blog: http://supunk.blogspot.com
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: %2B94%2077%20431%203585+94 77 431
 3585
  Blog: http://supunk.blogspot.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  Thank You.
  --
  Ranga Siriwardena
  Software Engineer
  WSO2 Inc.
 
  Mobile: %2B94%20779808031+94 779808031
  Blog: http://rangasiriwardena.blogspot.com/
 



 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.

 Mobile: %2B94%20779808031+94 779808031
 Blog: http://rangasiriwardena.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




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


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




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

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Are we having dependencies to the carbon-core from components ?

2011-03-14 Thread Pradeep Fernando
On Mon, Mar 14, 2011 at 11:05 PM, Milinda Pathirage mili...@wso2.com wrote:
 We should move service stub components to top level and these should be
 build before building Carbon core if we are using them inside Carbon core. I
 talked to Pradeep about this. He will do the necessary fixes. Until he does
 that, you can go to component/service-stubs and build it before building
 Carbon core.

done
--Pradeep

 Thanks
 Milinda
 On Mon, Mar 14, 2011 at 10:59 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi

 Are we having dependencies to the carbon-core from components ? Is that
 correct practice ? [1]

  dependency
   groupIdorg.wso2.carbon/groupId
   artifactIdorg.wso2.carbon.authenticator.stub/artifactId


  /dependency

 org.wso2.carbon.authenticator.stub is in components and added as a
 dependency.

 [1]
 https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/pom.xml

 --
 Thanks  Regards,

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

 http://www.nuwanbando.com



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




 --
 Milinda Pathirage
 Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
 http://wso2.com
 Blog: http://blog.mpathirage.com

 Lean Enterprise Middleware

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





-- 
Pradeep Fernando
Software Engineer
WSO2 Inc; http://wso2.com/

blog: http://pradeepfernando.blogspot.com/
m: +94776603662
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Hold off all changes to Admin service APIs, WSDLs and stubs until further notice

2011-03-14 Thread Afkham Azeez
-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Module org.wso2.carbon, org.wso2.carbon.core, 3.2.0-SNAPSHOT updated
[INFO] Deleting 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/classes
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/carbon/stratos/carbon/components/csg/org.wso2.carbon.cloud.csg.common/target/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
[INFO] Installing 
org/wso2/carbon/org.wso2.carbon.cloud.csg.common/3.2.0-SNAPSHOT/org.wso2.carbon.cloud.csg.common-3.2.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] Building CSG module
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common 
-DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2) 
org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 173 minutes 50 seconds
[INFO] Finished at: Tue Mar 15 00:07:25 IST 2011
[INFO] Final Memory: 1436M/1904M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build is very unstable

2011-03-14 Thread Harshana Martin
On Mon, Mar 14, 2011 at 11:15 PM, Harshana Martin harsh...@wso2.com wrote:



 On Mon, Mar 14, 2011 at 8:02 PM, Afkham Azeez az...@wso2.com wrote:

 Harshana,
 Please help us with this ASAP. There is total chaos now, and the build was
 very stable just a few days back. We have to proceed with the testathon and
 this is blocking everybody.


  I'm working on it. For the moment I'm gonna disable the Incremental build
 thing and will discuss about the observations I had, tomorrow.

I have disabled the  Incremental build now. it works as usual as of now.


 Thanks and Regards,
 Harshana


 Thanks
 Azeez


 On Mon, Mar 14, 2011 at 7:57 PM, Ranga Siriwardena ra...@wso2.comwrote:

 Hi,

 I tried to build the dashboard features after commenting the
 incremental build plugin from root pom and it was successful. So it
 looks after adding this plugin caused to the issue(Please correct me
 if I am wrong).

 Harshana, do we need any specific changes related to the plugin and
 can you help on solving this issue.

 Thank You.


 On Mon, Mar 14, 2011 at 6:42 PM, Ranga Siriwardena ra...@wso2.com
 wrote:
  Hi Supun,
 
  When building dashboard features we got following error and we are
  looking in to it. Still looking for the root caused for this issue and
  will let you know once we fixed it.
 
  [INFO]
 
  [INFO] Building WSO2 Carbon - Dashboard Server Side Feature
  [INFO]task-segment: [clean, install]
  [INFO]
 
  [INFO] [clean:clean]
  [INFO] Deleting directory
 
 /media/S3A8345D001/Users/TOSHIBA/Desktop/work/New-3-2/carbon/features/dashboard/org.wso2.carbon.dashboard.server.feature/target
  [INFO]
 
  [ERROR] BUILD ERROR
  [INFO]
 
  [INFO] Error building POM (may not be this project's POM).
 
 
  Project ID: null:org.wso2.carbon.dashboard.common:bundle:null
 
  Reason: Cannot find parent: org.wso2.carbon:dashboard for project:
  null:org.wso2.carbon.dashboard.common:bundle:null for project
  null:org.wso2.carbon.dashboard.common:bundle:null
 
 
  On Mon, Mar 14, 2011 at 6:17 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  Finally I got an ESB build. But I had to comment out the dashboard
  feature from the product. GS folks please have a look.
 
  Thanks,
  Supun..
 
  On Mon, Mar 14, 2011 at 3:30 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
  I'm trying to build the trunk and it seems the build is quite
  unstable. There are multiple build failures.
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: 
  %2B94%2077%20431%203585%2B94%2077%20431%203585+94
 77 431 3585
  Blog: http://supunk.blogspot.com
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: 
  %2B94%2077%20431%203585%2B94%2077%20431%203585+94
 77 431 3585
  Blog: http://supunk.blogspot.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  Thank You.
  --
  Ranga Siriwardena
  Software Engineer
  WSO2 Inc.
 
  Mobile: %2B94%20779808031 %2B94%20779808031+94 779808031
  Blog: http://rangasiriwardena.blogspot.com/
 



 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.

 Mobile: %2B94%20779808031 %2B94%20779808031+94 779808031
 Blog: http://rangasiriwardena.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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




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

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




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

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

2011-03-14 Thread Harshana Martin
On Mon, Mar 14, 2011 at 3:59 PM, Pradeep Fernando prad...@wso2.com wrote:

 hi,


 On Mon, Mar 14, 2011 at 7:27 AM, Thilina Buddhika thili...@wso2.com
 wrote:
  Fixed this.
  Artifact type for org.wso2.carbon:org.apache.synapse.wso2.feature
 dependency
  was not defined. So it was assumed as 'jar', although it should be 'zip'.
  Thanks,

 this behaviour emerged after the introduction of incremental build
 plugin. otherwise the p2-plugin used zip as the default one.
 Martin should be able to comment on this more.


Yes. This was introduced after Incremental build plugin integration. I'm
still trying to figure out the root cause of it.

Thanks and Regards,
Harshana


 --Pradeep


  Thilina
 
  On Mon, Mar 14, 2011 at 6:44 AM, WSO2 Builder buil...@wso2.org wrote:
 
  [INFO] Generating feature manifest
  [INFO] Generating feature properties
  [INFO] Generating MANIFEST.MF
  [INFO] Generating Advice file (p2.inf)
  [INFO] Copying bundle dependencies
  [INFO]synapse-samples:2.1.0.wso2v2
  [INFO]synapse-core:2.1.0.wso2v2
  [INFO]synapse-commons:2.1.0.wso2v2
  [INFO]synapse-extensions:2.1.0.wso2v2
  [INFO]synapse-tasks:2.1.0.wso2v2
  [INFO]saxon:8.9.0.wso2v1
  [INFO]quartz:1.6.0.wso2v1
  [INFO] Generating feature archive:
 
 /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/target/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/pom.xml
  to
 
 /home/carbon/.m2/repository/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.pom
  [INFO] Installing
 
 /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/target/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
  to
 
 /home/carbon/.m2/repository/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
  [INFO]
  
  [INFO] Building WSO2 Carbon - Synapse Samples Feature
  [INFO]task-segment: [clean, install]
  [INFO]
  
  [INFO] [clean:clean {execution: default-clean}]
  Downloading:
 
 http://dist.wso2.org/maven2/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
  [INFO] Unable to find resource
  'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
  repository wso2-maven2-repository (http://dist.wso2.org/maven2)
  Downloading:
 
 http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
  [INFO] Unable to find resource
  'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
  repository com.springsource.repository.bundles.release
  (http://repository.springsource.com/maven/bundles/release)
  Downloading:
 
 http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
  [INFO] Unable to find resource
  'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
  repository com.springsource.repository.bundles.external
  (http://repository.springsource.com/maven/bundles/external)
  Downloading:
 
 http://repo1.maven.org/maven2/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
  [INFO] Unable to find resource
  'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
  repository central (http://repo1.maven.org/maven2)
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Failed to resolve artifact.
 
  Missing:
  --
  1) org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2
 
   Try downloading the file manually from the project website.
 
   Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon
  -DartifactId=org.apache.synapse.wso2.feature -Dversion=2.1.0-wso2v2
  -Dpackaging=jar -Dfile=/path/to/file
 
   Alternatively, if you host your own repository you can deploy the file
  there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon
  -DartifactId=org.apache.synapse.wso2.feature -Dversion=2.1.0-wso2v2
  -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
 
   Path to dependency:
 1)
  org.wso2.carbon:org.apache.synapse.samples.feature:pom:2.1.0-wso2v2
 2)
 org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2
 
  --
  1 required artifact is missing.
 
  for artifact:
   org.wso2.carbon:org.apache.synapse.samples.feature:pom:2.1.0-wso2v2
 
  from 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] 
[INFO] Building WSO2 Carbon - Dashboard Feature Module
[INFO]task-segment: [install]
[INFO] 
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Verifying parent modules...
[INFO] Verifying resources...
[INFO] Resources directory does not exist : 
/home/carbon/stratos/carbon/features/dashboard/src/main/resources
[INFO] Verifying sources...
[INFO] No sources to check ...
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/features/dashboard/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/dashboard-feature/3.2.0-SNAPSHOT/dashboard-feature-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Dashboard Server Side Feature
[INFO]task-segment: [install]
[INFO] 
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dashboard.common:3.2.0-SNAPSHOT: checking for 
updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dashboard.common:3.2.0-SNAPSHOT: checking for 
updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dashboard.common:3.2.0-SNAPSHOT: checking for 
updates from com.springsource.repository.bundles.external
Downloading: 
http://dist.wso2.org/maven2/org/wso2/carbon/dashboard/${wso2carbon.version.dashboard}/dashboard-${wso2carbon.version.dashboard}.pom
[INFO] Unable to find resource 
'org.wso2.carbon:dashboard:pom:${wso2carbon.version.dashboard}' in repository 
wso2-maven2-repository (http://dist.wso2.org/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/dashboard/${wso2carbon.version.dashboard}/dashboard-${wso2carbon.version.dashboard}.pom
[INFO] Unable to find resource 
'org.wso2.carbon:dashboard:pom:${wso2carbon.version.dashboard}' in repository 
com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/dashboard/${wso2carbon.version.dashboard}/dashboard-${wso2carbon.version.dashboard}.pom
[INFO] Unable to find resource 
'org.wso2.carbon:dashboard:pom:${wso2carbon.version.dashboard}' in repository 
com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
Downloading: 
http://repo1.maven.org/maven2/org/wso2/carbon/dashboard/${wso2carbon.version.dashboard}/dashboard-${wso2carbon.version.dashboard}.pom
[INFO] Unable to find resource 
'org.wso2.carbon:dashboard:pom:${wso2carbon.version.dashboard}' in repository 
central (http://repo1.maven.org/maven2)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: null:org.wso2.carbon.dashboard.common:bundle:null

Reason: Cannot find parent: org.wso2.carbon:dashboard for project: 
null:org.wso2.carbon.dashboard.common:bundle:null for project 
null:org.wso2.carbon.dashboard.common:bundle:null


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 11 minutes 53 seconds
[INFO] Finished at: Tue Mar 15 00:35:21 IST 2011
[INFO] Final Memory: 245M/1063M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while building dashboard feature

2011-03-14 Thread Harshana Martin
Hi Ranga,

First of all, Thanks a lot for the great effort you have put in to identify
these points.

On Tue, Mar 15, 2011 at 12:40 AM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi Harshana,



 On Mon, Mar 14, 2011 at 11:02 PM, Harshana Martin harsh...@wso2.com
 wrote:
  Hi Azeez and All,
 
  On Mon, Mar 14, 2011 at 8:59 PM, Afkham Azeez az...@wso2.com wrote:
 
  Nuwan, Harshana,
  Please try to fix this ASAP. It is holding back the entire team.
 
  When we don't have incremental build integrated, dashboard builds fine.
 When
  we have incremental build in place it has this problem. (I just tested
 with
  and without it).
  When we have incremental build plugin in there, it complaints about
  null:org.wso2.carbon.dashboard.common:bundle:null. But after commenting
  out the org.wso2.carbon.dashboard.common from the dependencies section,
 it
  builds fine with incremental build. Here the thing is
  same org.wso2.carbon.dashboard.common bundle is declared as a dependency
 and
  included as in the bundles section as well ( see below)
  dependency
 groupIdorg.wso2.carbon/groupId
 artifactIdorg.wso2.carbon.dashboard.common/artifactId
 version3.2.0-SNAPSHOT/version
  /dependency
  and
  bundleDeforg.wso2.carbon:org.wso2.carbon.dashboard.common/bundleDef.
  When i commented the dependency section it builds fine with
  Incremental-Build. So how should we tackle this?

 Yes, As you mentioned if we comment those problem making dependencies,
 features can be build successfully. And the interesting thing is even
 without having those as dependencies builder adding those dependencies in to
 the feature bundles.


Yes. This is because we have included them as bundlesDefs for Carbon p2
plugin. So this goes to one my original questions. Do we need a separate
Dependencies section for bundleDefs?


 For example, even if you commented above org.wso2.carbon.dashboard.common
 dependency, the output feature bundle including it as a plugin.

 And the other important point is we can solve the issue by using exact
 version instead of a property value inside related components as discussed
 by AmilaM.

 For example, with org.wso2.carbon.dashboard.common  component we use a
 property value like bellow when defining parent.
parent

groupIdorg.wso2.carbon/groupId
 artifactIddashboard/artifactId
version*${wso2carbon.version.dashboard}*/version
/parent

 So instead of this property value we can exact version like bellow.
parent

groupIdorg.wso2.carbon/groupId
 artifactIdcarbon-components/artifactId

version*3.2.0-SNAPSHOT*/version
/parent

 So this will solve the problem in features and we don't need to comment
 dependencies here. Honestly I couldn't identify the exact reason for this :)

 It looks we have two possible solutions and we have to identify the proper
 solution for this problem if we are going with the plugin.


+1. Let's have a chat tomorrow

Thanks and Regards,
Harshana




  For the moment I can revert the incremental build. Shall I do that?
  @Team, Extremely sorry for the inconvenience.
  Thanks and Regards,
  Harshana
 
 
  Thanks
  Azeez
 
  On Mon, Mar 14, 2011 at 8:22 PM, Amila Maha Arachchi ami...@wso2.com
  wrote:
 
  Hi Nuwan,
 
  On Mon, Mar 14, 2011 at 8:01 PM, Nuwan Bandara nu...@wso2.com wrote:
 
  Hi Amila,
 
  Anyhow will investigate more into this and will let you know.
 
  Yes. Your commit was done on 9th Feb and this was building fine after
  that until last Friday (thats when I built this for the last time). So,
 the
  version property cant be the only reason (although removing it fixes
 the
  issue).
 
  Thanks,
  AmilaM.
 
  Thanks,
  /Nuwan
 
  On Mon, Mar 14, 2011 at 7:53 PM, Nuwan Bandara nu...@wso2.com
 wrote:
 
  Hi Amila,
 
  On Mon, Mar 14, 2011 at 7:46 PM, Amila Maha Arachchi 
 ami...@wso2.com
  wrote:
 
  Hi Nuwan,
 
  Yes, theres no error when building dashboard components. But,
 
  On Mon, Mar 14, 2011 at 6:58 PM, Nuwan Bandara nu...@wso2.com
 wrote:
 
  Hi Amila,
 
  On Mon, Mar 14, 2011 at 6:31 PM, Amila Maha Arachchi
  ami...@wso2.com wrote:
 
  Hi,
 
  While going through this, I came across the the commit r87172 done
  by Nuwan. According to this, version of the parent pom is defined
 as
  ${wso2carbon.version.dashboar}. But this is defined in the parent
 pom.xml.
  This is like the chicken  egg problem. I think we have to keep
 the version
  as 3.2.0-SNAPSHOT or define the variable in each pom itself.
 
  r87172 is committed for dashboard/components, and I think this is
 not
  the same issue. However regarding the versions, I have defined a
 property
  called
   wso2carbon.version.dashboard in my dashboard root pom and in my
  child poms I have given this property as the parent's version.
 AFAIK, this
  doesnt create any cyclic issue, because at the build time, 1st of
 all the
  parent pom is read by maven and the properties are taken to memory,
 and by
  the time the child is build this property is there in 

[Carbon-dev] UT security performance.

2011-03-14 Thread Jorge Infante Osorio
Hi folks.

I´m implement a proxy Service with UT security and I note that the
performance it´s very low. 

A single call in Eclipse have a delay of 8,5 seconds.
Without security the response time are about 1,2 seconds.

This is a normal behavior?


I have the backend service in WSAS 3.2.1 and  ESB 3.0.1.

Regards,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
UCI


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


Re: [Carbon-dev] UT security performance.

2011-03-14 Thread Afkham Azeez
Have you tried this with the CommodityQuote sample? This delay seems to be
abnormal.

On Tue, Mar 15, 2011 at 1:40 AM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Hi folks.

 I´m implement a proxy Service with UT security and I note that the
 performance it´s very low.

 A single call in Eclipse have a delay of 8,5 seconds.
 Without security the response time are about 1,2 seconds.

 This is a normal behavior?


 I have the backend service in WSAS 3.2.1 and  ESB 3.0.1.

 Regards,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 UCI


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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Executed tasks
[INFO] 
[INFO] Building WSO2 Carbon - Integration Tests
[INFO]task-segment: [install]
[INFO] 
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/core/integration/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/integration/3.2.0-SNAPSHOT/integration-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Integration Core
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/../distribution/carbon-home/lib/core/WEB-INF/classes
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/java
[INFO] Copying 1 resource
Downloading: 
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository wso2-maven2-snapshot-repository 
(http://dist.wso2.org/snapshots/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT
2) 
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 42 minutes 18 seconds
[INFO] Finished at: Tue Mar 15 01:48:44 IST 2011
[INFO] Final Memory: 1000M/1951M
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] UT security performance.

2011-03-14 Thread Jorge Infante Osorio
 

 

De: Jorge Infante Osorio [mailto:jorg...@uci.cu] 
Enviado el: lunes, 14 de marzo de 2011 15:28
Para: 'Afkham Azeez'
Asunto: RE: [Carbon-dev] UT security performance.

 

I tried with the echo service inside ESB and the same results.

 

This the code that I used:

 

Long start = System.currentTimeMillis();

String policyFilePath = d:\\UTOverTransport.xml;

String trustStore = c:\\keys\\cliente.jks;  

System.setProperty(javax.net.ssl.trustStore,trustStore);  

System.setProperty(javax.net.ssl.trustStorePassword,#);

 

ConfigurationContext ctx = 

 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(repo,

 repo/conf/client.axis2.xml);



EchoStub stub = new EchoStub(ctx);

stub._getServiceClient().engageModule(rampart);

stub._getServiceClient().engageModule(addressing);



Options options = stub._getServiceClient().getOptions();

options.setUserName(###);

options.setPassword(###);

options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
loadPolicy(policyFilePath));

stub._getServiceClient().setOptions(options);

EchoInt req = new EchoInt();

req.setIn(4);

EchoIntResponse resp = stub.echoInt(req);

System.out.println(resp.get_return());

Long end = System.currentTimeMillis();

System.out.println(tiempo demora:  + (end-start));

 

The delay: 8454 milliseconds 

Jorge.

 

 

De: Afkham Azeez [mailto:az...@wso2.com] 
Enviado el: lunes, 14 de marzo de 2011 15:13
Para: carbon-dev@wso2.org
CC: Jorge Infante Osorio
Asunto: Re: [Carbon-dev] UT security performance.

 

Have you tried this with the CommodityQuote sample? This delay seems to be
abnormal.

On Tue, Mar 15, 2011 at 1:40 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi folks.

I´m implement a proxy Service with UT security and I note that the
performance it´s very low.

A single call in Eclipse have a delay of 8,5 seconds.
Without security the response time are about 1,2 seconds.

This is a normal behavior?


I have the backend service in WSAS 3.2.1 and  ESB 3.0.1.

Regards,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
UCI


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




-- 
Afkham Azeez
Senior Software Architect  Senior Manager; WSO2, Inc.;  http://wso2.com
http://wso2.com, 

Member; Apache Software Foundation;  http://www.apache.org/
http://www.apache.org/
email:  mailto:az...@wso2.com az...@wso2.com cell: +94 77 3320919
blog:  http://blog.afkham.org http://blog.afkham.org
twitter:  http://twitter.com/afkham_azeez http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez

 

Lean . Enterprise . Middleware

 

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


[Carbon-dev] Latest update on build status testathon

2011-03-14 Thread Afkham Azeez
1. CSG feature cannot be built
2. G-Reg product cannot be built

[INFO] Installing org.wso2.carbon.jaxwsservices.server.feature.group
3.2.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could
not be found.
[ERROR]  Software being installed: WSO2 Carbon - Registry WS API Feature
3.2.0.SNAPSHOT (org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: Rampart 1.6.1.wso2v1 (rampart-core
1.6.1.wso2v1) requires 'package org.apache.ws.security.kerberos
[1.5.11.wso2v1,2.0.0)' but it could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT
(org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT)
[ERROR]   To: package org.apache.rampart.policy.model 0.0.0
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Registry WS API Feature 3.2.0.SNAPSHOT
(org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.registry.ws.api [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location:
/Users/azeez/projects/wso2/org/trunk/carbon/products/greg/modules/p2-profile-gen/product/target/p2-agent/configuration/1300138034358.log
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO]


3. A couple of core tests from the test framework have been integrated into
Carbon core, and were successfully executed.

-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest update on build status testathon

2011-03-14 Thread Afkham Azeez
On Tue, Mar 15, 2011 at 3:03 AM, Afkham Azeez az...@wso2.com wrote:

 1. CSG feature cannot be built
 2. G-Reg product cannot be built

 [INFO] Installing org.wso2.carbon.jaxwsservices.server.feature.group
 3.2.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Registry WS API Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: Rampart 1.6.1.wso2v1 (rampart-core
 1.6.1.wso2v1) requires 'package org.apache.ws.security.kerberos
 [1.5.11.wso2v1,2.0.0)' but it could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT
 (org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT)
 [ERROR]   To: package org.apache.rampart.policy.model 0.0.0
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Registry WS API Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.registry.ws.api [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /Users/azeez/projects/wso2/org/trunk/carbon/products/greg/modules/p2-profile-gen/product/target/p2-agent/configuration/1300138034358.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]


Seeing this error with other products as well.



 3. A couple of core tests from the test framework have been integrated into
 Carbon core, and were successfully executed.

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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest update on build status testathon

2011-03-14 Thread Afkham Azeez
On Tue, Mar 15, 2011 at 3:06 AM, Afkham Azeez az...@wso2.com wrote:



 On Tue, Mar 15, 2011 at 3:03 AM, Afkham Azeez az...@wso2.com wrote:

 1. CSG feature cannot be built
 2. G-Reg product cannot be built

 [INFO] Installing org.wso2.carbon.jaxwsservices.server.feature.group
 3.2.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Registry WS API Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: Rampart 1.6.1.wso2v1 (rampart-core
 1.6.1.wso2v1) requires 'package org.apache.ws.security.kerberos
 [1.5.11.wso2v1,2.0.0)' but it could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT
 (org.wso2.carbon.registry.ws.api 3.2.0.SNAPSHOT)
 [ERROR]   To: package org.apache.rampart.policy.model 0.0.0
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Registry WS API Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.registry.ws.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.registry.ws.api [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /Users/azeez/projects/wso2/org/trunk/carbon/products/greg/modules/p2-profile-gen/product/target/p2-agent/configuration/1300138034358.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]


 Seeing this error with other products as well.


Looks like an incorrect wss4j version or something like that. Can somebody
from sec team please look into this first thing in the morning. This is a
blocker for us.




 3. A couple of core tests from the test framework have been integrated
 into Carbon core, and were successfully executed.

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: %2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Executed tasks
[INFO] 
[INFO] Building WSO2 Carbon - Integration Tests
[INFO]task-segment: [install]
[INFO] 
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/core/integration/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/integration/3.2.0-SNAPSHOT/integration-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Integration Core
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/../distribution/carbon-home/lib/core/WEB-INF/classes
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/java
[INFO] Copying 1 resource
Downloading: 
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository wso2-maven2-snapshot-repository 
(http://dist.wso2.org/snapshots/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT
2) 
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 39 minutes 30 seconds
[INFO] Finished at: Tue Mar 15 04:06:35 IST 2011
[INFO] Final Memory: 983M/1759M
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Executed tasks
[INFO] 
[INFO] Building WSO2 Carbon - Integration Tests
[INFO]task-segment: [install]
[INFO] 
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/core/integration/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/integration/3.2.0-SNAPSHOT/integration-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Integration Core
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/../distribution/carbon-home/lib/core/WEB-INF/classes
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/java
[INFO] Copying 1 resource
Downloading: 
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository wso2-maven2-snapshot-repository 
(http://dist.wso2.org/snapshots/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT
2) 
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 39 minutes 19 seconds
[INFO] Finished at: Tue Mar 15 05:13:48 IST 2011
[INFO] Final Memory: 979M/1813M
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Executed tasks
[INFO] 
[INFO] Building WSO2 Carbon - Integration Tests
[INFO]task-segment: [install]
[INFO] 
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/core/integration/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/integration/3.2.0-SNAPSHOT/integration-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Integration Core
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/../distribution/carbon-home/lib/core/WEB-INF/classes
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/java
[INFO] Copying 1 resource
Downloading: 
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository wso2-maven2-snapshot-repository 
(http://dist.wso2.org/snapshots/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT
2) 
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 39 minutes 49 seconds
[INFO] Finished at: Tue Mar 15 06:21:33 IST 2011
[INFO] Final Memory: 984M/1787M
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] LDAP integration to Carbon core

2011-03-14 Thread Sanjiva Weerawarana
So in effect you're moving the SPOF from IS to the new LDAP instance :).

OK that's fine (fewer pieces in that to fail so its better) but you didn't
answer my second question .. is the standalone LDAP a Carbon server with
just the LDAP component in it?

Sanjiva.

On Sun, Mar 13, 2011 at 8:59 AM, Prabath Siriwardana prab...@wso2.comwrote:



 On Sun, Mar 13, 2011 at 8:09 AM, Sanjiva Weerawarana sanj...@wso2.comwrote:

 Prabath why do we not want to use embedded LDAP for Stratos?


 Say, we have embedded LDAP - and assume it's running with IS
 [identity.cloud] [that is in the same JVM] - then we need all the other
 servers, connecting to this LDAP

 Say we have two AppServer nodes, two ESB nodes - all need to connect to the
 same LDAP - running under IS.

 We also need two IS instances at least [considering FO/LB]..

 Which LDAP should this second IS connect to..? It also has to connect to
 the Embedded LDAP of the 1st IS node.

 Then - we are creating a single point of failure at IS - node-1.

 IS Node -1 is down -- Embedded LDAP is down -- 2nd IS Node cannot
 function -although it's up.

 If we use a separate LDAP server - then we remove the single point of
 failure from IS and move it to the standalone LDAP server.

 To get rid of that, we can use LDAP clustering..

 Please let me know if I am not clear...

 Thanks  regards,
 -Prabath




 If its a separate LDAP is it still a Carbon server running just the LDAP
 component? If not why not?

 Sanjiva.

 On Sun, Mar 6, 2011 at 10:01 PM, Prabath Siriwardana prab...@wso2.comwrote:

 In the case of Stratos - we do not need to have the embedded LDAP - but
 it will be a separate LDAP server. We need to test the OU based tenant
 isolation we did with LDAP in Stratos..

 Thanks  regards,
 -Prabath


 On Sun, Mar 6, 2011 at 2:56 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Sun, Mar 6, 2011 at 1:06 PM, Afkham Azeez az...@wso2.com wrote:

 Have you tested this with Stratos?

 Not with a complete Stratos setup.
 How I tested this was: installing multi tenancy feature to IS using
 necessary stratos components built from stratos branch.

 Do we need to do any LDAP initialization when the tenant
 ConfigurationContext is created?

 Sorry, at the moment I  do not have an idea what is tenant
 ConfiguratioContext.

 But, as I understood your question, if you use embedded-ldap server in
 carbon core, you do not have to initialize LDAP since it is started with
 carbon server.
 If you use an external LDAP, then you need to start up a LDAP server and
 point the user-mgt.xml to that.



 On Sun, Mar 6, 2011 at 11:45 AM, Hasini Gunasinghe has...@wso2.comwrote:



 On Sat, Mar 5, 2011 at 11:13 PM, Amila Jayasekara ami...@wso2.comwrote:

 Hi Azeez,

 Please find answers inline.

 Thanks
 AmilaJ

 On Fri, Mar 4, 2011 at 5:59 PM, Afkham Azeez az...@wso2.com wrote:
 Can somebody briefly explain what were the changes that were carried
 out to
 Carbon core to make this work? Where these ports can be defined

 The apacheds server code is wrapped as an OSGi bundle in
 orbit/apacheds component. org.wso2.carbon.ldap.server is the
 component
 which is responsible for managing LDAP server. It starts, stops LDAP
 server, in addition it also does partition management.

 Hi,


 This component
 starts before user core in carbon.


 Can I please know how have we specified that this component starts
 before user-core?

 The LDAP server specific configurations reside in a file called
 embedded-ldap.xml in repository/conf (In EmbeddedLDAP configuration
 segment). You can change parameters like, ports, connection passwords
 in this file. In addition to LDAP server specific configurations, it
 also has KDC specific configurations.

 ,what the following messages mean etc.

 Log messages starting with
 org.apache.directory.server.ldap.LdapServer
 are coming from apacheds implementation.
 LDAP server needs a schema to construct the initial LDAP tree
 structure. The default schema for the LDAP server is located at
 repository/data as a zip file (is-default-schema.zip). Thus when we
 start server for the first time apacheds component will extract this
 zip file and create a schema directory. In addition, when we start
 embedded LDAP for the first time it creates a default partition. The
 default partition name and other properties are read from the
 embedded-ldap.xml configuration file (DefaultPartition). The latter
 messages you see in the log are relevant to above actions.

 How MT ins handled

 I assume MT=Multi-tenancy.


 Hasini: Please explain how MT is handled with embedded-ldap.


 We have two ways that we can make LDAP user-store multi-tenanted.

 1. Creating a new partition (i.e new directory tree) for each tenant.
 This is specific to embedded-apacheds because here we use their API.
 2. Creating a new context ('ou' by default) under same directory tree,
 for each tenant. This is generic because here we use JNDI and hence, not
 coupled with any LDAP server implementation.

 We can use any of 

Re: [Carbon-dev] LDAP integration to Carbon core

2011-03-14 Thread Prabath Siriwardana
On Tue, Mar 15, 2011 at 6:40 AM, Sanjiva Weerawarana sanj...@wso2.comwrote:

 So in effect you're moving the SPOF from IS to the new LDAP instance :).


Yes... but if its ApacheDS we have limitations in FO/LB setups - which our
embedded LDAP based on. So, in this case we can use OpenLDAP - with HA
setup.. [sent a link on that to stratos-dev]


 OK that's fine (fewer pieces in that to fail so its better) but you didn't
 answer my second question .. is the standalone LDAP a Carbon server with
 just the LDAP component in it?


Sorry - I missed it. The standalone LDAP server is not a Carbon server - it
would be an OpenLDAP instance..

Thanks  regards,
-Prabath


 Sanjiva.


 On Sun, Mar 13, 2011 at 8:59 AM, Prabath Siriwardana prab...@wso2.comwrote:



 On Sun, Mar 13, 2011 at 8:09 AM, Sanjiva Weerawarana sanj...@wso2.comwrote:

 Prabath why do we not want to use embedded LDAP for Stratos?


 Say, we have embedded LDAP - and assume it's running with IS
 [identity.cloud] [that is in the same JVM] - then we need all the other
 servers, connecting to this LDAP

 Say we have two AppServer nodes, two ESB nodes - all need to connect to
 the same LDAP - running under IS.

 We also need two IS instances at least [considering FO/LB]..

 Which LDAP should this second IS connect to..? It also has to connect to
 the Embedded LDAP of the 1st IS node.

 Then - we are creating a single point of failure at IS - node-1.

 IS Node -1 is down -- Embedded LDAP is down -- 2nd IS Node cannot
 function -although it's up.

 If we use a separate LDAP server - then we remove the single point of
 failure from IS and move it to the standalone LDAP server.

 To get rid of that, we can use LDAP clustering..

 Please let me know if I am not clear...

 Thanks  regards,
 -Prabath




 If its a separate LDAP is it still a Carbon server running just the LDAP
 component? If not why not?

 Sanjiva.

 On Sun, Mar 6, 2011 at 10:01 PM, Prabath Siriwardana 
 prab...@wso2.comwrote:

 In the case of Stratos - we do not need to have the embedded LDAP - but
 it will be a separate LDAP server. We need to test the OU based tenant
 isolation we did with LDAP in Stratos..

 Thanks  regards,
 -Prabath


 On Sun, Mar 6, 2011 at 2:56 PM, Hasini Gunasinghe has...@wso2.comwrote:



 On Sun, Mar 6, 2011 at 1:06 PM, Afkham Azeez az...@wso2.com wrote:

 Have you tested this with Stratos?

 Not with a complete Stratos setup.
 How I tested this was: installing multi tenancy feature to IS using
 necessary stratos components built from stratos branch.

 Do we need to do any LDAP initialization when the tenant
 ConfigurationContext is created?

 Sorry, at the moment I  do not have an idea what is tenant
 ConfiguratioContext.

 But, as I understood your question, if you use embedded-ldap server in
 carbon core, you do not have to initialize LDAP since it is started with
 carbon server.
 If you use an external LDAP, then you need to start up a LDAP server
 and point the user-mgt.xml to that.



 On Sun, Mar 6, 2011 at 11:45 AM, Hasini Gunasinghe 
 has...@wso2.comwrote:



 On Sat, Mar 5, 2011 at 11:13 PM, Amila Jayasekara 
 ami...@wso2.comwrote:

 Hi Azeez,

 Please find answers inline.

 Thanks
 AmilaJ

 On Fri, Mar 4, 2011 at 5:59 PM, Afkham Azeez az...@wso2.com
 wrote:
 Can somebody briefly explain what were the changes that were carried
 out to
 Carbon core to make this work? Where these ports can be defined

 The apacheds server code is wrapped as an OSGi bundle in
 orbit/apacheds component. org.wso2.carbon.ldap.server is the
 component
 which is responsible for managing LDAP server. It starts, stops LDAP
 server, in addition it also does partition management.

 Hi,


 This component
 starts before user core in carbon.


 Can I please know how have we specified that this component starts
 before user-core?

 The LDAP server specific configurations reside in a file called
 embedded-ldap.xml in repository/conf (In EmbeddedLDAP
 configuration
 segment). You can change parameters like, ports, connection
 passwords
 in this file. In addition to LDAP server specific configurations, it
 also has KDC specific configurations.

 ,what the following messages mean etc.

 Log messages starting with
 org.apache.directory.server.ldap.LdapServer
 are coming from apacheds implementation.
 LDAP server needs a schema to construct the initial LDAP tree
 structure. The default schema for the LDAP server is located at
 repository/data as a zip file (is-default-schema.zip). Thus when we
 start server for the first time apacheds component will extract this
 zip file and create a schema directory. In addition, when we start
 embedded LDAP for the first time it creates a default partition. The
 default partition name and other properties are read from the
 embedded-ldap.xml configuration file (DefaultPartition). The
 latter
 messages you see in the log are relevant to above actions.

 How MT ins handled

 I assume MT=Multi-tenancy.


 Hasini: Please explain how MT is handled with 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO] Installing 
/home/carbon/stratos/carbon/features/unified-endpoint/org.wso2.carbon.unifiedendpoint.feature/pom.xml
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.unifiedendpoint.feature/3.2.0-SNAPSHOT/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.pom
[INFO] Installing 
/home/carbon/stratos/carbon/features/unified-endpoint/org.wso2.carbon.unifiedendpoint.feature/target/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.zip
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.unifiedendpoint.feature/3.2.0-SNAPSHOT/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.zip
[INFO] 
[INFO] Building WSO2 Carbon - CSG Feature Aggregator Module
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/features/csg/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/csg-features/3.2.0-SNAPSHOT/csg-features-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - CSG Agent server feature
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/features/csg/org.wso2.carbon.cloud.csg.agent.server.feature/src/main/resources
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking for 
updates from wso2-maven2-snapshot-repository
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking for 
updates from com.springsource.repository.bundles.release
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking for 
updates from com.springsource.repository.bundles.external
Downloading: 
http://dist.wso2.org/maven2/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
[INFO] Unable to find resource 'org.wso2.carbon:csg:pom:${wso2carbon.version}' 
in repository wso2-maven2-repository (http://dist.wso2.org/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
[INFO] Unable to find resource 'org.wso2.carbon:csg:pom:${wso2carbon.version}' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
[INFO] Unable to find resource 'org.wso2.carbon:csg:pom:${wso2carbon.version}' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
Downloading: 
http://repo1.maven.org/maven2/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
[INFO] Unable to find resource 'org.wso2.carbon:csg:pom:${wso2carbon.version}' 
in repository central (http://repo1.maven.org/maven2)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version}

Reason: Cannot find parent: org.wso2.carbon:csg for project: 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version} 
for project 
org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version}


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 21 minutes 39 seconds
[INFO] Finished at: Tue Mar 15 06:55:45 IST 2011
[INFO] Final Memory: 194M/1154M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-03-14 Thread WSO2 Builder
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /home/carbon/stratos/carbon/core/integration/target
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/stratos/carbon/core/integration/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/integration/3.2.0-SNAPSHOT/integration-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] Building WSO2 Carbon - Integration Core
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
/home/carbon/stratos/carbon/core/integration/core/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/../distribution/carbon-home/lib/core/WEB-INF/classes
[INFO] skip non existing resourceDirectory 
/home/carbon/stratos/carbon/core/integration/core/src/main/java
[INFO] Copying 1 resource
Downloading: 
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository wso2-maven2-snapshot-repository 
(http://dist.wso2.org/snapshots/maven2)
Downloading: 
http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release)
Downloading: 
http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.authenticator.proxy/3.2.0-SNAPSHOT/org.wso2.carbon.authenticator.proxy-3.2.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT' 
in repository com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.authenticator.proxy -Dversion=3.2.0-SNAPSHOT 
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT
2) 
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:tests:3.2.0-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.wso2.carbon:org.wso2.carbon.integration.core:jar:3.2.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 54 minutes 31 seconds
[INFO] Finished at: Tue Mar 15 08:18:12 IST 2011
[INFO] Final Memory: 1079M/1853M
___
Carbon-dev mailing list
Carbon-dev@wso2.org

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

2011-03-14 Thread Denis Weerasiri
Hi Rajika,
Can you look into this?

On Tue, Mar 15, 2011 at 6:55 AM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Installing
 /home/carbon/stratos/carbon/features/unified-endpoint/org.wso2.carbon.unifiedendpoint.feature/pom.xml
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.unifiedendpoint.feature/3.2.0-SNAPSHOT/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.pom
 [INFO] Installing
 /home/carbon/stratos/carbon/features/unified-endpoint/org.wso2.carbon.unifiedendpoint.feature/target/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.zip
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.unifiedendpoint.feature/3.2.0-SNAPSHOT/org.wso2.carbon.unifiedendpoint.feature-3.2.0-SNAPSHOT.zip
 [INFO]
 
 [INFO] Building WSO2 Carbon - CSG Feature Aggregator Module
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/stratos/carbon/features/csg/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/csg-features/3.2.0-SNAPSHOT/csg-features-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] Building WSO2 Carbon - CSG Agent server feature
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] skip non existing resourceDirectory
 /home/carbon/stratos/carbon/features/csg/org.wso2.carbon.cloud.csg.agent.server.feature/src/main/resources
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking
 for updates from wso2-maven2-snapshot-repository
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking
 for updates from com.springsource.repository.bundles.release
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:3.2.0-SNAPSHOT: checking
 for updates from com.springsource.repository.bundles.external
 Downloading:
 http://dist.wso2.org/maven2/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:csg:pom:${wso2carbon.version}' in repository
 wso2-maven2-repository (http://dist.wso2.org/maven2)
 Downloading:
 http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:csg:pom:${wso2carbon.version}' in repository
 com.springsource.repository.bundles.release (
 http://repository.springsource.com/maven/bundles/release)
 Downloading:
 http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:csg:pom:${wso2carbon.version}' in repository
 com.springsource.repository.bundles.external (
 http://repository.springsource.com/maven/bundles/external)
 Downloading:
 http://repo1.maven.org/maven2/org/wso2/carbon/csg/${wso2carbon.version}/csg-${wso2carbon.version}.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:csg:pom:${wso2carbon.version}' in repository central (
 http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID:
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version}

 Reason: Cannot find parent: org.wso2.carbon:csg for project:
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version}
 for project
 org.wso2.carbon:org.wso2.carbon.cloud.csg.common:bundle:${wso2carbon.version}


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 21 minutes 39 seconds
 [INFO] Finished at: Tue Mar 15 06:55:45 IST 2011
 [INFO] Final Memory: 194M/1154M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: 

Re: [Carbon-dev] Suspicious looking code in Carbon Main.java

2011-03-14 Thread Senaka Fernando
Hi Azeez,

The CarbonContext initializes things like the Cache Manager and the JNDI
InitialContextFactoryBuilder. These have been created in a way that existing
Java code can use these constructs without being aware of multi-tenancy and
the existence of the CarbonContext. Also, the CarbonContext cannot be
explicitly initialized and will only be initialized on the first call you
make to it in order to retrieve the current context instance. This is why
this has been added to Main.java (the same has been added to our
BridgeServlet to get this to work when we deploy on AppServers).

Thanks,
Senaka.

On Fri, Mar 11, 2011 at 5:23 PM, Afkham Azeez az...@wso2.com wrote:

 Senaka,
 Can you please explain why the following lines of code are necessary in the
 Main class? Why can't we do that where the CarbonContext is needed?

 // Enforce the initialization of the CarbonContextHolder prior to starting
 the server. This
 // will make it possible to do required initializations for
 Multi-Tenant JNDI and caching.
 CarbonContextHolder.getCurrentCarbonContextHolder();




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




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

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

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


Re: [Carbon-dev] CSG component build failures, convention violations etc lets remove it from main build

2011-03-14 Thread Rajika Kumarasiri
I am looking into this.

Rajika

On Mon, Mar 14, 2011 at 9:50 PM, Afkham Azeez az...@wso2.com wrote:

 [WARNING] POM for 'org.apache.lucene:lucene-core:pom:2.3.1:compile' is
 invalid.

 Its dependencies (if any) will NOT be available to the current build.
 [INFO]
 
 [INFO] Building CSG module
 [INFO]task-segment: [idea:idea]
 [INFO]
 
 [INFO] Preparing idea:idea
 [INFO] No goals needed for project - skipping
 [INFO] [idea:idea {execution: default-cli}]
 [WARNING] POM for 'org.apache.lucene:lucene-core:pom:2.3.1:compile' is
 invalid.

 Its dependencies (if any) will NOT be available to the current build.
 [WARNING] An error occurred during dependency resolution of the following
 artifact:

 org.wso2.carbon:org.wso2.carbon.cloud.csg3.2.0-SNAPSHOT

 Caused by: Missing:
 --
 1)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1) org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT
2)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
   org.wso2.carbon:org.wso2.carbon.cloud.csg:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)


 [INFO]
 
 [INFO] Building CSG Agent module
 [INFO]task-segment: [idea:idea]
 [INFO]
 
 [INFO] Preparing idea:idea
 [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
 instance from source: pom
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon.cloud.csg.common
 -DartifactId=org.wso2.carbon.cloud.csg.common -Dversion=1.0-SNAPSHOT
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1)
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent:bundle:3.2.0-SNAPSHOT
2)
 org.wso2.carbon.cloud.csg.common:org.wso2.carbon.cloud.csg.common:jar:1.0-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
   org.wso2.carbon:org.wso2.carbon.cloud.csg.agent:bundle:3.2.0-SNAPSHOT

 from the specified remote repositories:
   com.springsource.repository.bundles.release (
 http://repository.springsource.com/maven/bundles/release),
   com.springsource.repository.bundles.external (
 http://repository.springsource.com/maven/bundles/external),
   wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
   central (http://repo1.maven.org/maven2),
   wso2-maven2-repository (http://dist.wso2.org/maven2)



 NOTE: Maven is executing in offline mode. Any artifacts not already in your
 local
 repository will be inaccessible.


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 12 seconds
 [INFO] Finished at: Mon Mar 14 21:46:42 IST 2011
 [INFO] Final Memory: 60M/118M
 [INFO]
 


 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: 

Re: [Carbon-dev] Performance issue in request processing

2011-03-14 Thread Senaka Fernando
Hi Azeez,

On Sat, Mar 12, 2011 at 8:34 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, perhaps we should cache the CarbonContext which is created for a
 tenant. Can we have a single CarbonContext instance for all users of a given
 tenant?


No, for a single user of a single tenant the CarbonContext can be created
just once. The reason is, our authorizations are based on user, and we
create separate instances of registries, which are user-aware so that the
credentials can be provided only once. This is because we don't have a
concept of credential which is cached at the Context-level. If we have that,
we don't need multiple registry and realm objects. The same should also
solve multiple similar problems. However, I'm not sure about the impact this
change would bring.

WDYT?

Thanks,
Senaka.



 On Fri, Mar 11, 2011 at 10:12 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 OK, so it seems to be wrong to be reconstructing the carbon context over
 and over again, for each request that comes in. This was cached in some
 scope (session or context), making this a one-time overhead. Did this change
 from 3.1.0 to 3.2.0 for some reason?

 Thanks,
 Senaka.

 On Fri, Mar 11, 2011 at 3:54 PM, Afkham Azeez az...@wso2.com wrote:

 As can be seen in the JProfiler screenshot, there getRegistry methods are
 introducing a big overhead.

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: 
 %2B94%2077%203320919%2B94%2077%203320919+94
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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




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

 E-mail: senaka AT wso2.com
 **P: %2B1%20408%20754%207388+1 408 754 7388; ext: 51736*; *M:
 %2B94%2077%20322%201818+94 77 322 1818
 Linked-In: http://www.linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




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




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

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

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


Re: [Carbon-dev] Remember me feature

2011-03-14 Thread Afkham Azeez
If the required information in the session is not there, redirect to the
home page of the component.


On Tue, Mar 15, 2011 at 10:37 AM, Supun Kamburugamuva su...@wso2.comwrote:

 We keep lots of information in the session in Sequence editor and
 Endpoint components. The effort require to change this stuff is huge.

 Thanks,
 Supun..

 On Mon, Mar 14, 2011 at 9:21 PM, Milinda Pathirage mili...@wso2.com
 wrote:
  Will check this.
  Thanks
  Milinda
 
  On Mon, Mar 14, 2011 at 8:54 PM, Afkham Azeez az...@wso2.com wrote:
 
  OK, can you guys help us fix this? The issue should be in
  CarbonSecuredHttpContext
 
  On Mon, Mar 14, 2011 at 8:48 PM, Milinda Pathirage mili...@wso2.com
  wrote:
 
  Issues Supun showed to me didn't involve any component UIs. We just
 type
  a random URL in the browser and it showed a wired UI for these random
 URLs.
  Thanks
  Milinda
 
  On Mon, Mar 14, 2011 at 8:25 PM, Dimuthu Leelarathne 
 dimut...@wso2.com
  wrote:
 
  Hi,
 
  On Mon, Mar 14, 2011 at 6:23 PM, Afkham Azeez az...@wso2.com wrote:
 
  No, it is a very useful feature. The reason for most of these issues
 is
  because of bugs in the UI components assuming state in HttpSession.
 
  +1. Since this feature is already implemented we can begin testing.
 
  thanks,
  dimuthu
 
 
 
  On Mon, Mar 14, 2011 at 6:15 PM, Supun Kamburugamuva su...@wso2.com
 
  wrote:
 
  Remember me feature is not consistent across all the components.
  Because of it, there are so many errors in different UI components.
  For example if we change the URL manually it gives a blank page.
 Many
  components give errors after the time out happens. I believe the
  effort required to get this feature working nicely across all the
  products is huge. Shall we remove it?
 
  Thanks,
  --
  Supun Kamburugamuva
  Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.;  http://wso2.org
  E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.;
  http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Milinda Pathirage
  Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
  http://wso2.com
  Blog: http://blog.mpathirage.com
 
  Lean Enterprise Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
 
 
  --
  Milinda Pathirage
  Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
  http://wso2.com
  Blog: http://blog.mpathirage.com
 
  Lean Enterprise Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Lot of Warnings and Unnecessary Logs on Startup

2011-03-14 Thread Hiranya Jayathilaka
I see a lot of warnings and unnecessary logs during and after Carbon/ESB
startup:


[2011-03-15 10:27:39,371]  INFO
{org.apache.qpid.server.plugins.PluginManager} -  Opened service trackers
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Elements to lookup:
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'queue'
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'virtualhosts'
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'com'
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'catalina'
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'QPID_HOME'
[2011-03-15 10:27:39,375]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'line'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'cache-directory'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'security'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'osgi'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'conf'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'wso2'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'sun'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'schema'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'javax'
[2011-03-15 10:27:39,376]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'carbon'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'file'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'advanced'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'path'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'plugin-directory'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'workingDirectory'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'work'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'os'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'impl'
[2011-03-15 10:27:39,377]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'status-updates'
[2011-03-15 10:27:39,378]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'axis2'
[2011-03-15 10:27:39,378]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'heartbeat'
[2011-03-15 10:27:39,378]  INFO
{org.apache.qpid.server.configuration.plugins.ConfigurationPlugin} -
 Tag:'prefix'


[2011-03-15 10:35:33,836]  WARN
{org.apache.directory.server.core.normalization.FilterNormalizingVisitor} -
 Failed to normalize filter value: ERR_04201 No more characters available at
position 4
[2011-03-15 10:35:33,836]  WARN
{org.apache.directory.server.core.normalization.NormalizationInterceptor} -
 undefined filter based on undefined attributeType not evaluted at all.
 Returning empty enumeration.


[2011-03-15 10:35:46,645]  INFO
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
the message
org.apache.directory.shared.ldap.message.UnbindRequestImpl@f76b847a received
from null session
[2011-03-15 10:35:46,653]  INFO
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
the message
org.apache.directory.shared.ldap.message.UnbindRequestImpl@12064b29 received
from null session
[2011-03-15 10:35:46,696]  INFO
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
the message
org.apache.directory.shared.ldap.message.UnbindRequestImpl@3ad4e7b5 received
from null session
[2011-03-15 10:35:46,704]  INFO
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
the message
org.apache.directory.shared.ldap.message.UnbindRequestImpl@23b0a901 received
from null session
[2011-03-15 10:35:46,710]  INFO
{org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
the message
org.apache.directory.shared.ldap.message.UnbindRequestImpl@1e4dd2e9 received
from null session


[2011-03-15 10:35:52,832]  WARN