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

2012-03-06 Thread Isuru Suriarachchi
This is already done.. But it is disabled through the carbon.xml by
default. That is because it only supports HTTP/S transports.

Thanks,
~Isuru

On Tue, Mar 6, 2012 at 12:51 PM, Afkham Azeez az...@wso2.com wrote:

 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




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


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

2012-03-05 Thread Isuru Suriarachchi
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.

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.com wrote:

 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


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

2012-03-05 Thread Isuru Suriarachchi
On Mon, Mar 5, 2012 at 10:00 PM, Pradeep Fernando prad...@wso2.com wrote:



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

 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


Re: [Carbon-dev] Tomcat Osgification issue

2012-03-05 Thread Isuru Suriarachchi
Hi Pradeep,

Can you please apply the proper patch for this into Carbon core?

~Isuru

On Wed, Feb 29, 2012 at 6:47 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Sameera fixed the issue and now everything looks fine..

 Thanks,
 ~Isuru


 On Wed, Feb 29, 2012 at 5:53 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Ok found the issue. In tomcat WebappLoader class, URL stream handler
 factory is registered as follows..

 URLStreamHandlerFactory streamHandlerFactory
 = DirContextURLStreamHandlerFactory.getInstance();
 URL.setURLStreamHandlerFactory(streamHandlerFactory);

 Here we can register only one factory
 into URL.setURLStreamHandlerFactory and it can't be overridden. Before the
 OSGification, this is set first by the WebappLoader and it works fine. But
 now, this is first get registered by equinox framework and it can't be
 overridden.

 So this is something we have to fix from the OSGi level and Pradeep is
 looking into this..

 Thanks,
 ~Isuru

 On Wed, Feb 29, 2012 at 3:52 PM, Isuru Suriarachchi is...@wso2.comwrote:

 I found the root cause for this issue. Spring tries to create a java URL
 object using a jndi URL and it fails.

 URL url = new URL(location);

 Basically this give the following exception.

 java.net.MalformedURLException: unknown protocol: jndi
 at java.net.URL.init(URL.java:574)
 at java.net.URL.init(URL.java:464)
  at java.net.URL.init(URL.java:413)
 at org.wso2.test.Main.main(Main.java:17)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 This means there's no resource handler registered for jndi. Now the
 problem is narrowed down to finding how to register it. This works well in
 the last release.

 Thanks,
 ~Isuru

 On Wed, Feb 29, 2012 at 12:08 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we should reproduce the issue with a simple hello world web app.
 debugging with cxf app is bit difficult.

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




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




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


Re: [Carbon-dev] Tomcat Osgification issue

2012-03-05 Thread Isuru Suriarachchi
Ok thanks..

On Tue, Mar 6, 2012 at 11:19 AM, Pradeep Fernando prad...@wso2.com wrote:

 Applied the patch, days ago. The changes are in tomcat module, not in
 tomcat.ext module.

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


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

2012-03-05 Thread Isuru Suriarachchi
On Tue, Mar 6, 2012 at 11:55 AM, Afkham Azeez az...@wso2.com wrote:

 We can support OSGi webapp bundles as an experimental (alpha level)
 feature. However, we will not be able to provide that for tenants.


Yes of course, both those improvements are not for tenants. But I think
those are nice to have features for the standalone product.

~Isuru




 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

[Carbon-dev] AS M2

2012-03-04 Thread Isuru Suriarachchi
Hi Kishanthan,

As we are done with the context.xml support and other Tomcat samples,
please trigger a build and provide a pack as M2 today.

Thanks,
~Isuru

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


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

2012-03-01 Thread Isuru Suriarachchi
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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Tomcat Osgification issue

2012-02-29 Thread Isuru Suriarachchi
I found the root cause for this issue. Spring tries to create a java URL
object using a jndi URL and it fails.

URL url = new URL(location);

Basically this give the following exception.

java.net.MalformedURLException: unknown protocol: jndi
at java.net.URL.init(URL.java:574)
at java.net.URL.init(URL.java:464)
at java.net.URL.init(URL.java:413)
at org.wso2.test.Main.main(Main.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

This means there's no resource handler registered for jndi. Now the problem
is narrowed down to finding how to register it. This works well in the last
release.

Thanks,
~Isuru

On Wed, Feb 29, 2012 at 12:08 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we should reproduce the issue with a simple hello world web app. debugging
 with cxf app is bit difficult.

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


Re: [Carbon-dev] Tomcat Osgification issue

2012-02-29 Thread Isuru Suriarachchi
Ok found the issue. In tomcat WebappLoader class, URL stream handler
factory is registered as follows..

URLStreamHandlerFactory streamHandlerFactory
= DirContextURLStreamHandlerFactory.getInstance();
URL.setURLStreamHandlerFactory(streamHandlerFactory);

Here we can register only one factory
into URL.setURLStreamHandlerFactory and it can't be overridden. Before the
OSGification, this is set first by the WebappLoader and it works fine. But
now, this is first get registered by equinox framework and it can't be
overridden.

So this is something we have to fix from the OSGi level and Pradeep is
looking into this..

Thanks,
~Isuru

On Wed, Feb 29, 2012 at 3:52 PM, Isuru Suriarachchi is...@wso2.com wrote:

 I found the root cause for this issue. Spring tries to create a java URL
 object using a jndi URL and it fails.

 URL url = new URL(location);

 Basically this give the following exception.

 java.net.MalformedURLException: unknown protocol: jndi
 at java.net.URL.init(URL.java:574)
 at java.net.URL.init(URL.java:464)
  at java.net.URL.init(URL.java:413)
 at org.wso2.test.Main.main(Main.java:17)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 This means there's no resource handler registered for jndi. Now the
 problem is narrowed down to finding how to register it. This works well in
 the last release.

 Thanks,
 ~Isuru

 On Wed, Feb 29, 2012 at 12:08 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we should reproduce the issue with a simple hello world web app.
 debugging with cxf app is bit difficult.

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




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


[Carbon-dev] Tomcat Osgification issue

2012-02-28 Thread Isuru Suriarachchi
A simple CXF webapp which was working earlier doesn't work on trunk now.
Following is the exception. There's an additional '/' in the jndi resource
it's trying to load. But I'm not sure how this is related to Tomcat
OSgification. I'm looking into this, but please let me know if anyone has
an idea about the root cause.

[2012-02-28 19:02:18,958]  INFO
{org.springframework.web.context.support.XmlWebApplicationContext} -
 Refreshing Root WebApplicationContext: startup date [Tue Feb 28 19:02:18
IST 2012]; parent: Root WebApplicationContext
[2012-02-28 19:02:18,959]  INFO
{org.springframework.beans.factory.xml.XmlBeanDefinitionReader} -  Loading
XML bean definitions from ServletContext resource
[/jndi:/localhost/cxf-library/WEB-INF/cxf-servlet.xml]
Feb 28, 2012 7:02:18 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from ServletContext resource
[/jndi:/localhost/cxf-library/WEB-INF/cxf-servlet.xml]; nested exception is
java.io.FileNotFoundException: Could not open ServletContext resource
[/jndi:/localhost/cxf-library/WEB-INF/cxf-servlet.xml]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)

Thanks,
~Isuru

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


Re: [Carbon-dev] Axis2-aar maven plugin : How to exclude a particular dependency from a AAR file

2012-02-28 Thread Isuru Suriarachchi
Basically you have to make sure that your maven class path only has the
needed set of dependencies. Try a mvn dependency:tree and exclude what is
not needed.

Thanks,
~Isuru

On Wed, Feb 29, 2012 at 11:56 AM, Subash Chaturanga sub...@wso2.com wrote:

 Hi,
 $subject ?
 I tried to use excludes in the plugin and it does not affects for
 dependencies. Also just tried by setting
  includeDependenciesfalse/includeDependencies and then the lib not get
 created.
 Is there a way to do this ?

 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




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


Re: [Carbon-dev] Axis2-aar maven plugin : How to exclude a particular dependency from a AAR file

2012-02-28 Thread Isuru Suriarachchi
Or else you can use external dependencies which are somewhere on the file
system as follows.

plugin
groupIdorg.apache.axis2/groupId
artifactIdaxis2-aar-maven-plugin/artifactId
version1.6-wso2v3/version
extensionstrue/extensions
configuration
aarNameCalculator/aarName
fileSets
fileSet
directory
/home/isuru/foo/bar
/directory
outputDirectorylib/outputDirectory
includes
includecal-dep-1.0.0.jar/include
/includes
/fileSet
/fileSets
/configuration
executions
execution
idcreate-aar1/id
phaseinstall/phase
goals
goalaar/goal
/goals
configuration
aarName
Calculator
/aarName
servicesXmlFile

${basedir}/src/main/resources/META-INF/services.xml
/servicesXmlFile
includeDependenciesfalse/includeDependencies
/configuration
/execution
/executions
/plugin

~Isuru

On Wed, Feb 29, 2012 at 12:29 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Basically you have to make sure that your maven class path only has the
 needed set of dependencies. Try a mvn dependency:tree and exclude what is
 not needed.

 Thanks,
 ~Isuru

 On Wed, Feb 29, 2012 at 11:56 AM, Subash Chaturanga sub...@wso2.comwrote:

 Hi,
 $subject ?
 I tried to use excludes in the plugin and it does not affects for
 dependencies. Also just tried by setting
  includeDependenciesfalse/includeDependencies and then the lib not get
 created.
 Is there a way to do this ?

 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




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


Re: [Carbon-dev] Random Error in IS Start Up - The activator org.wso2.identity.styles.internal.Activator for bundle org.wso2.identity.styles is invalid

2012-02-28 Thread Isuru Suriarachchi
 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


Re: [Carbon-dev] Random Error in IS Start Up - The activator org.wso2.identity.styles.internal.Activator for bundle org.wso2.identity.styles is invalid

2012-02-28 Thread Isuru Suriarachchi
On Wed, Feb 29, 2012 at 12:39 PM, Thilina Buddhika thili...@wso2.comwrote:

 Actually this started appearing after I copied some bundles into the
 dropins directory.


I did the same. So may be that's how to reproduce..



 Thanks,
 Thilina


 On Wed, Feb 29, 2012 at 12:33 PM, Isuru Suriarachchi is...@wso2.comwrote:

 I also experienced the same yesterday and I thought it's because I've
 installed some external bundles on my carbon instance. Looks like a bundle
 ordering issue.

 ~Isuru

 On Wed, Feb 29, 2012 at 12:31 PM, Thilina Buddhika thili...@wso2.comwrote:

  Hi Folks,

 I am experiencing this error time to time. But cannot reproduce it
 consistently. In the next restart, this error does not appear.

 [2012-02-29 12:26:39,763]  INFO
 {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
 Registry Mode: READ-WRITE
 org.osgi.framework.BundleException: The activator
 org.wso2.identity.styles.internal.Activator for bundle
 org.wso2.identity.styles is invalid
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:171)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
 at
 org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:307)
 at
 org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:108)
 at
 org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:129)
 at
 org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:143)
 at
 org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSynchronizer.applyConfiguration(ProfileSynchronizer.java:781)
 at
 org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSynchronizer.synchronize(ProfileSynchronizer.java:134)
 at
 org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.synchronize(Activator.java:461)
 at
 org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:176)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
 at
 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.wso2.identity.styles.internal.Activator
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:164)
 ... 27 more
 [2012-02-29 12:26:41,609]  INFO
 {org.wso2.carbon.core.init.CarbonServerManager

Re: [Carbon-dev] Issue after installing features

2012-02-23 Thread Isuru Suriarachchi
On Wed, Feb 22, 2012 at 11:27 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 but this is 3.2.2 feature getting installed on 3.2.2 product. API level
 changes - is it possible. (?)


Exactly, on AS 3.2.2, these bundles work together properly. But when
features are installed, it breaks. Should be something else..




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


Re: [Carbon-dev] Issue after installing features

2012-02-23 Thread Isuru Suriarachchi
On Thu, Feb 23, 2012 at 2:02 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Isuru,

 Can we get the list of features you installed?


Actually I only installed few basic features like service hosting, service
management and system statistics. I think you'll be able to reproduce this
by installing those 3.

Thanks,
~Isuru



 Thanks,
 Sameera.


 On Thu, Feb 23, 2012 at 3:16 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Feb 22, 2012 at 11:27 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 but this is 3.2.2 feature getting installed on 3.2.2 product. API level
 changes - is it possible. (?)


 Exactly, on AS 3.2.2, these bundles work together properly. But when
 features are installed, it breaks. Should be something else..




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




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




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


[Carbon-dev] Issue after installing features

2012-02-22 Thread Isuru Suriarachchi
Hi Pradeep,

I tried to install AS (carbon 3.2.2 based) features on top of GS (carbon
3.2.2 based) using the 3.2.2 p2 repository. But after restarting the
server, I'm getting the following error when I try to upload a file through
any of the file upload UI's. What can be the reason and is there are
workaround?

[2012-02-22 17:10:11,708]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-02-22 17:10:11,0708] from IP address 172.26.69.92
[2012-02-22 17:12:10,919] ERROR
{org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]}
-  Servlet.service() for servlet [bridgeservlet] in context with path [/]
threw exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchFieldError: fileItemsMap
at
org.wso2.carbon.aarservices.ui.fileupload.ServiceFileUploadExecutor.execute(ServiceFileUploadExecutor.java:46)
at
org.wso2.carbon.ui.transports.fileupload.AbstractFileUploadExecutor.executeGeneric(AbstractFileUploadExecutor.java:108)
at
org.wso2.carbon.ui.transports.fileupload.FileUploadExecutorManager$CarbonXmlFileUploadExecHandler.execute(FileUploadExecutorManager.java:392)
at
org.wso2.carbon.ui.transports.fileupload.FileUploadExecutorManager$FileUploadExecutionHandlerManager.startExec(FileUploadExecutorManager.java:276)
at
org.wso2.carbon.ui.transports.fileupload.FileUploadExecutorManager.execute(FileUploadExecutorManager.java:125)
at
org.wso2.carbon.ui.transports.FileUploadServlet.doPost(FileUploadServlet.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
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:254)
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:619)


Thanks,
~Isuru

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


[Carbon-dev] Using input parameters with RDF data services

2012-02-21 Thread Isuru Suriarachchi
Hi Amani,

I just tried out the RDF data service at [1]. Sample works fine, but it
looks like the query doesn't use the input parameter. With SQL queries we
can pass input parameters into the query using :input notation. How can I
pass input parameters into the following Sparcl query which is used in the
sample?

PREFIX space: http://purl.org/net/schemas/space/
PREFIX relevance: http://a9.com/-/opensearch/extensions/relevance/1.0/
PREFIX foaf: http://xmlns.com/foaf/0.1/
PREFIX dc: http://purl.org/dc/elements/1.1/

SELECT ?homepage ?name ?alternateName ?internationalDesignator ?mass
?score ?launch ?agency ?description
WHERE {
  ?craft foaf:homepage ?homepage.
  ?craft foaf:name ?name.
  ?craft space:alternateName ?alternateName.
  ?craft space:internationalDesignator ?internationalDesignator.
  ?craft space:mass ?mass.
  ?craft relevance:score ?score.
  ?craft space:launch ?launch.
  ?craft space:agency ?agency.
  ?craft dc:description ?description.
}

Thanks,
~Isuru

[1] http://wso2.org/project/data-services/2.6.3/docs/rdf.html

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


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

2012-02-14 Thread Isuru Suriarachchi
On Tue, Feb 14, 2012 at 3:30 PM, Kishanthan Thangarajah kishant...@wso2.com
 wrote:

 Hi Pradeep/Sameera,

 On Tue, Feb 14, 2012 at 8:42 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi devs,

 We are going to freeze the carbon-kernel[1] trunk for ~2 days. We have
 uploaded all the carbon-kernel related snapshot artifacts to the nexus
 repos. Devs can work on their day to day development tasks without a
 problem.

 During the the frozen period,
 1. we are going to merge the tomcat-bundle in to carbon trunk
 2. remove outer lib of carbon distribution and move them to the plugins
 folder


 While looking at outer lib, i found that jsr107cache is used by some of
 the carbon core bundles. But in the new svn structure, it is placed under
 graphite/dependencies. I think this is wrong and this should be moved into
 carbon/dependencies(ie kernel) as it is used by the carbon core bundles.


+1. Please move it if it is used by carbon core.

~Isuru



 Thanks,
 Kishanthan.


 3. fix product assembly scripts accordingly

 [1] https://svn.wso2.org/repos/wso2/trunk/carbon

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




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




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


Re: [Carbon-dev] BAM2: Connection reset in AS side

2012-02-09 Thread Isuru Suriarachchi
This error has occurred while the BAM publisher trying to publish stats to
BAM and not when AS accepting messages. Therefore I think increasing maxThreads
and maxConnections wont have any relationship to this particular problem.
Should be related to some issue in the connection between AS and BAM.

Thanks,
~Isuru

On Thu, Feb 9, 2012 at 3:05 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 While testing with an AS cluster with two nodes with latest BAM2 statistic
 publishers, loading with 500 messages with 50 concurrency,
  I noticed following exception from time to time in AS side;

 [2012-02-09 12:01:01,004] ERROR
 {org.wso2.carbon.bam.agent.publish.DataPublisher} -  Unable to publish
 event to BAM
 org.apache.thrift.transport.TTransportException: java.net.SocketException:
 Connection reset
  at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:195)
 at
 org.wso2.carbon.bam.service.ReceiverService$Client.send_publish(ReceiverService.java:94)
  at
 org.wso2.carbon.bam.service.ReceiverService$Client.publish(ReceiverService.java:82)
 at
 org.wso2.carbon.bam.agent.publish.DataPublisher.publishUsingHttp(DataPublisher.java:216)
  at
 org.wso2.carbon.bam.agent.publish.DataPublisher.publish(DataPublisher.java:84)
 at
 org.wso2.carbon.bam.agent.queue.EventWorker.clearActivityDataQueue(EventWorker.java:63)
  at org.wso2.carbon.bam.agent.queue.EventWorker.run(EventWorker.java:44)
 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.net.SocketException: Connection reset
 at java.net.SocketInputStream.read(SocketInputStream.java:168)
 at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
  at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
  at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
  at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
 at
 sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
  at
 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
 at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
  at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:183)
 ... 9 more

 As I found out, the solution for this is to increase the max threads and
 max connections in http protocol in mgt-transports file, as
 parameter name=maxThreads1/parameter (default 250)
 parameter name=maxConnections1/parameter (default undefined;
 value of maxThreads is taken)

 The tomcat config document says  in maxConnections:
 The maximum number of connections that the server will accept and process
 at any given time. When this number has been reached, the server will not
 accept any more connections until the number of connections falls below
 this value. The operating system may still accept connections based on the
 acceptCount setting. Default value varies by connector type. For BIO the
 default is the value of maxThreads. For NIO the default is 1. For
 APR/native, the default is 8192.
 Note that for APR/native on Windows, the configured value will be reduced
 to the highest multiple of 1024 that is less than or equal to
 maxConnections. This is done for performance reasons.

 *Still even with this configuration, I get the above exception but not
 frequently. *

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




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


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

2012-02-09 Thread Isuru Suriarachchi
/mailman/listinfo/architecture




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer

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

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

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




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


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

2012-02-09 Thread Isuru Suriarachchi
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.

Thanks,
~Isuru

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



 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


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

2012-02-09 Thread Isuru Suriarachchi
On Fri, Feb 10, 2012 at 12:04 PM, Sameera Jayasoma same...@wso2.com wrote:

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

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

2012-02-08 Thread Isuru Suriarachchi
Hi Pradeep,

Can't webapps see the packages in the OSGi environment? For example, my CXF
webapp needs the spring framework which is already there in the OSGi
environment. But looks like it doesn't work. Any idea?

~Isuru

On Wed, Feb 8, 2012 at 11:15 AM, Isuru Suriarachchi is...@wso2.com wrote:

 Great work Pradeep. You can get Kishanthan to help you on converting those
 libs into OSGi bundles.

 Thanks,
 ~Isuru


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

 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




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


 lean . enterprise . middleware




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

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


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

2012-02-08 Thread Isuru Suriarachchi
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.

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


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

2012-02-07 Thread Isuru Suriarachchi
Great work Pradeep. You can get Kishanthan to help you on converting those
libs into OSGi bundles.

Thanks,
~Isuru

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

 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




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

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


[Carbon-dev] WSO2 Committers += Kishanthan

2012-02-07 Thread Isuru Suriarachchi
Hi Kishanthan,

Congratulations!

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

Thanks,
~Isuru

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

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


[Carbon-dev] WSO2 Committers += KasunG

2012-02-07 Thread Isuru Suriarachchi
Hi KasunG,

Congratulations!

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

Thanks,
~Isuru

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

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


Re: [Carbon-dev] WSO2 Application Server Milestone1(wso2as-4.5.0-SNAPSHOT_M1) released!

2012-01-31 Thread Isuru Suriarachchi
://builder2.us1.wso2.org/~carbontrunk/releases/carbon/wso2as-4.5.0-SNAPSHOT_M1/

 thanks,
 [Application Server Team]
 --

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



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


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




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

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


[Carbon-dev] Ghost Deployer for standalone products

2012-01-30 Thread Isuru Suriarachchi
Hi all,

I've integrated GD with carbon core and it is off by default. This is
because it doesn't support all transports. It can be switched on using the
following parameter in the carbon.xml.

!--
A flag to enable or disable Ghost Deployer. By default this is set
to false. That is
because the Ghost Deployer works only with the HTTP/S transports.
If you are using
other transports, don't enable Ghost Deployer.
--
EnableGhostDeployertrue/EnableGhostDeployer

Each product team please test this by enabling GD on your product
(specially if Axis2 deployers are used). If there are any issues, please
let me know.

Thanks,
~Isuru

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

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


[Carbon-dev] Milestone Release of WSO2 AS

2012-01-30 Thread Isuru Suriarachchi
We are planning to do the first milestone release of WSO2 AS by tomorrow.
Supun, please work on this.

New Features

* Bringing back the EJB services component which is improved to support EJB
3.0 connectivity
* Ghost Deployer

Thanks,
~Isuru

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

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


[Carbon-dev] Version for Carbon 4.0.0 based AS

2012-01-30 Thread Isuru Suriarachchi
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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Version for Carbon 4.0.0 based AS

2012-01-30 Thread Isuru Suriarachchi
Hi Samisa,

Shall we look at the progress we can make and decide on moving onto 5.0?
May be after M2 we'll have a better picture.

Thanks,
~Isuru

On Tue, Jan 31, 2012 at 12:59 AM, Supun Malinga sup...@wso2.com wrote:

 hi,

 On Mon, Jan 30, 2012 at 11:09 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 What about 5.0? given the new leap in JAX WS/RS space, it is worth a
 major jump in version.


 I have already done the changes for 4.5.0-SNAPSHOT. Shall we go with it
 for this milestone release and move to 5.0.0-SNAPSHOT from the next
 milestone release?

 thanks,



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

 +1 for 4.5


 On Mon, Jan 30, 2012 at 3:08 PM, Isuru Suriarachchi is...@wso2.comwrote:

 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*

  Thanks,
 Samisa...

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



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




 --
 Supun Malinga,

 Software Engineer,

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


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




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

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


Re: [Carbon-dev] Enforce a clean goal before all the p2-generation goals execute

2012-01-30 Thread Isuru Suriarachchi
It's always a best practice to execute 'mvn clean install' instead of 'mvn
install'. When building the p2-profile, we create the p2-repo inside the
target. So if we don't clean, it'll use the existing one. +1 for enforcing
clean.

~Isuru

On Tue, Jan 31, 2012 at 10:47 AM, Supun Malinga sup...@wso2.com wrote:

 Hi  devs,

 Shall we do $subject?
 when we do mvn install, p2 repo generation is not working properly.
 After I updated  the axis version to 1.6.1.wso2v5 from 1.6.1.wso2v4, I
 still got the 1.6.1.wso2v4 jar inside the core distribution.
 And found the issue resolved after I builts the
 core/p2-profile-generation/ with mvn *clean* install.

 thanks,
 --
 Supun Malinga,

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


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




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

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


Re: [Carbon-dev] What is the correct required features version?

2012-01-30 Thread Isuru Suriarachchi
Yes, I think it should be [4.0.0, 4.1.0)

On Mon, Jan 30, 2012 at 10:54 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Mon, Jan 30, 2012 at 9:41 AM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Hi All,
 What is the correct required features version that should go in for
 application-deployers descriptor file (required-features.xml)?
 [4.0.0, 5.0.0) ?

 how about,
 [4.0.0, 4.x.0) ?

 x - next major release version.

 thanks,


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




 --
 Supun Malinga,

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


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




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

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


Re: [Carbon-dev] Carbon trunk compilation error

2012-01-25 Thread Isuru Suriarachchi
Oh.. this is due to one of my commits.. will fix ASAP..

On Wed, Jan 25, 2012 at 9:04 PM, Afkham Azeez az...@wso2.com wrote:

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.wsdl2form: Compilation failure
 [ERROR]
 /Users/azeez/projects/wso2/org/trunk/carbon2/components/wsdl2form/org.wso2.carbon.wsdl2form/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,24]
 cannot find symbol
 [ERROR] symbol  : method
 isGhostService(org.apache.axis2.description.AxisService)
 [ERROR] location: class org.wso2.carbon.core.util.SystemFilter
 [ERROR] - [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*




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

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


Re: [Carbon-dev] Carbon trunk compilation error

2012-01-25 Thread Isuru Suriarachchi
done

On Wed, Jan 25, 2012 at 9:56 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Oh.. this is due to one of my commits.. will fix ASAP..


 On Wed, Jan 25, 2012 at 9:04 PM, Afkham Azeez az...@wso2.com wrote:

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.wsdl2form: Compilation failure
 [ERROR]
 /Users/azeez/projects/wso2/org/trunk/carbon2/components/wsdl2form/org.wso2.carbon.wsdl2form/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,24]
 cannot find symbol
 [ERROR] symbol  : method
 isGhostService(org.apache.axis2.description.AxisService)
 [ERROR] location: class org.wso2.carbon.core.util.SystemFilter
 [ERROR] - [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*




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

 lean . enterprise . middleware




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

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


[Carbon-dev] Fwd: [jira] (WSAS-834) Creation of PostgreSql Datasource failed

2012-01-25 Thread Isuru Suriarachchi
Hi Anjana,

Can you please have a look into this?

Thanks,
~Isuru

-- Forwarded message --
From: Jochen Traunecker (JIRA) j...@wso2.org
Date: Wed, Jan 25, 2012 at 8:18 PM
Subject: [jira] (WSAS-834) Creation of PostgreSql Datasource failed
To: is...@wso2.com


Creation of PostgreSql Datasource failed


Key: WSAS-834
URL: https://wso2.org/jira/browse/WSAS-834
Project: WSO2 Application Server
 Issue Type: Bug
Environment: Windows7 Professional, JDK 1.6.0_21-b07 64-Bit,
wso2as-4.1.2, postgresql-8.4-702.jdbc4.jar
   Reporter: Jochen Traunecker
   Assignee: Isuru Eranga Suriarachchi
Attachments: ScreenClip.png, ScreenClip1.png

Could not add a Data Source through Management Console on Application
Server 4.1.2.

1. Copies postgresql-jar to ...\wso2as-4.1.2\repository\components\lib
1. Provided information through New Data Source Dialog (ScreenClip1.png)
2. Test Connection was successfull
3. Pressed ADD Button
4. Got error message Error looking up a data source:null (ScreenClip.png)

...\wso2as-4.1.2\repository\logs\wso2carbon.log 
wso2carbon-trace-messages.log indicate no error / warning (log level  INFO)

As a cross check I did the same with wso2dataservices-2.6.3 standalone
server and it worked out without any issues.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira





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

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


Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #149 has FAILED. Change made by 9 authors.

2012-01-25 Thread Isuru Suriarachchi
This is already fixed..

Thanks,
~Isuru

On Thu, Jan 26, 2012 at 6:35 AM, Srinath Perera srin...@wso2.com wrote:

 Can we get this fixed please .. build has been broken for few days now?



 25-Jan-2012 08:41:09[ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project org.wso2.carbon.wsdl2form: Compilation
 failure
 25-Jan-2012 08:41:09[ERROR]

 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1/components/wsdl2form/org.wso2.carbon.wsdl2form/src/main/java/org/wso2/carbon/wsdl2form/WSDL2FormGenerator.java:[784,24]
 cannot find symbol
 25-Jan-2012 08:41:09[ERROR] symbol  : method
 isGhostService(org.apache.axis2.description.AxisService)
 25-Jan-2012 08:41:09[ERROR] location: class
 org.wso2.carbon.core.util.SystemFilter
 25-Jan-2012 08:41:09[ERROR] - [Help 1]
 25-Jan-2012 08:41:09[ERROR]
 25-Jan-2012 08:41:09[ERROR] To see the full stack trace of the
 errors, re-run Maven with the -e switch.
 25-Jan-2012 08:41:09[ERROR] Re-run Maven using the -X switch to
 enable full debug logging.
 25-Jan-2012 08:41:09[ERROR]
 25-Jan-2012 08:41:09[ERROR] For more information about the errors and
 possible solutions, please read the following articles:
 25-Jan-2012 08:41:09[ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 25-Jan-2012 08:41:09[ERROR]
 25-Jan-2012 08:41:09[ERROR] After correcting the problems, you can
 resume the build with the command
 25-Jan-2012 08:41:09[ERROR]   mvn goals -rf
 :org.wso2.carbon.wsdl2form

 On Wed, Jan 25, 2012 at 10:22 PM, Bamboo cbuil...@wso2.org wrote:
 
  ---
  WSO2 Carbon Trunk  WSO2 Carbon - Platform Trunk  #149 failed.
  ---
  Code has been updated by janaka, dharshana, isuru, sanjeewa, deep,
 sanjayav, thilini, buddhikac, nuwan.
  No failed tests found, a possible compilation error.
 
 
 http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-149/
 
 
  --
  Failing Jobs
  --
   - WSO2 Carbon Trunk Build Process (Default Stage): 7835 tests passed.
 
 
  --
  Code Changes
  --
  nuwan (119406):
 
 adding jaggery
 
  isuru (119408):
 
 GD improvements
 
  nuwan (119432):
 
 fixing guice issue
 
 
 
  --
  This message is automatically generated by Atlassian Bamboo



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




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

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


Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Isuru Suriarachchi
From AS, KasunG has completed tests for all security scenarios and those
are already committed into trunk. Now he's working on RM, Secure RM
scenarios.

Thanks,
~Isuru

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.

 --
 Afkham Azeez
 Sent from my phone

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




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

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


Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Isuru Suriarachchi
On Fri, Jan 20, 2012 at 10:51 AM, KasunG Gajasinghe kas...@wso2.com wrote:



 On Fri, Jan 20, 2012 at 7:40 AM, Isuru Suriarachchi is...@wso2.comwrote:

 From AS, KasunG has completed tests for all security scenarios and those
 are already committed into trunk. Now he's working on RM, Secure RM
 scenarios.


Excellent.. I'll apply the RM patch as well..

Thanks,
~Isuru



 Yes, thanks Isuru for the update. I've added a patch for Reliable
 Messaging just yesterday as well to jira issue [1]. Almost there for Secure
 RM.

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

 Thanks,
 --KasunG


 Thanks,
 ~Isuru

 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.

 --
 Afkham Azeez
 Sent from my phone

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




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

 lean . enterprise . middleware




 --
 *Kasun Gajasinghe*
 Software Engineer; WSO2 Inc.; http://wso2.com

 ,
 *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
 *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org

 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg

 *
 *




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

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


Re: [Carbon-dev] Weird Problem With Axis2

2011-12-20 Thread Isuru Suriarachchi
According to the exception, there should be something wrong with your
client side axis2.xml file. Axis2 tries to read it an fails.

Thanks,
~Isuru

On Wed, Dec 21, 2011 at 1:11 AM, metin d met...@yahoo.com wrote:

 We deployed an Application  Server and a web application on the top it via
 a .war file, it works perfectly. On the other hand with same configuration
 we deployed app server and web application to another machine and while
 working in web application (actually exactly when it tries to send a
 request to Data Services Service ) we get this exception. Do you have idea
 about what can cause to this ?

 java.lang.IllegalArgumentException: Null InputStream is not a valid
 argument
 at
 com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:614)
 at
 com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)
 at
 org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
 at
 org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:120)
 at
 org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
 at org.apache.axiom.om.util.StAXUtils$2.run(StAXUtils.java:230)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:226)
 at
 org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:218)
 at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
 at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
 at
 org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:89)
 at
 org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:854)
 at
 org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
 at
 org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
 at
 org.apache.axis2.client.ServiceClient.init(ServiceClient.java:144)
 at
 org.apache.axis2.client.ServiceClient.init(ServiceClient.java:252)
 here our application code tries to initialize a service client
 ServiceClient serviceClient=new ServiceClient();

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




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

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


Re: [Carbon-dev] Application Server (Trunk) Errors on startup

2011-12-13 Thread Isuru Suriarachchi
)
 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)


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




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

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


Re: [Carbon-dev] Abdera test failures in trunk

2011-12-12 Thread Isuru Suriarachchi
This test failure is still there.. Can someone please fix this?

Thanks,
~Isuru

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

 INFO] Surefire report directory:
 /Users/azeez/projects/wso2/org/trunk/carbon2/dependencies/abdera/parser/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.abdera.test.parser.EncodingTest
 Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.793 sec
 Running org.apache.abdera.test.parser.ServiceDocumentTest
 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec
 Running org.apache.abdera.test.parser.stax.AtomConformanceTest
 Tests run: 5, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.448 sec
  FAILURE!
 Running org.apache.abdera.test.parser.stax.ConcurrencyTest
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 sec
 Running org.apache.abdera.test.parser.stax.EntryLinkTest
 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.386 sec
  FAILURE!
 Running org.apache.abdera.test.parser.stax.FeedParserTest
 Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 sec
 Running org.apache.abdera.test.parser.stax.FeedValidatorTest


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




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

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


[Carbon-dev] Error while building carbon core on trunk

2011-12-06 Thread Isuru Suriarachchi
Hi all,

Looks like it's extremely hard to build the trunk now. Shall we take few
days and stabilize it? Otherwise most of us are going to waste lot of time
on building this.

Here's the Carbon core issue that I'm facing currently. Please let me know
if anyone knows who to overcome this.

[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.core.runtime.feature: Could not resolve dependencies for
project
org.wso2.carbon:org.wso2.carbon.core.runtime.feature:pom:3.2.0-SNAPSHOT:
Failure to find
org.eclipse.equinox:org.eclipse.equinox.p2.touchpoint.eclipse:jar:2.1.0.v20110511-wso2v1
in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
the local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.

Thanks,
~Isuru

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

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


Re: [Carbon-dev] [Architecture] [Stratos] Ghost service deployers

2011-12-06 Thread Isuru Suriarachchi
On Tue, Dec 6, 2011 at 9:39 PM, Afkham Azeez az...@wso2.com wrote:

 I have added several comments. Please make sure that these get
 incorporated.

 Also, it looks like GD has been implemented only for AAR services for the
 moment. Can we get somebody to implement this for all other artifact types
 as well if Isuru does not have time to complete this.


Actually I'm going to complete what is left with GD and continue with some
other new features on trunk. But currently I'm still stuck with the trunk
build. Will delegate if needed.

Thanks,
~Isuru





 On Mon, Nov 21, 2011 at 7:27 PM, Isuru Suriarachchi is...@wso2.comwrote:

 https://wso2.org/crucible/cru/ApacheDS-Core-3


 On Mon, Nov 21, 2011 at 10:27 AM, Isuru Suriarachchi is...@wso2.comwrote:

 I didn't have much time for this during the weekend due to my exams.
 Will send it today..


 On Mon, Nov 21, 2011 at 8:34 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 2nd reminder. Send the Crucible link ASAP.


 On Sat, Nov 19, 2011 at 6:33 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Please create a Crucible project for the Ghost deployer feature  send
 the link for review. Please add me as a reviewer.

 Thanks
 Azeez


 On Mon, Jul 18, 2011 at 10:50 AM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Mon, Jul 18, 2011 at 12:06 AM, Afkham Azeez az...@wso2.comwrote:

 This is an idea I got for improving Stratos performance  optimizing
 resource usage. Instead of loading all artifacts deployed by a tenant, 
 the
 ghost deployers will create ghost services corresponding to the real
 services. We will have a special type of Axis2 dispatcher which will 
 load
 the real service, if not already deployed, and dispatch to that service.
 This will reduce the memory consumption, as well as improve the response
 times of the very first requests sent by the tenants.


 So we'll have to disable all existing Axis2 deployers and enable only
 the ghost deployer by default. However it should create a dummy
 Axis2Service which has the same service name as the real service. And 
 also
 it has to keep the file name of the real artifact. When the request comes
 in, we have to deploy the real service programmetically by calling the
 appropriate deployer and dispatch the request.

 Is this the approach that you are suggesting?

 Thanks,
 ~Isuru



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


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




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


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




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




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

 lean . enterprise . middleware




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

 lean . enterprise . middleware




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

Re: [Carbon-dev] Error while building carbon core on trunk

2011-12-06 Thread Isuru Suriarachchi
On Wed, Dec 7, 2011 at 3:26 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi Azeez, Isuru,

 +1. we should fix these.

 M3 migration is not the culprit of the above problems. Most of the
 failures are due to test failures and partial commits.

 The only M3 related issue at the moment is G-reg Doc generation issue.
 (taking too much time). - and we agreed to use build profiles. (?)

 @Isuru : looks like you haven't built,
 org.eclipse.equinox.p2.touchpoint.eclipse:jar:2.1.0.v20110511-wso2v1 found
 under dependencies.


Yes, it was due to that and Supun also pointed out the same.. Thanks..



 thanks,
 --Pradeep

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




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

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


[Carbon-dev] Error in org.wso2.carbon.tenant.activity.stub

2011-12-06 Thread Isuru Suriarachchi
Code generation looks for TenantActivityService.wsdl. But the WSDL under
src/main/resources is TenantMonitoringService.wsdl.

[INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
org.wso2.carbon.tenant.activity.stub ---
[INFO] Executing tasks
 [java] Retrieving document at
'src/main/resources/TenantActivityService.wsdl'.
 [java] Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:178)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
 [java] Caused by: javax.wsdl.WSDLException: WSDLException:
faultCode=OTHER_ERROR: Unable to resolve imported document at
'src/main/resources/TenantActivityService.wsdl'.:
java.io.FileNotFoundException: This file was not found:
file:/home/isuru/checkouts/wso2/trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
 [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2226)
 [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2174)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:133)
 [java] ... 2 more
 [java] Caused by: java.io.FileNotFoundException: This file was not
found:
file:/home/isuru/checkouts/wso2/trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
 [java] at
com.ibm.wsdl.util.StringUtils.getContentAsInputStream(StringUtils.java:173)
 [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2205)
 [java] ... 5 more
 [java] Java Result: 1
[INFO] Executed tasks


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

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


[Carbon-dev] Fwd: [Carbon-commits] [Carbon] svn commit r116395 - trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub

2011-12-06 Thread Isuru Suriarachchi
Hi Sanjeewa,

You've changed the WSDL name. But there's no such WSDL under
src/main/resources. Please fix it properly..

Thanks,
~Isuru

-- Forwarded message --
From: sanje...@wso2.com
Date: Tue, Nov 29, 2011 at 1:27 PM
Subject: [Carbon-commits] [Carbon] svn commit r116395 -
trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub
To: carbon-comm...@wso2.org


Author: sanjeewa
Date: Mon Nov 28 23:57:17 2011
New Revision: 116395
URL: http://wso2.org/svn/browse/wso2?view=revrevision=116395

Log:
fixing tenant activity monitor issues

Modified:
  trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/pom.xml

Modified:
trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/pom.xml
URL:
http://wso2.org/svn/browse/wso2/trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/pom.xml?rev=116395r1=116394r2=116395view=diff
==
--- trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/pom.xml
(original)
+++ trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/pom.xml
Mon Nov 28 23:57:17 2011
@@ -47,7 +47,7 @@
configuration
tasks
java
classname=org.apache.axis2.wsdl.WSDL2Java fork=true
-arg line=-uri
src/main/resources/TenantMonitoringService.wsdl -u -uw -o
target/generated-code
+arg line=-uri
src/main/resources/TenantActivityService.wsdl -u -uw -o
target/generated-code
-p org.wso2.carbon.tenant.activity.stub
-ns2p
http://services.activity.tenant.carbon.wso2.org
=org.wso2.carbon.tenant.activity.stub.services,
http://beans.activity.tenant.carbon.wso2.org/xsd=org.wso2.carbon.tenant.activity.stub.beans.xsd
/
classpath
refid=maven.dependency.classpath/
___
Carbon-commits mailing list
carbon-comm...@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits



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

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


[Carbon-dev] Build failure on trunk/orbit

2011-11-27 Thread Isuru Suriarachchi
slf4j.wso2:slf4j:jar:1.5.10.wso2v1 is not getting downloaded and also it's
not under trunk/dependencies.

Thanks,
~Isuru

[INFO] Building opensaml2.wso2
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public//slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.pom
[INFO] Unable to find resource 'slf4j.wso2:slf4j:pom:1.5.10.wso2v1' in
repository wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading:
http://repo1.maven.org/maven2/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.pom
[INFO] Unable to find resource 'slf4j.wso2:slf4j:pom:1.5.10.wso2v1' in
repository central (http://repo1.maven.org/maven2)
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public//slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar
[INFO] Unable to find resource 'slf4j.wso2:slf4j:jar:1.5.10.wso2v1' in
repository wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading:
http://repo1.maven.org/maven2/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar
[INFO] Unable to find resource 'slf4j.wso2:slf4j:jar:1.5.10.wso2v1' in
repository central (http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) slf4j.wso2:slf4j:jar:1.5.10.wso2v1

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=slf4j.wso2 -DartifactId=slf4j
-Dversion=1.5.10.wso2v1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=slf4j.wso2 -DartifactId=slf4j
-Dversion=1.5.10.wso2v1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
  1) opensaml.wso2:opensaml2:bundle:2.4.1.wso2v1
  2) slf4j.wso2:slf4j:jar:1.5.10.wso2v1


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

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


Re: [Carbon-dev] Carbon 3.2.3 Release

2011-11-26 Thread Isuru Suriarachchi
Yes, AS should also be released. SupunM will be the RM.

Thanks,
~Isuru

On Sat, Nov 26, 2011 at 4:06 PM, Kathiravelu Pradeeban
pradee...@wso2.comwrote:



 On Sat, Nov 26, 2011 at 4:04 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Pradeeban,
 recent changes to log4j needs to go in to AS release.


 Yes, that change is already in (r116192).
 branches/carbon/3.2.0/core/distribution/3.2.3/src/assembly/bin.xml and

 branches/carbon/3.2.0/core/org.wso2.carbon.server/3.2.3/src/assembly/bin.xml

 Regards,
 Pradeeban.

 /sumedha

 On 11/23/11, Charitha Kankanamge chari...@wso2.com wrote:
  Hi,
 
  In the last AS release, BAM publishers and other qpid related stuff do
 not
  work OOTB due to [1] since we have not shipped qpid-config.xml in AS. We
  may consider to fix that and release AS as well.
 
  [1]https://wso2.org/jira/browse/CARBON-11527
 
  /Charitha
 
 
  On Wed, Nov 23, 2011 at 11:40 AM, Prabath Siriwardena
  prab...@wso2.comwrote:
 
  Hi folks,
 
  Samisa. Sumedha and me had an offline discussion the $subject - please
  find the details below..
 
  Following products will be released
 
  1. G-Reg - [RM - Fazlan]
  2. IS - [RM - Hasini]
  3. ESB - [RM - Ratha]
  4. MS - [RM - Lalaji]
 
  Code Freeze : 2nd December
 
  Release : 16th December
 
  Any other products that need to be released on 16th December - PMs,
  please reply to this mail by EOD today...
 
  --
  Thanks  Regards,
  Prabath
 
  http://blog.facilelogin.com
  http://RampartFAQ.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 

 --
 Sent from my mobile device




 --
 Kathiravelu Pradeeban.
 Software Engineer.
 WSO2 Inc.

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




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

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


Re: [Carbon-dev] [Architecture] [Stratos] Ghost service deployers

2011-11-21 Thread Isuru Suriarachchi
https://wso2.org/crucible/cru/ApacheDS-Core-3

On Mon, Nov 21, 2011 at 10:27 AM, Isuru Suriarachchi is...@wso2.com wrote:

 I didn't have much time for this during the weekend due to my exams. Will
 send it today..


 On Mon, Nov 21, 2011 at 8:34 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 2nd reminder. Send the Crucible link ASAP.


 On Sat, Nov 19, 2011 at 6:33 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Please create a Crucible project for the Ghost deployer feature  send
 the link for review. Please add me as a reviewer.

 Thanks
 Azeez


 On Mon, Jul 18, 2011 at 10:50 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Jul 18, 2011 at 12:06 AM, Afkham Azeez az...@wso2.com wrote:

 This is an idea I got for improving Stratos performance  optimizing
 resource usage. Instead of loading all artifacts deployed by a tenant, the
 ghost deployers will create ghost services corresponding to the real
 services. We will have a special type of Axis2 dispatcher which will load
 the real service, if not already deployed, and dispatch to that service.
 This will reduce the memory consumption, as well as improve the response
 times of the very first requests sent by the tenants.


 So we'll have to disable all existing Axis2 deployers and enable only
 the ghost deployer by default. However it should create a dummy
 Axis2Service which has the same service name as the real service. And also
 it has to keep the file name of the real artifact. When the request comes
 in, we have to deploy the real service programmetically by calling the
 appropriate deployer and dispatch the request.

 Is this the approach that you are suggesting?

 Thanks,
 ~Isuru



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


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




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


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




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




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

 lean . enterprise . middleware




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

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


Re: [Carbon-dev] [Architecture] [Stratos] Ghost service deployers

2011-11-21 Thread Isuru Suriarachchi
Because the currently existing carbon core project in crucible is named as
ApacheDS-Core. And I used the same project to create a different review as
this code also exists under carbon core.

On Tue, Nov 22, 2011 at 12:37 AM, Afkham Azeez az...@wso2.com wrote:

 Why is the link having the ID ApacheDS-Core?


 On Mon, Nov 21, 2011 at 7:27 PM, Isuru Suriarachchi is...@wso2.comwrote:

 https://wso2.org/crucible/cru/ApacheDS-Core-3


 On Mon, Nov 21, 2011 at 10:27 AM, Isuru Suriarachchi is...@wso2.comwrote:

 I didn't have much time for this during the weekend due to my exams.
 Will send it today..


 On Mon, Nov 21, 2011 at 8:34 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 2nd reminder. Send the Crucible link ASAP.


 On Sat, Nov 19, 2011 at 6:33 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Please create a Crucible project for the Ghost deployer feature  send
 the link for review. Please add me as a reviewer.

 Thanks
 Azeez


 On Mon, Jul 18, 2011 at 10:50 AM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Mon, Jul 18, 2011 at 12:06 AM, Afkham Azeez az...@wso2.comwrote:

 This is an idea I got for improving Stratos performance  optimizing
 resource usage. Instead of loading all artifacts deployed by a tenant, 
 the
 ghost deployers will create ghost services corresponding to the real
 services. We will have a special type of Axis2 dispatcher which will 
 load
 the real service, if not already deployed, and dispatch to that service.
 This will reduce the memory consumption, as well as improve the response
 times of the very first requests sent by the tenants.


 So we'll have to disable all existing Axis2 deployers and enable only
 the ghost deployer by default. However it should create a dummy
 Axis2Service which has the same service name as the real service. And 
 also
 it has to keep the file name of the real artifact. When the request comes
 in, we have to deploy the real service programmetically by calling the
 appropriate deployer and dispatch the request.

 Is this the approach that you are suggesting?

 Thanks,
 ~Isuru



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


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




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


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




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




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

 lean . enterprise . middleware




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

 lean . enterprise . middleware




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




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

Re: [Carbon-dev] [Architecture] [Stratos] Ghost service deployers

2011-11-20 Thread Isuru Suriarachchi
I didn't have much time for this during the weekend due to my exams. Will
send it today..

On Mon, Nov 21, 2011 at 8:34 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 2nd reminder. Send the Crucible link ASAP.


 On Sat, Nov 19, 2011 at 6:33 AM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Please create a Crucible project for the Ghost deployer feature  send
 the link for review. Please add me as a reviewer.

 Thanks
 Azeez


 On Mon, Jul 18, 2011 at 10:50 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Mon, Jul 18, 2011 at 12:06 AM, Afkham Azeez az...@wso2.com wrote:

 This is an idea I got for improving Stratos performance  optimizing
 resource usage. Instead of loading all artifacts deployed by a tenant, the
 ghost deployers will create ghost services corresponding to the real
 services. We will have a special type of Axis2 dispatcher which will load
 the real service, if not already deployed, and dispatch to that service.
 This will reduce the memory consumption, as well as improve the response
 times of the very first requests sent by the tenants.


 So we'll have to disable all existing Axis2 deployers and enable only
 the ghost deployer by default. However it should create a dummy
 Axis2Service which has the same service name as the real service. And also
 it has to keep the file name of the real artifact. When the request comes
 in, we have to deploy the real service programmetically by calling the
 appropriate deployer and dispatch the request.

 Is this the approach that you are suggesting?

 Thanks,
 ~Isuru



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


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




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


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




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




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

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


Re: [Carbon-dev] Completing work on Ghost deployment

2011-11-15 Thread Isuru Suriarachchi
On Tue, Nov 15, 2011 at 2:50 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Can you complete the rest of the work on this in terms of the other minor
 improvements you had in mind, and also implementing this for webapps?

 Can we also make this part of the mainstream product platform. I think we
 should have a parameter to turn ghost deployment on/off, with the default
 being on.


Yes +1, I'm planning to work on this soon.

Thanks,
~Isuru



 Thanks
 Azeez

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




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

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


Re: [Carbon-dev] Completing work on Ghost deployment

2011-11-15 Thread Isuru Suriarachchi
On Wed, Nov 16, 2011 at 6:34 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Nov 16, 2011 at 6:23 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Tue, Nov 15, 2011 at 2:50 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Can you complete the rest of the work on this in terms of the other
 minor improvements you had in mind, and also implementing this for webapps?

 Can we also make this part of the mainstream product platform. I think
 we should have a parameter to turn ghost deployment on/off, with the
 default being on.


 Yes +1, I'm planning to work on this soon.


 Please make sure that this gets completed soon, so that we can consider
 this feature 100% complete. Also, we replace the Ghost service with the
 real service once a request for that service comes in. This is not exactly
 the ghost variant of lazy loading, but the virtual proxy variant. Ghost
 deployment sounds rather funky though :)

 1. We should be populating the Ghost service with more information,
 instead of creating a new one. Can that be done?


I don't think so.. If we load all needed stuff into Ghost, that won't be a
Ghost.. :)



 2. In the current implementation, does the old Ghost service properly get
 garbage collected?


I'm sure it does.. There's no reference to Ghost service after it is
unloaded. But we have to profile and confirm..



 3. Once services get unloaded, does everything get properly garbage
 collected? Please run the code with a profiler  see whaether this leads to
 long term memory leaks.


+1, let's profile..



 You can get SupunM to help with some of the tasks. We should also write
 the research paper proposed by Srinath. Once we have done that, we can
 consider this task 100% complete.


Yes, I've already got plans on that. Anyway I have to manage this with the
backlog of other stuff to be done.

Thanks,
~Isuru



 Thanks,
 ~Isuru



 Thanks
 Azeez

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




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




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

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


Re: [Carbon-dev] Completing work on Ghost deployment

2011-11-15 Thread Isuru Suriarachchi
On Wed, Nov 16, 2011 at 7:20 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Nov 16, 2011 at 6:44 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Nov 16, 2011 at 6:34 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Nov 16, 2011 at 6:23 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Tue, Nov 15, 2011 at 2:50 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Can you complete the rest of the work on this in terms of the other
 minor improvements you had in mind, and also implementing this for 
 webapps?

 Can we also make this part of the mainstream product platform. I think
 we should have a parameter to turn ghost deployment on/off, with the
 default being on.


 Yes +1, I'm planning to work on this soon.


 Please make sure that this gets completed soon, so that we can consider
 this feature 100% complete. Also, we replace the Ghost service with the
 real service once a request for that service comes in. This is not exactly
 the ghost variant of lazy loading, but the virtual proxy variant. Ghost
 deployment sounds rather funky though :)

 1. We should be populating the Ghost service with more information,
 instead of creating a new one. Can that be done?


 I don't think so.. If we load all needed stuff into Ghost, that won't be
 a Ghost.. :)


 That is not the concept. The concept of a ghost is that it starts off as a
 ghost, and then comes to life. The important thing to note is, it is a
 single object that goes from being a ghost to a real object. Strictly
 speaking, what we have now is a virtual proxy, not a ghost.


Yeah, true. But we shouldn't bother about the theory as far as our
implementation works as expected. Isn't it? :)





 2. In the current implementation, does the old Ghost service properly
 get garbage collected?


 I'm sure it does.. There's no reference to Ghost service after it is
 unloaded. But we have to profile and confirm..



 3. Once services get unloaded, does everything get properly garbage
 collected? Please run the code with a profiler  see whaether this leads to
 long term memory leaks.


 +1, let's profile..



 You can get SupunM to help with some of the tasks. We should also write
 the research paper proposed by Srinath. Once we have done that, we can
 consider this task 100% complete.


 Yes, I've already got plans on that. Anyway I have to manage this with
 the backlog of other stuff to be done.

 Thanks,
 ~Isuru



 Thanks,
 ~Isuru



 Thanks
 Azeez

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




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




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




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

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


Re: [Carbon-dev] Completing work on Ghost deployment

2011-11-15 Thread Isuru Suriarachchi
On Wed, Nov 16, 2011 at 7:35 AM, Afkham Azeez az...@wso2.com wrote:

 Shall we plan to have this completed by the end of this month?


+1. I'm OK with end of this month.


 If we leave the last 5% without completing, that bit generally gets
 forgotten.

 On Wed, Nov 16, 2011 at 6:34 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Nov 16, 2011 at 6:23 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Tue, Nov 15, 2011 at 2:50 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru,
 Can you complete the rest of the work on this in terms of the other
 minor improvements you had in mind, and also implementing this for webapps?

 Can we also make this part of the mainstream product platform. I think
 we should have a parameter to turn ghost deployment on/off, with the
 default being on.


 Yes +1, I'm planning to work on this soon.


 Please make sure that this gets completed soon, so that we can consider
 this feature 100% complete. Also, we replace the Ghost service with the
 real service once a request for that service comes in. This is not exactly
 the ghost variant of lazy loading, but the virtual proxy variant. Ghost
 deployment sounds rather funky though :)

 1. We should be populating the Ghost service with more information,
 instead of creating a new one. Can that be done?

 2. In the current implementation, does the old Ghost service properly get
 garbage collected?

 3. Once services get unloaded, does everything get properly garbage
 collected? Please run the code with a profiler  see whaether this leads to
 long term memory leaks.

 You can get SupunM to help with some of the tasks. We should also write
 the research paper proposed by Srinath. Once we have done that, we can
 consider this task 100% complete.


 Thanks,
 ~Isuru



 Thanks
 Azeez

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




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




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




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

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


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

2011-10-25 Thread Isuru Suriarachchi
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Kasun Weranga
  Software Engineer
  WSO2, Inc.
  lean.enterprise.middleware.
  mobile : +94 772314602
  blog :http://kasunweranga.blogspot.com/
 
  ___
  Stratos-dev mailing list
  stratos-...@wso2.org
  https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
 
 
 
  ___
  Stratos-dev mailing list
  stratos-...@wso2.org
  https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
 
 
 
 
  --
  Hasini Randika Yatawatte,
  Software Engineer.
  WSO2 Inc.
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



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




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

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


Re: [Carbon-dev] [Stratos-dev] Issue when engaging a module in a tenant from the UI before invoking the service

2011-10-22 Thread Isuru Suriarachchi
No we can fix this properly. I'll fix it..

Thanks,
~Isuru

On Sat, Oct 22, 2011 at 9:58 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi,

 When testing with the latest packs I noticed that all services may it be
 jar-service, spring service, or mashups etc, the service type initially is
 shown as *axis2* in the service listing page. Once the service is invoked
 (actual service is loaded), and you refresh the service list, then its
 displays the correct service type.

 Listing type as axis2 for GD services are misleading IMO, may be could
 indicate as a GD service or else show the correct service type (as mashup,
 jar, spring) ?


 On Thu, Oct 13, 2011 at 12:57 PM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Oct 13, 2011 at 12:55 PM, Isuru Suriarachchi is...@wso2.comwrote:

 I went through the implementation. But why do we load modules here and
 there? I think if we get rid of module persistence overhead, that will be
 enough to improve the tenant loading time. Without persistence, module
 loading won't get much time. Isn't it?

 If we do this in the way it's currently done, there are many places where
 we have to check whether the modules are loaded and load them if not already
 done. Isn't it too much trouble for a very little gain?


 To make this decision, you have to first do a perf comparison.

 1. With module persistence
 2. Without module persistence
 3. Without persistence with a reasonable number of modules (~10)

 Need to compare the overhead for simple webapp cases. In the case of
 webapps, we don't need module loading.



 Thanks,
 ~Isuru

 On Tue, Oct 11, 2011 at 8:50 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Mon, Oct 10, 2011 at 10:42 AM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 Looks like the recent module changes are causing a NPE when trying to
 engage a module for a fresh service. I tried this on Stratos 1.5.2.

 How to reproduce..
 1. Log into a tenant
 2. Upload a fresh service
 3. Try to engage a module (Throttling, Caching, Security etc.) from the
 UI

 This doesn't happen if I try to do it after invoking the service once.
 I think this is because the modules are only loaded into the AxisConfig 
 when
 the first request comes in. Amila, can you please fix this?


 yes there are some issues with the new improvement.

 We need to fix this with the service deployment.

 When a service get deployed for the first time, since we don't know the
 service details it has to load all the modules (if not loaded) and deploy
 the service at the Ghost deployer level. (service already may engaged those
 modules) see the MTMR to how to do that.

 Then need to persists the engaged module details and load the modules at
 the MTMR level if someone try to invoke the service at the second time.

 Then need to fix at the module management service level as well. If some
 one invokes the module management UI (like in service management UI) then
 again need to load all the modules.

 Can you please add those features? I am in the support week and need to
 prepare for an on site work.

 thanks,
 Amila.


 Thanks,
 ~Isuru

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

 lean . enterprise . middleware





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

 lean . enterprise . middleware




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




 --
 Thanks,
 Shariq.




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

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


Re: [Carbon-dev] [AS] Class path contains multiple SLF4J bindings

2011-10-14 Thread Isuru Suriarachchi
On Fri, Oct 14, 2011 at 1:58 PM, Afkham Azeez az...@wso2.com wrote:

 I just realized that Samisa has seen this bug on the released AS 4.1.0.
 This is a bug in that release. We fixed it just before we launched
 StratosLive.


So the fix makes sure that only one slf4j (or any other jar) will be loaded
even if there are multiple jars in the class path right?? Is this committed
to 3.2.2 and trunk? If so, let's resolve the JIRA.

Thanks,
~Isuru




 On Fri, Oct 14, 2011 at 12:18 PM, Afkham Azeez az...@wso2.com wrote:

 Oh! This was a bug we fixed in CarbonBootstrap class. It was recursively
 loading jars, instead of loading it only from one level. Can you please
 compare these classes in trunk  the 3.2.1 branch?


 On Fri, Oct 14, 2011 at 10:57 AM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi Samisa,

 Are you using a fresh AS instance? It looks like the following slf4j jar
 is coming from some custom webapp that you've deployed.


 /lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.
 8.jar

 On a fresh AS instance, I can't find any non-osgi slf4j jar.

 isuru@isuru-laptop:~/releases/as/410/temp/wso2as-4.1.0$ find . -iname
 slf4j*

 ./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-api-1.5.10.jar

 ./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-log4j12-1.5.10.jar

 ./repository/components/configuration/org.eclipse.osgi/bundles/58/1/.cp/slf4j-log4j12-1.4.3.jar

 Can you please double check how the above slf4j jar gets in? Or try with
 a fresh AS instance?

 Thanks,
 ~Isuru

 On Fri, Oct 14, 2011 at 10:45 AM, Samisa Abeysinghe sam...@wso2.comwrote:

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


 On Fri, Oct 14, 2011 at 10:36 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Fri, Oct 14, 2011 at 10:31 AM, Samisa Abeysinghe 
 sam...@wso2.comwrote:



 On Fri, Oct 14, 2011 at 9:28 AM, Rajika Kumarasiri 
 raj...@wso2.comwrote:

 slfj4 is bundled with qpid-client library and it's required for CSG.
 You can either remove qpid-client jar


 I did this and it worked.

 However, this is a blocker and must be fixed in the next release. AS
 folks, please note.


 Sure, can you please create a JIRA with the full stack trace..

 Thanks,
 ~Isuru





 (if you don't use CSG) or remove the slf4j library in WEB-INF/lib
 folder.

 Rajika

 On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

  I cannot start AS 4.1.0 on my machine.

 I am on Windows 7 and JVM is
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoSuchMethodError:
 org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
 at
 org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:137)
 at org.wso2.carbon.server.Main.start(Main.java:78)
 ... 6 more

 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

 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




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

Re: [Carbon-dev] [AS] Class path contains multiple SLF4J bindings

2011-10-13 Thread Isuru Suriarachchi
I can remember this issue on linux as well. But we fixed it somehow. But I'm
not sure on windows..

~Isuru

On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 I cannot start AS 4.1.0 on my machine.

 I am on Windows 7 and JVM is
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoSuchMethodError:
 org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
 at
 org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:137)
 at org.wso2.carbon.server.Main.start(Main.java:78)
 ... 6 more

 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




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

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


Re: [Carbon-dev] [AS] Class path contains multiple SLF4J bindings

2011-10-13 Thread Isuru Suriarachchi
On Thu, Oct 13, 2011 at 11:00 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Thu, Oct 13, 2011 at 8:43 PM, Isuru Suriarachchi is...@wso2.comwrote:

 I can remember this issue on linux as well. But we fixed it somehow. But
 I'm not sure on windows..


 Was this fixed for the release pack or as a patch?


This was fixed before the release. Charitha, did you notice this on Windows?





 ~Isuru

 On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I cannot start AS 4.1.0 on my machine.

 I am on Windows 7 and JVM is
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoSuchMethodError:
 org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
 at
 org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:137)
 at org.wso2.carbon.server.Main.start(Main.java:78)
 ... 6 more

 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




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

 lean . enterprise . middleware


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

 Thanks,
 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




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

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


Re: [Carbon-dev] [AS] Class path contains multiple SLF4J bindings

2011-10-13 Thread Isuru Suriarachchi
On Fri, Oct 14, 2011 at 10:31 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Fri, Oct 14, 2011 at 9:28 AM, Rajika Kumarasiri raj...@wso2.comwrote:

 slfj4 is bundled with qpid-client library and it's required for CSG. You
 can either remove qpid-client jar


 I did this and it worked.

 However, this is a blocker and must be fixed in the next release. AS folks,
 please note.


Sure, can you please create a JIRA with the full stack trace..

Thanks,
~Isuru





 (if you don't use CSG) or remove the slf4j library in WEB-INF/lib folder.

 Rajika

 On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe sam...@wso2.comwrote:

  I cannot start AS 4.1.0 on my machine.

 I am on Windows 7 and JVM is
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoSuchMethodError:
 org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
 at
 org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:137)
 at org.wso2.carbon.server.Main.start(Main.java:78)
 ... 6 more

 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

 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




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

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


Re: [Carbon-dev] [AS] Class path contains multiple SLF4J bindings

2011-10-13 Thread Isuru Suriarachchi
Hi Samisa,

Are you using a fresh AS instance? It looks like the following slf4j jar is
coming from some custom webapp that you've deployed.

/lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.
8.jar

On a fresh AS instance, I can't find any non-osgi slf4j jar.

isuru@isuru-laptop:~/releases/as/410/temp/wso2as-4.1.0$ find . -iname slf4j*
./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-api-1.5.10.jar
./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-log4j12-1.5.10.jar
./repository/components/configuration/org.eclipse.osgi/bundles/58/1/.cp/slf4j-log4j12-1.4.3.jar

Can you please double check how the above slf4j jar gets in? Or try with a
fresh AS instance?

Thanks,
~Isuru

On Fri, Oct 14, 2011 at 10:45 AM, Samisa Abeysinghe sam...@wso2.com wrote:

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


 On Fri, Oct 14, 2011 at 10:36 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Fri, Oct 14, 2011 at 10:31 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Fri, Oct 14, 2011 at 9:28 AM, Rajika Kumarasiri raj...@wso2.comwrote:

 slfj4 is bundled with qpid-client library and it's required for CSG. You
 can either remove qpid-client jar


 I did this and it worked.

 However, this is a blocker and must be fixed in the next release. AS
 folks, please note.


 Sure, can you please create a JIRA with the full stack trace..

 Thanks,
 ~Isuru





 (if you don't use CSG) or remove the slf4j library in WEB-INF/lib
 folder.

 Rajika

 On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe sam...@wso2.comwrote:

  I cannot start AS 4.1.0 on my machine.

 I am on Windows 7 and JVM is
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoSuchMethodError:
 org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
 at
 org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:137)
 at org.wso2.carbon.server.Main.start(Main.java:78)
 ... 6 more

 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

 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




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

 lean . enterprise . middleware


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

 Thanks,
 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




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

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


[Carbon-dev] Issue when engaging a module in a tenant from the UI before invoking the service

2011-10-10 Thread Isuru Suriarachchi
Hi all,

Looks like the recent module changes are causing a NPE when trying to engage
a module for a fresh service. I tried this on Stratos 1.5.2.

How to reproduce..
1. Log into a tenant
2. Upload a fresh service
3. Try to engage a module (Throttling, Caching, Security etc.) from the UI

This doesn't happen if I try to do it after invoking the service once. I
think this is because the modules are only loaded into the AxisConfig when
the first request comes in. Amila, can you please fix this?

Thanks,
~Isuru

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

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


Re: [Carbon-dev] Issue when engaging a module in a tenant from the UI before invoking the service

2011-10-10 Thread Isuru Suriarachchi
Ok, I'll look into that..

Thanks,
~Isuru

On Tue, Oct 11, 2011 at 8:50 AM, Amila Suriarachchi am...@wso2.com wrote:



 On Mon, Oct 10, 2011 at 10:42 AM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 Looks like the recent module changes are causing a NPE when trying to
 engage a module for a fresh service. I tried this on Stratos 1.5.2.

 How to reproduce..
 1. Log into a tenant
 2. Upload a fresh service
 3. Try to engage a module (Throttling, Caching, Security etc.) from the UI

 This doesn't happen if I try to do it after invoking the service once. I
 think this is because the modules are only loaded into the AxisConfig when
 the first request comes in. Amila, can you please fix this?


 yes there are some issues with the new improvement.

 We need to fix this with the service deployment.

 When a service get deployed for the first time, since we don't know the
 service details it has to load all the modules (if not loaded) and deploy
 the service at the Ghost deployer level. (service already may engaged those
 modules) see the MTMR to how to do that.

 Then need to persists the engaged module details and load the modules at
 the MTMR level if someone try to invoke the service at the second time.

 Then need to fix at the module management service level as well. If some
 one invokes the module management UI (like in service management UI) then
 again need to load all the modules.

 Can you please add those features? I am in the support week and need to
 prepare for an on site work.

 thanks,
 Amila.


 Thanks,
 ~Isuru

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

 lean . enterprise . middleware





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

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


[Carbon-dev] Carbon 3.2.2 : Compilation failure in CSG component

2011-10-06 Thread Isuru Suriarachchi
[INFO]

[INFO] Building CSG Agent module
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 7 source files to
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[INFO] 2 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown


[INFO]

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



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

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


Re: [Carbon-dev] Carbon 3.2.2 : Compilation failure in CSG component

2011-10-06 Thread Isuru Suriarachchi
This was due to a corrupted jar in my local maven repo. Got it sorted out..

Thanks,
~Isuru

On Fri, Oct 7, 2011 at 10:27 AM, Isuru Suriarachchi is...@wso2.com wrote:

 [INFO]
 
 [INFO] Building CSG Agent module
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Compiling 7 source files to
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
 unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
 caught or declared to be thrown

 [ERROR]
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
 unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
 caught or declared to be thrown

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

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
 unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
 caught or declared to be thrown

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
 unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
 caught or declared to be thrown


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


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

 lean . enterprise . middleware




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

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


[Carbon-dev] Error while building carbon core in trunk

2011-10-04 Thread Isuru Suriarachchi
)
at
org.apache.felix.scrplugin.tags.JavaClassDescriptionInheritanceComparator.compare(JavaClassDescriptionInheritanceComparator.java:73)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1282)
at java.util.Arrays.sort(Arrays.java:1210)
at
org.apache.felix.scrplugin.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:111)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.core.runtime.IRegistryChangeListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 45 more
[INFO]




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

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


[Carbon-dev] Installing BAM features on G-Reg (Carbon 3.2.0)

2011-08-30 Thread Isuru Suriarachchi
Hi All,

I'm trying to install BAM features on top of G-Reg. Here are the steps I
followed.

1. Extracted a new G-Reg
2. Installed the Business Activity Monitor 3.2.0 feature from the Feature
Manager
3. Restarted the Server with -Dsetup

Then I got a CNF on startup for oracle.jdbc.driver.OracleDriver. By
comparing with a pure BAM instance, I figured out this happens due to some
data services inside repository/deployment/server/dataservices/oracle
folder.

4. Then I deleted repository/deployment/server/dataservices/oracle folder
and restarted.

Then the server started up without errors. But when accessing the Main
Dashboard, I got the following exception on the console.

[2011-08-30 04:55:18,159] ERROR {org.wso2.carbon.dashboard.DashboardService}
-  Resource does not exist at path
/_system/config/repository/dashboards/bam/tabs/0
org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource
does not exist at path /_system/config/repository/dashboards/bam/tabs/0
   at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:518)
   at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:109)

So do I have to manually put these dashboard related resources into
registry? Or is there some other easy way to do that? Can someone please
send me the complete set of steps needed?

Thanks,
~Isuru

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

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


Re: [Carbon-dev] wso2throttle and Neethi 3.0.x incompatibility

2011-08-22 Thread Isuru Suriarachchi
On Mon, Aug 22, 2011 at 10:17 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Amila,

 1_6 branches of Axis2, Rampart is still dependent on Neethi 2.0.x. There
 are some huge API changes for Neethi 3.0.x which are not backward
 compatible. So currently only Axis2 and Rampart trunks are depending on
 Neethi 3.0.x. This is a collective decision took sometime back both in WSO2
 and Axis2 community.


Yes, but to fix the issue in trunk which is described by Amila, we have to
fix the throttle trunk. If both Axis2 and Synapse trunks depend on Neethi
3.0.x, we have to make the Throttle trunk compatible with Neethi 3.0.x.

Thanks,
~Isuru



 Thanks,
 Thilina

 On Mon, Aug 22, 2011 at 2:44 AM, Amila Silva ami...@wso2.com wrote:

 Hi devs,

 I ran into this issue while working on synapse sample automation
 framework.

 There has been (apparently) a typo in the class name
 org.apache.neethi.builders.xml.XmlPrimtiveAssertion in Neethi 2.0.x
 releases.
 This has been fixed in Neethi 3.0.x to org.apache.neethi.builders.xml.Xml
 *Primitive*Assertion.

 However org.wso2.throttle.ThrottleFactory (in trunk [1]) still uses
 XmlPrimtiveAssertion.

 Synpase uses wso2throttle snapshot version for throttle mediator. Due to
 above issue, Neethi 3.0.x cannot be used.

 According to [2], Axis2 version (1.7.0-SNAPSHOT) used by Synapse requires
 Neethi 3.0.x.

 Therefore synapse's WS-Security and WS-RM samples (Sample100, Sample101
 [3]) don't work when Neethi 2.0.x is used.
 (java.lang.NoSuchMethodError:
 org.apache.neethi.Policy.normalize(Z)Lorg/apache/neethi/Policy;)

 Changing Neethi version to 3.0.x breaks the throttling samples (Sample370,
 Sample 371...)
 (java.lang.NoClassDefFoundError:
 org/apache/neethi/builders/xml/XmlPrimtiveAssertion)

 This should be solved from wso2throttle side, right?

 [1] - http://wso2.org/repos/wso2/trunk/commons/throttle
 [2] - https://issues.apache.org/jira/browse/SYNAPSE-788
 [3] - http://synapse.apache.org/Synapse_Samples.html#Sample100

 --
 Regards,
 Amila Manoj


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




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

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

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




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

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


[Carbon-dev] Error while building CSG 3.2.2 component

2011-08-19 Thread Isuru Suriarachchi
[INFO] Building CSG Agent module
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 7 source files to
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[INFO] 2 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown


[INFO]

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



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

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


[Carbon-dev] Error while building Dashboard 3.2.2 component

2011-08-19 Thread Isuru Suriarachchi
[INFO] Building WSO2 Carbon - Dashboard BE
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 9 source files to
/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,50]
cannot find symbol
symbol  : variable PRODUCT_SERVER_NAME
location: class org.wso2.carbon.dashboard.common.DashboardConstants

[ERROR]
/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,113]
cannot find symbol
symbol  : variable SERVICE_SERVER_NAME
location: class org.wso2.carbon.dashboard.common.DashboardConstants

[INFO] 2 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,50]
cannot find symbol
symbol  : variable PRODUCT_SERVER_NAME
location: class org.wso2.carbon.dashboard.common.DashboardConstants

/home/isuru/checkouts/wso2/branches/carbon320/components/dashboard/org.wso2.carbon.dashboard/3.2.2/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,113]
cannot find symbol
symbol  : variable SERVICE_SERVER_NAME
location: class org.wso2.carbon.dashboard.common.DashboardConstants


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

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


Re: [Carbon-dev] start up error

2011-08-18 Thread Isuru Suriarachchi
Yes, for me the complain was for AxisFault and I fixed it and didn't get
anything after that. But here it's org.apache.axis2.description.Parameter.
Anyway I'll have a look.

Thanks,
~Isuru

On Thu, Aug 18, 2011 at 7:44 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru got something similar. This is because carbon.utils is inside
 CARBON_HOME/lib.


 On Thu, Aug 18, 2011 at 6:34 PM, Amila Suriarachchi am...@wso2.comwrote:

 hi,

 I am getting this error when try to start the MB (trunk) with the
 jprofiler.

 JProfiler Protocol version 28
 JProfiler Using JVMTI
 JProfiler JVMTI version 1.1 detected.
 JProfiler 64-bit library
 JProfiler Listening on port: 8849.
 JProfiler Instrumenting native methods.
 JProfiler Can retransform classes.
 JProfiler Native library initialized
 JProfiler VM initialized
 JProfiler Waiting for a connection from the JProfiler GUI ...
 JProfiler Using dynamic instrumentation
 JProfiler Time measurement: elapsed time
 JProfiler CPU profiling enabled
 JProfiler Hotspot compiler enabled
 JProfiler Starting org/wso2/carbon/bootstrap/Bootstrap ...

 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 Caused by: java.lang.NoClassDefFoundError:
 org/apache/axis2/description/Parameter
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:138)
 at org.wso2.carbon.server.Main.start(Main.java:113)
 ... 6 more
 Caused by: java.lang.ClassNotFoundException:
 org.apache.axis2.description.Parameter
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 ... 8 more


 thanks,
 Amila.

 ___
 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




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

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


Re: [Carbon-dev] Upgrading the OpenSAML2 version to 2.5.1

2011-08-18 Thread Isuru Suriarachchi
Thilina, will this resolve the issue when building the 3.2.2 branch?

On Fri, Aug 19, 2011 at 10:05 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 We are planning to upgrade the OpenSAML2 version in trunk to 2.5.1 which
 contains some critical security fixes. Anyway we will have to do a version
 change for the OpenSAML2 orbit bundle after extracting out SLF4J to a
 separate orbit. So the plan is to carry out both these changes at once.

 Thanks,
 Thilina

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

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

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




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

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


Re: [Carbon-dev] Generating the JAX-WS service skeleton code from WSDL file

2011-08-10 Thread Isuru Suriarachchi
Hi Melan,

Sagara has already made our WSDL2Java and Java2WSDL tools JAX-WS aware. It
will be coming out soon. So after that, you can directly use those tools.

Until then, it's ok to ask the user to point to his JDK before creating a
JAX-WS Service.

Thanks,
~Isuru

On Wed, Aug 10, 2011 at 10:31 PM, Melan Nimesh me...@wso2.com wrote:

 Hi,

 I am currently implementing  JAX-WS artifacts wizard for carbon studio
 (Trunk) and found some limitations while implementing $subject feature

- *wsimport* tool only available in JDK, so it only available to
eclipse if it's running on JDK
- *wsimport* tool / *jaxws-tools.jar* not purely support for service
skeleton generation

 there are four options for implementing $subject

- use *wsimport *tool and recommend to use JDK with carbon studio
- use *jaxws-tools.jar  and* ship *jaxws-tools.jar *with carbon studio*
*(license type of jaxws-tools* - *CDDL)
- use *wsimport *tool and allow users to point JDK in artifacts wizard
if eclipse running on JRE
- use *wsimport *tool / *jaxws-tools.jar* and allow users to point
JAX-WS supported  server run-time environment (eg. WSO2 AS, Glassfish AS)

 What would be the best option? Any Thoughts?

 Thanks
 --Melan

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




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

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


Re: [Carbon-dev] Issue with wsdl2java tool..

2011-08-04 Thread Isuru Suriarachchi
On Thu, Aug 4, 2011 at 1:43 PM, Sameera Jayasoma same...@wso2.com wrote:

 But we are using a newer version of Axis2 in AS 4.1.0. Can you try with the
 corresponding Axis2 version.


+1. If it still doesn't work, please create a JIRA.

Thanks,
~Isuru



 Sameera.


 On Thursday, August 4, 2011, Vijayaratha Vijayasingam rat...@wso2.com
 wrote:
  Hi,
  I tested with axis2 1.5 it generates stubs..but not working in AS 4.1.0..
 
  -Ratha
 
  On 3 August 2011 23:33, Vijayaratha Vijayasingam rat...@wso2.com
 wrote:
 
  Hi,
 
  My wsdl v2.0 contains import schemas and i want to generate stubs..
  I copied all files in AS_HOME/bin/sample
  and executing;
  #bin/sample..\wsdl2java.bat -wv 2.0 -uri
 bin\sample\DIVArchiveWS_REST.wsdl
 
  But it is not generating stub *.zip file...There is no any error logs @
 console, but getting an wooden warning ;
 
 
  BUILD SUCCESSFUL
  Total time: 2 seconds
  Using CARBON_HOME:   C:\Downloads\wso2as-4.1.0
  Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_20
  log4j:WARN No appenders could be found for logger
 (org.apache.axis2.description.WSDL20ToAxisServiceB
  uilder).
  log4j:WARN Please initialize the log4j system properly.
  Woden[Warning],0:0,Description-1001,The targetNamespace '
 http://www.fpdigital.com/diva.ws' is not de
  referencable.
  C:\Downloads\wso2as-4.1.0\bin\sample
 
  Why the tool does not generate stubs?
 
  -Ratha
 
 
 
 
 
 
 

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




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

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


Re: [Carbon-dev] Issue with wsdl2java tool..

2011-08-04 Thread Isuru Suriarachchi
This is only on Windows. Isn't it?

On Thu, Aug 4, 2011 at 5:19 PM, Vijayaratha Vijayasingam rat...@wso2.comwrote:

 I tested with axis2 1.6.0 and works..couldn't test with 1.6.1(there is an
 issue,script is not running...)

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

 -Ratha


 On 4 August 2011 14:36, Isuru Suriarachchi is...@wso2.com wrote:



 On Thu, Aug 4, 2011 at 1:43 PM, Sameera Jayasoma same...@wso2.comwrote:

 But we are using a newer version of Axis2 in AS 4.1.0. Can you try with
 the corresponding Axis2 version.


 +1. If it still doesn't work, please create a JIRA.

 Thanks,
 ~Isuru



 Sameera.


 On Thursday, August 4, 2011, Vijayaratha Vijayasingam rat...@wso2.com
 wrote:
  Hi,
  I tested with axis2 1.5 it generates stubs..but not working in AS
 4.1.0..
 
  -Ratha
 
  On 3 August 2011 23:33, Vijayaratha Vijayasingam rat...@wso2.com
 wrote:
 
  Hi,
 
  My wsdl v2.0 contains import schemas and i want to generate stubs..
  I copied all files in AS_HOME/bin/sample
  and executing;
  #bin/sample..\wsdl2java.bat -wv 2.0 -uri
 bin\sample\DIVArchiveWS_REST.wsdl
 
  But it is not generating stub *.zip file...There is no any error logs
 @ console, but getting an wooden warning ;
 
 
  BUILD SUCCESSFUL
  Total time: 2 seconds
  Using CARBON_HOME:   C:\Downloads\wso2as-4.1.0
  Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_20
  log4j:WARN No appenders could be found for logger
 (org.apache.axis2.description.WSDL20ToAxisServiceB
  uilder).
  log4j:WARN Please initialize the log4j system properly.
  Woden[Warning],0:0,Description-1001,The targetNamespace '
 http://www.fpdigital.com/diva.ws' is not de
  referencable.
  C:\Downloads\wso2as-4.1.0\bin\sample
 
  Why the tool does not generate stubs?
 
  -Ratha
 
 
 
 
 
 
 

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




 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server

 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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



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




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

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


Re: [Carbon-dev] MultiThreadedHttpConnectionManager.shutdownAll(); not called on ConfigurationContext termination

2011-08-02 Thread Isuru Suriarachchi
Here is the JIRA that I created for this issue..

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

Thanks,
~Isuru

On Tue, Aug 2, 2011 at 6:15 PM, Afkham Azeez az...@wso2.com wrote:

 There is a related JIRA AXIS2-4898 but the fi has been done in the
 AxisServlet only, which does not completely fix the problem.


 On Tue, Aug 2, 2011 at 5:39 PM, Afkham Azeez az...@wso2.com wrote:

 This seems to be an Axis2 bug, which showed up as a memory leak in our
 webapp sample.

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




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

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


Re: [Carbon-dev] MultiThreadedHttpConnectionManager.shutdownAll(); not called on ConfigurationContext termination

2011-08-02 Thread Isuru Suriarachchi
On Tue, Aug 2, 2011 at 7:22 PM, Afkham Azeez az...@wso2.com wrote:

 Here is the patch that will fix this. Can the AS team take over from here.


Sure..

Thanks,
~Isuru



 Index: modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 ===
 --- modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java 
 (revision
 110927)
 +++ modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (working
 copy)
 @@ -1449,6 +1449,9 @@
  if (this.engagedModules != null) {
  this.engagedModules.clear();
  }
 +for (TransportOutDescription transportOutDescription :
 transportsOut.values()) {
 +transportOutDescription.getSender().stop();
 +}
  this.configurator = null;
  }

 Index:
 modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
 ===
 ---
 modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
  (revision
 110927)
 +++
 modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
  (working
 copy)
 @@ -192,6 +192,7 @@

  public void stop() {
  // Any code that , need to invoke when sender stop
 +MultiThreadedHttpConnectionManager.shutdownAll();
  }

  public InvocationResponse invoke(MessageContext msgContext)

 On Tue, Aug 2, 2011 at 6:21 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Here is the JIRA that I created for this issue..

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

 Thanks,
 ~Isuru

 On Tue, Aug 2, 2011 at 6:15 PM, Afkham Azeez az...@wso2.com wrote:

 There is a related JIRA AXIS2-4898 but the fi has been done in the
 AxisServlet only, which does not completely fix the problem.


 On Tue, Aug 2, 2011 at 5:39 PM, Afkham Azeez az...@wso2.com wrote:

 This seems to be an Axis2 bug, which showed up as a memory leak in our
 webapp sample.

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




 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server

 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




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




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

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


Re: [Carbon-dev] How are we going to handle carbon.platform.patch.version property for 3.2.2 patch release

2011-07-21 Thread Isuru Suriarachchi
On Fri, Jul 22, 2011 at 1:51 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 *carbon.platform.patch.version* is already used as a property in poms
 under 3.2.1 patch release. As 3.2.2 is also a patch release, poms under
 3.2.2 will require to have both 3.2.1 and 3.2.2 dependencies/components,
 etc. So in this case under 3.2.2 poms, we *can't* define a property as,
 carbon.platform.patch.version3.2.2/carbon.platform.patch.version

 But the problem is carbon.platform.patch.version is generic. For 3.2.2 we
 have to define a property. For eg:

 carbon.platform.patch.version.3223.2.2/carbon.platform.patch.version.322


I thinks this is ok. In 3.2.2 poms define two properties as follows.

carbon.platform.patch.version.3213.2.1/carbon.platform.patch.version.321
carbon.platform.patch.version.3223.2.2/carbon.platform.patch.version.322

Thanks,
~Isuru



 So what name are we going to give?. Suggestions welcome.

 thanks,
 --
 Supun Malinga,

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


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




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

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


Re: [Carbon-dev] Remove Echo, Version services from products which don't want them

2011-07-20 Thread Isuru Suriarachchi
On Wed, Jul 20, 2011 at 3:38 PM, Tharindu Mathew thari...@wso2.com wrote:

 If having two services introduces a significant overhead, then we have
 another problem :)


No they don't introduce a significant overhead. But why do we keep
unnecessary stuff? You can keep those if you like :).



 On Wed, Jul 20, 2011 at 10:23 AM, Isuru Suriarachchi is...@wso2.comwrote:

 $subject please. Yesterday, Senaka pointed out that products like G-Reg,
 MS, GS and IS are shipping above services which are coming from Carbon core.
 If those are not relevant to your product, please exclude those using the
 bin.xml in the distribution module of the product. This will speed up the
 startup and also avoid unnecessary resource consumption in the config
 registry.

 Thanks,
 ~Isuru

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

 lean . enterprise . middleware


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




 --
 Regards,

 Tharindu


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




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

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


Re: [Carbon-dev] Remove Echo, Version services from products which don't want them

2011-07-20 Thread Isuru Suriarachchi
On Wed, Jul 20, 2011 at 4:00 PM, Rajika Kumarasiri raj...@wso2.com wrote:



 On Wed, Jul 20, 2011 at 3:51 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Jul 20, 2011 at 3:38 PM, Tharindu Mathew thari...@wso2.comwrote:

 If having two services introduces a significant overhead, then we have
 another problem :)


 No they don't introduce a significant overhead. But why do we keep
 unnecessary stuff? You can keep those if you like :).


 When a user download the product they use echo, version services to things
 out. Those are not unnecessary stuffs.


In GS, BAM, IS, G-Reg ?? I don't think so :).



 Rajika

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




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

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


[Carbon-dev] Remove Echo, Version services from products which don't want them

2011-07-19 Thread Isuru Suriarachchi
$subject please. Yesterday, Senaka pointed out that products like G-Reg, MS,
GS and IS are shipping above services which are coming from Carbon core. If
those are not relevant to your product, please exclude those using the
bin.xml in the distribution module of the product. This will speed up the
startup and also avoid unnecessary resource consumption in the config
registry.

Thanks,
~Isuru

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

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


Re: [Carbon-dev] [Carbon-commits] [Carbon] svn commit r109843 - branches/carbon/3.2.0/patch-releases/3.2.1/dependencies

2011-07-11 Thread Isuru Suriarachchi
On Mon, Jul 11, 2011 at 5:50 PM, Shammi Jayasinghe sha...@wso2.com wrote:



 On Mon, Jul 11, 2011 at 2:47 PM, is...@wso2.com wrote:

 Author: isuru
 Date: Mon Jul 11 02:17:52 2011
 New Revision: 109843
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=109843

 Log:
 adding new transports version into the build

 Modified:
   branches/carbon/3.2.0/patch-releases/3.2.1/dependencies/pom.xml

 Modified: branches/carbon/3.2.0/patch-releases/3.2.1/dependencies/pom.xml
 URL:
 http://wso2.org/svn/browse/wso2/branches/carbon/3.2.0/patch-releases/3.2.1/dependencies/pom.xml?rev=109843r1=109842r2=109843view=diff

 ==
 --- branches/carbon/3.2.0/patch-releases/3.2.1/dependencies/pom.xml
 (original)
 +++ branches/carbon/3.2.0/patch-releases/3.2.1/dependencies/pom.xml
 Mon Jul 11 02:17:52 2011
 @@ -20,6 +20,7 @@

 modules
 module../../../dependencies/axis2/1.6.1-wso2v2/module
 +
  module../../../dependencies/axis2/transports/1.1.0-wso2v5/module

 Hi ,
 I think mistakenly committed this with the wrong path. Please fix this.


Oh.. yeah.. this is a mistake. thanks for fixing..

~Isuru



 Thanks
 Shammi

 module../../../dependencies/ode/1.3.5-wso2v3/module
 module../../../dependencies/httpcore-nio/4.1.0-wso2v1/module
 module../../../dependencies/synapse/2.1.0-wso2v3/module
 ___
 Carbon-commits mailing list
 carbon-comm...@wso2.org
 https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits




 --
 Best Regards,*

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





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

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


Re: [Carbon-dev] Need help - Controlling bundle dependency order when a Axis2 deployer involved

2011-07-11 Thread Isuru Suriarachchi
Yes we don't programatically register deployers. We add an entry in the
manifest and introduce the deployer class in the component.xml file.

In your case, bundle A becoming active is not a must for bundle B to work.
If the bundle A is in the resolved state, B is wired into A and it can
import packages. If bundle B needs A to be active, that means there should
be an OSGi service dependency between A and B.

Thanks,
~Isuru

On Mon, Jul 11, 2011 at 9:15 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 i can be wrong here. We have introduced Axis2DeployerRegistry in
 carbon to cater similar needs (controlling deployer execution and
 registration).

 In the solution there is one bundle that takes care of all the
 axisDeployers [1]. In order that to work, you have to give the
 metadata in the manifest. (in carbon we specify the deployer in bundle
 pluign so that it goes to manifest)

 By programmatically registering the deployer, we lose that control.

 [1] http://www.aqute.biz/Snippets/Extender

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




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

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


[Carbon-dev] Service management component version updated

2011-07-08 Thread Isuru Suriarachchi
Hi all,

I've updated the service management component version to 3.2.1. This had to
be done because I did a fix in the throttling component. I've updated all
the products which use the service management component. But due to a local
OSGi issue, I can't build all products. So please check whether the build is
ok and let me know if there are any issues.

Thanks,
~Isuru

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

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


Re: [Carbon-dev] [IMPORTANT] Add relative paths for the stuff you add for 3.2.1 release

2011-07-06 Thread Isuru Suriarachchi
On Wed, Jul 6, 2011 at 3:28 PM, Afkham Azeez az...@wso2.com wrote:

 Please add the WSO2 repository to the settings.xml file in the builder to
 avoid this issue


So the 3.2.1 won't get built OOB and we have to tell users to do the same?



 http://maven.apache.org/settings.html#Repositories


 On Wed, Jul 6, 2011 at 6:34 AM, Supun Malinga sup...@wso2.com wrote:

 Hi azeez,

 Same answer that I gave to amilas above.
 We don't build 3.2.0 stuff. Only building patch-release/3.2.1/pom.xml in a
 clean repo.

 thanks,

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

  All the parent poms are supposed to be in the Maven repo, and we do not
 have to build the 3.2.0 components, so why do we need to add relativePath.
 Aren't you running an online build? Are also still building 3.2.0 stuff?

 
 Sent from my phone
 On Jul 1, 2011 9:39 AM, Supun Malinga sup...@wso2.com wrote:
  Hi folks,
 
  Please make sure you have added relative paths in the
 components,features,
  etc.
  Otherwise you can't build 3.2.1 patch-release pom in a clean repo.
 
 
  - How to do this,
 
  Lets take the system-statistics module. There packaging structure is as
  follows.
 
  components/system-statistics$ tree -L 3
 
  |-- org.wso2.carbon.statistics
 
  | |-- 3.2.0
 
  | | |-- pom.xml
 
  | | |-- src
 
  | | `-- target
 
  | `-- 3.2.1
 
  | |-- pom.xml
 
  | |-- src
 
  | `-- target
 
  |-- org.wso2.carbon.statistics.ui
 
  | `-- 3.2.0
 
  | |-- pom.xml
 
  | |-- src
 
  | `-- target
 
  |-- pom.xml
 
 
 
  So in the *
  components/system-statistics/org.wso2.carbon.statistics/3.2.1/pom.xml*,
  you need to add the relative paths for the parent pom which is the, *
  components/system-statistics/pom.xml.*
  It would be like,
 
  parent
  groupIdorg.wso2.carbon/groupId
  artifactIdsystem-statistics/artifactId
  version3.2.0/version
  relativePath../../pom.xml/relativePath
  /parent
 
 
 
 
  - How to test if this works
 
 
  1. back up your existing .m2 repo (or clean the m2 repo) or

  remove/move components/system-statistics/pom.xml from the m2 repo.
   2. goto
 *components/system-statistics/org.wso2.carbon.statistics/3.2.1/* and

  'mvn clean install'
 
 
  *Please verify all your components that was added into 3.2.1 release.*
 
  thanks n regards,
  --
  Supun Malinga,
 
  Software Engineer,
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
   email - sup...@wso2.com sup...@wso2.com

  mobile - 071 56 91 321

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




 --
 Supun Malinga,

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


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




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




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

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


Re: [Carbon-dev] Tomcat returning invalid 202 responses in AS

2011-07-01 Thread Isuru Suriarachchi
We have to look into this. May be a bug in Tomcat 7.0.14.

On Fri, Jul 1, 2011 at 10:17 AM, Supun Kamburugamuva su...@wso2.com wrote:

 In AS when we invoke an in-only operation AS returns the following response

 HTTP/1.1 202 Accepted
 Content-Type: text/xml;charset=UTF-8
 Transfer-Encoding: chunked
 Date: Fri, 01 Jul 2011 04:46:45 GMT
 Server: WSO2 Carbon Server

 0


 Note the 0 and the chunked encoding. 202 is supposed to be a response
 without an entity. This causes troubles in ESB.

 Thanks,
 Supun..

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




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

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


[Carbon-dev] Compilation failures in csg 3.2.1 components

2011-06-29 Thread Isuru Suriarachchi
[INFO] Building CSG module
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 6 source files to
/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/service/CSGAdminService.java:[107,34]
cannot find symbol
symbol  : method getQpidSSLConnectionURL(java.lang.String)
location: class org.wso2.carbon.cloud.csg.common.CSGCommonUtils

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/service/CSGAdminService.java:[153,30]
cannot find symbol
symbol  : method getQpidSSLConnectionURL(java.lang.String)
location: class org.wso2.carbon.cloud.csg.common.CSGCommonUtils

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/jms/JMSCSGProxyService.java:[117,38]
cannot find symbol
symbol  : method getInLineWSDL()
location: class org.wso2.carbon.cloud.csg.common.ServiceMetaData

/home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/jms/JMSCSGProxyService.java:[119,76]
cannot find symbol
symbol  : variable JMS_WAIT_REPLY
location: class org.wso2.carbon.cloud.csg.common.CSGConstant

=

I think the dependencies in poms should point to 3.2.1 versions of csg
commons etc.

Thanks,
~Isuru


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

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


Re: [Carbon-dev] Compilation failures in csg 3.2.1 components

2011-06-29 Thread Isuru Suriarachchi
On Wed, Jun 29, 2011 at 3:06 PM, Rajika Kumarasiri raj...@wso2.com wrote:



 Are you using patched-release pom to build the branch or building
 individual csg components ?


I tried both and failed. I think the dependencies in csg poms should be
updated to 3.2.1 versions.

Thanks,
~Isuru



 Rajika

 On Wed, Jun 29, 2011 at 2:58 PM, Isuru Suriarachchi is...@wso2.comwrote:

 [INFO] Building CSG module
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting directory
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/target
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Compiling 6 source files to
 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/target/classes
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/service/CSGAdminService.java:[107,34]
 cannot find symbol
 symbol  : method getQpidSSLConnectionURL(java.lang.String)
 location: class org.wso2.carbon.cloud.csg.common.CSGCommonUtils

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/service/CSGAdminService.java:[153,30]
 cannot find symbol
 symbol  : method getQpidSSLConnectionURL(java.lang.String)
 location: class org.wso2.carbon.cloud.csg.common.CSGCommonUtils

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/jms/JMSCSGProxyService.java:[117,38]
 cannot find symbol
 symbol  : method getInLineWSDL()
 location: class org.wso2.carbon.cloud.csg.common.ServiceMetaData

 /home/isuru/checkouts/wso2/branches/carbon320/components/csg/org.wso2.carbon.cloud.csg/3.2.1/src/main/java/org/wso2/carbon/cloud/csg/jms/JMSCSGProxyService.java:[119,76]
 cannot find symbol
 symbol  : variable JMS_WAIT_REPLY
 location: class org.wso2.carbon.cloud.csg.common.CSGConstant

 =

 I think the dependencies in poms should point to 3.2.1 versions of csg
 commons etc.

 Thanks,
 ~Isuru


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

 lean . enterprise . middleware


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



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




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

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


Re: [Carbon-dev] org.apache.synapse.wso2.feature in 3.2.0 has directory 3.2.0 but the version is synapse.version

2011-06-27 Thread Isuru Suriarachchi
On Sat, Jun 25, 2011 at 12:17 AM, Afkham Azeez az...@wso2.com wrote:

 Milinda,
 This means our branching model where we simply create the directory based
 on carbon.platform.version will not work. That directory has to be created
 after processing the relevant POM.


Yes. Synapse jars are OSGi bundles. So the features are having the synapse
version. I think it is the same with Axis2 transports as well.

Thanks,
~Isuru





 On Sat, Jun 25, 2011 at 12:12 AM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Sat, Jun 25, 2011 at 12:09 AM, Afkham Azeez az...@wso2.com wrote:

 Hmm... that does not work. It seems that the we have to switch to
 synapse.patch.version=2.1.0.wso2v3


 +1.




 On Sat, Jun 25, 2011 at 12:05 AM, Afkham Azeez az...@wso2.com wrote:

 I just replaced this with the standard carbon platform patch version and
 committed it.


 On Fri, Jun 24, 2011 at 11:57 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



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

 There is an inconsistency here. Is it intentional?


 That's where I got confused too, and asked whether I should introduce
 synapse.patch.version.

 Regards,
 Pradeeban.


 --
 *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.
 WSO2 Inc.

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


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




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




 --
 Kathiravelu Pradeeban.
 Software Engineer.
 WSO2 Inc.

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


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




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




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

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


[Carbon-dev] [ANN] WSO2 WSF/Java 1.0.0 Released

2011-06-27 Thread Isuru Suriarachchi
 WSO2 Web Services Framework for Java (WSF/Java) 1.0.0 Released WSO2 Web
Services Framework for Java (WSF/Java) provides the complete framework for
developing Web Services or Web Service clients. Basically this contains all
the libraries you need to write a service or client. WSF/Java includes all
WS-Security (Rampart), WS-ReliablieMessage (Sandesha) etc. libraries and
Axis2 modules (.mar archives) which you need in developing complex services
and clients.

WSO2 WSF/Java is available under the Apache Software License (v2.0)
http://www.apache.org/licenses/LICENSE-2.0.html.
This includes all of the extra integration and management functionality as
well.
 XML  WS-* Standards Support

   - SOAP 1.1/1.2
   - WSDL 1.1
   - WSDL 2.0
   - MTOM, XOP  SOAP with Attachments
   - WS-Addressing
   - WS-Security 1.0/1.1
   - WS-Trust
   - WS-SecureConversation
   - WS-SecurityPolicy
   - WS-ReliableMessaging
   - WS-Policy
   - WS-PolicyAttachment
   - WS-MetadataExchange
   - WS-Transfer
   - WS-Eventing
   - XKMS

Open Source components included in WSO2 WSF/Java

   - Apache Axis2 (SOAP)
   - Apache Axiom (High performance XML Object Model)
   - Apache Rampart/Apache WSS4J (WS-Security)
   - Apache Rahas (WS-SecureConversation)
   - Apache Sandesha2 (WS-ReliableMessaging)
   - WS-Addressing implementation in Axis2
   - Apache Neethi (WS-Policy)
   - WS-SecurityPolicy implementation in Axis2
   - Apache XML Schema

Apache Axis2 modules included with WSO2 WSF/Java

   - Apache Rampart: Supporting WS-Security  WS-Trust
   - Apache Rahas: Supporting WS-SecureConversation
   - Apache Sandesha2: Supporting WS-Reliable Messaging
   - Mex: Supporting WS-MetaDataExchange
   - XFer: Supporting WS-Transfer
   - XKMS: Supporting XML Key Management Specification

Reporting ProblemsIssues can be reported using the public JIRA available at
https://wso2.org/jira/browse/CARBON Contact usFor details on subscriptions
see http://wso2.org/mail SupportWSO2 Inc. offers a variety of development
and production support programs, ranging from Web-based support up through
normal business hours, to premium 24x7 phone support.

For additional support information please refer to http://wso2.com/support/ For
more information on WSO2 WSF/Java, visit the WSO2 Oxygen Tankhttp://wso2.org/
 (http://wso2.org/projects/wsf/java). Thank you for your interest in WSO2
WSF/Java
*
*
*-The WSO2 WSF/Java Development Team*

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

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


Re: [Carbon-dev] Starting 2 carbon products with embedded LDAP enabled

2011-06-27 Thread Isuru Suriarachchi
On Mon, Jun 27, 2011 at 4:21 PM, Saminda Wijeratne samin...@wso2.comwrote:

 IMO if the server is not behaving according to the given configurations
 (specially with configurations related to security), it should fail
 with meaningful logs.


+1

Thanks,
~Isuru


 This could be handled at the OSGi component level.

 Saminda


 On Mon, Jun 27, 2011 at 4:15 PM, Amila Jayasekara ami...@wso2.com wrote:

 Hi All,

 We have following behaviour within carbon products.

 Say we need to start 2 carbon servers in the same machine. Both
 servers use embedded LDAP server. User forgets to change LDAP server
 port in user-mgt.xml configuration for second server.
 Still user will be able to start 2nd server with few error messages in
 the console. Error messages are due to LDAP address already used by
 first carbon server. The second server still, starts because user
 manager is able to connect to first carbon server's embedded LDAP
 server.

 After a chat with Saminda and Milinda, we realised that this could
 lead to erroneous situations as user is under the impression that
 second carbon server is connected to embedded-ldap server running
 within second server.

 One way to resolve this issue is to stop starting carbon server if
 embedded-ldap server cannot start successfully.
 Are there any other better solutions to get rid of this behaviour ?

 Feedback appreciated.

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



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




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

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


[Carbon-dev] Error while buiding 3.2.1

2011-06-27 Thread Isuru Suriarachchi
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

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


Project ID: org.wso2.carbon:org.wso2.carbon.dataservices.server.feature
POM Location:
/home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for
org.apache.poi.wso2:ooxml-spreadsheet-schemas:jar


Reason: Failed to validate POM for project
org.wso2.carbon:org.wso2.carbon.dataservices.server.feature at
/home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for
project org.wso2.carbon:org.wso2.carbon.dataservices.server.feature at
/home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)


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

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


Re: [Carbon-dev] Error while buiding 3.2.1

2011-06-27 Thread Isuru Suriarachchi
This was a local issue. Sorry for the noise.

Thanks,
~Isuru

On Mon, Jun 27, 2011 at 4:44 PM, Isuru Suriarachchi is...@wso2.com wrote:

 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.dataservices.server.feature
 POM Location:
 /home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.apache.poi.wso2:ooxml-spreadsheet-schemas:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.dataservices.server.feature at
 /home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
 for project org.wso2.carbon:org.wso2.carbon.dataservices.server.feature at
 /home/isuru/checkouts/wso2/branches/carbon320/features/data-services/org.wso2.carbon.dataservices.server.feature/3.2.1/pom.xml
  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)


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

 lean . enterprise . middleware




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

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


Re: [Carbon-dev] Creating a p2 repo for the 3.2.1 release

2011-06-23 Thread Isuru Suriarachchi
On Thu, Jun 23, 2011 at 1:30 PM, Afkham Azeez az...@wso2.com wrote:

 We cannot have a separate P2 repo. It should be the same P2 repo with the
 3.2.1 features  components.


But how can we add the 3.2.1 features without modifying
features/repository/pom.xml?



 On Thu, Jun 23, 2011 at 12:53 PM, Supun Malinga sup...@wso2.com wrote:

 Hi All,

 We need to the $subject for 3.2.1 release. Since this is a patch release
 we have modified set of features plus the 3.2.0 features. So what would be
 the strategy to make the p2 repo. IFAIU there needs to be a separate pom for
 this. We can create a pom
 in 320_branch/patch-releases/3.2.1/features/repository/pom.xml and use this
 for making the p2 repo.

 Please advice how to proceed with this.

 thanks and regards,
 --
 Supun Malinga,

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


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




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




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

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


Re: [Carbon-dev] BundleActivator getting called more than once

2011-06-21 Thread Isuru Suriarachchi
} -  Initializing
 Directory Server with working directory

 /home/amila/development/wso2/carbon/trunk/core/distribution/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/data/org.wso2.carbon.directory
 and port 10389
 [2011-06-21 11:35:22,744] ERROR
 {org.apache.directory.server.ldap.LdapServer} -  ERR_171 Failed to
 bind an LDAP service (10,389) to the service registry.
 java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)


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




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

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


  1   2   3   4   5   >