[Carbon-dev] [Proposal] New SVN structure

2012-03-05 Thread Afkham Azeez
I suggest that while keeping; https://svn.wso2.org/repos/wso2/trunk as it
is, to come up with the new structure.

1. https://svn.wso2.org/repos/wso2/carbon/kernel/[trunk | branches | tags]
2. https://svn.wso2.org/repos/wso2/carbon/platform/[trunk | branches | tags]
3. https://svn.wso2.org/repos/wso2/carbon/orbit/[trunk | branches | tags]


Not sure whether trunk, branches, tags is necessary for orbit

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


Re: [Carbon-dev] Carbon trunk Cassandra 1.x.x upgrade

2012-03-05 Thread Afkham Azeez
'


 ___
 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

 UK: +44 207 096 0336
 US: +1 646 595 7614

 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




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


Re: [Carbon-dev] Non-active Plans/Jobs on Bamboo

2012-03-05 Thread Afkham Azeez
We will need new plans once we finalize  complete the SVN moves.

On Mon, Mar 5, 2012 at 6:04 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Also [4] can be removed as well because we have a new plan for the trunk.

 On Mon, Mar 5, 2012 at 6:00 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Maheshika,

 You can delete [1] from Bamboo. It was created for the BAM2 alpha release
 and it was moved to a new builder machine.

 Thanks and regards,
 SanjayaV.

 On Mon, Mar 5, 2012 at 5:51 PM, Maheshika Goonetilleke 
 mahesh...@wso2.com wrote:


 Hi All,

 Please advice if the below plans could be cleared/deleted from the
 Bamboo Dashboard as they are non-active;

- BAM2 [1]
- Reporting [2]
- WSO2 Carbon 3.2.0 [3]
- WSO2 Carbon trunk [4]

 [1] http://wso2.org/bamboo/browse/BAM2
 [2] http://wso2.org/bamboo/browse/REPORTING
 [3] http://wso2.org/bamboo/browse/WSO2CARBON320
 [4] http://wso2.org/bamboo/browse/WSO2CARBONTUNK

 Please not once deleted the plan and job configuration including
 results will not be available. However if a plan/job is disabled it could
 be re-enabled if necessary.

 Thanks and best regards,
 Maheshika


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




 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881




 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


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




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


Re: [Carbon-dev] [Proposal] New SVN structure

2012-03-05 Thread Afkham Azeez
If everybody agrees on this, can we go ahead with the new restructuring?

On Mon, Mar 5, 2012 at 2:26 PM, Afkham Azeez az...@wso2.com wrote:

 I suggest that while keeping; https://svn.wso2.org/repos/wso2/trunk as it
 is, to come up with the new structure.

 1. https://svn.wso2.org/repos/wso2/carbon/kernel/[trunk | branches | tags]
 2. https://svn.wso2.org/repos/wso2/carbon/platform/[trunk | branches |
 tags]
 3. https://svn.wso2.org/repos/wso2/carbon/orbit/[trunk | branches | tags]


 Not sure whether trunk, branches, tags is necessary for orbit

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




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


Re: [Carbon-dev] [Proposal] New SVN structure

2012-03-05 Thread Afkham Azeez
On Mon, Mar 5, 2012 at 7:26 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Are we not cutting too close to the release to do this now? How much time
 will it take to do this and stabilize?


Even now the kernel, platform  orbit POMs are independent. So, doing SVN
moves to different locations will not have any implications. However, we
should not be moving too often since it affects all other related systems.


 Also, what are the implications of current branching strategy when we do
 this?


The branching strategy will have to be rethought anyway IMO since the trunk
SVN structure has changed. I believe it will become simpler since
the individual branches will reside inside kernel, platform  orbit. We
will first do a kernel release, and that will have a branch. Based on that
kernel release, we will do platform releases. We can maintain the
individual platform branches inside the platform.


 Also, we need a new svn server hosted for this, where we can control
 access to specific locations at a given time. The current svn does not
 allow that, and hence have little use of doing this on a flat permission
 schema.


SVN server move can be done even later, provided that the SVN tree
structure is preserved, the outside parties may not relaize any different.
For example,  
https://svn.wso2.org/repos/wso2/carbon/kernel/https://svn.wso2.org/repos/wso2/carbon/kernel/%5Btrunk
   
https://svn.wso2.org/repos/wso2/carbon/https://svn.wso2.org/repos/wso2/carbon/kernel/%5Btrunkplatform
are under the same repository now. However, in the future, we can make
these independent SVN repos, and the outside parties or systems will not
get affected since the URL does not change.



 Given all this, I would rather do this for Carbon 5.


I think we should first get the build to pass, and then do these SVN moves
as soon as that happens.







 On Mon, Mar 5, 2012 at 6:57 PM, Pradeep Fernando prad...@wso2.com wrote:

 I'm +1. This is the structure we decided during the first discussion.
 shall we wait till sameera confirms. He was talking about some other
 structuring mechanism few days ago.

 --Pradeep

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

 Thanks,
 Samisa...

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



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




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


Re: [Carbon-dev] [Jaggery] request.getParameter returns a string

2012-03-05 Thread Afkham Azeez
I was also thinking the same. But since this is JavaScript, doesn't the
type conversion automatically happen? Perhaps not. How will it know whether
1 is a String or int.

On Tue, Mar 6, 2012 at 9:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Samisa,

 When you take the parameters from the request they are not type bound.
 they will be always String, and if you are sure that some parameter is an
 Integer you can cast it to a Integer and do math operations on it.

 It goes same for Java HTTPServletRequest [1]

 [1]
 http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)

 Regards,
 /Nuwan

 On Tue, Mar 6, 2012 at 8:07 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 I don't think it is possible to differentiate request parameters as
 strings, integers, floats etc. i.e. when we pass something as a request
 param from the client side, we don't consider their types.

 If I have understand your question properly, what is would be
 the rationale behind identifying params in [1] as numbers and [2] as
 strings?

 Thanks  Regards,
 Ruchira

 [1] http://foo.com/calc?param1=1param2=2
 [2] http://foo.com/search?param1=helloparam2=world

 On Mon, Mar 5, 2012 at 8:29 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Reason I am saying is that I wrote a cal to demo session and
 the param could not be added out of the box. I have to make use of ' *
 parseFloat'*

 See code below.

 %
 var operation = request.getParameter(operation);
 var value1 = parseFloat( request.getParameter(value1) );
 var value2 = parseFloat( request.getParameter(value2) );

 var result = 0;
 var memory = 0;

 if (operation == add ) {
 result = value1 + value2;
 } else if (operation == sub ) {
 result = value1 - value2;
 } else if (operation == mul ) {
 result = value1 * value2;
 } else if (operation == div ) {
 result = value1 / value2;
 } else if (operation == mem ) {
 memory = session.get(result);
  result = memory + value1;
 }

 session.put(result, result);

 if (operation == mem ) {
 print( memory +  +  + value1 +  =  + result );
 } else {
 print( value1 +   + operation +   + value2 +  =  + result
 );
 }
 %




 On Mon, Mar 5, 2012 at 8:27 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Cannot treat a number param as a number.

 Thanks,
 Samisa...

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

  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




 --
 Ruchira Wageesha
 Software Engineer - WSO2 Inc. www.wso2.com

 Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
 Mobile: +94775493444

 Lean . Enterprise . Middleware

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




 --
 *Thanks  Regards,

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

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

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




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


Re: [Carbon-dev] OSGi level problems while trying to integrate CXF into Carbon

2012-03-05 Thread Afkham Azeez
We can support OSGi webapp bundles as an experimental (alpha level)
feature. However, we will not be able to provide that for tenants.

On Tue, Mar 6, 2012 at 9:57 AM, Isuru Suriarachchi is...@wso2.com wrote:



 On Mon, Mar 5, 2012 at 10:00 PM, Pradeep Fernando prad...@wso2.comwrote:



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

 I was able to get this resolved by making the CXF bundle a fragment of
 the tomcat bundle. This is the only option to deal with the CXF + Spring
 combination. I think this is good enough for the initial implementation.

 However, while investigating the possible options, there are two other
 improvements we can do.

 1. Supporting CXF services as OSGi bundles. Here we have to use
 blueprint to load the CXF context. This is already done in Karaf and it
 will be a good addition to our framework as well.
 2. Supporting Webapps as OSGi bundles. This is something that we've
 already discussed and this is also done in Karaf.

 we have no plans to support webapps as bundles, in carbon 4.0.0 (?).


 Yes, currently we have no plans on that. But it'll be a great addition if
 we can manage it. I'll have a look into that.





  Let's try to get these two also done for Carbon 4.0.0. This will take
 us even closer to a pure OSGi based framework.

 Thanks,
 ~Isuru


 On Thu, Mar 1, 2012 at 3:44 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 I'm facing a critical OSGi level issue when CXF is integrated into
 Carbon. CXF completely runs on spring and it has it's own spring handlers
 used for different purposes. So my CXF bundle has the spring.handlers file
 which registers custom spring handlers for each namespace. Following
 registration can be found in that file.

 http\://
 cxf.apache.org/jaxws=org.apache.cxf.jaxws.spring.NamespaceHandler

 Above class is also in my CXF bundle. But when I try to deploy a CXF
 service, it gives the following error.

 [2012-03-01 15:17:02,983]  INFO
 {org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
 XML bean definitions from URL
 [jndi:/localhost/cxf-library/WEB-INF/cxf-servlet.xml]
 Mar 1, 2012 3:17:05 PM org.apache.catalina.core.ApplicationContext log
 SEVERE: StandardWrapper.Throwable
 org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
 Configuration problem: Unable to locate Spring NamespaceHandler for XML
 schema namespace [http://cxf.apache.org/jaxws]
 Offending resource: URL
 [jndi:/localhost/cxf-library/WEB-INF/cxf-servlet.xml]
 at
 org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
  at
 org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
 at
 org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)
  at
 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:316)
 at
 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1416)
  at
 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409)

 So it looks like the spring framework is unable to see the
 spring.handlers file when it runs in the OSGi environment. I tried
 different options to overcome this without any luck. Any ideas on how to
 resolve this?..

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




 --
 Isuru Suriarachchi
 Technical Lead
 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




 --
 Pradeep Fernando
 Software Engineer
 Member, Management Committee - Platform  Cloud Technologies
 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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




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

[Carbon-dev] Enabling ghost deployment for super tenant?

2012-03-05 Thread Afkham Azeez
Are we going ahead with $subject for the next release? IMO, GD will get
better tested if it is enabled at ST level since more people are involved
in day to day testing of standalone products.

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


Re: [Carbon-dev] Build error - package org.wso2.carbon.tomcat.server does not exist in trunk

2012-03-04 Thread Afkham Azeez
I think you don't have a proper kernel update

On Mon, Mar 5, 2012 at 11:04 AM, Muhammed Shariq sha...@wso2.com wrote:

 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.webapp.mgt: Compilation
 failure: Compilation failure:
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/WebApplication.java:[22,36]
 package org.wso2.carbon.tomcat.server does not exist
 [ERROR]
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/TomcatUtil.java:[19,36]
 package org.wso2.carbon.tomcat.server does not exist
 [ERROR]
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/TomcatUtil.java:[30,19]
 cannot find symbol
 [ERROR] symbol  : class ServerManager
 [ERROR] location: class org.wso2.carbon.webapp.mgt.TomcatUtil
 [ERROR]
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/TomcatGenericWebappsDeployer.java:[25,36]
 package org.wso2.carbon.tomcat.server does not exist
 [ERROR]
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/WebApplication.java:[212,29]
 cannot find symbol
 [ERROR] symbol  : variable ServerManager
 [ERROR] location: class org.wso2.carbon.webapp.mgt.WebApplication
 [ERROR]
 [ERROR]
 /home/shariq/src/trunk/graphite/components/webapp-mgt/org.wso2.carbon.webapp.mgt/src/main/java/org/wso2/carbon/webapp/mgt/TomcatGenericWebappsDeployer.java:[191,20]
 cannot find symbol
 [ERROR] symbol  : variable ServerManager
 [ERROR] location: class
 org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command


 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




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


[Carbon-dev] Temporarily exclude failing product build from main pom?

2012-03-03 Thread Afkham Azeez
Shall we do $subject, just to make sure that the other products are not
broken from time to time? Of course, somebody needs to fix the failing
product builds. All tests should be running in the products that are
included in the main pom.

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


Re: [Carbon-dev] Updated Invitation: Context Mapping to Stratos AS with current carbon @ Wed Feb 29 11:30am - 12pm (carbon-dev@wso2.org)

2012-03-02 Thread Afkham Azeez
We already have a map of unique key to URL. That needs to be stored
somewhere. Possibly the Config Registry of the relevant Service cluster. On
component initialization, you have to read that back from the Config
Registry, and then create the virtual hosts.

So, creating virtual hosts after Tomcat server startup is working?

On Fri, Mar 2, 2012 at 3:00 PM, Reka Thirunavukkarasu r...@wso2.com wrote:

 Hi

 I could dynamically create virtual host and deploy web apps into it as
 root. So that now user can give their own domain and access the web app
 through the domain as root.

 But when restarting the server, we need to create all required virtual
 host since we don't have any entry in the catalina-server.xml. So, the
 solution can be to store the host's properties into registry and use it in
 the server start up to create virtual host.

 Could you provide feedback on this?

 Regards,
 Reka



 On Wed, Feb 29, 2012 at 2:35 PM, Reka Thirunavukkarasu r...@wso2.comwrote:

 I'll check that too and update on it.


 On Wed, Feb 29, 2012 at 2:23 PM, Afkham Azeez az...@wso2.com wrote:

 One additional issue you may face is not being able to add virtual hosts
 at runtime. You will have to check that.


 On Wed, Feb 29, 2012 at 2:20 PM, Reka Thirunavukkarasu r...@wso2.comwrote:

 Hi
 The following is what we discussed in the meeting:

 Since enabling crossContext is having security concern specially in
 tenant specific scenarios and forwarding request which comes from root
 context to another context in valve level is not properly handled the
 requested URI from the browser, the proposed solution was to use different
 virtual host for each web app to be deployed.

 Then, those web apps can be accessed from the virtual host as a root
 web app. The programmatic deployment of the web app can be handled when a
 web app is uploaded by a tenant.

 Regards,
 Reka

 On Tue, Feb 28, 2012 at 3:21 PM, Reka Thirunavukkarasu 
 r...@wso2.comwrote:

  This event has been changed.
 more details 
 »https://www.google.com/calendar/event?action=VIEWeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en
 Context Mapping to Stratos AS with current carbon
 *Changed: *Since carbon is not currently deployed as a web-app, how
 possibly forward a request from carbon to another context.
 Security is a concern when fetching resources from another context by
 enabling crossContext to AS.
 We need to decide on how to handle the request forwarding?
 *When*
 Wed Feb 29 11:30am – 12pm Colombo
 *Where*
 LK #59 2nd Floor Room 
 (maphttp://maps.google.lk/maps?q=LK+%2359+2nd+Floor+Roomhl=en
 )
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 r...@wso2.com - organizer
 •
 Selvaratnam Uthaiyashankar
 •
 Pradeep Fernando
 •
 Afkham Azeez
 •
 Amani Soysa
 •
 carbon-dev@wso2.org
 •
 Sameera Jayasoma
 •
 Dimuthu Leelarathne

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account
 carbon-dev@wso2.org because you are an attendee of this event.

 To stop receiving future notifications for this event, decline this
 event. Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification
 settings for your entire calendar.

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





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






-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member

[Carbon-dev] Improvements to sticky session handling in WSO2 LB

2012-03-02 Thread Afkham Azeez
Srinath brought up the suggestion of efficiently handling sticky sessions
in WSO2 LB during a discussion this afternoon. Now we store the mapping of
session_id-Member in a Map in the LB. Srinath pointed out that this will
be an issue when we have a cluster of LBs  we need to replicate this Map
within that cluster. So a better solution would be, to set another cookie
which contains the relevant member ID and pass it on to the client. When
the client subsequently sends requests, we can retrieve that cookie, find
the correct member, and then dispatch the request to that member. This can
be implemented with minor changes to the Synapse
ServiceDynamicLoadbalanceEndpoint.

In our TenantAwareLoadbalanceEndpoint, we can set the tenant range, and the
member ID into the relevant cookies.

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


[Carbon-dev] Merge Products Stratos Services

2012-03-01 Thread Afkham Azeez
During a discussion last week, the idea of merging the two into a single
binary came up. That is, instead of Carbon AppServer  Stratos AppServer,
we will have a single AppServer binary which contains the relevant
components that can make it run in multi-tenant mode.  Actually,
multi-tenancy is at the core of Carbon, and we do not expose it to the
user. The Stratos counterparts of the respective products is mainly tested
by the Stratos/Cloud team, and hence the issues may get uncovered late in
the release cycle. This will also reduce the number of binaries that have
to go through QA.

Is this a feasible option? Thoughts welcome.

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


Re: [Carbon-dev] Merge Products Stratos Services

2012-03-01 Thread Afkham Azeez
On Thu, Mar 1, 2012 at 6:50 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote:

 +1. It is a good suggestion, considering the maintenance overhead of
 having two pom.xml (product/service) for each.

 However, I foresee one concern on this suggestion - Increase of the binary
 sizes of the products to some more extend. I can list a few of the features
 that are installed into the services only - this will make them into the
 products too.


But the benefits will hugely outweigh the pack sizes increasing by a few
MBs.



 Thank you.
 Regards,
 Pradeeban.

 On Thu, Mar 1, 2012 at 6:42 PM, Afkham Azeez az...@wso2.com wrote:

 During a discussion last week, the idea of merging the two into a single
 binary came up. That is, instead of Carbon AppServer  Stratos AppServer,
 we will have a single AppServer binary which contains the relevant
 components that can make it run in multi-tenant mode.  Actually,
 multi-tenancy is at the core of Carbon, and we do not expose it to the
 user. The Stratos counterparts of the respective products is mainly tested
 by the Stratos/Cloud team, and hence the issues may get uncovered late in
 the release cycle. This will also reduce the number of binaries that have
 to go through QA.

 Is this a feasible option? Thoughts welcome.

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


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




 --
 Kathiravelu Pradeeban.
 Software Engineer.
 Cloud Technologies Team.
 WSO2 Inc.

 Blog: [Llovizna] http://kkpradeeban.blogspot.com/
 M: +94 776 477 976


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




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


Re: [Carbon-dev] Updated Invitation: Context Mapping to Stratos AS with current carbon @ Wed Feb 29 11:30am - 12pm (carbon-dev@wso2.org)

2012-02-29 Thread Afkham Azeez
One additional issue you may face is not being able to add virtual hosts at
runtime. You will have to check that.

On Wed, Feb 29, 2012 at 2:20 PM, Reka Thirunavukkarasu r...@wso2.comwrote:

 Hi
 The following is what we discussed in the meeting:

 Since enabling crossContext is having security concern specially in tenant
 specific scenarios and forwarding request which comes from root context to
 another context in valve level is not properly handled the requested URI
 from the browser, the proposed solution was to use different virtual host
 for each web app to be deployed.

 Then, those web apps can be accessed from the virtual host as a root web
 app. The programmatic deployment of the web app can be handled when a web
 app is uploaded by a tenant.

 Regards,
 Reka

 On Tue, Feb 28, 2012 at 3:21 PM, Reka Thirunavukkarasu r...@wso2.comwrote:

  This event has been changed.
 more details 
 »https://www.google.com/calendar/event?action=VIEWeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en
 Context Mapping to Stratos AS with current carbon
 *Changed: *Since carbon is not currently deployed as a web-app, how
 possibly forward a request from carbon to another context.
 Security is a concern when fetching resources from another context by
 enabling crossContext to AS.
 We need to decide on how to handle the request forwarding?
 *When*
 Wed Feb 29 11:30am – 12pm Colombo
 *Where*
 LK #59 2nd Floor Room 
 (maphttp://maps.google.lk/maps?q=LK+%2359+2nd+Floor+Roomhl=en
 )
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 r...@wso2.com - organizer
 •
 Selvaratnam Uthaiyashankar
 •
 Pradeep Fernando
 •
 Afkham Azeez
 •
 Amani Soysa
 •
 carbon-dev@wso2.org
 •
 Sameera Jayasoma
 •
 Dimuthu Leelarathne

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=ODcybG5tYjA2bm84Zms1djg4ZzFwcGhqbWMgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTMjcmVrYUB3c28yLmNvbTdhMmFiNWExMWZkZGQ2MTliYjc2M2VlNDdkMGY2M2IyMWI1NTUwZTQctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account 
 carbon-dev@wso2.orgbecause you are an attendee of this event.

 To stop receiving future notifications for this event, decline this
 event. Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

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





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


Re: [Carbon-dev] JVM appears hung

2012-02-29 Thread Afkham Azeez
Screen would work too. We have also been discussing about
yet-another-java-service-*w*rapper

--
Afkham Azeez
Sent from my phone
On Feb 29, 2012 10:09 PM, Jorge Infante Osorio jorg...@uci.cu wrote:

 Hi Afkham.

 I remember that thread, in my case I use screen, now I will test with
 nohup.
 I asked just to have an update :-D

 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Afkham Azeez
 Enviado el: lunes, 27 de febrero de 2012 4:56
 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] JVM appears hung

 We have noticed the Java ServiceWrapper has issues. We don't recommend
 using
 it anymore. There was a mail about this a few months back. We currently use
 nohup to start the processes instead of JSW.
 On Sat, Feb 25, 2012 at 1:53 AM, Jorge Infante Osorio jorg...@uci.cu
 wrote:
 Hi all.
 Any advance in this $subject?

 INFO   | jvm 1| 2012/02/24 14:32:01 | [2012-02-24 14:32:01,128]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-0$
 ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM appears hung: Timed out
 waiting for signal from JVM.
 ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM did not exit on request,
 terminated
 INFO   | wrapper  | 2012/02/24 14:34:12 | JVM exited on its own while
 waiting to kill the application.
 STATUS | wrapper  | 2012/02/24 14:34:12 | JVM exited in response to signal
 SIGKILL (9).
 STATUS | wrapper  | 2012/02/24 14:34:16 | Launching a JVM...
 INFO   | jvm 2| 2012/02/24 14:34:16 | Wrapper (Version 3.2.3)
 http://wrapper.tanukisoftware.org
 INFO   | jvm 2| 2012/02/24 14:34:16 |   Copyright 1999-2006 Tanuki
 Software, Inc.  All Rights Reserved.
 INFO   | jvm 2| 2012/02/24 14:34:16 |
 INFO   | jvm 2| 2012/02/24 14:34:17 | [2012-02-24 14:34:17,777]  INFO
 {org.wso2.carbon.server.Main} -  Initializing system...

 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.





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




 --
 Afkham Azeez
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/

 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




 Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
 ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
 http://www.antiterroristas.cu
 http://justiciaparaloscinco.wordpress.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

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


Re: [Carbon-dev] Carbon Integration Test Framework : Excluding axis2 jar from SecVerifier.aar

2012-02-29 Thread Afkham Azeez
Go ahead. Can you check  exclude other unnecessary jars as well?

--
Afkham Azeez
Sent from my phone
On Feb 29, 2012 10:55 PM, Subash Chaturanga sub...@wso2.com wrote:

 Hi Azeez,
 For some reason GReg has enabled child first class loading and having
 problems in deploying axis2 web services. Though any carbon server
 is expected to be able to deploy axis2 web services, greg is not capable
 of deploying  SecVerifier.aar  due to above reason.

 To get rid from problems due to unnecessary class loading from
 SecVerifier/lib, I have changed the integration/security-verifier/pom to
 exclude axis2 jar from packaging inside the aar, but to use that only in
 compile time.
 And I tested it to BRS as well. Shall I commit it to trunk ?

 Thanks
 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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


[Carbon-dev] Finalize all SVN moves create the new structure in Crucible

2012-02-28 Thread Afkham Azeez
Folks,
We need to finalize this. If it is going to be;

carbon/kernel/[trunk/branches/tags] model we need to do it now. Changing
the SVN structure from time to time screws up all other dependent tools we
use. I'm in the middle of reviewing some components, and cannot continue
since the SVN structure has changed. Who is going to own this?

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


Re: [Carbon-dev] TestNG tests fails due to:Port 9443 is not open

2012-02-28 Thread Afkham Azeez
The HTTP/S ports are not open due to some reason. We need to investigate
why the server is not properly starting up. May be it is waiting for
required OSGi services, and not starting up due to OSGi dependency issues.
Try manually starting up the respective servers.

On Tue, Feb 28, 2012 at 5:32 PM, Subash Chaturanga sub...@wso2.com wrote:

 Hi Azeez,

 I tried to instantiate the Socket in a separate client class after debug
 gets hold in the same corresponding place in ClientConnectionUtil class.
 Same result.

 java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 at java.net.Socket.connect(Socket.java:529)
  at java.net.Socket.connect(Socket.java:478)
 at java.net.Socket.init(Socket.java:375)
  at java.net.Socket.init(Socket.java:218)
 at Main.main(Main.java:23)
  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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

 On Tue, Feb 28, 2012 at 10:40 AM, Afkham Azeez az...@wso2.com wrote:

 Increasing the timeout will not help. For some reason, the server is not
 successfully starting up.


 On Tue, Feb 28, 2012 at 9:11 AM, Achala Aponso ach...@wso2.com wrote:

 Hi,

 I also got the same issue with GS integration tests. Increasing the
 timeout didn't work for me too.


 On Mon, Feb 27, 2012 at 4:31 PM, Subash Chaturanga sub...@wso2.comwrote:



 On Mon, Feb 27, 2012 at 3:35 PM, Nirmal Fernando nir...@wso2.comwrote:



 On Mon, Feb 27, 2012 at 3:26 PM, Subash Chaturanga sub...@wso2.comwrote:

 Hi,
 I am getting GReg integration recent test failures due to Port 9443
 is not open. Happens at server startup in RegistryTestServerManager.

 Here is the sure fire report log. Any reason for this to happen ?


 This happens when it failed to open the port (9443) within the time
 out (6 ms).
 Increasing it might solve the problem!!

 I increased the delay 8 times longer than earlier (in
 ClientConnectionUtil class in integration framework.). It didn't worked
 Not sure what exactly causing this.





 Tests run: 270, Failures: 2, Errors: 0, Skipped: 268, Time elapsed:
 324.265 sec  FAILURE!
 startServer(org.wso2.carbon.registry.RegistryTestServerManager)  Time
 elapsed: 0 sec   FAILURE!
 org.testng.internal.thread.ThreadExecutionException:
 org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
 java.lang.RuntimeException: Port 9443 is not open
 at
 org.testng.internal.thread.FutureResultAdapter.get(FutureResultAdapter.java:25)
 at
 org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNewExecutor(MethodInvocationHelper.java:242)
 at
 org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:200)
 at
 org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:528)
 at
 org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
 at
 org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at
 org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:60)
 at
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:153)
 at
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
 at $Proxy0.invoke(Unknown Source)
 at
 org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150

Re: [Carbon-dev] Finalize all SVN moves create the new structure in Crucible

2012-02-28 Thread Afkham Azeez
We cannot keep changing the SVN structure from time to time. It messes up
all other related systems we run. We might as well change it now or simply
forget about it.

--
Afkham Azeez
Sent from my phone
On Feb 29, 2012 8:16 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Its going be trunk/carbon/[kernel,orbit,platform]. We decided this after a
 offline discussion with Samisa. As per Samisa, in order to get the other
 structure, it might take quite a bit of effort.

 We hold this svn move, because of the build failures. Now that the Carbon
 kernel and platform builds are successful we can do it. Only the products
 are failing..

 I will do this tonight. We need to freeze the trunk for 1 hour.

 Thanks,
 Sameera.

 On Tue, Feb 28, 2012 at 5:31 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to finalize this. If it is going to be;

 carbon/kernel/[trunk/branches/tags] model we need to do it now. Changing
 the SVN structure from time to time screws up all other dependent tools we
 use. I'm in the middle of reviewing some components, and cannot continue
 since the SVN structure has changed. Who is going to own this?

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




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

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

 Lean . Enterprise . Middleware

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


Re: [Carbon-dev] Finalize all SVN moves create the new structure in Crucible

2012-02-28 Thread Afkham Azeez
What are these difficulties related to creating an svn structure? It is not
as if some major feature needs to be implemented to wait for the next major
release.

--
Afkham Azeez
Sent from my phone
On Feb 29, 2012 9:15 AM, Sameera Jayasoma same...@wso2.com wrote:

 Yes I agree.

 For Carbon 4.0.0, the plan is to have the following structure.

 trunk/carbon/[kernel,orbit,platform]

 Since the other structure takes a bit of time, we decided to delay it for
 Carbon 5.0.0.

 Thanks,
 Sameera.


 On Wed, Feb 29, 2012 at 9:08 AM, Afkham Azeez az...@wso2.com wrote:

 We cannot keep changing the SVN structure from time to time. It messes up
 all other related systems we run. We might as well change it now or simply
 forget about it.

 --
 Afkham Azeez
 Sent from my phone
 On Feb 29, 2012 8:16 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Its going be trunk/carbon/[kernel,orbit,platform]. We decided this after
 a offline discussion with Samisa. As per Samisa, in order to get the other
 structure, it might take quite a bit of effort.

 We hold this svn move, because of the build failures. Now that the
 Carbon kernel and platform builds are successful we can do it. Only the
 products are failing..

 I will do this tonight. We need to freeze the trunk for 1 hour.

 Thanks,
 Sameera.

 On Tue, Feb 28, 2012 at 5:31 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need to finalize this. If it is going to be;

 carbon/kernel/[trunk/branches/tags] model we need to do it now.
 Changing the SVN structure from time to time screws up all other dependent
 tools we use. I'm in the middle of reviewing some components, and cannot
 continue since the SVN structure has changed. Who is going to own this?

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




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

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

 Lean . Enterprise . Middleware




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

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

 Lean . Enterprise . Middleware

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


Re: [Carbon-dev] [Update] JVM Autoscaler

2012-02-28 Thread Afkham Azeez
On Wed, Feb 29, 2012 at 11:41 AM, Nirmal Fernando nir...@wso2.com wrote:


 4. How to let AutoscalerService know the EPR of the
 AgentManagementService? Currently it is hard coded. Is it good to assume
 that both autoscaler service and agent management service are hosted in one
 location, and deriving the EPR of the AgentManagementService?


 You can specify two different URLs.


 Ok, but how to let AutoscalerService know the EPR of the
 AgentManagementService?


It does not need to know. I think both services can run in the same
runtime, and share a single data structure for sharing the agents. Both the
services can be within the same OSGi bundle.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Is there a way to pass the 'localMemberPort' value in axis2.xml, as an argument to wso2server.sh?

2012-02-27 Thread Afkham Azeez
I'll check on this.

On Mon, Feb 27, 2012 at 9:49 AM, Nirmal Fernando nir...@wso2.com wrote:



 On Thu, Feb 23, 2012 at 11:50 AM, Nirmal Fernando nir...@wso2.com wrote:



 On Thu, Feb 23, 2012 at 11:45 AM, Afkham Azeez az...@wso2.com wrote:

 if you do not specify this port, Tribes automatically picks an available
 port in the range of 4000-5000. So, you only have to comment out the
 localMemberPort value.


 This seems not working though! Tribes only picks port 4001.



 Great! Thanks. :)


 On Thu, Feb 23, 2012 at 9:31 AM, Nirmal Fernando nir...@wso2.comwrote:

 Hi All,

 $Subject?

 AFAIS this is a requirement when we get many copies from a single
 server image (each copy should have a different localMemberPort in order to
 join a cluster).


 --

 Thanks  regards,
 Nirmal

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

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




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

 *
 *
 *Lean . Enterprise . Middleware*


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




 --

 Thanks  regards,
 Nirmal

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




 --

 Thanks  regards,
 Nirmal

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

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




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


Re: [Carbon-dev] JVM appears hung

2012-02-27 Thread Afkham Azeez
We have noticed the Java ServiceWrapper has issues. We don't recommend
using it anymore. There was a mail about this a few months back. We
currently use nohup to start the processes instead of JSW.

On Sat, Feb 25, 2012 at 1:53 AM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Hi all.

 Any advance in this $subject?

 ** **

 INFO   | jvm 1| 2012/02/24 14:32:01 | [2012-02-24 14:32:01,128]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-0$

 ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM appears hung: Timed out
 waiting for signal from JVM.

 ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM did not exit on request,
 terminated

 INFO   | wrapper  | 2012/02/24 14:34:12 | JVM exited on its own while
 waiting to kill the application.

 STATUS | wrapper  | 2012/02/24 14:34:12 | JVM exited in response to signal
 SIGKILL (9).

 STATUS | wrapper  | 2012/02/24 14:34:16 | Launching a JVM...

 INFO   | jvm 2| 2012/02/24 14:34:16 | Wrapper (Version 3.2.3)
 http://wrapper.tanukisoftware.org

 INFO   | jvm 2| 2012/02/24 14:34:16 |   Copyright 1999-2006 Tanuki
 Software, Inc.  All Rights Reserved.

 INFO   | jvm 2| 2012/02/24 14:34:16 |

 INFO   | jvm 2| 2012/02/24 14:34:17 | [2012-02-24 14:34:17,777]  INFO
 {org.wso2.carbon.server.Main} -  Initializing system...

 ** **

 Saludos,

 Ing. Jorge Infante Osorio.

 J´Dpto Soluciones SOA.

 CDAE.

 Fac. 5.

 UCI.

 ** **

   http://www.antiterroristas.cu/


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




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


Re: [Carbon-dev] Moved API Mgt work to trunk

2012-02-27 Thread Afkham Azeez
Are the API classes/interfaces still open for change?

On Mon, Feb 27, 2012 at 9:45 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Please note the $subject. Now it's hosted under
 https://svn.wso2.org/repos/wso2/trunk/graphite/products/apimgt
 Lot of structuring, clean up need to happen. As of now, API Mgt product
 building scripts are not written.

 All these will be addressed in due course.

 --
 /sumedha




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


Re: [Carbon-dev] Atomikos Related Issues in DSS.

2012-02-27 Thread Afkham Azeez
.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:365)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:263)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: DS Fault Message: Cannot find container managed TransactionManager
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  DS
 Code: UNKNOWN_ERROR
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.dataservices.core.DBUtils.getContainerTransactionManager(DBUtils.java:669)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.dataservices.core.engine.DataService.initXA(DataService.java:230)
 [2012-02-27 18:10:25,790]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 20 more


 Thanks,
 Sameera.

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

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

 Lean . Enterprise . Middleware

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




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




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


Re: [Carbon-dev] Windows 7 is not supported???

2012-02-27 Thread Afkham Azeez
This was discussed extensively, and we had a couple of review sessions too,
before this went into Carbon. I believe this will be a great addition to
the framework, since it displays warnings beforehand.

On Tue, Feb 28, 2012 at 8:30 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 When I start Jagerry pack, I see the following line:

 *[2012-02-28 08:28:47,418]  WARN
 {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -  The
 running OS : Windows 7 is not a tested Operating System for running WSO2
 Carbon*

 What on earth does this mean???

 Who added this?

 Why was this added?

 Was this discussed?

 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*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] TestNG tests fails due to:Port 9443 is not open

2012-02-27 Thread Afkham Azeez

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

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




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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




 --
 Achala Aponso
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: ach...@wso2.com Mobile: +94 (77) 5234925
 Blog: http://achala11.blogspot.com/



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




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


Re: [Carbon-dev] Compilation failure in system test framework.

2012-02-25 Thread Afkham Azeez
On a side note, I see coding convention violations. Package names should be
all lower case, with no _ or - separation

--
Afkham Azeez
Sent from my phone
On Feb 25, 2012 1:17 AM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi All,

 I see very obvious compilation failure in system-test-framework trunk [1].
 This is the second time I came across with such an issue for last two days.
 Charitha also got a compilation failure while building the framework trunk
 yesterday. We all need to follow best practices before committing changes.
 Please make sure to build the framework or run all the test relevant to
 your domain before you commit.

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
 (default-testCompile) on project system-stratos-test-auto: Compilation
 failure
 [ERROR]
 /home/krishantha/svn/trunk/graphite/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/mediators/test/MediatorTest.java:[418,47]
 sendReceive(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String)
 in org.wso2.platform.test.core.utils.axis2Client.AxisServiceClient cannot
 be applied to
 (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)


 Thanks,
 Krishantha.

 [1]
 https://svn.wso2.org/repos/wso2/trunk/graphite/platform-integration/system-test-framework

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


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


Re: [Carbon-dev] [Stratos-dev] Make system statistics component cluster aware

2012-02-22 Thread Afkham Azeez
The StatisticsPublishers (or the new agents) will continue to publish stats
at the node level to BAM sever.

On Wed, Feb 22, 2012 at 1:43 PM, Tharindu Mathew thari...@wso2.com wrote:

 So, this means that the original statistics will not be altered. It is
 just the presentation that will change. If I want to obtain statistics of
 the individual node from the backend I can still get that.

 Is this correct?

 If this is the case, it should preserve the individual stats while adding
 in cluster wide stats. Some users maybe interested in individual node stats
 as well.


 On Wed, Feb 22, 2012 at 1:27 PM, Afkham Azeez az...@wso2.com wrote:

 This is related to the user experience of the system statistics UI. Say a
 sends 3 requests to the same service, and then when he goes to the service
 stats page of that service, he sees only 1 request since the LB has routed
 the 3 requests to 3 different nodes. That is broken. We ned to fix that.
 The nodes will still continue to gather stats at an individual node level,
 but the UI will show aggregated stats.


 On Tue, Feb 21, 2012 at 1:01 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi Azeez,

 Wouldn't we lost the ability to view statistics from a single node when
 we do this? Different nodes showing different statistics is ok.

 To view cluster wise, we are using BAM as a point for cluster
 monitoring. We have done a sample on handling this aspect from the BAM
 side, where we aggregate and show cluster wise.

 On Tue, Feb 21, 2012 at 12:38 PM, Afkham Azeez az...@wso2.com wrote:

 When you get directed to different nodes in the cluster, you will see
 different values for system statistics. For example, the service
 request/response counts may be different. To overcome this, we need to send
 a cluster message to all members in the relevant cluster, gather the stats
 from those members, and then display them. Who is going to work on this? It
 is not very difficult to implement.

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


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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908




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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908




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


Re: [Carbon-dev] Fixing Restart issue in WSO2 Carbon

2012-02-22 Thread Afkham Azeez
Why not simply move System restarter to org.wso2.carbon.core?

On Wed, Feb 22, 2012 at 3:38 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Devs,

 Background
 -

 * Earlier, all the classes in the org.wso2.carbon.bridge package have been
 exported to the OSGi environment. This bridge package was running in the
 Carbon webapp class space.
 * SystemRestarter class which is responsible for restarting Carbon, was
 there in the bridge package. Carbon Core bundle invokes the
 SystemRestarter.restart() to restart the system forcefully or
gracefully. This class is visible to Carbon core, because we have
 exposed all classes in the bridge package.

 Current Situation
 
 * Now we are removing the webapp support from Carbon. Hence we are moving
 all these utility classes to the org.wso2.carbon.server package. And also
 we decided not expose the classes in org.wso2.carbon.server package into
 the OSGi environment.

 Now in order to get this restart to work, the only solution I see is to
 use reflection and invoke the SystemRestarter.restart method. If there are
 no objections I will implement this.

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

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

 Lean . Enterprise . Middleware

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




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


Re: [Carbon-dev] Is there a way to pass the 'localMemberPort' value in axis2.xml, as an argument to wso2server.sh?

2012-02-22 Thread Afkham Azeez
if you do not specify this port, Tribes automatically picks an available
port in the range of 4000-5000. So, you only have to comment out the
localMemberPort value.

On Thu, Feb 23, 2012 at 9:31 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi All,

 $Subject?

 AFAIS this is a requirement when we get many copies from a single server
 image (each copy should have a different localMemberPort in order to join a
 cluster).


 --

 Thanks  regards,
 Nirmal

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

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




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


Re: [Carbon-dev] Invitation: CSG code review @ Fri Feb 24 3pm - 4pm (az...@wso2.com)

2012-02-22 Thread Afkham Azeez
Please add me to the crucible project as a reviewer.

On Thu, Feb 23, 2012 at 12:00 PM, Rajika Kumarasiri raj...@wso2.com wrote:

  more details 
 »https://www.google.com/calendar/event?action=VIEWeid=ZmQxbnM2M2J0MHFtMm82cGNjdmIwOWM3OXMgYXplZXpAd3NvMi5jb20tok=MTUjcmFqaWthQHdzbzIuY29tNTFhMDA0Yjg0NTRkZjlhNGRhYTllODE5ODVhZTE0YWZmNDFjYmIyMgctz=Asia%2FColombohl=en
 CSG code review
 To review the CSG code, specially the CSGTransport enabling code for CSG
 service.

 The crucible link is below.
 https://wso2.org/crucible/cru/COMPONENT-71http://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fcrucible%2Fcru%2FCOMPONENT-71ust=1329985822786000usg=AFQjCNF4I-6-_UKVXujzLpOQacSy3fmrhg
 *When*
 Fri Feb 24 3pm – 4pm Colombo
 *Where*
 5th floor, #58 (map http://maps.google.lk/maps?q=5th+floor,+%2358+hl=en
 )
 *Calendar*
 az...@wso2.com
 *Who*
  •
 raj...@wso2.com - organizer
 •
 az...@wso2.com
 •
 carbon-dev@wso2.org

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=ZmQxbnM2M2J0MHFtMm82cGNjdmIwOWM3OXMgYXplZXpAd3NvMi5jb20rst=1tok=MTUjcmFqaWthQHdzbzIuY29tNTFhMDA0Yjg0NTRkZjlhNGRhYTllODE5ODVhZTE0YWZmNDFjYmIyMgctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=ZmQxbnM2M2J0MHFtMm82cGNjdmIwOWM3OXMgYXplZXpAd3NvMi5jb20rst=3tok=MTUjcmFqaWthQHdzbzIuY29tNTFhMDA0Yjg0NTRkZjlhNGRhYTllODE5ODVhZTE0YWZmNDFjYmIyMgctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=ZmQxbnM2M2J0MHFtMm82cGNjdmIwOWM3OXMgYXplZXpAd3NvMi5jb20rst=2tok=MTUjcmFqaWthQHdzbzIuY29tNTFhMDA0Yjg0NTRkZjlhNGRhYTllODE5ODVhZTE0YWZmNDFjYmIyMgctz=Asia%2FColombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=ZmQxbnM2M2J0MHFtMm82cGNjdmIwOWM3OXMgYXplZXpAd3NvMi5jb20tok=MTUjcmFqaWthQHdzbzIuY29tNTFhMDA0Yjg0NTRkZjlhNGRhYTllODE5ODVhZTE0YWZmNDFjYmIyMgctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account az...@wso2.com because you
 are subscribed for invitations on calendar az...@wso2.com.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




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


Re: [Carbon-dev] [Update] JVM Autoscaler

2012-02-21 Thread Afkham Azeez
). And when it feels (another threshold) that it can
 handle
 new
 instances it should register again.
 Autoscaler API should be designed.
 Should port EC2 client to EC2Adaptor.
 Should test the whole scenario.


 I appreciate your comments/thoughts on above facts.


 [1]



 http://mail.wso2.org/mailarchive/architecture/2011-October/006414.html

 [2] http://www.cons.org/cracauer/sigint.html



 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/
   
   
   
--
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
   
Phone: +94 714897591
   
   
   
   
--
   
Thanks  regards,
Nirmal
   
Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
  
  
  
   --
   S.Uthaiyashankar
   Senior Architect  Senior Manager
   WSO2 Inc.
   http://wso2.com/ - lean . enterprise . middleware
  
   Phone: +94 714897591
  
  
  
  
   --
  
   Thanks  regards,
   Nirmal
  
   Software Engineer- Platform Technologies Team, WSO2 Inc.
   Mobile: +94715779733
   Blog: http://nirmalfdo.blogspot.com/
  
  
  
  
   --
  
   Thanks  regards,
   Nirmal
  
   Software Engineer- Platform Technologies Team, WSO2 Inc.
   Mobile: +94715779733
   Blog: http://nirmalfdo.blogspot.com/
 
 
 
  --
  S.Uthaiyashankar
  Senior Architect  Senior Manager
  WSO2 Inc.
  http://wso2.com/ - lean . enterprise . middleware
 
  Phone: +94 714897591
 
 
 
 
  --
 
  Thanks  regards,
  Nirmal
 
  Software Engineer- Platform Technologies Team, WSO2 Inc.
  Mobile: +94715779733
  Blog: http://nirmalfdo.blogspot.com/



 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




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


Re: [Carbon-dev] [Stratos-dev] Make system statistics component cluster aware

2012-02-21 Thread Afkham Azeez
This is related to the user experience of the system statistics UI. Say a
sends 3 requests to the same service, and then when he goes to the service
stats page of that service, he sees only 1 request since the LB has routed
the 3 requests to 3 different nodes. That is broken. We ned to fix that.
The nodes will still continue to gather stats at an individual node level,
but the UI will show aggregated stats.

On Tue, Feb 21, 2012 at 1:01 PM, Tharindu Mathew thari...@wso2.com wrote:

 Hi Azeez,

 Wouldn't we lost the ability to view statistics from a single node when we
 do this? Different nodes showing different statistics is ok.

 To view cluster wise, we are using BAM as a point for cluster monitoring.
 We have done a sample on handling this aspect from the BAM side, where we
 aggregate and show cluster wise.

 On Tue, Feb 21, 2012 at 12:38 PM, Afkham Azeez az...@wso2.com wrote:

 When you get directed to different nodes in the cluster, you will see
 different values for system statistics. For example, the service
 request/response counts may be different. To overcome this, we need to send
 a cluster message to all members in the relevant cluster, gather the stats
 from those members, and then display them. Who is going to work on this? It
 is not very difficult to implement.

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


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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908




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


Re: [Carbon-dev] Removing Cassandra dependency in Carbon Kernel

2012-02-20 Thread Afkham Azeez
At that time, we had to bring in a lot of stuff into Carbon core since they
could not be made into true components due to the partial webapp, partial
OSGi architecture. Now with a clean OSGi based architecture, we can move
most of these things into separate bundles.

On Tue, Feb 21, 2012 at 12:09 PM, Charith Wickramarachchi
char...@wso2.comwrote:



 On Tue, Feb 21, 2012 at 10:38 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Devs,

 There is a Cassandra log4j appender in Carbon.Utils bundle[1]. Due to
 this logger, following  dependencies has been added to the Carbon kernel.

 Cassandra
 Hectore-core
 libthrift.

 IMHO, these are unnecessary dependencies to Carbon kernel. We need to
 move this Cassandra appender to  the components level.


  +1

 I think *Atomikos is another example. I have raised this at the time we
 are introducing this feature (See mail thread *Adding a Transaction
 Manager to Carbon @architecure*). *
 *
 *
 *But then again that *discussion* was  *concluded* saying we are going to
 use it in carbon core. Are we using it now ? Or is there any plans to use
 this in near future ? If not we should remove that since this even violated
 the carbon concept in since Transactions is not a core and *required* feature
 most of the time in our problem domain. *
 *
 *
 *thanks,*
 *Charith *



  There are some other cases where we can get rid of unnecessary
 dependencies from Carbon kernel, These are initial steps towards minimizing
 Carbon kenel.

 Thanks,
 Sameera.

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

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

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

 Lean . Enterprise . Middleware

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




 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki

 Mobile : 0776706568



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




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


[Carbon-dev] Make system statistics component cluster aware

2012-02-20 Thread Afkham Azeez
When you get directed to different nodes in the cluster, you will see
different values for system statistics. For example, the service
request/response counts may be different. To overcome this, we need to send
a cluster message to all members in the relevant cluster, gather the stats
from those members, and then display them. Who is going to work on this? It
is not very difficult to implement.

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


Re: [Carbon-dev] Custom defined ports/portOffset does not work in current carbon-kernel

2012-02-19 Thread Afkham Azeez
On Mon, Feb 20, 2012 at 12:24 PM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 Hi,
 PortOffSet issue is fixed now. Also the use of mgt-tranports.xml is
 replaced by catalina-server.xml, so we have to set the port values in there
 and in axis2.xml as well.


That is not acceptable at all. Violates DRY principle! Any piece of
information or configuration should be in one place.



 Thanks,
 Kishanthan.

 On Fri, Feb 17, 2012 at 1:59 PM, Afkham Azeez az...@wso2.com wrote:

 Send the carbon.xml  mgt-transports.xml

 --
 Afkham Azeez
 Sent from my phone
 On Feb 17, 2012 1:34 PM, Kishanthan Thangarajah kishant...@wso2.com
 wrote:

 Hi,
 When trying to start the server with custom ports/portOffSet values,
 the following occurs,
 1. Server is not picking up the custom transport port parameters from
 carbon.xml.
 2. When setting portOffset, the value is picked by the server, but it is
 not reflected in the console, where it still shows the default (9443). Also
 when trying to login it is trying to send to 9443 and failing with
 connection refused.

 [2012-02-17 11:39:45,678]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-02-17 11:39:45,0677] from IP address 10.100.3.157
 [2012-02-17 11:39:45,712]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[https://10.100.3.157:9443/services/LoggedUserInfoAdmin]
 java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

 Further digging in, i find that axisConfig is not updated with the
 correct port values. The correct port value is set
 in AbstractTransportListener using TransportManager in the earlier carbon
 server, but in current one i cant find that. Looks like it has been
 removed.

 Thanks,
 Kishanthan.

 --
 *Kishanthan Thangarajah*
 Software Engineer,
 Development Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


 ___
 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




 --
 *Kishanthan Thangarajah*
 Software Engineer,
 Development Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


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




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


Re: [Carbon-dev] Orbit, Carbon and Graphite - New Face of Carbon SVN Repository.

2012-02-18 Thread Afkham Azeez
No graphite. There never was :-)

--
Afkham Azeez
Sent from my phone
On Feb 18, 2012 7:11 PM, Sumedha Rubasinghe sume...@wso2.com wrote:

 +1. This looks much more structured. Also addresses the concern mentioned
 by Pradeepan above.
 The term graphite will no longer be used with this structure?
 /sumedha


 On Mon, Feb 13, 2012 at 5:41 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 As per the offline discussion we had with (you, Azeez, Isuru, Pradeep and
 others), we identified that the existing structure has its own complexities
 as illustrated by the Samisa.

 The proposal was to come up with a toplevel project called carbon and
 maintain the structure illustrated in the attached image.

 This change will be a simple SVN move. We will do this once the tomcat
 OSGification is applied to the carbon trunk.

 Thanks,
 Sameera.


 On Mon, Feb 13, 2012 at 3:59 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Graphite brings in complexities in comprehension - is it a new project,
 part of Carbon, extend Carbon etc etc

  Imagine telling a story along the lines of Carbon has this concpet
 called P2 and you install Graphite components onto Carbon products using
 feature manager component


 On Mon, Feb 13, 2012 at 11:00 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Feb 13, 2012 at 9:28 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Let me explain the rationale behind this orbit level change.

 If you look at the orbit project keeping Carbon aside, it can be
 considered as a third party project,  completely independent from Carbon
 and Graphite projects. The purpose of the orbit project is to produce OSGi
 bundles out of third party legacy jars.  So the orbit project is not
 related to Carbon or Graphite by any means. And also changes to these 
 orbit
 projects is rare, unless we created them in a sloppy manner.  Ideally we
 can upload orbit projects and then developers do not need to build them at
 all.

 But, over the time we've missed used the orbit concept. e.g. we have
 orbit projects corresponding the dependencies projects. These orbits 
 change
 frequently, since the corresponding dependencies change.

 By considering all these aspects, we came up with the following
 structure

 *orbit* (Consists of all the orbit projects which are used by both
 Carbon and Graphite projects.)

 *carbon*
 *|--* *dependencies*
*|-- orbit* (These orbit projects produce bundles out of the
 Carbon level dependencies.)

 *graphite*
 *|-- dependencies*
*|-- orbit*  (These orbit projects produce bundles out of the
 Graphite level dependencies.)

 Please let us know your views on this.


 +1

 thanks,


 Thanks,
 Sameera.


 On Mon, Feb 13, 2012 at 9:04 AM, Afkham Azeez az...@wso2.com wrote:

 In this model,. what happens to dependencies  orbits that are common
 to both Carbon  Graphite?


 On Mon, Feb 13, 2012 at 8:53 AM, Sameera Jayasoma 
 same...@wso2.comwrote:

 Hi Samisa,

 We have plans commit Pradeep's change in a hackathon mode. His
 changes is again platform wide change. We can get help from the AS and
 Jaggery team as well.

 Lets plan this during the todays meeting.

 Thanks,
 Sameera.

 On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe 
 sam...@wso2.comwrote:



 On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando prad...@wso2.com
  wrote:



 On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 And do we have Tomcat OSGi stuff in there now?

 No, not yet. Plan is to add them within next two days.


 Note that both AS and Jaggery are blocked on this.

 We have arrange a meeting too to discuss these today.

 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




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

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

 Lean . Enterprise . Middleware

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




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

 *
 *
 *Lean . Enterprise . Middleware*


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




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

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

Re: [Carbon-dev] Ground work for Admin Service port to JAX-WS

2012-02-17 Thread Afkham Azeez
Before doing a lot of work in this area please first do a thing slice, and
compare the performance with existing admin services. We also need to
figure out how to add customers parameters  permissions to these services
using annotations.

--
Afkham Azeez
Sent from my phone
On Feb 17, 2012 1:01 PM, Sagara Gunathunga sag...@wso2.com wrote:


 I started to work on ${Subject} following are the sub tasks involve with
 this.

 1.) Write a new Carbon based JAXWSDeployer to deploy a bundles as a Axis2
 JAX-WS  service.

 Current Carbon Axis2ServiceRegistry look for service.xml file in a bundle
 and deploy bundle as a native Axis2 service.  Since Axis2 JAX-WS deployment
 does not use any meta data file it is required to set new entry on MANIFEST
 file to identify JAX-WS services.  At the moment I have completed most part
 of this JAXWSDeployer, it is possible to deploy and invoke JAX-WS service
 but still have to solve few classloading issues.

 There are few ClassNotFoundExceptions occurred for non-existing classes
 when I use BundleClassLoader to deploy services. But still WSDL generated
 and possible to invoke service successfully too . This is not the case if I
 use SystemClassLoader through  axisConfig.getSystemClassLoader() instead
 of  BundleClassLoader. I will debug Axis2 JAX-WS deployment within Carbon
 further and see what cause this issue.


 2.) Port existing Axis2 native Admin services to  to use JAX-WS/ JAXB.

 I went through services.xml files of all the Admin services and it's looks
 like most of them can be port into JAX-WS programing model. Since Axis2
 JAX-WS does not use any meta data file we may have to use MANIFEST file to
 set some of the entries available on services.xml file today.

 One issue here is few Admin services invoke Axis2 modules, in order to
 port these services we have to port some of the Axis2 modules into JAX-WS
 modules first.


 In generally this modification allow users to write Admin services using
 JAX-WS programming model instead of Axis2 native service model. BTW this
 modification does not address requirement of decoupling Carbon core and
 Axis2. Though  we move Admin services to JAX-WS programming model still we
 have to use Axis2 JAX-WS deployment framework to deploy services we just
 change web service programming model only. In future if we decide to move
 to CXF then we have to repeat above step-1 again that is write a Carbon
 based CXF service deployer to deploy a bundle as a service. JAX-WS spec
 does not specify any generic deployment approach hence each vendor define
 their own deployment mechanism. In case if we want to support Carbon  for
 both Axis2 and CXF then Carbon will need to couple with both Axis2 and
 CXF.


 Thanks !

 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.; http://wso2.com
 Blog - http://ssagara.blogspot.com



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


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


Re: [Carbon-dev] Custom defined ports/portOffset does not work in current carbon-kernel

2012-02-17 Thread Afkham Azeez
Send the carbon.xml  mgt-transports.xml

--
Afkham Azeez
Sent from my phone
On Feb 17, 2012 1:34 PM, Kishanthan Thangarajah kishant...@wso2.com
wrote:

 Hi,
 When trying to start the server with custom ports/portOffSet values,
 the following occurs,
 1. Server is not picking up the custom transport port parameters from
 carbon.xml.
 2. When setting portOffset, the value is picked by the server, but it is
 not reflected in the console, where it still shows the default (9443). Also
 when trying to login it is trying to send to 9443 and failing with
 connection refused.

 [2012-02-17 11:39:45,678]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-02-17 11:39:45,0677] from IP address 10.100.3.157
 [2012-02-17 11:39:45,712]  INFO
 {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
 url[https://10.100.3.157:9443/services/LoggedUserInfoAdmin]
 java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

 Further digging in, i find that axisConfig is not updated with the correct
 port values. The correct port value is set in AbstractTransportListener
 using TransportManager in the earlier carbon server, but in current one i
 cant find that. Looks like it has been removed.

 Thanks,
 Kishanthan.

 --
 *Kishanthan Thangarajah*
 Software Engineer,
 Development Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


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


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


Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-17 Thread Afkham Azeez
This must be a new issue. I have built on a clean repo several times during
the past few months.

On Fri, Feb 17, 2012 at 3:05 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi again,

 Ok I now understand what's going wrong here. The
 org.apache.tomcat-1.7.0.wso2v1.jar that gets fetched is corrupted. I opened
 it in a text editor and inside it I can see, Please access the maven
 central repository directly. Jarvana currently does not allow direct access
 to repository files.. This proves that this is not something to do with
 Pradeeps commit, and it is also possibly not something specific to Windows.
 It seems that Carbon does not build on a clean repo and the dependent
 repository and/or nexus are having problems. It also means that the builder
 is unable to track such issues, and possibly noone other than me is
 building on a clean repo.

 Can we have a look into this and sort this out?

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 11:24 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Just tried opening the JAR file using an Archive Manager, and it is
 corrupted. So, as it seems this jar file that gets produced out of the
 build is corrupted, and therefore the build fails.

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 10:46 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,
 Found that the potential culprit is this commit: r120782. Pradeep, any
 thoughts on why this happens?
  Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until the
 build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in opening
 zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error in
 opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

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

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

 *Lean . Enterprise . Middleware




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

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

 *Lean . Enterprise . Middleware




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

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

 *Lean . Enterprise . Middleware




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

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

 *Lean . Enterprise . Middleware


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




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

Re: [Carbon-dev] graceful restart in carbon

2012-02-16 Thread Afkham Azeez
It seems you have not been following some old email threads. Graceful
restart no longer starts only the OSGi framework, but restarts the entire
Java process. We were able to solve many tricky critical issues related to
memory leaks  others by switching to process restart mode. I think I
implemented it last March.

On Fri, Feb 17, 2012 at 9:21 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 The current mechanism is implemented in the org.wso2.carbon.bridge module.
 It lives in WEB-INF/lib, and restarts the OSGi framework. But when, all the
 bundles are inside plugins how are we going to support graceful restart. To
 me each start/restart = graceful restart/start.

 please correct me if i'm wrong.

 thnaks,
 --Pradeep




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


Re: [Carbon-dev] What is Axis2NodeManager ?

2012-02-15 Thread Afkham Azeez
This is an old concept which is no longer used. You can get rid of it.

On Wed, Feb 15, 2012 at 2:19 PM, Amila Jayasekara ami...@wso2.com wrote:

 Hi All,

 What is Axis2NodeManager ? and why its authentication is handled in
 a different way within AuthenticationHandler [2] ?.
 To my understanding the Axis2NodeManager comes from axis2. The
 constant NODE_MANAGER_SERVICE is defined in
 org.apache.axis2.clustering.ClusteringConstants [1].

 In addition how this Axis2NodeManager is an admin service is also a
 problem for me. Thus i am not able to find the implementation (source)
 of Axis2NodeManager.

 Appreciate your help.

 [1]
 https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/clustering/ClusteringConstants.java
 [2]
 https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.server.admin/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthenticationHandler.java

 if ((serviceName.equals(ServerConstants.AUTHENTICATION_ADMIN_SERVICE)
 || serviceName
.equals(ClusteringConstants.NODE_MANAGER_SERVICE))) {



 Thanks
 AmilaJ

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




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


Re: [Carbon-dev] please test your product builds

2012-02-15 Thread Afkham Azeez
If products had enough integration tests, this would have been just a
matter of running these tests. So, if you come across any failure in your
products, please make it a point to write an integration test for those
scenarios, and then go about fixing the issues.

Thanks
Azeez

On Thu, Feb 16, 2012 at 10:02 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi all,

 We have removed most of the jar files found under ${carbon.home}/lib .
 These changes will affect the products that are using them. Product teams
 should convert the necessary jars in to bundles and package them with their
 respective features. Product teams : please make sure that your product is
 in working condition, as these modifications will affect the product
 runtime.

 I have only tested wso2-as at the moment.

 @Nuwan:

 you got to port JaggeryDeployer.java found under org.wso2.carbon.server to
 one of the jaggery components. Think Dilshan has already done that. Commit
 it to the trunk and uncomment jaggery related components in
 components/pom.xml

 thanks,
 --Pradeep




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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel Carbon-Kernel #11 was SUCCESSFUL (with 2733 tests). Change made by kishanthan and pradeep.

2012-02-15 Thread Afkham Azeez
On Thu, Feb 16, 2012 at 8:32 AM, Danushka Menikkumbura 
danushka.menikkumb...@gmail.com wrote:

 I think the general practice it to send a success mail for the first
 successful build after a build break.


I think we should send build success mails periodically. This will give an
indication that the automated system is functioning. Otherwise, if we are
not getting the build success mails, it can mean that the build has been
continuosly successful or the build process has crashed.



 On Thu, Feb 16, 2012 at 7:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Would it be a good idea to NOT send the mail if it was successful?

 On Wed, Feb 15, 2012 at 6:32 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Successful]  
 Carbon-Kernelhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL/›
 Carbon-Kernelhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD/›
 #11http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/
  was
 successful

 Code has been updated by 
 kishanthanhttp://builder4.us1.wso2.org:/bamboo/browse/author/kishanthan,
 pradeep http://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 .

 *2733* tests in total.
Code 
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/commit/
   View
 full change 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/commit/
 kishanthanhttp://builder4.us1.wso2.org:/bamboo/browse/author/kishanthan
 moving jboss-transaction jar to endorsed as the packages are provided by
 the jvm and removing lib/api from bin.xml  120809
 pradeephttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 remvoing some more jars from lib/api  120802
 pradeephttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 removing caching core, securevault from lib/api  120801 View 
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11?commentMode=true

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

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

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

 Thanks,
 Samisa...

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



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



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




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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel Carbon-Kernel #11 was SUCCESSFUL (with 2733 tests). Change made by kishanthan and pradeep.

2012-02-15 Thread Afkham Azeez
/listinfo/carbon-dev




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



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




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


Re: [Carbon-dev] Can we change interface classes ?

2012-02-15 Thread Afkham Azeez
If externals parties have written stuff using these interfaces, it is not a
good idea to change it.


On Wed, Feb 15, 2012 at 10:35 PM, Amila Jayasekara ami...@wso2.com wrote:

 Hi All,

 Since next release is going to be a major carbon release (4.0.0), is
 it ok to change interface classes ? (without deprecating them)

 E.g :- change methods in
 org.wso2.carbon.core.services.authentication.CarbonServerAuthenticator

 Thanks
 AmilaJ

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




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


Re: [Carbon-dev] Carbon kernel is Frozen for Commits from 9.00am IST on 14th Feb, 2012

2012-02-15 Thread Afkham Azeez
Has the SVN structure been changed to what we discussed during the last
meeting?

On Thu, Feb 16, 2012 at 10:01 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi All,

 Carbon-kernel is unfrozen now.

 thanks,
 --Pradeep

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




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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel Carbon-Kernel #11 was SUCCESSFUL (with 2733 tests). Change made by kishanthan and pradeep.

2012-02-15 Thread Afkham Azeez
Yeah, that is a good idea. If everybody can see that the last successful
build was from 3 days ago, it means something has gone wrong with the
builder process.

On Thu, Feb 16, 2012 at 10:31 AM, Danushka Menikkumbura 
danushka.menikkumb...@gmail.com wrote:

 I thought Bamboo had a dashboard (and could send notifications out?).
 Maybe you can have it on a widescreen at the lounge so that everybody sees
 how the builder is doing? ;-)


 On Thu, Feb 16, 2012 at 10:13 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Feb 16, 2012 at 10:07 AM, Shammi Jayasinghe sha...@wso2.comwrote:

 Hi,

  Configured the notifications to : Failed Builds And First Successful
 State.


 I don't think this is a good thing. How would we know that the Bamboo
 process is still running? In the past we have experienced Bamboo itself not
 running, and we realized this because we didn't get Build Successful mails
 over a few days.


 Thanks
 Shammi

 Ta

 On Thu, Feb 16, 2012 at 9:44 AM, Shelan Perera she...@wso2.com wrote:



 On Thu, Feb 16, 2012 at 9:07 AM, Sameera Jayasoma same...@wso2.comwrote:



 On Thu, Feb 16, 2012 at 8:33 AM, Shelan Perera she...@wso2.comwrote:

 Hi,

 On Thu, Feb 16, 2012 at 7:35 AM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 Would it be a good idea to NOT send the mail if it was successful?


 Sometimes we are confident to take a SVN update if we see a
 successful message from the build. Otherwise there may not be a clue to
 track whether a broken build is
 fixed or not.


 Bottom line is until you see the build failure email, trunk is stable.
 So you can safely update and build.  Following should be the algorithm :)

 function notifyBuildStatus(curStatus, prevStatus) {

 if( curStatus == Failed ) {
  notifyBuildFailure();

  } else if( curStatus == Successful  prevStatus == Failed )
 notifyBuildSuccess();

 }
 }


 +1 . We need at least one success notification after a build failure.




 Thank


 On Wed, Feb 15, 2012 at 6:32 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Successful]  
 Carbon-Kernelhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL/›
 Carbon-Kernelhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD/›
 #11http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/
  was
 successful

 Code has been updated by 
 kishanthanhttp://builder4.us1.wso2.org:/bamboo/browse/author/kishanthan,
 pradeephttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 .

 *2733* tests in total.
Code 
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/commit/
   View
 full change 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11/commit/
 kishanthanhttp://builder4.us1.wso2.org:/bamboo/browse/author/kishanthan
 moving jboss-transaction jar to endorsed as the packages are
 provided by the jvm and removing lib/api from bin.xml  120809
 pradeephttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 remvoing some more jars from lib/api  120802
 pradeephttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeep
 removing caching core, securevault from lib/api  120801 View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-CARBONCOREKERNELBUILD-11?commentMode=true

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

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

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

 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




 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



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




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

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

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2

Re: [Carbon-dev] Mapping custom Context to Stratos applications

2012-02-14 Thread Afkham Azeez
The thing is, WSO2 LB handles multiple domains. So, when a request such as
http://foo.com/services/XXX comes in, it has to find out where to dispatch
it to. For example, how do we know whether this request has to be forwarded
to the AS or ESB if such a request comes in, and the LB is fronting bothe
the AS  ESB?

There is more to this. The URLs in our components are calculated using the
HostName field in the carbon.xml. Those also have to change depending on
the context. For example, foo.com tenant will want to see its WSDL URLs as
http://foo.com/services/XXX?wsdl not
http://appserver.stratoslive.wso2.com/services/t/XXX?wsdl. In addition to
URL displaying, there are many other areas which may need to be changed to
handle such custom domains. This affects the whole platform. It is not a
simple URL mapping problem.

On Tue, Feb 14, 2012 at 9:18 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Amani,

 LB is the best place to do this URL mapping. Because these sort of stuff
 are not concerns of a particular Stratos service. If you look at other H/W
 load balancer, this features comes by default. I think it is the high time
 to implement this functionality in our WSO2 LB.

 Thanks,
 Sameera.

 On Tue, Feb 14, 2012 at 3:26 PM, Amani Soysa am...@wso2.com wrote:

 Hi

 We have a requirement to map custom context to stratos web application/
 Services. And currently we are looking how this can be done in the load
 balancer side.
 Our main requirement is to map a service hosted in a tenant to be map to
 a given domain.

 For example


 https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/to
 https://FooService.com/

 and the wsdl/try it urls should change accordingly.

 In order to do this loadbalancer should identify https://FooService.com/is a 
 request which should be sent for
 https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/and
  request should get forward to
 https://FooService.com/ without changing the browser URL. (Or else we
 need to have a tomcat valve to foward the URL in the tomcat side itself)

 Can this be done using URLRewrite mediator? (if we store the two URLs in
 a data store and let the load balancer knows the mapping)?

 Regards,
 Amani


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




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

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

 Lean . Enterprise . Middleware




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


Re: [Carbon-dev] Shall we remove org.wso2.carbon.core.installer module ?

2012-02-14 Thread Afkham Azeez
Looks like an old module that has been hanging around. We can get rid of it.

On Tue, Feb 14, 2012 at 10:04 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 $subject. I don't think we are using it anymore. WDYT ?

 thanks,
 --Pradeep
 --




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


Re: [Carbon-dev] removing jars from ${carbon.home}/lib directory

2012-02-14 Thread Afkham Azeez
Let's ship atomikos as a separate feature.

On Tue, Feb 14, 2012 at 11:16 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 as the initial step, we removed below set of jars,

 -includejavax.activation:activation:jar/include
 -includeorg.apache.ant:ant:jar/include
 -includeorg.apache.ant:ant-launcher:jar/include
 -includeorg.apache.ant:ant-nodeps:jar/include
 -includeaopalliance:aopalliance:jar/include
 -includecommons-modeler:commons-modeler:jar/include
 -includecommons-el:commons-el:jar/include
 -includecommons-cli:commons-cli:jar/include
 -includecommons-lang:commons-lang:jar/include
 -
  includeorg.apache.geronimo.specs.wso2:geronimo-jta_1.1_spec:jar/include
 -
 includecom.h2database.wso2:h2-database-engine:jar/include
 -includejavax.ws.rs:jsr311-api:jar/include
 -includelog4j:log4j:jar/include
 -includeme.prettyprint.wso2:hector-core:jar/include
 -
 includeorg.apache.cassandra:apache-cassandra:jar/include
 -includelibthrift:libthrift:jar/include
 -   includeslf4j.wso2:slf4j/include
 -includeorg.perf4j.wso2:perf4j:jar/include
 -
  includeorg.cliffc.high_scale_lib.wso2:high-scale-lib:jar/include
 -
  includeorg.wso2.carbon:org.wso2.carbon.core.installer:jar/include
 -includeorg.igniterealtime.smack.wso2:smack:jar/include
 -
  includeorg.igniterealtime.smack.wso2:smackx:jar/include
 -includejavax.xml.stream:stax-api:jar/include
 -includeorg.apache.woden.wso2:woden:jar/include
 -includewrapper:wrapper:jar/include
 -includexml-resolver:xml-resolver:jar/include


 The above jars are not required for carbon-kernel startup/execution.
 Product teams may create bundles out of above jars and pack them with their
 features. Apart from above set of jars , I removed atomikos relaed jars as
 well.

 We should decide whether we are shipping atomikos with carbon-kernel /
 shipping it as a separate feature.

 Now we are working on ${carbon.home}/lib/api jars.

 thanks,
 --Pradeep

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




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


Re: [Carbon-dev] Context mapping to Stratos Applications

2012-02-14 Thread Afkham Azeez
I don't think this is a question of forwarding between webapps. I thought
this was being done using a Tomcat Valve. If so, the forwarding is done by
this valve, which sits outside all webapps.

On Wed, Feb 15, 2012 at 10:15 AM, Reka Thirunavukkarasu r...@wso2.comwrote:

 Hi

 Since we work with two WebApp one is the main WebApp in AS and the other
 is the deployed WebApp in AS, it requires to forward the URL across WebApps
 according to offline discussion with Sameera.

 Are these two WebApp staying in the same Tomcat container? According to
 [1], to forward within different WebApp, they need to live in the same
 Tomcat container.

 [1]
 http://www.coderanch.com/t/512848/Servlets/java/Calling-another-web-app-RequestDispatcher


 On Thu, Feb 9, 2012 at 5:51 PM, Reka Thirunavukkarasu r...@wso2.comwrote:

 Hi

 I'm working on custom context mapping for web-apps in Stratos application
 server. In order to handle it, i want to redirect the user given url to the
 actual (current) url without user knowing the redirection. So
 RequestDispatcher is the possible one that i could use here. But when i
 used RequestDispatcher, it is looping several times and finally ends up
 with the login page.

 I found CarbonSecuredHttpContext in org.wso2.carbon.ui is doing some
 redirection for every secured request where after several looping only, one
 url is redirected in the browser. When i send the requested URL without any
 context (https://test.stratosapps.com:9446/), it is redirecting to
 response.sendRedirect(carbon) in CarbonSecuredHttpContext . So that
 login page finally ends up. When i login as a super tenant, i accessed
 http://example.stratosapps.com:9763 through http, same issue happens
 there as well.

 Can somebody suggest me how could i possibly do a redirection here for a
 url like https://example.stratosapps.com:9446/ to redirect
 https://example.stratosapps.com:9446/t/testdev.com/webapps/example in
 case example is the web-app?

 FYI=I have done the domain mapping in /etc/hosts.
 The relervant code is:

 RequestDispatcher requestDispatcher = request.getRequestDispatcher(/t/
 testdev.com/webapps/example);
 requestDispatcher.forward(request,response);


 Regards,
 Reka





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


Re: [Carbon-dev] Carbon Trunk is Frozen for Commits from 1.00pm IST on 12th Jan, 2012

2012-02-12 Thread Afkham Azeez
What is the process of building now? Do we still have one checkout-one
build?

On Mon, Feb 13, 2012 at 12:29 AM, Sameera Jayasoma same...@wso2.com wrote:



 On Sun, Feb 12, 2012 at 12:09 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Devs,

 Please note the subject. We will let you know, once the svn restructuring
 process is over.


 Carbon trunk is unfrozen now.

 Thanks,
 Sameera.


 Thanks,
 Sameera.

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

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

 Lean . Enterprise . Middleware




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

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

 Lean . Enterprise . Middleware

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




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


Re: [Carbon-dev] Orbit, Carbon and Graphite - New Face of Carbon SVN Repository.

2012-02-12 Thread Afkham Azeez
In this model,. what happens to dependencies  orbits that are common to
both Carbon  Graphite?

On Mon, Feb 13, 2012 at 8:53 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Samisa,

 We have plans commit Pradeep's change in a hackathon mode. His changes is
 again platform wide change. We can get help from the AS and Jaggery team as
 well.

 Lets plan this during the todays meeting.

 Thanks,
 Sameera.

 On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando prad...@wso2.comwrote:



 On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 And do we have Tomcat OSGi stuff in there now?

 No, not yet. Plan is to add them within next two days.


 Note that both AS and Jaggery are blocked on this.

 We have arrange a meeting too to discuss these today.

 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




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

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

 Lean . Enterprise . Middleware

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




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


Re: [Carbon-dev] Orbit, Carbon and Graphite - New Face of Carbon SVN Repository.

2012-02-12 Thread Afkham Azeez
Sounds good.

On Mon, Feb 13, 2012 at 9:28 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Let me explain the rationale behind this orbit level change.

 If you look at the orbit project keeping Carbon aside, it can be
 considered as a third party project,  completely independent from Carbon
 and Graphite projects. The purpose of the orbit project is to produce OSGi
 bundles out of third party legacy jars.  So the orbit project is not
 related to Carbon or Graphite by any means. And also changes to these orbit
 projects is rare, unless we created them in a sloppy manner.  Ideally we
 can upload orbit projects and then developers do not need to build them at
 all.

 But, over the time we've missed used the orbit concept. e.g. we have orbit
 projects corresponding the dependencies projects. These orbits change
 frequently, since the corresponding dependencies change.

 By considering all these aspects, we came up with the following structure

 *orbit* (Consists of all the orbit projects which are used by both Carbon
 and Graphite projects.)

 *carbon*
 *|--* *dependencies*
*|-- orbit* (These orbit projects produce bundles out of the Carbon
 level dependencies.)

 *graphite*
 *|-- dependencies*
*|-- orbit*  (These orbit projects produce bundles out of the Graphite
 level dependencies.)

 Please let us know your views on this.

 Thanks,
 Sameera.


 On Mon, Feb 13, 2012 at 9:04 AM, Afkham Azeez az...@wso2.com wrote:

 In this model,. what happens to dependencies  orbits that are common to
 both Carbon  Graphite?


 On Mon, Feb 13, 2012 at 8:53 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 We have plans commit Pradeep's change in a hackathon mode. His changes
 is again platform wide change. We can get help from the AS and Jaggery team
 as well.

 Lets plan this during the todays meeting.

 Thanks,
 Sameera.

 On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando prad...@wso2.comwrote:



 On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 And do we have Tomcat OSGi stuff in there now?

 No, not yet. Plan is to add them within next two days.


 Note that both AS and Jaggery are blocked on this.

 We have arrange a meeting too to discuss these today.

 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




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

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

 Lean . Enterprise . Middleware

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




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

 *
 *
 *Lean . Enterprise . Middleware*


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




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

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

 Lean . Enterprise . Middleware

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




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


Re: [Carbon-dev] Error while creating a Index with BAM

2012-02-12 Thread Afkham Azeez
Why not properly display a message which clearly states what you have
suggested below?

On Fri, Feb 10, 2012 at 5:30 PM, Buddhika Chamith buddhi...@wso2.comwrote:

 Hi Srinath,

 You have to provide credentials at Analyzer Framework page before
 creating an index.

 Regards
 Buddhika


 On Fri, Feb 10, 2012 at 4:13 PM, Srinath Perera srin...@wso2.com wrote:

 Got this while trying to create a Index with BAM server .. what is wrong?

 Can I do the same via configuration file ?

 org.wso2.carbon.bam.core.persistence.exceptions.ConfigurationException:
 Credentials not valid or not supplied yet..
at
 org.wso2.carbon.bam.analyzer.service.IndexMgtService.createIndex(IndexMgtService.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)


 --
 
 Srinath Perera, Ph.D.
   Senior Software Architect, WSO2 Inc.
   Visiting Faculty, University of Moratuwa
   Member, Apache Software Foundation
   Research Scientist, Lanka Software Foundation
   Blog: http://srinathsview.blogspot.com/
   Photos: http://www.flickr.com/photos/hemapani/
  Phone: 0772360902
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



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




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


Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-11 Thread Afkham Azeez
Can you please verify that all integration tests pass before committing!

--
Afkham Azeez
Sent from my phone
On Feb 10, 2012 3:51 PM, Pradeep Fernando prad...@wso2.com wrote:

 HI,

 we are going to move the code in to trunk, tomorrow.

 Kishanthan, got rid of the compilation errors found in wso2-as.
 Dilshan, did you port the JaggeryDeployer ?

 thanks,
 --Pradeep

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


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


Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #196 has FAILED (1 tests failed, no failures were new). Change made by pradeeban and buddhikac.

2012-02-11 Thread Afkham Azeez
Once again the trunk build has been failing for an entire week!

--
Afkham Azeez
Sent from my phone
On Feb 11, 2012 4:38 PM, Bamboo cbuil...@wso2.org wrote:

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

 Code has been updated by 
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban,
 buddhikachttp://builder4.us1.wso2.org:/bamboo/browse/author/buddhikac
 .

 *1/7620* tests failed.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196/
 Job Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-196/
  (Default
 Stage)  402 minutes  1 of 7620 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-196/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-196/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196/commit/
   View
 full change 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196/commit/
 buddhikachttp://builder4.us1.wso2.org:/bamboo/browse/author/buddhikac
 Fixing compilation faliure due to changes in ServiceGroupAdmin service.
  120387
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 [Minor] Fixing the years of license in a few files.
  120382
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Adding the stratos/status.monitor backend.
  120380 
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196/test
1
 Existing Test Failures  Test Job GSTestServerManager 
 startServerhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-196/test/case/5932756
   WSO2
 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-196/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-196?commentMode=true

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

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

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


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


Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-09 Thread Afkham Azeez
On Thu, Feb 9, 2012 at 10:34 AM, Isuru Suriarachchi is...@wso2.com wrote:



 On Thu, Feb 9, 2012 at 10:28 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Guys

 On Thu, Feb 9, 2012 at 10:26 AM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Hi Pradeep,

 On Wed, Feb 8, 2012 at 10:53 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi all,

 Think i'm done with the first iteration of the tomcat-OSGification
 effort. It time to move the code in to trunk. I could run modified wso2-as
 without a problem. Was able to solve the transport related issue by
 Extending the TomcatStandardService and not starting transports.

 I need help on following areas (porting),

 1. make sure all the features are working in wso2-as - kishanthan (?)


 Sure, ill work on this. I believe that i have to check mostly the
 web-app related functionalities as you have imported the web-app deployment
 into web-app mgt component from server in your new changes. And ill check
 on other features as well.


 Can we also look at web-app exploded mode deployment at the same time.


 This is something different from the ongoing work and we'll have to think
 of a way of supporting it. With the current deployment model, it's not that
 easy. Let's look into this after stabilizing the trunk.


+1. Exploded mode deployment is a different problem, and we cannot make
that easily work on StratosLive (how do you upload a directory?)



 Thanks,
 ~Isuru



 Regards,
 /Nuwan



 Thanks,
 Kishanthan.

 2. porting the patching code to new carbon startup classes. -Dileepa
 3. Jaggery deployer related things - (?)


 As soon as we are done with above tasks, we are going to move the code
 in to trunk. Trunk will be frozen for few days (this work + svn
 restructuring).


 Please checkout the code found in [1] and start building it. :)


 thanks,
 --Pradeep




 --
 *Kishanthan Thangarajah*
 Software Engineer,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*




 --
 *
 Thanks  Regards,

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

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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




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


Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-09 Thread Afkham Azeez
You need to ensure that dynamic valve addition to the valve chain from
Carbon components is supported. That is how the TenantLazyLoaderValve is
added by the webapp-mgt component. Need to test tenant lazy loading when
webapps receive requests as well.

On Wed, Feb 8, 2012 at 10:53 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi all,

 Think i'm done with the first iteration of the tomcat-OSGification effort.
 It time to move the code in to trunk. I could run modified wso2-as without
 a problem. Was able to solve the transport related issue by Extending the
 TomcatStandardService and not starting transports.

 I need help on following areas (porting),

 1. make sure all the features are working in wso2-as - kishanthan (?)
 2. porting the patching code to new carbon startup classes. -Dileepa
 3. Jaggery deployer related things - (?)


 As soon as we are done with above tasks, we are going to move the code in
 to trunk. Trunk will be frozen for few days (this work + svn restructuring).


 Please checkout the code found in [1] and start building it. :)


 thanks,
 --Pradeep

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




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


Re: [Carbon-dev] LB server start-up hangs

2012-02-09 Thread Afkham Azeez
-02-09 13:39:52,442]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.operation.mgt-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,443]  WARN - CarbonServerManager Waiting for required
 Module: org.wso2.carbon.relay.module-4.0.0-SNAPSHOT
 [2012-02-09 13:39:52,443]  WARN - CarbonServerManager Waiting for required
 OSGi Service: org.apache.axis2.engine.AxisObserver
 [2012-02-09 13:39:52,443]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.throttle-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,443]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.security.mgt-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,444]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.transport.mgt-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,444]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.datasource-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,444]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.task-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,444]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.sequences-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,445]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.event.ws-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,445]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.rm-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,445]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.mediator.command.services-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,446]  WARN - CarbonServerManager Waiting for required
 Module: org.wso2.carbon.caching-4.0.0-SNAPSHOT
 [2012-02-09 13:39:52,446]  WARN - CarbonServerManager Waiting for required
 Module: org.wso2.carbon.security.mgt-4.0.0-SNAPSHOT
 [2012-02-09 13:39:52,446]  WARN - CarbonServerManager Waiting for required
 Module: org.wso2.carbon.throttle-4.0.0-SNAPSHOT
 [2012-02-09 13:39:52,446]  WARN - CarbonServerManager Waiting for required
 OSGiAxis2Service: org.wso2.carbon.event.admin-4.0.0.SNAPSHOT
 [2012-02-09 13:39:52,447]  WARN - CarbonServerManager Waiting for required
 Module: rampart-core-1.6.1.wso2v3


 --

 Thanks  regards,
 Nirmal

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

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




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


Re: [Carbon-dev] LB server start-up hangs

2012-02-09 Thread Afkham Azeez
Most bundles which should be in active state but are in the resolved state.
Try to start some of these bundles  see what is wrong.

On Thu, Feb 9, 2012 at 2:05 PM, Nirmal Fernando nir...@wso2.com wrote:

 RESOLVED




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


Re: [Carbon-dev] LB server start-up hangs

2012-02-09 Thread Afkham Azeez
Most of the bundles which re in resolved state startup without any issues
when manually started. What could be the problem? Was any change recently
made to the Equinox version?

On Thu, Feb 9, 2012 at 2:34 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 On Thu, Feb 9, 2012 at 2:21 PM, Afkham Azeez az...@wso2.com wrote:

 org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 is in
 INSTALLED state. Any idea?



 nothing wrong with that. we have to give architecture specific details
 while initial provisioning. But it does not affect us since we are not
 using architecture/OS specific code. This is the expected behavior.

 thanks,
 --Pradeep





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


Re: [Carbon-dev] LB server start-up hangs

2012-02-09 Thread Afkham Azeez
Nirmal,
On a side note, please add an integration test to LB which will test that
it starts up successfully.

On Thu, Feb 9, 2012 at 2:40 PM, Pradeep Fernando prad...@wso2.com wrote:

 No. I'm working on a scratch.

 thanks,
 --Pradeep




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


Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-09 Thread Afkham Azeez
On Fri, Feb 10, 2012 at 10:38 AM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi Pradeep,

 Shall we start committing your changes into trunk? I think it's OK
 to freeze the trunk for 2 days and finish this off.


+1. You can apply the changes to the trunk, and do a full build with tests
to see how things go. I don't think this will break a lot of things. At
least try to get the tests passing.


 Thanks,
 ~Isuru

  On Thu, Feb 9, 2012 at 1:49 PM, Pradeep Fernando prad...@wso2.comwrote:



 On Thu, Feb 9, 2012 at 1:44 PM, Afkham Azeez az...@wso2.com wrote:

 You need to ensure that dynamic valve addition to the valve chain from
 Carbon components is supported. That is how the TenantLazyLoaderValve is
 added by the webapp-mgt component. Need to test tenant lazy loading when
 webapps receive requests as well.


 working on that. thanks.

 --Pradeep



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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




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


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

2012-02-09 Thread Afkham Azeez
On Fri, Feb 10, 2012 at 10:35 AM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi Sameera,

 Are we going to do this change for Carbon 4.0.0? Had an offline chat with
 Samisa on this. Given the amount of work and time needed to complete and
 stabilize this, we just thought it's good to push this to 5.0.0. What do
 you think?


+1 for deferring this, given that we have many other drastic changes going
into 4.0.0. However, we better get started on the 'kernelization' of
carbon. This can be easily done by moving many of the modules in the
current carbon-core into components, and changing the product p2-profiles
to pick up these components. Once we have that, we can gradually move into
the proposed SVN structure.



 Thanks,
 ~Isuru


 On Wed, Feb 8, 2012 at 10:30 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi

 On Tue, Feb 7, 2012 at 6:30 AM, Afkham Azeez az...@wso2.com wrote:

 For this approach to properly work, we need to have proper package
 export  import versions. Otherwise, say for example, two different
 features require different versions of a particular bundle, then these
 features may not be able to coexist. When upgrading a versions of an orbit
 dependency, the should be a way to track all its dependant   change them
 accordingly to avoid ending up with unnecessary jar duplication.


 +1, we need to concentrate on imports and exports more than we are doing
 now. Its a nightmare to find issues when an orbit bundle is updated not
 knowingly.

 Regards,
 /Nuwan


  --
 Afkham Azeez
 Sent from my phone
 On Feb 6, 2012 9:27 PM, Sanjiva Weerawarana sanj...@wso2.com wrote:

 +1 for going ahead (without opinion on timing) and to Amila's
 suggestion of making the orbit stuff another TLP.

 I'm +1 for graphite per Senaka for X.

 Sanjiva.

 On Mon, Feb 6, 2012 at 4:03 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi all,

 +1.

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

 thanks,
 dimuthu

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

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

 /sumedha

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

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

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

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

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

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

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

 Please feel free to comment.

 Thanks,
 Sameera.

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

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

 Lean . Enterprise . Middleware

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




 --
 /sumedha
 +94 773017743

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




 --
 Dimuthu Leelarathne
 Technical Lead

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


 Lean . Enterprise . Middleware


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




 --
 Sanjiva Weerawarana, Ph.D.
 Founder, Chairman  CEO

Re: [Carbon-dev] What is GhoshtRegistry class ?

2012-02-09 Thread Afkham Azeez
Loading the registry while creating the CarbonContext is an expensive
operation, and adds a lot of overhead since the CarbonContext is created
for each request. So, we load a ghost of the registry, and only load the
real registry when the registry is requested. Perhaps it can go into
registry.core?

On Fri, Feb 10, 2012 at 12:47 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 found a class named GhostRegistry under carbon.server. Are we actually
 using it ? if yes, Have to find a new home for this class. how about
 carbon.utils ?

 thanks,
 --Pradeep



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




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


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

2012-02-09 Thread Afkham Azeez
Do a PoC or dry run in scratch, figure out the issue, figure out how to
make this work with Bamboo, repeat a few of these dry runs if necessary,
freeze the trunk once ready, and then carry out the exercise in the trunk.
We should understand that the WSO2 SVN is a system in production, and we
cannot afford to have long downtimes. You need to follow strict procedures
while making major changes like this.

On Fri, Feb 10, 2012 at 12:19 PM, Isuru Suriarachchi is...@wso2.com wrote:


 On Fri, Feb 10, 2012 at 12:04 PM, Sameera Jayasoma same...@wso2.comwrote:

 Azeez and myself had an offline discussion on this. We
 will initially perform this on a scratch area and test all the builds. If
 they are okay, we will make this change live. This requires changes to the
 existing build plans.


 Trunk should be frozen until the scratch is stabilized. Isn't it?
 Otherwise the commits should be applied again into the restructured svn.
 Can we get this done including the Tomcat OSGification by the end of next
 week? If so, +1 for the plan.

 Thanks,
 ~Isuru



 Thanks,
 Sameera.


 On Fri, Feb 10, 2012 at 12:00 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez/Isuru,

 We(Pradeep and myselft) already planned to perform this action during
 this weekend. I understand the complexities of the effort. According the
 plan, we were thinking of performing this in scratch area and stabilize the
 build.

 IMV, we better of doing this soon, because this is first step towards
 making Carbon Core a standalone product.

 My apologies for not executing this earlier. I was on leave.

 Thanks,
 Sameera.


 On Fri, Feb 10, 2012 at 10:50 AM, Afkham Azeez az...@wso2.com wrote:



 On Fri, Feb 10, 2012 at 10:35 AM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi Sameera,

 Are we going to do this change for Carbon 4.0.0? Had an offline chat
 with Samisa on this. Given the amount of work and time needed to complete
 and stabilize this, we just thought it's good to push this to 5.0.0. What
 do you think?


 +1 for deferring this, given that we have many other drastic changes
 going into 4.0.0. However, we better get started on the 'kernelization' of
 carbon. This can be easily done by moving many of the modules in the
 current carbon-core into components, and changing the product p2-profiles
 to pick up these components. Once we have that, we can gradually move into
 the proposed SVN structure.



 Thanks,
 ~Isuru


 On Wed, Feb 8, 2012 at 10:30 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi

 On Tue, Feb 7, 2012 at 6:30 AM, Afkham Azeez az...@wso2.com wrote:

 For this approach to properly work, we need to have proper package
 export  import versions. Otherwise, say for example, two different
 features require different versions of a particular bundle, then these
 features may not be able to coexist. When upgrading a versions of an 
 orbit
 dependency, the should be a way to track all its dependant   change 
 them
 accordingly to avoid ending up with unnecessary jar duplication.


 +1, we need to concentrate on imports and exports more than we are
 doing now. Its a nightmare to find issues when an orbit bundle is updated
 not knowingly.

 Regards,
 /Nuwan


  --
 Afkham Azeez
 Sent from my phone
 On Feb 6, 2012 9:27 PM, Sanjiva Weerawarana sanj...@wso2.com
 wrote:

 +1 for going ahead (without opinion on timing) and to Amila's
 suggestion of making the orbit stuff another TLP.

 I'm +1 for graphite per Senaka for X.

 Sanjiva.

 On Mon, Feb 6, 2012 at 4:03 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 +1.

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

 thanks,
 dimuthu

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

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

 /sumedha

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

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

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

Re: [Carbon-dev] Including a third part library

2012-02-08 Thread Afkham Azeez
How about adding that file to org.wso2.carbon.util jar with the proper
attributions?

On Wed, Feb 8, 2012 at 2:06 PM, Maninda Edirisooriya mani...@wso2.comwrote:

 I have to include a third party Java library with LGPL licences to convert
 IP addresses to geographical locations in the BAM2. It is only source a
 code file. (.java file) I have no idea where to add it.

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




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


Re: [Carbon-dev] Fwd: [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #185 has FAILED (1 tests failed, no failures were new). Change made by krishantha and prabatha.

2012-02-08 Thread Afkham Azeez
This cannot be removed. The DSS server is not starting up, which means none
of the DSS integration tests are running. This needs to be fixed.

On Wed, Feb 8, 2012 at 10:43 PM, Srinath Perera srin...@wso2.com wrote:

 This DS issue is around for some days now .. guys u either fix it or put a
 L1 Jira and remove the test ..

 --Srinath


 -- Forwarded message --
 From: Bamboo cbuil...@wso2.org
 Date: Wed, Feb 8, 2012 at 10:26 PM
 Subject: [Bamboo-Build] WSO2 Carbon Trunk  WSO2 Carbon - Platform Trunk 
 #185 has FAILED (1 tests failed, no failures were new). Change made by
 krishantha and prabatha.
 To: srin...@wso2.com


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

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 *1/7615* tests failed.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/
 Job
 Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-185/
  (Default
 Stage)  405 minutes  1 of 7615 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-185/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-185/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/commit/
   View
 all 5 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/commit/
 prabatha http://builder4.us1.wso2.org:/bamboo/browse/author/prabatha
 cleaning up versions  120212
 prabathahttp://builder4.us1.wso2.org:/bamboo/browse/author/prabatha
 cleaning up versions  120211
 prabathahttp://builder4.us1.wso2.org:/bamboo/browse/author/prabatha
 adding ntask core feature import  120208   2 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185/test
1
 Existing Test Failures   Test Job DSSTestServerManager 
 startServerhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-185/test/case/4660880
   WSO2
 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-185/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-185?commentMode=true

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

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



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

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




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


Re: [Carbon-dev] Fwd: [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #185 has FAILED (1 tests failed, no failures were new). Change made by krishantha and prabatha.

2012-02-08 Thread Afkham Azeez
 .



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

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




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/




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




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/


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




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




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


Re: [Carbon-dev] Setting the correct value for webServiceServerURL servlet context parameter

2012-02-07 Thread Afkham Azeez
Write a OSGi ServiceComponent which depends on the
ConfigurationContextService  in its activate method, get the relevant
values from that ConfigurationContextService  create that param.

On Mon, Feb 6, 2012 at 12:16 PM, Kishanthan Thangarajah kishant...@wso2.com
 wrote:

 Hi All,
 This is related to web-app management. Currently the above parameter is
 set during the initialization of WebappDeployer. It takes the serverUrl
 from the serverConfiguration instance and the port value for the url is
 taken from the corresponding transport from axisConfig. This initialization
 happens before carbon server starts and the port value is 9443 at that time
 in axisConfig(taken from axis2.xml). But the problem arise, if we change
 the port values in carbon.xml(say setting a value for portOffSet), as
 this change is not reflected in during the WebappDeployer initialization
 time. But the change is available in axisConfig after the carbon server
 is started. Because of this, the port value is always set to 9443 and added
 to the above parameter. One will run into issue, when using the above
 parameter in a webapp which talkes to a service (say AuthenticationAdmin
 service) [1].
 So what would be the correct fix for this?

 Thanks,
 Kishanthan.
 [1] https://wso2.org/jira/browse/CARBON-11039

 --
 *Kishanthan Thangarajah*
 Software Engineer,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


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




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


Re: [Carbon-dev] Bootup self test component for carbon

2012-02-06 Thread Afkham Azeez
Please create a Crucible project to review this component  add me as a
reviewer. I will go through the code  provide feedback. Hope that all the
recommendations from the previous review have been incorporated.

On Mon, Feb 6, 2012 at 12:40 AM, Dileepa Jayakody dile...@wso2.com wrote:

 Hi All,

 The bootup validator's purpose is to validate certain recommended
 configurations/settings at server bootup and give warnings if they are not
 satisfied. This includes JVM configurations (init/max heap, permGen size),
 system configurations such as CPU, RAM, Swap, supported operating systems
 etc.  The component can be extended by adding new validators and specifying
 them in the config-validation.xml in repository/conf. A sample
 config-validation.xml can be found at svn location [1].

 The component is committed to Trunk under Revision: 120131 and can be
 found at [2]. It is not yet integrated with the carbon build as the
 component is not yet finalised.
 Suggestions to improve the code/component are most welcome.

 Thanks,
 Dileepa

 [1]
 https://svn.wso2.org/repos/wso2/trunk/carbon/core/distribution/carbon-home/repository/conf/config-validation.xml
 [2]
 https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.core.bootup.validator/


 On Sat, Feb 4, 2012 at 3:12 AM, Afkham Azeez az...@wso2.com wrote:

 No need to complicate stuff.  We have recommend memory settings for
 production. If somebody is running with lower values we just warn them
 about it.  That is it.

 --
 Afkham Azeez
 Sent from my phone
 On Feb 4, 2012 2:01 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 I'm just running through the discussion. Does it make sense to actually
 validate memory? I mean, memory settings are defined in
 wso2server.sh/bat anyway. And, it should have the recommended minimum
 values. If someone is setting it lower than expected, they are deliberately
 doing that, so is it necessary to validate memory settings?

 Or if your counter argument is to validate whether the OS has enough
 memory (as allocated), to run the application, the JVM actually does that
 and if there is insufficient memory, it will get back to you. So, can
 someone please clarify the necessity?

 Thanks,
 Senaka.

 On Tue, Jan 24, 2012 at 1:17 PM, Dileepa Jayakody dile...@wso2.comwrote:



 On Tue, Jan 24, 2012 at 12:49 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Dileepa,

 I got one question. Is there a way to disable this validator? If a use
 wants to execute this once in his system and for all the other restarts, 
 he
 wants to disable this validation step. I guess we need to support this as
 well.

 We can do something like below.

 configuration enabled=false 

 +1 will add this feature.


 Great work btw,

 Thanks,
 Sameera.


 On Mon, Jan 23, 2012 at 7:19 AM, Afkham Azeez az...@wso2.com wrote:

 Most of our deployments are on Linux. It is ok to go with OS specific
 commands. Please schedule a review.

 --
 Afkham Azeez
 Sent from my phone
 On Jan 23, 2012 12:37 PM, Dileepa Jayakody dile...@wso2.com
 wrote:

 Dear all,

 The bootup validator component now can be configured with custom
 Configuration Validators and Data Collectors as shown in the below 
 sample
 [1]. A Data collector basically retrieves system information using some
 mechanism (OS independent library etc.) and the collected data can be 
 used
 for the validation process by Configuration Validators.

 In HWDataCollector, system hardware related data such as CPU
 frequency, physical memory are collected; For this I have used a 3rd 
 party
 library named JavaSysMon [2]. The initial attempt was to use SIGAR API, 
 but
 it was unsuccessful as I had issues with loading native libraries of it.
 JavaSysMon seems to be a very good alternative for this requirement.

 Last few days I was looking at ways of retrieving the number of open
 file handles as per a requirement of the bootup validator component [3].
 But AFAIU listing open files is OS dependent and cannot be achieved 
 through
 regular Java APIs.
 For example in Linux the command to list open files for a particular
 process is: lsof -p PID
 Does anybody have an idea of retrieving the number of open file
 handles in Java? The only mechanism I can think of, at the moment is to 
 use
 Runtime.getRuntime().exec(the cmd to list open files); But this
 doesn't look like the smoothest solution for this, does anybody have a
 better idea?
 Appreciate your views on this.

 Thanks,
 Dileepa

 [1]Sample  config_recommendations.xml to configure bootup validator:
 ?xml version=1.0 encoding=ISO-8859-1?
 !--configuration bit values should be given in Mega bytes (1KB =
 1024 bytes, 1MB = 1024 KB, 1GB = 1024 MB), CPU value in MHz--
 Configuration
 Validator
 class=org.wso2.carbon.core.bootup.validator.HWValidator
 Parameter name=cpu800/Parameter
 Parameter name=ram1024/Parameter
 /Validator
 Validator
 class=org.wso2.carbon.core.bootup.validator.JVMValidator
 Parameter name=heapMemory512

Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-06 Thread Afkham Azeez
Did you write any code to parse the server.xml file or did Tomcat
automatically parse the file when the location was provided?

On Mon, Feb 6, 2012 at 2:02 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 I was able to configure the tomcat with tomcat-shipped server.xml file.
 this means we can register connectors Hosts, valves, listeners without
 hard-coding them.

 I the current code has some issues related to JNDI. Think this is related
 non-OSGi/OSGi env jar duplication. I need some help to get this done. We
 have to move each and every library that resides under /ib (relevant) to
 plugins.

 For the moment i have moved only tomcat related libs.

 --Pradeep


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




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


Re: [Carbon-dev] Urgent - Builds Broken

2012-02-06 Thread Afkham Azeez
/
   Photos: http://www.flickr.com/photos/hemapani/
  Phone: 0772360902

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

 Thanks,
 Samisa...

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


  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*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Tomcat OSGification - progress update

2012-02-06 Thread Afkham Azeez
Excellent work Pradeep!

--
Afkham Azeez
Sent from my phone
On Feb 6, 2012 7:32 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 On Mon, Feb 6, 2012 at 7:05 PM, Afkham Azeez az...@wso2.com wrote:

 Did you write any code to parse the server.xml file or did Tomcat
 automatically parse the file when the location was provided?


 tomcat uses commons digester to configure its components. I used the same
 mechanism. It took some time to learn how to use it.

 thanks,
 --Pradeep




 On Mon, Feb 6, 2012 at 2:02 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 I was able to configure the tomcat with tomcat-shipped server.xml file.
 this means we can register connectors Hosts, valves, listeners without
 hard-coding them.

 I the current code has some issues related to JNDI. Think this is
 related non-OSGi/OSGi env jar duplication. I need some help to get this
 done. We have to move each and every library that resides under /ib
 (relevant) to plugins.

 For the moment i have moved only tomcat related libs.

 --Pradeep


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




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


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




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


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

2012-02-06 Thread Afkham Azeez
For this approach to properly work, we need to have proper package export 
import versions. Otherwise, say for example, two different features require
different versions of a particular bundle, then these features may not be
able to coexist. When upgrading a versions of an orbit dependency, the
should be a way to track all its dependant   change them accordingly to
avoid ending up with unnecessary jar duplication.

--
Afkham Azeez
Sent from my phone
On Feb 6, 2012 9:27 PM, Sanjiva Weerawarana sanj...@wso2.com wrote:

 +1 for going ahead (without opinion on timing) and to Amila's suggestion
 of making the orbit stuff another TLP.

 I'm +1 for graphite per Senaka for X.

 Sanjiva.

 On Mon, Feb 6, 2012 at 4:03 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi all,

 +1.

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

 thanks,
 dimuthu

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

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

 /sumedha

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

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

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

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

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

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

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

 Please feel free to comment.

 Thanks,
 Sameera.

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

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

 Lean . Enterprise . Middleware

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




 --
 /sumedha
 +94 773017743

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




 --
 Dimuthu Leelarathne
 Technical Lead

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


 Lean . Enterprise . Middleware


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




 --
 Sanjiva Weerawarana, Ph.D.
 Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
 email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
 650 265 8311
 blog: http://sanjiva.weerawarana.org/

 Lean . Enterprise . Middleware

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


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


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

2012-02-04 Thread Afkham Azeez
No,  that's not the correct bundle. May be a method in CarbonUtil would do

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

 Hi,

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

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

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

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

 Hi,

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

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

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

 Thanks

 --

 regards,
 Nirmal

 Software Engineer, WSO2 Inc.
 mobile: +94715779733


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


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




 --

 Thanks  regards,
 Nirmal

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

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


Re: [Carbon-dev] Progress on integration tests

2012-02-04 Thread Afkham Azeez
The whole integration module has been commented out it seems.

--
Afkham Azeez
Sent from my phone
On Feb 4, 2012 11:29 AM, Subash Chaturanga sub...@wso2.com wrote:

 Hi Senaka

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

 Hi Subash,

 Where are we with the integration tests? Is this work complete?


 Yes, its completely migrated and our integration tests were running fine
 with the product build. (I have excluded the old JUnit tests from pom
 without removing the source)

 But couple of days back, probably due to some change, one integration test
 was failing when building in a clean repo (Bamboo) and we couldn't
 reproduce locally. Until we fix that, Shammi excluded the integration test
 from the build.

 Thanks



 Thanks,
 Senaka.


 On Sat, Jan 21, 2012 at 8:34 AM, Subash Chaturanga sub...@wso2.comwrote:



 On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azeez az...@wso2.com wrote:

 Folks, how is this progressing? I didn't see many updates during the
 past couple of weeks. Some products are still being built without
 integration tests.

 In GReg, all integration tests have migrated to testng and fixed all the
 the broken tests except three test cases due to some known issues and need
 some work around to fix them. (currently I have excluded them from testng
 pom).


  --
 Afkham Azeez
 Sent from my phone

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




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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




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

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

 *
 Lean . Enterprise . Middleware




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


 ___
 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] Bootup self test component for carbon

2012-02-03 Thread Afkham Azeez
No need to complicate stuff.  We have recommend memory settings for
production. If somebody is running with lower values we just warn them
about it.  That is it.

--
Afkham Azeez
Sent from my phone
On Feb 4, 2012 2:01 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 I'm just running through the discussion. Does it make sense to actually
 validate memory? I mean, memory settings are defined in 
 wso2server.sh/batanyway. And, it should have the recommended minimum 
 values. If someone is
 setting it lower than expected, they are deliberately doing that, so is it
 necessary to validate memory settings?

 Or if your counter argument is to validate whether the OS has enough
 memory (as allocated), to run the application, the JVM actually does that
 and if there is insufficient memory, it will get back to you. So, can
 someone please clarify the necessity?

 Thanks,
 Senaka.

 On Tue, Jan 24, 2012 at 1:17 PM, Dileepa Jayakody dile...@wso2.comwrote:



 On Tue, Jan 24, 2012 at 12:49 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Dileepa,

 I got one question. Is there a way to disable this validator? If a use
 wants to execute this once in his system and for all the other restarts, he
 wants to disable this validation step. I guess we need to support this as
 well.

 We can do something like below.

 configuration enabled=false 

 +1 will add this feature.


 Great work btw,

 Thanks,
 Sameera.


 On Mon, Jan 23, 2012 at 7:19 AM, Afkham Azeez az...@wso2.com wrote:

 Most of our deployments are on Linux. It is ok to go with OS specific
 commands. Please schedule a review.

 --
 Afkham Azeez
 Sent from my phone
 On Jan 23, 2012 12:37 PM, Dileepa Jayakody dile...@wso2.com wrote:

 Dear all,

 The bootup validator component now can be configured with custom
 Configuration Validators and Data Collectors as shown in the below sample
 [1]. A Data collector basically retrieves system information using some
 mechanism (OS independent library etc.) and the collected data can be used
 for the validation process by Configuration Validators.

 In HWDataCollector, system hardware related data such as CPU
 frequency, physical memory are collected; For this I have used a 3rd party
 library named JavaSysMon [2]. The initial attempt was to use SIGAR API, 
 but
 it was unsuccessful as I had issues with loading native libraries of it.
 JavaSysMon seems to be a very good alternative for this requirement.

 Last few days I was looking at ways of retrieving the number of open
 file handles as per a requirement of the bootup validator component [3].
 But AFAIU listing open files is OS dependent and cannot be achieved 
 through
 regular Java APIs.
 For example in Linux the command to list open files for a particular
 process is: lsof -p PID
 Does anybody have an idea of retrieving the number of open file
 handles in Java? The only mechanism I can think of, at the moment is to 
 use
 Runtime.getRuntime().exec(the cmd to list open files); But this
 doesn't look like the smoothest solution for this, does anybody have a
 better idea?
 Appreciate your views on this.

 Thanks,
 Dileepa

 [1]Sample  config_recommendations.xml to configure bootup validator:
 ?xml version=1.0 encoding=ISO-8859-1?
 !--configuration bit values should be given in Mega bytes (1KB = 1024
 bytes, 1MB = 1024 KB, 1GB = 1024 MB), CPU value in MHz--
 Configuration
 Validator
 class=org.wso2.carbon.core.bootup.validator.HWValidator
 Parameter name=cpu800/Parameter
 Parameter name=ram1024/Parameter
 /Validator
 Validator
 class=org.wso2.carbon.core.bootup.validator.JVMValidator
 Parameter name=heapMemory512/Parameter
 Parameter name=nonHeapMemory512/Parameter
 Parameter name=totalMemory1024/Parameter
 Parameter name=freeMemory512/Parameter
 /Validator

 !--Configuration Data Collectors to collect system-data for
 configuration validators to validate--
 Collector
 class=org.wso2.carbon.core.bootup.data.collector.HWDataCollector/
 Collector
 class=org.wso2.carbon.core.bootup.data.collector.JVMDataCollector/

 /Configuration

 [2] https://github.com/jezhumble/javasysmon
 [3] https://wso2.org/jira/browse/CARBONROADMAP-15

 On Wed, Jan 18, 2012 at 11:05 AM, Dileepa Jayakody 
 dile...@wso2.comwrote:

 Hi all,

 As per the offline discussion had with Pradeep and Azeez few days
 back, I have implemented the bootup-validator component's framework to be
 extensible.

 The component can be extended with new bootup validation tests by
 adding new ConfigurationValidator classes with relevant parameters to
 validate; in the config_recommendations.xml (the newly introduced xml in
 repository/conf)

 A sample config_recommendations.xml:

 Configuration
 Validator
 class=org.wso2.carbon.core.bootup.validator.HWValidator
 Parameter name=cpu800/Parameter
 Parameter name=ram1000/Parameter
 /Validator
 Validator
 class=org.wso2.carbon.core.bootup.validator.JVMValidator

[Carbon-dev] GS test failures - server is not starting within 5 mins

2012-02-02 Thread Afkham Azeez
---
Test set: TestSuite
---
Tests run: 65, Failures: 1, Errors: 0, Skipped: 64, Time elapsed: 301.28
sec  FAILURE!
startServer(org.wso2.gs.integration.tests.GSTestServerManager)  Time
elapsed: 0 sec   FAILURE!
org.testng.internal.thread.ThreadTimeoutException: Method
org.testng.internal.ConfigurationMethod.startServer() didn't finish within
the time-out 30
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:371)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
 at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
 at java.net.Socket.init(Socket.java:375)
at java.net.Socket.init(Socket.java:218)
 at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:79)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:99)
 at
org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:78)
at
org.wso2.gs.integration.tests.GSTestServerManager.startServer(GSTestServerManager.java:42)

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


[Carbon-dev] wso2is-1.3.1-SNAPSHOT directory available with products/gs/modules/distribution/product/target

2012-02-02 Thread Afkham Azeez
Why is this?

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


Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #157 has FAILED. Change made by 28 authors.

2012-01-31 Thread Afkham Azeez
Carbon trunk build has now been failing for 10 days!

--
Afkham Azeez
Sent from my phone
On Jan 31, 2012 10:12 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi Sanjeewa,

  Can you please have a look. There is a compilation failure reported in
 stratos/usage. [1].

 Thanks
 Shammi

 [1].

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.usage.agent: Compilation
 failure: Compilation failure:  31-Jan-2012 04:55:09 [ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1/components/stratos/usage/org.wso2.carbon.usage.agent/src/main/java/org/wso2/carbon/usage/agent/util/Util.java:[29,44]
 cannot find symbol  31-Jan-2012 04:55:09 [ERROR] symbol  : class
 RegistryUsageListener  31-Jan-2012 04:55:09 [ERROR] location: package
 org.wso2.carbon.usage.agent.listeners  31-Jan-2012 04:55:09 [ERROR]  
 31-Jan-2012 04:55:09 [ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1/components/stratos/usage/org.wso2.carbon.usage.agent/src/main/java/org/wso2/carbon/usage/agent/util/Util.java:[64,8]
 cannot find symbol  31-Jan-2012 04:55:09 [ERROR] symbol  : variable
 RegistryUsageListener  31-Jan-2012 04:55:09 [ERROR] location: class
 org.wso2.carbon.usage.agent.util.Util  31-Jan-2012 04:55:09 [ERROR] -
 [Help 1]


 On Tue, Jan 31, 2012 at 6:38 PM, Bamboo cbuil...@wso2.org wrote:

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

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 No failed tests found, a possible compilation error.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/
 Job
 Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-157/
  (Default
 Stage)  342 minutes  7864 passed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-157/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-157/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/commit/
   View
 all 163 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/commit/
 nuwan http://builder4.us1.wso2.org:/bamboo/browse/author/nuwan
 adding more docs  119846
 nuwanhttp://builder4.us1.wso2.org:/bamboo/browse/author/nuwan
 adding more docs  119845
 nuwanhttp://builder4.us1.wso2.org:/bamboo/browse/author/nuwan
 adding more docs  119844   160 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157/test
1
 Fixed Tests   Test Job FileSystemImportExportTestCase
 JarFileExportTesthttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-157/test/case/5932874
   WSO2
 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-157/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-157?commentMode=true

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

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

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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



 ___
 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] Urgent - Builds Broken

2012-01-31 Thread Afkham Azeez
Harshana, the team needs your help  expertise one more time. Please help
with stabilizing the trunk.

--
Afkham Azeez
Sent from my phone
On Jan 31, 2012 9:05 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Folks, the build has been broken for more than a week, and I see that
 almost 20 back to back builds broken.

 To make matters worst, I see that people keep on adding code - not sure
 how they are testing these commits if the build is broken.

 It seems that we need a scrum on the build again...

 Thanks,
 Samisa...

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


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


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


Re: [Carbon-dev] WSO2 Application Server Milestone1(wso2as-4.5.0-SNAPSHOT_M1) released!

2012-01-31 Thread Afkham Azeez
Please reopen  verify all EJB service Jiras

--
Afkham Azeez
Sent from my phone
On Jan 31, 2012 10:34 PM, Charitha Kankanamge chari...@wso2.com wrote:


 On Tue, Jan 31, 2012 at 5:59 PM, Supun Malinga sup...@wso2.com wrote:

 Hi All,

 $subject. packs are hosted at [1].

 New features and improvements under the release

- Introduction of Ghost Deployer
   - Ghost Deployer introduced first time in standalone Application
   Server
   - enable/disable ghost deployer through carbon.xml configuration.
- EJB Services functionality
   - Exposing ejb 3.x as web service


 I cannot update existing EJB service config due to the following NPE.
 Reported carbon jira [1]https://wso2.org/jira/browse/CARBON-12307

 [2012-01-31 22:10:04,468] ERROR
 {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  Exception
 occurred while trying to invoke service method setServiceParameters
 java.lang.NullPointerException
 at
 org.wso2.carbon.ejbservices.service.EJBServicesAdmin.setServiceParameter(EJBServicesAdmin.java:582)
 at
 org.wso2.carbon.ejbservices.service.EJBServicesAdmin.setServiceParameters(EJBServicesAdmin.java:508)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
 at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
 org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
 at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
 at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)

 Also, in previous carbon releases, some carbon jiras related to EJB
 services have been marked as resolved saying that the feature is retired.
 But still we can find the same issues (eg:- user cannot remove or update an
 existing server configuration). We better go through those old jiras and
 include the fixes in next release.






- new EJB Services sample.


- Bug fixes in spring services and moving to latest spring version.


 [1]
 http://builder2.us1.wso2.org/~carbontrunk/releases/carbon/wso2as-4.5.0-SNAPSHOT_M1/

 thanks,
 [Application Server Team

Re: [Carbon-dev] Version for Carbon 4.0.0 based AS

2012-01-30 Thread Afkham Azeez
+1 for 4.5

On Mon, Jan 30, 2012 at 3:08 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 Last AS release was 4.1.2 and the next release will depend on Carbon
 4.0.0. And also, we are going to do major improvements on JAX-WS, JAX-RS
 and web app hosting features. So I would like to go with 4.5.0. WDYT??

 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




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


Re: [Carbon-dev] java.lang.NoClassDefFoundError when accessing dss server in stratos deployment

2012-01-30 Thread Afkham Azeez
This is related to the Tomcat patch for gathering webapp statistics for the
purpose of tenant level request throttling. Please locate the Maven module
where this is included in SVN  see how/why it has gone missing.

On Mon, Jan 30, 2012 at 4:55 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,

 SEVERE: Error reading request, ignored
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/server/TransportStatisticsEntry
 at
 org.apache.coyote.RequestInfo.publishBandwidthUsageStatistics(RequestInfo.java:165)
  at org.apache.coyote.RequestInfo.updateCounters(RequestInfo.java:143)
 at org.apache.coyote.Request.updateCounters(Request.java:513)
  at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:445)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
  at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)

 Please suggest any solution to resolve it.

 Thanks
 --
 Ashansa Perera
 Software Engineer
 WSO2, Inc


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




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


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

2012-01-29 Thread Afkham Azeez
Please fix this to do the password requirements validation from a single
place. The length should be the same in all cases.

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

 Hi,

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

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

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

 Thanks

 --

 regards,
 Nirmal

 Software Engineer, WSO2 Inc.
 mobile: +94715779733


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


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


Re: [Carbon-dev] How to disable StuckThreadDetection for Servers.

2012-01-27 Thread Afkham Azeez
The question is why did your thread run for more than *10mins*

--
Afkham Azeez
Sent from my phone
On Jan 27, 2012 6:49 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I was debugging some samples and after sometimes the debugger was
 disconnected.I could neither stop the server or restart and had to kill the
 process manually using PID.As i got to know
 this is for detecting some unresponsive threads and kill them for the
 Stratos. How can i disable this. Following is the log.

 Thanks

 [2012-01-27 14:11:51,318]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-01-27 14:11:51,0318] from IP address 127.0.0.1
 [2012-01-27 14:29:12,465]  WARN
 {org.apache.catalina.valves.StuckThreadDetectionValve} -  Thread
 http-nio-9763-exec-10 has been active for 629,305 milliseconds (since
 1/27/12 2:18 PM) to serve the same request for
 http://localhost:9763/services/ResourcesSample.HTTPEndpoint/products and
 may be stuck (configured threshold for this StuckThreadDetectionValve is
 600 seconds). There is/are 1 thread(s) in total that are monitored by this
 Valve and may be stuck., tenantDomain=null
 java.lang.Throwable
 at
 org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher.findOperation(HTTPLocationBasedDispatcher.java:60)
 at
 org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:106)
  at
 org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:155)
 at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:109)
  at
 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
 at
 org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:206)

 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



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


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


Re: [Carbon-dev] How to disable StuckThreadDetection for Servers.

2012-01-27 Thread Afkham Azeez
Oh, you were debugging  it was stuck at a breakpoint. We should make the
valve treat -1 as infinite running time per thread

--
Afkham Azeez
Sent from my phone
On Jan 27, 2012 7:27 PM, Afkham Azeez az...@wso2.com wrote:

 The question is why did your thread run for more than *10mins*

 --
 Afkham Azeez
 Sent from my phone
 On Jan 27, 2012 6:49 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I was debugging some samples and after sometimes the debugger was
 disconnected.I could neither stop the server or restart and had to kill the
 process manually using PID.As i got to know
 this is for detecting some unresponsive threads and kill them for the
 Stratos. How can i disable this. Following is the log.

 Thanks

 [2012-01-27 14:11:51,318]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at [2012-01-27 14:11:51,0318] from IP address 127.0.0.1
 [2012-01-27 14:29:12,465]  WARN
 {org.apache.catalina.valves.StuckThreadDetectionValve} -  Thread
 http-nio-9763-exec-10 has been active for 629,305 milliseconds (since
 1/27/12 2:18 PM) to serve the same request for
 http://localhost:9763/services/ResourcesSample.HTTPEndpoint/products and
 may be stuck (configured threshold for this StuckThreadDetectionValve is
 600 seconds). There is/are 1 thread(s) in total that are monitored by this
 Valve and may be stuck., tenantDomain=null
 java.lang.Throwable
 at
 org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher.findOperation(HTTPLocationBasedDispatcher.java:60)
 at
 org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:106)
  at
 org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:155)
 at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:109)
  at
 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
 at
 org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:206)

 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



 ___
 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] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #151 has FAILED. Change made by 4 authors.

2012-01-26 Thread Afkham Azeez
Folks,
The build has been broken for more than 3 days. Different people have been
introducing build breaks, including compilation errors over the past few
days. This is totally unacceptable. Everybody who committed code over the
past 3 days should build the latest trunk  fix all build errors.

On Thu, Jan 26, 2012 at 2:08 PM, Bamboo cbuil...@wso2.org wrote:

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

 Code has been updated by 
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban,
 krishanthahttp://builder4.us1.wso2.org:/bamboo/browse/author/krishantha,
 kasunw http://builder4.us1.wso2.org:/bamboo/browse/author/kasunw,
 denis http://builder4.us1.wso2.org:/bamboo/browse/author/denis.

 No failed tests found, a possible compilation error.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151/
 Job
 Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-151/
  (Default
 Stage)  328 minutes  7835 passed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-151/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-151/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151/commit/
   View
 all 23 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151/commit/
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 CARBON-12278http://builder4.us1.wso2.org:/bamboo/project/jiraRedirect.action?jiraIssueKey=CARBON-12278bambooProjectKey=WSO2CARBONTUNK
 .
  119498
 kasunwhttp://builder4.us1.wso2.org:/bamboo/browse/author/kasunw
 making input type to password, for password textbox  119497
 denishttp://builder4.us1.wso2.org:/bamboo/browse/author/denis
 Fix related to https://wso2.org/jira/browse/BPS-73  119496   20 more
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151/commit
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-151?commentMode=true

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

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

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




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


Re: [Carbon-dev] Error with Deployment Synchronizer

2012-01-26 Thread Afkham Azeez
You can ignore that. It is logged at debug level. It binds to the locally
installed svn client.

On Thu, Jan 26, 2012 at 4:55 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Hi, I got this error with the svn based deployment synchronizer turned on.
 Is this a known error? How can I overcome?

 [2012-01-26 16:52:56,778] DEBUG - SVNDeploymentSynchronizerComponent
 Unable to initialize the Java HL client adapter - Required jars  or the
 native libraries may be missing
 org.tigris.subversion.svnclientadapter.SVNClientException: Javahl client
 adapter is not available
 at
 org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory.setup(JhlClientAdapterFactory.java:78)
  at
 org.wso2.carbon.deployment.synchronizer.subversion.SVNDeploymentSynchronizerComponent.activate(SVNDeploymentSynchronizerComponent.java:45)
 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
  at
 org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:393)
 at
 org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:176)
  at
 org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:786)
 at
 org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:753)
  at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:88)
 at
 org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
 [2012-01-26 16:52:56,806] DEBUG - SVNDeploymentSynchronizerComponent
 Unable to initialize the command line client adapter - SVN command line
 tools may be missing
 org.tigris.subversion.svnclientadapter.SVNClientException: Command line
 client adapter is not available
  at
 org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapterFactory.setup(CmdLineClientAdapterFactory.java:69)
 at
 org.wso2.carbon.deployment.synchronizer.subversion.SVNDeploymentSynchronizerComponent.activate(SVNDeploymentSynchronizerComponent.java:53)
  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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
 at
 org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:393)
  at
 org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:176)
 at
 org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:786)
  at
 org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:753)
 at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:88)
  at
 org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)


 --
 *Chamara Ariyarathne*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *0772786766*


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




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


Re: [Carbon-dev] Cannot invoke a service when it manually deployed as an aar in GReg.

2012-01-25 Thread Afkham Azeez
Yeah, there is no need to add redundant jars into the AAR. Perhaps we can
exclude these jars during AAR creation.

--
Afkham Azeez
Sent from my phone
On Jan 25, 2012 10:30 PM, Subash Chaturanga sub...@wso2.com wrote:



 On Wed, Jan 25, 2012 at 7:02 PM, Amila Suriarachchi am...@wso2.comwrote:



 On Fri, Jan 20, 2012 at 2:09 PM, Afkham Azeez az...@wso2.com wrote:

 It is very strange that MessageContext.getCurrentContext returns null
 only in G-Reg.


 this is a classloading issue. this .aar file contains an axis2 jar in the
 lib folder and GReg has set child first class loading true.


 Yes, it worked fine when set child first class loading to false in greg
 axis2.xml, due to above mentioned reason. In GReg it was set to true, which
 I didn't see in other products (i.e as).

 Hi Azeez, isn't it suppose to include only service specific jars in the
 lib, as those other jars are available from the platform dependencies ?


 thanks,
 Amila.


 On Fri, Jan 20, 2012 at 12:44 PM, Subash Chaturanga sub...@wso2.comwrote:

 Hi all,

 I came across with this issue when running the GReg testng
 SecurityVetification test case as it invokes
 the org.wso2.carbon.integration.secverifier.SecurityVerifierService.
 There was a NPE as axis2 MessageContext gets null.

 This can be reproduced when you manually drop a service aar  to
 GREG_HOME/repository/deployments/server/axis2Services/ and try to invoke
 it.
 Any idea ?

 Here is the error log.

 [2012-01-20 12:41:14,321] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method verifyAdminServices
 java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
  at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
 at
 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
  at
 org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:233)
 at
 org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:131)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
  at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
 org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
  at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
  at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
  at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
  at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886

Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #144 has FAILED. Change made by sanjeewa and lalaji.

2012-01-24 Thread Afkham Azeez
I also suggested that first but Srinath wanted these mails sent to
carbon-dev, which I feel in retrospect was the correct decision. Now
whenever the build breaks, people promptly attend to it since the mail is
sent to carbon-dev. So, let's stick with sending the build status mails to
carbon-dev.

On Tue, Jan 24, 2012 at 3:04 PM, Sameera Jayasoma same...@wso2.com wrote:

 Can we send these Bamboo emails to carbon-build list?

 Thanks,
 Sameera.

 On Tue, Jan 24, 2012 at 2:33 PM, Bamboo cbuil...@wso2.org wrote:

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

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 No failed tests found, a possible compilation error.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144/
 Job
 Duration Tests[image: Failed]  WSO2 Carbon Trunk Build 
 Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-144/
  (Default
 Stage)   1 second  No tests found  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-144/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-144/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144/commit/
   View
 all 4 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144/commit/
 lalaji http://builder4.us1.wso2.org:/bamboo/browse/author/lalaji
 Added jaggery feature to trunk  119362
 lalajihttp://builder4.us1.wso2.org:/bamboo/browse/author/lalaji
 Updated hostobjects poms  119361
 lalajihttp://builder4.us1.wso2.org:/bamboo/browse/author/lalaji
 Updated jaggery core pom  119360   1 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144/commit
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-144?commentMode=true

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

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

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




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

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

 Lean . Enterprise . Middleware

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




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


[Carbon-dev] Carbon build failure

2012-01-24 Thread Afkham Azeez
I got the following failure with a full update this morning;

[INFO] WSO2 WSF/Java - Distribution .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2:39:44.779s
[INFO] Finished at: Tue Jan 24 15:27:51 IST 2012
[INFO] Final Memory: 882M/1713M
[INFO]

[ERROR] Failed to execute goal on project org.wso2.carbon.rule.ws.ui: Could
not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.rule.ws.ui:bundle:4.0.0-SNAPSHOT: Could not
find artifact
org.wso2.carbon:org.wso2.carbon.rule.ws.stub:jar:4.0.0-SNAPSHOT in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]
[ERROR]


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


Re: [Carbon-dev] Ensure that we do not swallow exceptions

2012-01-23 Thread Afkham Azeez
Please post the relevant code segments. This is something we keep repeating
during code reviews.

On Fri, Jan 20, 2012 at 11:16 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Just like it can be ugly to see lengthy stacktraces at times, seeing the
 UI not working and errors throwing and no stacktrace or clue of what went
 wrong is extremely annoying. I was getting some errors from UM this time,
 and multiple kinds of it; and, had to debug the code to learn what was
 going wrong. The server is failing to work, but the console and the FE has
 no clue to what went wrong. It's greatly appreciated if we could go through
 some of these code and check that we properly throw exceptions. I will
 follow up on the instances where exceptions were not thrown and how to
 reproduce them.

 Thanks,
 Senaka.

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

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

 *Lean . Enterprise . Middleware


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




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


Re: [Carbon-dev] Bootup self test component for carbon

2012-01-22 Thread Afkham Azeez
Most of our deployments are on Linux. It is ok to go with OS specific
commands. Please schedule a review.

--
Afkham Azeez
Sent from my phone
On Jan 23, 2012 12:37 PM, Dileepa Jayakody dile...@wso2.com wrote:

 Dear all,

 The bootup validator component now can be configured with custom
 Configuration Validators and Data Collectors as shown in the below sample
 [1]. A Data collector basically retrieves system information using some
 mechanism (OS independent library etc.) and the collected data can be used
 for the validation process by Configuration Validators.

 In HWDataCollector, system hardware related data such as CPU frequency,
 physical memory are collected; For this I have used a 3rd party library
 named JavaSysMon [2]. The initial attempt was to use SIGAR API, but it was
 unsuccessful as I had issues with loading native libraries of it.
 JavaSysMon seems to be a very good alternative for this requirement.

 Last few days I was looking at ways of retrieving the number of open file
 handles as per a requirement of the bootup validator component [3]. But
 AFAIU listing open files is OS dependent and cannot be achieved through
 regular Java APIs.
 For example in Linux the command to list open files for a particular
 process is: lsof -p PID
 Does anybody have an idea of retrieving the number of open file handles in
 Java? The only mechanism I can think of, at the moment is to use
 Runtime.getRuntime().exec(the cmd to list open files); But this doesn't
 look like the smoothest solution for this, does anybody have a better idea?
 Appreciate your views on this.

 Thanks,
 Dileepa

 [1]Sample  config_recommendations.xml to configure bootup validator:
 ?xml version=1.0 encoding=ISO-8859-1?
 !--configuration bit values should be given in Mega bytes (1KB = 1024
 bytes, 1MB = 1024 KB, 1GB = 1024 MB), CPU value in MHz--
 Configuration
 Validator class=org.wso2.carbon.core.bootup.validator.HWValidator
 Parameter name=cpu800/Parameter
 Parameter name=ram1024/Parameter
 /Validator
 Validator class=org.wso2.carbon.core.bootup.validator.JVMValidator
 Parameter name=heapMemory512/Parameter
 Parameter name=nonHeapMemory512/Parameter
 Parameter name=totalMemory1024/Parameter
 Parameter name=freeMemory512/Parameter
 /Validator

 !--Configuration Data Collectors to collect system-data for
 configuration validators to validate--
 Collector
 class=org.wso2.carbon.core.bootup.data.collector.HWDataCollector/
 Collector
 class=org.wso2.carbon.core.bootup.data.collector.JVMDataCollector/

 /Configuration

 [2] https://github.com/jezhumble/javasysmon
 [3] https://wso2.org/jira/browse/CARBONROADMAP-15

 On Wed, Jan 18, 2012 at 11:05 AM, Dileepa Jayakody dile...@wso2.comwrote:

 Hi all,

 As per the offline discussion had with Pradeep and Azeez few days back, I
 have implemented the bootup-validator component's framework to be
 extensible.

 The component can be extended with new bootup validation tests by adding
 new ConfigurationValidator classes with relevant parameters to validate; in
 the config_recommendations.xml (the newly introduced xml in repository/conf)

 A sample config_recommendations.xml:

 Configuration
 Validator class=org.wso2.carbon.core.bootup.validator.HWValidator
 Parameter name=cpu800/Parameter
 Parameter name=ram1000/Parameter
 /Validator
 Validator class=org.wso2.carbon.core.bootup.validator.JVMValidator
 Parameter name=heapMemory6000/Parameter
 Parameter name=nonHeapMemory4000/Parameter
 Parameter name=totalMemory1/Parameter
 Parameter name=freeMemory2000/Parameter
 /Validator
 /Configuration

 The system data collection can also be extended in the same manner.
 At the moment I'm having trouble with Sigar API to retrieve HW
 configuration data (CPU, RAM), will update the thread with progress.

 Thanks,
 Dileepa

 On Fri, Jan 13, 2012 at 1:01 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 are we going to allow users to implement their own bootup tests, using
 somekind of extension mechanism. (we are providing all the gathered info,
 they decide on what to do with those). Is it a overkill ?

 are we doing any native calls within the carbon-env (Now). ?

 thanks,
 --Pradeep

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




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

 Mobile : +94777-857616




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

 Mobile : +94777-857616


 ___
 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] Cannot invoke a service when it manually deployed as an aar in GReg.

2012-01-20 Thread Afkham Azeez
It is very strange that MessageContext.getCurrentContext returns null only
in G-Reg.

On Fri, Jan 20, 2012 at 12:44 PM, Subash Chaturanga sub...@wso2.com wrote:

 Hi all,

 I came across with this issue when running the GReg testng
 SecurityVetification test case as it invokes
 the org.wso2.carbon.integration.secverifier.SecurityVerifierService.
 There was a NPE as axis2 MessageContext gets null.

 This can be reproduced when you manually drop a service aar  to
 GREG_HOME/repository/deployments/server/axis2Services/ and try to invoke
 it.
 Any idea ?

 Here is the error log.

 [2012-01-20 12:41:14,321] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method verifyAdminServices
 java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
  at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
 at
 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
  at
 org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:233)
 at
 org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:131)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
  at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
 org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
  at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
  at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
  at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
  at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.integration.secverifier.SecurityVerifierService.verifyAdminServices(SecurityVerifierService.java:42)


 Thanks
 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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




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

  1   2   3   4   5   6   7   8   9   10   >