Re: [Carbon-dev] Tomcat Osgification issue

2012-03-05 Thread Pradeep Fernando
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


[Carbon-dev] bamboo build in a clean repo, fresh checkout

2012-03-05 Thread Pradeep Fernando
Hi,

Shall we use a clean repo + clean checkout for each of
orbit/carbon-kernel/carbon-platform builds. IMHO, we should trigger builds
periodically instead of triggering them based on commits. Shall we do the
$subject. Any concerns ?



thanks,
--Pradeep
___
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 Pradeep Fernando
On Mon, Mar 5, 2012 at 9:14 PM, Isuru Suriarachchi  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 (?).

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


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


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

2012-03-05 Thread Pradeep Fernando
Hi,

You are correct. I was referring to *separate* BAM2 build plan.

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


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

2012-03-05 Thread Pradeep Fernando
Hi,

i thought reporting is used for sonar reports.

we got to have another bamboo instance if we are going to schedule BAM2,
Jaggery, etc.
otherwise carbon-trunk build cycle get extended. (if we are running this in
the same instance. we have to execute them sequentially to avoid port
binding issues/memory/etc )

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


Re: [Carbon-dev] G-Reg Server startup fails - trunk build

2012-03-05 Thread Pradeep Fernando
Hi,

no not really. I did that weeks ago. The root cause is ,

shindig bundle exports its own version of org.xml.stax.

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


Re: [Carbon-dev] Issue in implementing JPA support on ESB Smooks Mediator

2012-03-05 Thread Pradeep Fernando
Hi all,

The JPA uses provider architecture. There it loads providers using java spi
mechanism. The problem is with unique classLoaders, this does not work in
OSGi. (earlier we used to load them all using application/carbon-bootstrap
classLoader by placing them in outer lib)

two viable options.

1. go for OSGi JPA implementation. (eclipse gemini, apache aries are two
impls)
2. use fragmenting mechanism to laod bundles using the same classLoader.


Any other suggestions ?

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


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

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

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


Re: [Carbon-dev] product build failures due to registry core feature

2012-03-05 Thread Pradeep Fernando
Hi subash,

looks like this issue is local to the bamboo. The latest build had some
other issue.

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


[Carbon-dev] removing atomikos from carbon-kernel : progress update

2012-03-04 Thread Pradeep Fernando
Hi,

I was looking in to the $subject for last couple of days. Right now
transaction manager is tightly couples to the servlet container (tomcat).
Atomikos get initialized through a tomcat listener. And the Transaction
Factory get initialized by the tomcat itself. After that within the
dataservices-core we get the UserTransaction manager via a JNDI lookup.

The complication is, the JNDI does not work in OSGi environment at the
moment. (Note that it is working for web-apps). The reason is, JNDI try to
resolve the context through context classLoader. If the context classLoader
is web-app ClassLoader it is working. But if the context classLoader is
bundle/context-finder it is not working.

OSGi enterprise spec has a separate section for JNDI. There they are using
a service based model to overcome the above problems. While searching for
the reading materials i came across, OSGi JTA spec as well. Apache aries[1]
has a OSGi JNDI  + JTA modules.

[1] http://aries.apache.org/downloads/currentrelease.html

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


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

2012-03-04 Thread Pradeep Fernando
Hi,

IMHO , we should make product builds independent from each other. That is,
a product should be able to build on its own, (NO pom inheritance) . We can
introduce a aggregate pom, to maintain the same user experience. (you build
from product level, you get all the products.)

With the above kind of structure, you can see the exact products that are
failing. its the product teams responsibility to go and fix the respective
product. In addition, it allow us to introduce a new product without
worrying about build breaks. (for an example, the jaggery is not in the
build system).

we (charith, sameera and shammi) had informal discussions on the above
$subject sometime back.

For the time being, i'm +1 for your suggestion. In fact i have excluded GS
and MS. The idea was to get a build-success mail. But product p2-profile
gens failing due to registry core feature.

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


Re: [Carbon-dev] product build failures due to registry core feature

2012-03-03 Thread Pradeep Fernando
Hi,

refer the build log.

http://builder4.us1.wso2.org:/bamboo/download/WSO2CARBONKERNEL-CARBONPRODUCTS-JOB1/build_logs/WSO2CARBONKERNEL-CARBONPRODUCTS-JOB1-32.log

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Products > #31 has FAILED (16 tests failed, no failures were new). Change made by 4 authors.

2012-03-03 Thread Pradeep Fernando
Hi,

due to registry core feature s' missing constraint, almost all the product
profile generations got failed. Hence integration test failures.

subash is looking in to this.

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


[Carbon-dev] product build failures due to registry core feature

2012-03-03 Thread Pradeep Fernando
Hi Greg team,

getting the below build failure during the product profile generation. Can
you guys please have a look.

Cannot complete the install because one or more required items could
not be found.
error   03-Mar-2012 08:46:07 Software being installed: WSO2 Carbon -
Registry Core Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.registry.core.feature.group 4.0.0.SNAPSHOT)
error   03-Mar-2012 08:46:07 Missing requirement:
org.wso2.carbon.registry.resource 4.0.0.SNAPSHOT
(org.wso2.carbon.registry.resource 4.0.0.SNAPSHOT) requires 'package
org.apache.commons.io [2.0.0,3.0.0)' but it could not be found
error   03-Mar-2012 08:46:07 Cannot satisfy dependency:
error   03-Mar-2012 08:46:07  From: WSO2 Carbon - Registry Core Feature
4.0.0.SNAPSHOT (org.wso2.carbon.registry.core.feature.group
4.0.0.SNAPSHOT)
error   03-Mar-2012 08:46:07  To:
org.wso2.carbon.registry.core.server.feature.group [4.0.0.SNAPSHOT]
error   03-Mar-2012 08:46:07 Cannot satisfy dependency:
error   03-Mar-2012 08:46:07  From: WSO2 Carbon - Registry Core Server
Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.registry.core.server.feature.group 4.0.0.SNAPSHOT)
error   03-Mar-2012 08:46:07  To: org.wso2.carbon.registry.resource
[4.0.0.SNAPSHOT]


--Pradeep



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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Kernel > #54 has FAILED. Change made by nuwan.

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #107 has FAILED. Change made by krishantha and suresh.

2012-03-02 Thread Pradeep Fernando
Hi Suresh,

looks like there is an compilation falilure due to your last commit. Can
you please have look,

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Kernel > #54 has FAILED. Change made by nuwan.

2012-03-02 Thread Pradeep Fernando
Hi Sanjaya,

we have to remove clean up the source code in builder machine. Nuwan has
removed the axis2 external.

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


[Carbon-dev] reproducing the error in DSS, due to atomikos

2012-02-29 Thread Pradeep Fernando
HI guys,

I built a fresh dss pack. Think i saw some error stack while starting up
dss. How to reproduce that ?
Saw that dinusha has already added Atomikos listener in the
catalina-server.xml

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #99 has FAILED (3 tests failed, no failures were new). Change made by krishantha.

2012-02-29 Thread Pradeep Fernando
Greg team,

please have a look.

--Pradeep
___
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 Pradeep Fernando
we have to get rid of the styles.Activator class. No use. Try removing it
and see.

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


Re: [Carbon-dev] Drools Guvnor can be used with Business rule server

2012-02-28 Thread Pradeep Fernando
Hi,

How this going to get integrated to carbon-platfrom. we ourselves have a
repository component in carbon-platform.

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


[Carbon-dev] Integration test failures in MB

2012-02-28 Thread Pradeep Fernando
Hi,

I get this error logs,

[2012-02-29 08:54:08,532]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
[2012-02-29 08:54:08,529]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-02-29 08:54:08,0529] from IP address 192.168.1.2
[2012-02-29 08:54:08,609]  INFO
{org.wso2.carbon.integration.framework.LoginLogoutUtil} -  Successfully
logged in : JSESSIONID=74B141B181978C2B969957A8AFC7C94A; Path=/;
Secure=null; HttpOnly=null
[2012-02-29 08:54:08,609]  INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} -  Server started
successfully.
[2012-02-29 08:54:08,625]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672
[2012-02-29 08:54:09,626]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672
[2012-02-29 08:54:10,627]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672
[2012-02-29 08:54:11,627]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672
[2012-02-29 08:54:12,628]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672
[2012-02-29 08:54:13,629]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 5672


server started on 9443. please have a look and if it is a problem with
carbon-core, please give me some context.

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


[Carbon-dev] CEP integration test failures

2012-02-28 Thread Pradeep Fernando
Hi,

i'm getting this error log.


[2012-02-29 00:54:10,639]  INFO
{org.wso2.carbon.integration.framework.LoginLogoutUtil} -  Successfully
logged in : JSESSIONID=7D09316AC27A87DF6EA115EC8F54C6F3; Path=/;
Secure=null; HttpOnly=null
[2012-02-29 00:54:10,639]  INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} -  Server started
successfully.
[2012-02-29 00:54:10,640]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 7611
[2012-02-29 00:54:11,641]  INFO
{org.wso2.carbon.integration.framework.ClientConnectionUtil} -  Waiting
until server starts on port 7611


can somebody please give me some context. what is this port. FYI, server
starts on 9443.

--Pradeep
___
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-28 Thread Pradeep Fernando
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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #90 has FAILED. Change made by 12 authors.

2012-02-28 Thread Pradeep Fernando
bamboo build ordering issue. platform have got built before the kernel.

should be fixed once the new kernel gets built.

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


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

2012-02-28 Thread Pradeep Fernando
Hi,
its due to old carbon-kernel (some recent commits missing), working now
after getting an update in carbon-kernel. subash is running the integration
tests.

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #82 has FAILED. Change made by 13 authors.

2012-02-27 Thread Pradeep Fernando
Hi all,

This is the only failure at carbon-features level. looks like it is
intermittent. we started a new build with a clean repo.
This is local to the bamboo builder machine it seems.

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


Re: [Carbon-dev] Different behaviours in ESB 3.2.2 and ESB trunk, when retrieving HttpServletRequest

2012-02-27 Thread Pradeep Fernando
Hi,

Actually i fixed this issue, last thursday. please get an svn up of
mediation-initialzer component.

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


Re: [Carbon-dev] Built is still broken

2012-02-26 Thread Pradeep Fernando
Hi,

we are done, with tomcat/svn restructuring tasks. Build is not failing due
to those modifications at the moment.

port offset issue is not there anymore. lets get this sorted out today.

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


Re: [Carbon-dev] Exception when starting identity service in stratos setup

2012-02-24 Thread Pradeep Fernando
Hi, amila.


This is because some system property not being set in wso2server.sh. the
property is -Dcatalina.base. But now if you get an svn up in
org.wso2.carbon.server i'm setting it programatically. hence you dont have
to update the scripts.

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


Re: [Carbon-dev] Different behaviours in ESB 3.2.2 and ESB trunk, when retrieving HttpServletRequest

2012-02-24 Thread Pradeep Fernando
Hi,

will have a look

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #71 has FAILED (16 tests failed). Change made by 7 authors.

2012-02-24 Thread Pradeep Fernando
Hi nuwan,

Can you please explain these test failures. please fix these asap.

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


Re: [Carbon-dev] NPE in IdentityCoreServiceComponent

2012-02-24 Thread Pradeep Fernando
Hi,

me Experienced the same. Think this is fixed by now. Thilina will give more
context.

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


Re: [Carbon-dev] Port Offset feature is broken in trunk

2012-02-24 Thread Pradeep Fernando
Hi rajika,

This is a known issue. I have fixed port offset in carbon. I think you are
experiencing this in ESB product. Due to NIO transports it behaves little
bit different from other products. The current port offset mechanism i have
introduced is not optimal (Had to give a quick fix, integration tests to
work).

Hoping to complete the proper fix ~monday.

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


Re: [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For input string: "${carbon.management.port}${carbon.context}"

2012-02-23 Thread Pradeep Fernando
Hi,

this is fixed.

shortest svn up sequence :

core/org.wso2.carbon.tomcat
graphite/components/mediation-initializer

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #64 has FAILED (11 tests failed). Change made by 8 authors.

2012-02-23 Thread Pradeep Fernando
Hi Senaka,

As I beleive, these test failures are due to "intermittent registry test
failures in the  builder machines". AFAIR, we fixed all the externals
during svn restructuring.

Any way, since Subash is looking in to it, hope we can get rid of the test
failures EOD today.

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #64 has FAILED (11 tests failed). Change made by 8 authors.

2012-02-23 Thread Pradeep Fernando
Hi Greg team,

please fix this test failures (11 of them).

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


Re: [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For input string: "${carbon.management.port}${carbon.context}"

2012-02-23 Thread Pradeep Fernando
Hi Rajika,

I'm looking in to this.

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


Re: [Carbon-dev] Identity component build failure

2012-02-23 Thread Pradeep Fernando
Think, Thilina removed this for the time being.

--Pradeep
___
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-22 Thread Pradeep Fernando
Hi,

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

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #61 has FAILED (11 tests failed)

2012-02-22 Thread Pradeep Fernando
Hi Achala,

please fix this .

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


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

2012-02-22 Thread Pradeep Fernando
hi,

will test and commit (integration tests)

thanks,
--Pradeep
___
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-22 Thread Pradeep Fernando
Hi,

If i remember correct, we (you/me) came across the same issue while ago.
The workaround was to install the 3.2.3 version of the same feature.

let me check.

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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Products > #3 has FAILED. Change made by asela and denis.

2012-02-22 Thread Pradeep Fernando
Hi Thilina,

please have a look.

thanks.
--Pradeep


An error occurred while configuring the installed items  22-Feb-2012
09:01:26  session context was:(profile=WSO2CarbonProfile,
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
--> [R]org.wso2.carbon.identity.core.server.feature.group 4.0.0.SNAPSHOT,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
 22-Feb-2012
09:01:26  I/O Error while copying
/home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1/products/cep/modules/p2-profile/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/components/features/org.wso2.carbon.identity.core.server_4.0.0.SNAPSHOT/dbscripts
- see details.  22-Feb-2012 09:01:26 Caused by:  java.io.IOException:
Source:
/home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1/products/cep/modules/p2-profile/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/components/features/org.wso2.carbon.identity.core.server_4.0.0.SNAPSHOT/dbscriptsdoes
not exists  22-Feb-2012 09:01:26 Application failed, log file location:
/home/bamboo/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1329930075617.log
 22-Feb-2012
09:01:26
  22-Feb-2012 09:01:26 [INFO]
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #58 has FAILED (11 tests failed, no failures were new). Change made by 5 authors.

2012-02-22 Thread Pradeep Fernando
o/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1-58/test/case/7637807>
>   Default
> Job<http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1-58/test>
> WSDLTest 
> testAddWSDL<http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1-58/test/case/7637819>
>   Default
> Job<http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-JOB1-58/test>
>  View
> Online<http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-58>
> | Add 
> Comments<http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONKERNEL-GRAPHITEBUILD-58?commentMode=true>
>
> This message was sent by Atlassian 
> Bamboo<http://builder4.us1.wso2.org:/bamboo>
> .
>
> If you wish to stop receiving these emails edit your user 
> profile<http://builder4.us1.wso2.org:/bamboo/profile/userNotifications.action>or
>  notify
> your 
> administrator<http://builder4.us1.wso2.org:/bamboo/viewAdministrators.action>
> .
>



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


Re: [Carbon-dev] [Bamboo-Build] Carbon-Kernel > Carbon-Platform > #56 has FAILED (11 tests failed, no failures were new). Change made by 7 authors.

2012-02-22 Thread Pradeep Fernando
Hi,

please have a look

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


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

2012-02-19 Thread Pradeep Fernando
Hi,

lets have a chat in the afternoon, as planned. Sent an invitation to the
@architecture as well.

thanks,
--Pradeep
___
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-19 Thread Pradeep Fernando
Hi,
Actually, build is breaking at the product level. This is a known issue.
Removing libs/jars + other config files affects product runtimes and
distribution assembly scripts. i'll work with product teams to sort this
out.

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


Re: [Carbon-dev] Why is org.wso2.carbon.addressing not in orbit?

2012-02-19 Thread Pradeep Fernando
Hi,

+1. Looks like it belongs to orbit.

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


Re: [Carbon-dev] Carbon does not start on trunk

2012-02-19 Thread Pradeep Fernando
Hi,

thanks Senaka for fixing it. My bad.

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


Re: [Carbon-dev] Jarvana Repository does not get resolved

2012-02-18 Thread Pradeep Fernando
Hi,

you have to build orbit.

https://svn.wso2.org/repos/wso2/trunk/orbit/javax-servlet/

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


[Carbon-dev] graceful restart in carbon

2012-02-16 Thread Pradeep Fernando
Hi,

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

please correct me if i'm wrong.

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


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

2012-02-15 Thread Pradeep Fernando
Hi All,

Carbon-kernel is unfrozen now.

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


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

2012-02-15 Thread Pradeep Fernando
Hi all,

 we have removed all the jars found under /lib and lib/api except
org.wso2.carbon.server.jar, which contains the framework launcher.

Now focusing on product builds.

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


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

2012-02-14 Thread Pradeep Fernando
Hi,

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

-javax.activation:activation:jar
-org.apache.ant:ant:jar
-org.apache.ant:ant-launcher:jar
-org.apache.ant:ant-nodeps:jar
-aopalliance:aopalliance:jar
-commons-modeler:commons-modeler:jar
-commons-el:commons-el:jar
-commons-cli:commons-cli:jar
-commons-lang:commons-lang:jar
-
 org.apache.geronimo.specs.wso2:geronimo-jta_1.1_spec:jar
-
com.h2database.wso2:h2-database-engine:jar
-javax.ws.rs:jsr311-api:jar
-log4j:log4j:jar
-me.prettyprint.wso2:hector-core:jar
-   org.apache.cassandra:apache-cassandra:jar
-libthrift:libthrift:jar
-   slf4j.wso2:slf4j
-org.perf4j.wso2:perf4j:jar
-
 org.cliffc.high_scale_lib.wso2:high-scale-lib:jar
-
 org.wso2.carbon:org.wso2.carbon.core.installer:jar
-org.igniterealtime.smack.wso2:smack:jar
-org.igniterealtime.smack.wso2:smackx:jar
-javax.xml.stream:stax-api:jar
-org.apache.woden.wso2:woden:jar
-wrapper:wrapper:jar
-xml-resolver:xml-resolver:jar


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

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

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

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


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

2012-02-14 Thread Pradeep Fernando
Hi,

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

thanks,
--Pradeep
--
___
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-13 Thread Pradeep Fernando
Hi

tentative finish date is, 16 the morning Feb 2012

thanks,
--Pradeep
___
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-13 Thread Pradeep Fernando
yes frozen.

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


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

2012-02-13 Thread Pradeep Fernando
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
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


Re: [Carbon-dev] carbon-kernel:bamboo job

2012-02-12 Thread Pradeep Fernando
yes, that should solve the problem.

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


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

2012-02-12 Thread Pradeep Fernando
On Mon, Feb 13, 2012 at 8:32 AM, Samisa Abeysinghe  wrote:

> Invite was sent last Friday
>
> On Mon, Feb 13, 2012 at 7:58 AM, Pradeep Fernando wrote:
>
>>
>>
>> On Mon, Feb 13, 2012 at 7:57 AM, Pradeep Fernando wrote:
>>
>>>
>>>
>>> On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe wrote:
>>>
>>>>
>>>>
>>>> On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe wrote:
>>>>>
>>>>>> And do we have Tomcat OSGi stuff in there now?
>>>>>>
>>>>>> No, not yet. Plan is to add them within next two days.
>>>>>
>>>>
>>>> Note that both AS and Jaggery are blocked on this.
>>>>
>>>> We have arrange a meeting too to discuss these today.
>>>>
>>>
>>> please have it 12 noon.
>>>
>>
>> after * 12 noon o
>>
>

my bad. sorry.

>
>>> thanks,
>>> --Pradeep
>>>
>>>
>>>
>>
>>
>> --
>> 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
>>
>> 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
>
>


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


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

2012-02-12 Thread Pradeep Fernando
On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe  wrote:

>
>
> On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando wrote:
>
>>
>>
>> On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe wrote:
>>
>>> And do we have Tomcat OSGi stuff in there now?
>>>
>>> No, not yet. Plan is to add them within next two days.
>>
>
> Note that both AS and Jaggery are blocked on this.
>
> We have arrange a meeting too to discuss these today.
>

please have it 12 noon.

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


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

2012-02-12 Thread Pradeep Fernando
On Mon, Feb 13, 2012 at 7:57 AM, Pradeep Fernando  wrote:

>
>
> On Mon, Feb 13, 2012 at 7:35 AM, Samisa Abeysinghe wrote:
>
>>
>>
>> On Mon, Feb 13, 2012 at 6:54 AM, Pradeep Fernando wrote:
>>
>>>
>>>
>>> On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe wrote:
>>>
>>>> And do we have Tomcat OSGi stuff in there now?
>>>>
>>>> No, not yet. Plan is to add them within next two days.
>>>
>>
>> Note that both AS and Jaggery are blocked on this.
>>
>> We have arrange a meeting too to discuss these today.
>>
>
> please have it 12 noon.
>

after * 12 noon

>
> thanks,
> --Pradeep
>
>
>


-- 
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] carbon-kernel:bamboo job

2012-02-12 Thread Pradeep Fernando
Hi Charith/Shammi,

There is a integration test failure @ carbon-kernel. But we (sameera,me)
can't reproduce it locally. Feel like, something wrong with bamboo build
env. Maybe Ports issue (?)

Can you guys have a look ?

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


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

2012-02-12 Thread Pradeep Fernando
On Mon, Feb 13, 2012 at 6:51 AM, Samisa Abeysinghe  wrote:

> And do we have Tomcat OSGi stuff in there now?
>
> No, not yet. Plan is to add them within next two days.

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


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

2012-02-12 Thread Pradeep Fernando
On Mon, Feb 13, 2012 at 12:25 AM, Sameera Jayasoma  wrote:

> Hi Devs,
>
> We have now completed the SVN restructure effort. Please checkout
> orbit[1], carbon[2] and graphite[3] svn repositories. Carefully go through
> the following instructions before building.
>
> 1) Take fresh checkouts of the orbit[1], carbon[2] and graphite[3] svn
> repositories. Avoid using the existing local carbon checkout, if any.
> 2) Backup your .m2 repository and start the build with a fresh one. This
> step is optional.
> 3) Build orbit[1] project.
> 4) Build carbon[2] project.
> 5) Build graphite[3] project.
>
> Apart from some test failures, build is stable now.
>
> I would like to thank Pradeep, Dileepa and Chethiya for their help to get
> this done during the past two days.
>

and charith and shammi, for helping out with bamboo builds.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


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

2012-02-11 Thread Pradeep Fernando
On Thu, Feb 9, 2012 at 1:44 PM, Afkham Azeez  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.
>
>

dynamic valve addition is working. I will run the integration tests before
commiting.

thanks,
--Pradeep
___
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-10 Thread Pradeep Fernando
HI,

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

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

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


Re: [Carbon-dev] carbon logging not working in trunk

2012-02-09 Thread Pradeep Fernando
hi,

we didn't work on this space for some time. Want to know whether someone
did ? Looks like a regression.

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


[Carbon-dev] carbon logging not working in trunk

2012-02-09 Thread Pradeep Fernando
Hi,

I enabled DEBUG level logging for some of the packages  and it didnt work.
This behaviour is only visible in trunk.

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


[Carbon-dev] What is GhoshtRegistry class ?

2012-02-09 Thread Pradeep Fernando
Hi,

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

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


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

2012-02-09 Thread Pradeep Fernando
No. I'm working on a scratch.

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


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

2012-02-09 Thread Pradeep Fernando
Hi,

On Thu, Feb 9, 2012 at 2:21 PM, Afkham Azeez  wrote:

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



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

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


Re: [Carbon-dev] Build Failure in core

2012-02-09 Thread Pradeep Fernando
you have to build,
org.eclipse.equinox.p2.touchpoint.eclipse:jar:2.1.0.v20110511-wso2v1 module
found under /dependencies

--Pradeep
___
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 Pradeep Fernando
On Thu, Feb 9, 2012 at 1:44 PM, Afkham Azeez  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


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

2012-02-08 Thread Pradeep Fernando
Hi all,

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

I need help on following areas (porting),

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


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


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


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


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

2012-02-06 Thread Pradeep Fernando
Hi,

On Mon, Feb 6, 2012 at 7:05 PM, Afkham Azeez  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  wrote:
>
>> Hi,
>>
>> I was able to configure the tomcat with tomcat-shipped server.xml file.
>> this means we can register connectors Hosts, valves, listeners without
>> hard-coding them.
>>
>> I the current code has some issues related to JNDI. Think this is related
>> non-OSGi/OSGi env jar duplication. I need some help to get this done. We
>> have to move each and every library that resides under /ib (relevant) to
>> plugins.
>>
>> For the moment i have moved only tomcat related libs.
>>
>> --Pradeep
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * 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


Re: [Carbon-dev] [Carbon-Trunk] -DapplyPatches fails on Windows

2012-02-05 Thread Pradeep Fernando
On Mon, Feb 6, 2012 at 12:42 PM, Kathiravelu Pradeeban
wrote:

>
>
> On Mon, Feb 6, 2012 at 12:23 PM, Thilina Buddhika wrote:
>
>> $subject fails with the following error.
>>
>> F:\wso2\trunk\products\is\modules\distribution\product\target\wso2is-4.0.0-SNAPSHOT\bin>wso2server.bat
>> -DapplyPatches
>> JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.6.0_26
>> CARBON_HOME environment variable is set to
>> F:\wso2\trunk\products\is\modules\DISTRI~1\product\target\WSO2IS~1.0-S\bin\..
>> [2012-02-06 12:21:01,933]  INFO {org.wso2.carbon.server.Main} -
>>  Initializing system...
>> [2012-02-06 12:21:02,050]  INFO
>> {org.wso2.carbon.server.transports.http.HttpTransport} -  Created Connector
>> [HTTP_11_NIO://*:9763]
>> [2012-02-06 12:21:02,052]  INFO
>> {org.wso2.carbon.server.transports.http.HttpTransport} -  Created Connector
>> [HTTPS_11_NIO://*:9443]
>> [2012-02-06 12:21:02,124]  INFO
>> {org.wso2.carbon.server.TomcatCarbonWebappDeployer} -  Deployed Carbon
>> webapp: StandardEngine[Tomcat].StandardHost[defaulthost].StandardContext[/]
>> [2012-02-06 12:21:02,341]  INFO
>> {org.wso2.carbon.atomikos.TransactionFactory} -  Starting Atomikos
>> Transaction Manager 3.7.0
>> Feb 6, 2012 12:21:03 PM org.apache.catalina.core.ApplicationContext log
>> SEVERE: Error occurred while applying patches
>> java.io.FileNotFoundException:
>> F:\wso2\trunk\products\is\modules\DISTRI~1\product\target\WSO2IS~1.0-S\bin\..\repository\components\plugins\org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
>> (Access is denied)
>>
>
> Windows..
> So it should have been looking for,
>  org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502.jar or
>  org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502.jar
> (for 64 bit)
>


No not the case. This file gets created during initial provisioning. We
have hard coded it to be linux.gtk. it doesnt get used since we don't have
architecture specific code. (like gtk based UI in eclipse).

thanks,
--Pradeep


>
> But here it looks for
> org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505.jar?
>
> Regards,
> Pradeeban.
>
>> at java.io.FileInputStream.open(Native Method)
>> at java.io.FileInputStream.(FileInputStream.java:120)
>> at
>> org.wso2.carbon.bridge.BridgeUtils.copyFile(BridgeUtils.java:297)
>> at
>> org.wso2.carbon.bridge.BridgeUtils.copyFileToDir(BridgeUtils.java:287)
>> at
>> org.wso2.carbon.bridge.EquinoxFrameworkLauncher.applyPatches(EquinoxFrameworkLauncher.java:730)
>> at
>> org.wso2.carbon.bridge.EquinoxFrameworkLauncher.deploy(EquinoxFrameworkLauncher.java:186)
>> at
>> org.wso2.carbon.bridge.BridgeServlet.init(BridgeServlet.java:96)
>> at javax.servlet.GenericServlet.init(GenericServlet.java:160)
>> at
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1190)
>> at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1103)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1010)
>> at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
>> at
>> org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
>> at
>> org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
>> at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> 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)
>> [2012-02-06 12:21:09,767]  INFO
>> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
>> Carbon...
>> [2012-02-06 12:21:09,768]  INFO
>> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
>> Windows 7 6.1, amd64
>> [2012-02-06 12:21:09,769]  INFO
>> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
>> C:\Program Files\Java\jdk1.6.0_26\jre
>> [2012-02-06 12:21:09,770]  INFO
>> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
>> 1.6.0_26
>>
>> Thanks,
>> Thilina
>>
>> --
>> Thilina Buddhika
>> Associate Technical Lead
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . 

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

2012-02-05 Thread Pradeep Fernando
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


[Carbon-dev] Error while creating initialJNDIContextFactory

2012-02-05 Thread Pradeep Fernando
Hi,

I moved the carbon.utils bundle to repository/component/plugin. (removed
the jar under /lib). While starting carbon server i'm getting this error.
I'm not that familiar with this code. If someone can give me, bit of
context that would be helpful.

my current guess is that this supposed to get initialized within non-OSGi
env.


thanks,
--Pradeep






Caused by: javax.naming.NoInitialContextException: Failed to create
InitialContext using factory specified in hash table. [Root exception is
java.lang.ClassNotFoundException: class
org.apache.naming.java.javaURLContextFactory not found]
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextHolder.java:830)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:316)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
... 39 more
Caused by: java.lang.ClassNotFoundException: class
org.apache.naming.java.javaURLContextFactory not found
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.classForName(CarbonContextHolder.java:1527)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.access$600(CarbonContextHolder.java:83)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextHolder.java:826)
... 45 more
___
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-04 Thread Pradeep Fernando
+1
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Architecture] WSO2 Committers = WSO2 Committers + Dileepa

2012-02-01 Thread Pradeep Fernando
congratz Dileepa. Welcome aboard!!
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Server start up errors in trunk IS.

2012-01-31 Thread Pradeep Fernando
windows ?

On Wed, Feb 1, 2012 at 10:12 AM, Manjula Rathnayake wrote:

> Hi,
>
> Noticed following errors when server start up in windows 2008 though
> server got started successfully.
>
> [2012-02-01 10:04:34,989]  INFO
> {org.wso2.carbon.atomikos.TransactionFactory} -  Starting Atomikos
> Transaction Manager 3.7.0
> [2012-02-01 10:05:01,234]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
> Carbon...
> [2012-02-01 10:05:01,236]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
> Windows Server 2008 6.0, amd64
> [2012-02-01 10:05:01,236]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
> C:\Program Files\Java\jdk1.6.0_25\jre
> [2012-02-01 10:05:01,237]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
> 1.6.0_25
> [2012-02-01 10:05:01,238]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
> Java HotSpot(TM) 64-Bit Server VM 20.0-b11,Sun Microsystem
> [2012-02-01 10:05:01,238]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  :
> C:\Users\ADMINI~1\Desktop\WSO2IS~1.0-S\bin\..
> [2012-02-01 10:05:01,239]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir:
> C:\Users\ADMINI~1\Desktop\WSO2IS~1.0-S\bin\..\tmp
> [2012-02-01 10:05:01,239]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  User :
> Administrator, en-US, Asia/Calcutta
> *Error while creating the p2 agent
> Error while getting provisioning agent*
>
> Thank you.
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



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


Re: [Carbon-dev] java.lang.NoClassDefFoundError when accessing dss server in stratos deployment

2012-01-30 Thread Pradeep Fernando
Hi,

The reference to this class has been located in

BandwidthUsageDataRetrievalTask.java

under
http://svn.wso2.org/repos/wso2/trunk/carbon/components/stratos/usage/org.wso2.carbon.usage.agent/src/main/java/org/wso2/carbon/usage/agent/persist


but right now there is no such class.And there is no such class called
TransportStatisticsEntry withing carbon.server.


I could find the commit mails, related to adding the class. But no commit
mails related to removing it.





thanks,
--Pradeep.
___
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-29 Thread Pradeep Fernando
On Mon, Jan 30, 2012 at 9:41 AM, Kishanthan Thangarajah  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) ?
>

AFAIR, correct. what is the real issue ? (why this question)

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


-- 
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] Updated Invitation: tomcat OSGi - architecture review @ Tue Jan 31 11am - 12pm (carbon-dev@wso2.org)

2012-01-27 Thread Pradeep Fernando
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120131T053000Z
DTEND:20120131T063000Z
DTSTAMP:20120127T100509Z
ORGANIZER;CN=prad...@wso2.com:mailto:prad...@wso2.com
UID:0dci9douelei9lpracrusbb...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Pradeep Fernando;X-NUM-GUESTS=0:mailto:prad...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Chethiya Abeysinghe;X-NUM-GUESTS=0:mailto:cheth...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=carbon-dev@wso2.org;X-NUM-GUESTS=0:mailto:carbon-dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sameera Jayasoma;X-NUM-GUESTS=0:mailto:same...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dileepa Jayakody;X-NUM-GUESTS=0:mailto:dile...@wso2.com
CREATED:20120126T114224Z
DESCRIPTION:architecture review session on Tomcat OSGification + effect on 
 carbon. platform members are expected to be present. :) \nView your event a
 t http://www.google.com/calendar/event?action=VIEW&eid=MGRjaTlkb3VlbGVpOWxw
 cmFjcnVzYmJibXMgY2FyYm9uLWRldkB3c28yLm9yZw&tok=MTYjcHJhZGVlcEB3c28yLmNvbTVi
 NmNkOWU4ZmMwMDY4OGVkOGQ3MjY5Nzk3YWNiMmE3NmJjYjE1YWQ&ctz=Asia%2FColombo&hl=e
 n.
LAST-MODIFIED:20120127T100508Z
LOCATION:conference room\, 59 2nd floor
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:tomcat OSGi - architecture review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Carbon-dev] svn externs .. are they worth it? Fwd: More compilation errors in Carbon trunk

2012-01-26 Thread Pradeep Fernando
hi,

we had the same discussion, some time back, [1]

[1] http://markmail.org/message/k4647yw6rbfwyfsf

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


[Carbon-dev] Invitation: tomcat OSGi - architecture review @ Mon Jan 30 1:30pm - 2:30pm (carbon-dev@wso2.org)

2012-01-26 Thread Pradeep Fernando
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20120130T08Z
DTEND:20120130T09Z
DTSTAMP:20120126T114505Z
ORGANIZER;CN=prad...@wso2.com:mailto:prad...@wso2.com
UID:0dci9douelei9lpracrusbb...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=prad...@wso2.com;X-NUM-GUESTS=0:mailto:prad...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chethiya Abeysinghe;X-NUM-GUESTS=0:mailto:cheth...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=carbon-dev@wso2.org;X-NUM-GUESTS=0:mailto:carbon-dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sameera Jayasoma;X-NUM-GUESTS=0:mailto:same...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dileepa Jayakody;X-NUM-GUESTS=0:mailto:dile...@wso2.com
CREATED:20120126T114224Z
DESCRIPTION:architecture review session on Tomcat OSGification + effect on 
 carbon\nView your event at http://www.google.com/calendar/event?action=VIEW
 &eid=MGRjaTlkb3VlbGVpOWxwcmFjcnVzYmJibXMgY2FyYm9uLWRldkB3c28yLm9yZw&tok=MTY
 jcHJhZGVlcEB3c28yLmNvbTViNmNkOWU4ZmMwMDY4OGVkOGQ3MjY5Nzk3YWNiMmE3NmJjYjE1YW
 Q&ctz=Asia%2FColombo&hl=en.
LAST-MODIFIED:20120126T114505Z
LOCATION:conference room\, 59 2nd floor
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:tomcat OSGi - architecture review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Carbon-dev] Tomcat OSGification - progress update

2012-01-26 Thread Pradeep Fernando
Hi all,

You can get a working carbon pack that runs on bundled tomcat (tomcat in
plugins) with web-app deployment functionality by building the source found
at [1].

You will see some exceptions while starting up the pack. Just ignore them
for the moment. They are related HttpTransport manager, jmx registering and
JNDI. Code is still in POC level. we are going to have a arch review soon.

[1]
https://svn.wso2.org/repos/wso2/scratch/pradeep/tomcat-OSGification/carbon

build carbon-core.
build carbon  product (it has web-app mgt feature)

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


Re: [Carbon-dev] [Trunk]Build issue : p2-profile-generation

2012-01-24 Thread Pradeep Fernando
thanks Ajith,

Denis encountered the same. I could not figure out.

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


Re: [Carbon-dev] Where are the packs built by Bamboo?

2012-01-15 Thread Pradeep Fernando
and harshana.

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


Re: [Carbon-dev] Adding Findbugs and Checkstyle for Maven build

2012-01-13 Thread Pradeep Fernando
On Fri, Jan 13, 2012 at 2:59 PM, Afkham Azeez  wrote:

> This will significantly slow down the build.
>
agreed. developers themselves have to run findbugs. we can catch violations
(if any) using sonar. WDYT ?



> It is better to put this into a separate profile. These have to be linked
> at the component level not product level IMO.
>
> --
> Afkham Azeez
> Sent from my phone
> On Jan 13, 2012 1:55 PM, "Shelan Perera"  wrote:
>
>> Hi,
>>
>> I am working on adding Findbugs and Check style plugins for maven build
>> for data services component.Since this may need for all the component i can
>> add it to carbon root pom
>> under plugin management so modules that needed to integrate this can
>> reuse.
>>
>> For checkstyles we can use default sun configuration file or use our
>> customized version. I am attaching the one that i got from Apache.If we are
>> using the custom one which is the best
>> location to add the configuration file.
>>
>> Would like to have your feedback.
>>
>> Here is my blog post that explains how to integrate findbugs and
>> checkstyle.[1]
>>
>> [1]
>> http://blog.shelan.org/2012/01/13/how-to-add-findbugs-and-checkstyle-plugins-to-your-maven3-build/
>>
>> Thanks,
>>
>> Regards,
>>
>> --
>> *Shelan Perera*
>>
>> Software Engineer
>> **
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Home Page*  :shelan.org
>> *Blog* : blog.shelan.org
>> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter* :https://twitter.com/#!/shelan
>>
>> *Mobile*  : +94 772 604 402
>>
>>
>>
>> _______
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


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


Re: [Carbon-dev] Templates for Carbon Components and Features

2012-01-13 Thread Pradeep Fernando
On Fri, Jan 13, 2012 at 4:22 PM, Srinath Perera  wrote:

> We should check this in to our SVN .. and maintain in the future
>
> Chethiya, can you write a OT article describing how to use these templates?
>

+1


>
>
> On Fri, Jan 13, 2012 at 3:57 PM, Chethiya Abeysinghe 
> wrote:
> > Hi,
> >
> > I've extended above, including service-stubs, features and repository
> along
> > with the already existing backend-end and front-end carbon component.
> > Therefore, any project you create using this new template will be an
> > all-in-one package where you can run off the shelf at somewhere like
> > application server. You just have to do a 'mvn clean install' in the
> created
> > project and install the created feature using the repository.
> >
> > Here are the instruction to use the new template. Note that it's not
> > archetype anymore, I've created a maven plugin to overcome some
> limitation
> > of archetype with folder naming and parameter formatting, and now it got
> > great deal of customizability.
> >
> > 1. Extract the attachment and do a 'mvn clean install' within the
> > 'carbon-template' folder.
> > 2. Go to the place you want to create the project and then hit
> > 'mvn org.wso2.carbon:carbon-template:1.0.0-SNAPSHOT:generate'
> > 3. Provide the necessary parameters (artifactId, groupId, etc)... This
> runs
> > in interactive mode. But should be possible to run in non-interactive
> mode
> > also by just passing the parameters using command line arguments.
> > 4. Go into the project folder named using the aggragratorArtifactId you
> > supplied. Run 'mvn clean install' inside that folder
> >
> > Please give necessary changes to be done on generated sample project.
> >
> > Thanks,
> >  - Chethiya
> >
> >
> > On Fri, Jan 6, 2012 at 5:42 PM, Chethiya Abeysinghe 
> > wrote:
> >>
> >>
> >>
> >> On Fri, Jan 6, 2012 at 4:29 PM, Pradeep Fernando 
> wrote:
> >>>
> >>> Hi Chethiya,
> >>>
> >>> nice. what about stub bundle. ?
> >>
> >> It's not in this archetype. At the moment this archetype only has
> back-end
> >> and front-end carbon components. As we discussed, the next step is to
> extend
> >> this archetype to create stub bundle and features along with current
> carbon
> >> components in one parent folder.
> >>
> >> thanks,
> >>  - Chethiya
> >>>
> >>>
> >>> thanks,
> >>> --Pradeep
> >>>
> >>>
> >>> ___
> >>> Carbon-dev mailing list
> >>> Carbon-dev@wso2.org
> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>
> >>
> >>
> >>
> >> --
> >> Chethiya Abeysinghe
> >> Software Engineer; WSO2, Inc.;  http://wso2.com/
> >> email: cheth...@wso2.com phone: +94 777334874
> >> blog: chethiya3000.blogspot.com
> >>
> >>
> >
> >
> >
> > --
> > Chethiya Abeysinghe
> > Software Engineer; WSO2, Inc.;  http://wso2.com/
> > email: cheth...@wso2.com phone: +94 777334874
> > blog: chethiya3000.blogspot.com
> >
> >
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>http://www.cs.indiana.edu/~hperera/
>http://srinathsview.blogspot.com/
> ___
> 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


Re: [Carbon-dev] Bootup self test component for carbon

2012-01-12 Thread Pradeep Fernando
Hi,

are we going to allow users to implement their own bootup tests, using
somekind of extension mechanism. (we are providing all the gathered info,
they decide on what to do with those). Is it a overkill ?

are we doing any native calls within the carbon-env (Now). ?

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


Re: [Carbon-dev] OSGI bundles are not picked up from dropins dir in Trunk

2012-01-09 Thread Pradeep Fernando
>>>>>>> On Tue, Jan 3, 2012 at 10:35 AM, Muhammed Shariq wrote:
>>>>>>>
>>>>>>>> Yes copying to dropins does not work in trunk, I have sent a couple
>>>>>>>> of mails regarding this and the explanation was that its an 
>>>>>>>> intermittent
>>>>>>>> issue. I however saw the issue regularly in trunk Manager build ...
>>>>>>>>
>>>>>>>>  On Tue, Jan 3, 2012 at 10:30 AM, Nuwan Bandara wrote:
>>>>>>>>
>>>>>>>>>  The bundle installs fine if I do it via OSGI console.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jan 3, 2012 at 10:06 AM, Nuwan Bandara wrote:
>>>>>>>>>
>>>>>>>>>> Hi Guys,
>>>>>>>>>>
>>>>>>>>>> I tried in Carbon, AS and GS in Trunk, but no luck with the
>>>>>>>>>> subject. When I copy an osgi bundle to the dropins directory, it 
>>>>>>>>>> wont get
>>>>>>>>>> picked up. there are also no relevant entries written in
>>>>>>>>>> bundle.info too.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks & Regards,
>>>>>>>>>>
>>>>>>>>>> Nuwan Bandara
>>>>>>>>>> Senior Software Engineer
>>>>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>
>>>>>>>>>> http://nuwan.bandara.co
>>>>>>>>>> *
>>>>>>>>>> <http://www.nuwanbando.com/>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks,
>>>>>>>> Shariq.
>>>>>>>> Phone: +94 777 202225
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Carbon-dev mailing list
>>>>>>>> Carbon-dev@wso2.org
>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks & Regards,
>>>>>>>
>>>>>>> Nuwan Bandara
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> http://nuwan.bandara.co
>>>>>>> *
>>>>>>> <http://www.nuwanbando.com/>
>>>>>>>
>>>>>>> ___
>>>>>>> Carbon-dev mailing list
>>>>>>> Carbon-dev@wso2.org
>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dileepa Jayakody,
>>>>>> Software Engineer, WSO2 Inc.
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>> Mobile : +94777-857616
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dileepa Jayakody,
>>>>> Software Engineer, WSO2 Inc.
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> Mobile : +94777-857616
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Dileepa Jayakody,
>>>> Software Engineer, WSO2 Inc.
>>>> Lean . Enterprise . Middleware
>>>>
>>>> Mobile : +94777-857616
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Amila Maharachchi*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Dileepa Jayakody,
>> Software Engineer, WSO2 Inc.
>> Lean . Enterprise . Middleware
>>
>> Mobile : +94777-857616
>>
>>
>> ___
>> 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
>
>


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


Re: [Carbon-dev] Using filter.properties in Documentation (maven site plugin)

2012-01-09 Thread Pradeep Fernando
hi,

filtering happening during packaging phase.


org.apache.maven.plugins
maven-assembly-plugin


1-pre-dist
test


attached




${basedir}/src/assembly/filter.properties



${basedir}/src/assembly/dist.xml







got this snippet from, modules/distribution/pom.xml


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


Re: [Carbon-dev] Carbon trunk is still 3.2.0-SNAPSHOT

2012-01-08 Thread Pradeep Fernando
AFAIR, Sameera sent a related mail to carbon-dev.  We agreed to postpone
version changes along with trunk dependency branching, until trunk gets
stabilized. Now is the time to do above (?)


--Pradeep
On Mon, Jan 9, 2012 at 6:59 AM, Afkham Azeez  wrote:

> Harshana,
> Can you globally change the Carbon version please? Let's do this before we
> unfreeze SVN.
>
> On Mon, Jan 9, 2012 at 6:33 AM, Samisa Abeysinghe  wrote:
>
>> When are we changing this?
>>
>> Needless to say this is badly broken. It got to be 4.0.0-SNAPSHOT
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * 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


Re: [Carbon-dev] Carbon Trunk is Stable as of r118735

2012-01-08 Thread Pradeep Fernando
On Sun, Jan 8, 2012 at 9:10 PM, Harshana Martin  wrote:

>
>
> On Sun, Jan 8, 2012 at 9:07 PM, Afkham Azeez  wrote:
>
>> Is this hanging during docgen?
>>
>
> Yes. When generating dependencies report, is hangs.
>


the repo blacklisting, similar to registry ?
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Waiting for complete carbon OSGIfication

2012-01-08 Thread Pradeep Fernando
Hi Nuwan,

On Fri, Jan 6, 2012 at 5:15 PM, Afkham Azeez  wrote:

>
>
> On Fri, Jan 6, 2012 at 5:06 PM, Pradeep Fernando  wrote:
>
>> Hi Nuwan,
>>
>> i will try to complete (jSP rendering issue) tomcat thing within next
>> week. But note that, that alone wont solve your problem.
>>
>
Now the carbon-core works with tomcat as a bundle. Was able to overcome the
JSP rendering issue. Will give you a working pack (basic one) soon.




>
>> what you can do as of now is to, expose external libs to OSGi env. Yes
>> you can use servlet-bridge. But better if you can create a another bundle
>> that specifically exposes jaggery related libs and expose the jars. (making
>> it a fragment of OSGi framework bundle).
>>
>>
> Yes, that approach may work for the time being, but it will not work once
> you keep adding new packages.
>
>
>> thanks.
>> --Pradeep
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * 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


Re: [Carbon-dev] Waiting for complete carbon OSGIfication

2012-01-06 Thread Pradeep Fernando
Hi Nuwan,

i will try to complete (jSP rendering issue) tomcat thing within next week.
But note that, that alone wont solve your problem.

what you can do as of now is to, expose external libs to OSGi env. Yes you
can use servlet-bridge. But better if you can create a another bundle that
specifically exposes jaggery related libs and expose the jars. (making it a
fragment of OSGi framework bundle).

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


  1   2   3   4   5   6   >