Re: [Carbon-dev] Test failure in Carbon trunk - http NIO core 4.1.0-wso2v1

2012-01-14 Thread Sadeep Jayasumana
Hi,

On Sat, Jan 14, 2012 at 10:29 AM, Hiranya Jayathilaka wrote:

> Sadeep, can you please do the needful and upgrade the trunk to the latest
> version of HTTP Core


Will do.

(and remove this old branch from the dependencies section)?


This dependency comes via an svn external from 3.2.0 branch. Will remove it.

Thanks,
Sadeep


> Should be a trivial change.
>
> Thanks,
> Hiranya
>
>
> On Fri, Jan 13, 2012 at 11:19 PM, Sadeep Jayasumana wrote:
>
>> Hi,
>>
>> On Fri, Jan 13, 2012 at 10:25 PM, Hiranya Jayathilaka 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jan 13, 2012 at 9:31 PM, Afkham Azeez  wrote:
>>>
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> 
>>>> [INFO] Total time: 1:03:53.127s
>>>> [INFO] Finished at: Fri Jan 13 17:03:34 IST 2012
>>>> [INFO] Final Memory: 402M/743M
>>>> [INFO]
>>>> 
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on
>>>> project httpcore-nio: There are test failures.
>>>> [ERROR]
>>>> [ERROR] Please refer to
>>>> /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/httpcore-nio/4.1.0-wso2v1/target/surefire-reports
>>>> for the individual test results.
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>> [ERROR]   mvn  -rf :httpcore-nio
>>>>
>>>>
>>>>
>>>> The surefire-report is shown below:
>>>>
>>>>
>>>> ---
>>>> Test set: org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor
>>>>
>>>> ---
>>>> Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.519
>>>> sec <<< FAILURE!
>>>> testEndpointUpAndDown(org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor)
>>>>  Time elapsed: 0.007 sec  <<< FAILURE!
>>>> junit.framework.AssertionFailedError: expected:<2> but was:<1>
>>>>  at junit.framework.Assert.fail(Assert.java:47)
>>>> at junit.framework.Assert.failNotEquals(Assert.java:283)
>>>>  at junit.framework.Assert.assertEquals(Assert.java:64)
>>>> at junit.framework.Assert.assertEquals(Assert.java:195)
>>>>  at junit.framework.Assert.assertEquals(Assert.java:201)
>>>> at
>>>> org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointUpAndDown(TestDefaultListeningIOReactor.java:118)
>>>>  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 junit.framework.TestCase.runTest(TestCase.java:168)
>>>> at junit.framework.TestCase.runBare(TestCase.java:134)
>>>>  at junit.framework.TestResult$1.protect(TestResult.java:110)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>>>  at junit.framework.TestResult.run(TestResult.java:113)
>>>> at junit.framework.TestCase.run(TestCase.java:124)
>>>>  at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>> at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>  at
>>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>>>  at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTe

Re: [Carbon-dev] Test failure in Carbon trunk - http NIO core 4.1.0-wso2v1

2012-01-13 Thread Sadeep Jayasumana
ningIOReactor.java:175)
>>  at
>> org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointAlreadyBoundFatal(TestDefaultListeningIOReactor.java:179)
>> 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 junit.framework.TestCase.runTest(TestCase.java:168)
>>  at junit.framework.TestCase.runBare(TestCase.java:134)
>> at junit.framework.TestResult$1.protect(TestResult.java:110)
>>  at junit.framework.TestResult.runProtected(TestResult.java:128)
>> at junit.framework.TestResult.run(TestResult.java:113)
>>  at junit.framework.TestCase.run(TestCase.java:124)
>> at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>  at junit.framework.TestSuite.run(TestSuite.java:227)
>> at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>  at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>>  at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>> at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>>
>>
>> Any idea what is going on?
>>
>
AFAIK, there weren't any recent changes in the dependency, and it has been
building successfully with tests for a long time now. Doubt whether
parallel builds were going on and there was a port conflict. We experienced
a similar behavior on the Bamboo builder, exception raised was the same.
See "Carbon Trunk Unit test fails at httpcore-nio" by Dushan.

Anyway, Hiranya is correct, httpcore-nio 4.1.0-wso21 and 4.1.3-wso2v2
dependencies were created to commit some important fixes to HttpCore 4.1
and 4.1.3. The latest release, 4.1.4, contains all those fixes.

Thanks,
Sadeep


> Not really. But if I'm not mistaken this code is here because we had to
> patch HTTP Core 4.1 to resolve some issue (Sadeep should know the details).
> This patch should be available in the latest GA release of HTTP Core
> (4.1.4). We should simply upgrade our platform to the above version and get
> rid of this branch in our SVN tree.
>
> Thanks,
> Hiranya
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test Automation Progress and Plan

2011-12-22 Thread Sadeep Jayasumana
Hi,

On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera  wrote:

> Goal is to get the Dashbaord working to build trunk, branch, and
> support as a thin slice  by Thursday with automation tests
> Today we (Azeez, Samisa, and others) met to discuss the progress and
> following are TODOs
>
> Dashboard is at http://builder4.us1.wso2.org:/allPlans.action
>
> Krishantha and Automation Team
> 
> Azeez will get the trunk build with integration excluded and products
> added back, and use pack generated from that to run the automation
> tests Get all automation tests to work (there was 2 failing in the
> morning)
> Integrate performance tests with automatio frameworl
>
> Dushan
> ==fix the assembly error in branch build
> Make sure abdera build problems are fixed and raise any future build
> concerns
> run the trunk and branch builds every 8 hours using Bamboo
>
> Charith
> ==Get Sonar to work with trunk Bamboo build and add that to
> builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and
> add that to builder4.us1.wso2.orgCurrent support branch to build with
> the Bamboo build from carbon core
> Make sure all Bamboo machines have security policy files  and increase
> the ulimit
>
> Infra  (Yasith)
> Get licences for BambooRegister the domain name with
> builder4.us1.wso2.org
> New windows machine to use as a build server
>
> Sadeep
> ==
> Introp tests
>

I have set up a Windows XP machine with MS Visual Studio 2008 in the test
lab. Installed the .NET services pack I got from Shankar on the same. I was
able to successfully run an old Java client against a .NET addressing
service after doing some modifications to the client. Remaining steps are
integrating these Java clients into test framework and broadening the
coverage.

Thanks,
Sadeep


> Anything I missed?
>
> --Srinath
>
> 
> 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
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Increase of RAM usage by MTOM web service

2011-12-21 Thread Sadeep Jayasumana
Hi,

On Wed, Dec 21, 2011 at 6:38 PM, Afkham Azeez  wrote:

>
>
> 2011/12/21 Güçlü Akkaya 
>
>> **
>>
>> Hi all,
>>
>> I have written a web service for uploading and downloading files as MTOM
>> attachments.(By setting MTOM true in the configuration of the web service.)
>> Currently i am trying to make some load tests. However each time i use the
>> download function of the web service the RAM usage increases. For possible
>> memory leaks i was checking the host wso2 server with jconsole. *The
>> heap usage drops to normal after the function terminates*.
>>
> If the used memory increases while a certain task is performed, and
> returns to the original memory level after the task is completed, by
> definition, it is NOT a memory leak.
>

+1. BTW, with the next major release of WSO2 Carbon/App Server, MTOM
attachment streaming feature will be available. The key issue that was
blocking this was fixed recently [1].

With this feature Axis2 (which is the underlying SOAP engine for Carbon)
will be able to stream MTOM attachments without building them in the memory
and hence the RAM usage will be minimum.

[1] https://issues.apache.org/jira/browse/AXIOM-377

Thanks,
Sadeep

>  In the attachment you can find the heap histogram before the function is
>> used and the function used after 10 times downloading a file of 70mb.
>>
>> Thanks
>>
>>
>> Fatih Güçlü Akkaya
>>
>> Software Development Engineer
>>
>>
>>
>>
>>
>>
>> ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI
>>
>> APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER
>>
>> Tel:   + 90 262 642 42 52
>>
>> GSM: + 90 554 542 48 50
>>
>>
>> ___
>> 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Trunk Unit test fails at httpcore-nio

2011-12-17 Thread Sadeep Jayasumana
Hi Dushan,

Could you please attach the surefire report? I cannot reproduce this
locally, all tests pass for me.

Thanks,
Sadeep

On Sat, Dec 17, 2011 at 8:54 AM, Dushan Abeyruwan  wrote:

> Hi ,
>  There are few unit test failures while automating the build process
> for *TRUNK* please ref the trace given below,
> required immediate  attention from respective parties.
>
>  build 15-Dec-2011 15:25:22
> ---
>
> build 15-Dec-2011 15:25:22 T E S T S
> build 15-Dec-2011 15:25:22
> ---
> build 15-Dec-2011 15:25:27Running 
> org.apache.http.nio.protocol.TestNIOSSLHttp
> build 15-Dec-2011 15:25:27Tests run: 5, Failures: 0, Errors: 0, Skipped: 
> 0, Time elapsed: 5.51 sec
> build 15-Dec-2011 15:25:27Running 
> org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor
> build 15-Dec-2011 15:25:28Tests run: 3, Failures: 1, Errors: 1, Skipped: 
> 0, Time elapsed: 0.576 sec <<< FAILURE!
> build 15-Dec-2011 15:25:28Running 
> org.apache.http.nio.protocol.TestBufferingNHttpHandlers
> build 15-Dec-2011 15:25:28Tests run: 5, Failures: 0, Errors: 0, Skipped: 
> 0, Time elapsed: 0.187 sec
> build 15-Dec-2011 15:25:28Running 
> org.apache.http.impl.nio.reactor.TestDefaultIOReactors
> build 15-Dec-2011 15:25:31Tests run: 4, Failures: 0, Errors: 0, Skipped: 
> 0, Time elapsed: 3.026 sec
>
>
> 
>
> 
>
> build 15-Dec-2011 15:25:37[INFO] WSO2 Carbon - Tasks Core Feature 
> .. SKIPPED
> build 15-Dec-2011 15:25:37[INFO] WSO2 Carbon - Tasks Feature 
> ... SKIPPED
> build 15-Dec-2011 15:25:37[INFO] 
> 
> build 15-Dec-2011 15:25:37[INFO] BUILD FAILURE
> build 15-Dec-2011 15:25:37[INFO] 
> 
> build 15-Dec-2011 15:25:37[INFO] Total time: 58:55.559s
> build 15-Dec-2011 15:25:37[INFO] Finished at: Thu Dec 15 15:25:37 PST 2011
> build 15-Dec-2011 15:27:16[INFO] Final Memory: 908M/2034M
> build 15-Dec-2011 15:27:16[INFO] 
> 
> build 15-Dec-2011 15:27:16[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on 
> project httpcore-nio: There are test failures.
> build 15-Dec-2011 15:27:16[ERROR]
> build 15-Dec-2011 15:27:16[ERROR] Please refer to 
> /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1/dependencies/httpcore-nio/4.1.0-wso2v1/target/surefire-reports
>  for the individual test results.
> build 15-Dec-2011 15:27:16[ERROR] -> [Help 1]
> build 15-Dec-2011 15:27:16[ERROR]
> build 15-Dec-2011 15:27:16[ERROR] To see the full stack trace of the 
> errors, re-run Maven with the -e switch.
> build 15-Dec-2011 15:27:16[ERROR] Re-run Maven using the -X switch to 
> enable full debug logging.
> build 15-Dec-2011 15:27:16[ERROR]
> build 15-Dec-2011 15:27:16[ERROR] For more information about the errors 
> and possible solutions, please read the following articles:
> build 15-Dec-2011 15:27:16[ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>
> cheers,
> Dushan Abeyruwan
> WSO2 Inc
> Senior Software Engineer
>
> Mobile:(+94)714408632
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Removing lib/endorsed/xalan-2.7.0.wso2v1.jar from products

2011-11-27 Thread Sadeep Jayasumana
On Mon, Nov 28, 2011 at 10:54 AM, Samisa Abeysinghe  wrote:

> +1 for removal.
>
>
> On Mon, Nov 28, 2011 at 10:52 AM, Afkham Azeez  wrote:
>
>> +1. Please remove it.
>>
>> On Mon, Nov 28, 2011 at 10:49 AM, Miyuru Wanninayaka wrote:
>>
>>> Hi all,
>>>
>>> During some performance tests done sometime back proved xalan lib we are
>>> shipping with carbon products (comes through core/org.wso2.carbon.server)
>>> is considerably slower than what Sun JVM provides. So just by removing
>>> xalan jar, we can improve xslt performance. As tests done locally, seems
>>> nothing gets break by doing this. If there is no objection i'll remove
>>> xalan.jar from 3.2.3 release.
>>>
>>
+1

Thanks,
Sadeep

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


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-23 Thread Sadeep Jayasumana
Hi,

However, there was another error in the same page.
"repository/component/mediators"
should be corrected as "repository/components/lib". Nirdesha will correct
this.

Thanks,
Sadeep

On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka wrote:

>
>
> On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe wrote:
>
>>
>>
>> On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana wrote:
>>
>>> Hi Jorge,
>>>
>>> On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio wrote:
>>>
>>>> Hi Hiranya, thanks.  I will try it them.
>>>>
>>>> I ask because in the same article another user post this issue:
>>>>
>>>> Hi Upal,
>>>> Nice article. I have taken the attached zip , created a jar of it using
>>>> maven and tried placing the jar in ESB-HOME/lib folder.
>>>
>>>
>>> Please note that as Hiranya mentioned, JAR has to be put into
>>> /repository/components/lib.
>>>
>>
>> In that case, the doc is buggy, as it mentioned ' {ESB
>> HOME}\repository\components\dropins" see:
>> http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator
>>
>
> This is actually correct. The article does mention that jar should be an
> OSGi bundle:
>
> In this case it is necessary to make the mediator an OSGI fragment of the
> synapse-core bundler. To achieve this, use the
> synapse-core.
>
> After you created the mediator, drop the JAR file in to the {ESB
> HOME}\repository\components\dropins folder.
>
>
>>
>> Please fix.
>>
>>
>>> Thanks,
>>> Sadeep
>>>
>>>
>>>> On starting ESB, I
>>>> see an exception as below
>>>> Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
>>>> java.lang.Exception: ConfigurationContext Service is not available
>>>> at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
>>>> xtImpl.java:999)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
>>>> ndleContextImpl.java:993)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
>>>> xtImpl.java:974)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
>>>> ava:346)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
>>>> e.java:350)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
>>>> va:1118)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
>>>> rtLevelManager.java:634)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
>>>> lManager.java:508)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
>>>> tartLevelManager.java:282)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
>>>> rtLevelManager.java:468)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
>>>> java:195)
>>>> at
>>>>
>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
>>>> r.java:297)
>>>>
>>>> and this is the author´s response:
>>>>
>>>> This article applies to ESB versions prior to 2.x. The current releases
>>>> are
>>>> based on OSGi modular framework for Java, thus it the process is bit
>>>> different. We are on the process of documenting articles related with
>>>> the
>>>> current releases of ESB.
>>>>
>>>>
>>>> Any way I will reproduce the steps and see.
>>>>
>>>> Saludos,
>>>> Ing. Jorge Infante Osorio.
>>>> J´Dpto Soluciones SOA.
>>>> CDAE.
>>>> Fac. 5.
>>>> UCI.
>>>>
>>>> De: carbon-dev-boun...@wso2.org [mail

Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-22 Thread Sadeep Jayasumana
Hi Jorge,

On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio wrote:

> Hi Hiranya, thanks.  I will try it them.
>
> I ask because in the same article another user post this issue:
>
> Hi Upal,
> Nice article. I have taken the attached zip , created a jar of it using
> maven and tried placing the jar in ESB-HOME/lib folder.


Please note that as Hiranya mentioned, JAR has to be put into
/repository/components/lib.

Thanks,
Sadeep


> On starting ESB, I
> see an exception as below
> Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
> java.lang.Exception: ConfigurationContext Service is not available
> at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
> at
>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
> xtImpl.java:999)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
> ndleContextImpl.java:993)
> at
>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
> xtImpl.java:974)
> at
>
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
> ava:346)
> at
>
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
> e.java:350)
> at
>
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
> va:1118)
> at
>
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
> rtLevelManager.java:634)
> at
>
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
> lManager.java:508)
> at
>
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
> tartLevelManager.java:282)
> at
>
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
> rtLevelManager.java:468)
> at
>
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
> java:195)
> at
>
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
> r.java:297)
>
> and this is the author´s response:
>
> This article applies to ESB versions prior to 2.x. The current releases are
> based on OSGi modular framework for Java, thus it the process is bit
> different. We are on the process of documenting articles related with the
> current releases of ESB.
>
>
> Any way I will reproduce the steps and see.
>
> Saludos,
> Ing. Jorge Infante Osorio.
> J´Dpto Soluciones SOA.
> CDAE.
> Fac. 5.
> UCI.
>
> De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
> nombre de Hiranya Jayathilaka
> Enviado el: martes, 22 de noviembre de 2011 23:03
> Para: carbon-dev@wso2.org
> Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article
>
> Hi Jorge,
>
> The API and the development procedure hasn't changed. So you can write a
> class extending the AbstractMediator class of Synapse, compile it into a
> jar
> file and drop it into repository/components/lib directory.
>
> I don't think we have any recent articles on this topic.
>
> Thanks,
> Hiranya
> 2011/11/23 Jorge Infante Osorio 
> Hi all.
>
> I want to know if exits an update of $subject, because it was written for
> ESB versions prior to 2.x.
>
> Thanks,
> Saludos,
> Ing. Jorge Infante Osorio.
> J´Dpto Soluciones SOA.
> CDAE.
> Fac. 5.
> UCI.
>
>
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
>
>
> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
> ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
> http://www.antiterroristas.cu
> http://justiciaparaloscinco.wordpress.com
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] XPath functions and properties avilable in WSO2 ESB

2011-11-08 Thread Sadeep Jayasumana
Hi,

XPath functions & variables:
http://wso2.org/project/esb/java/4.0.2/docs/xpath.html
Properties:
http://wso2.org/project/esb/java/4.0.2/docs/properties_guide.html

Thanks,
Sadeep

On Tue, Nov 8, 2011 at 8:28 PM, Amila Maha Arachchi  wrote:

> Hi,
>
> Where can I find a documentation of $Subject. At the moment I have only
> [1]. Is this available in the ESB Doc. If so, can somebody provide a
> pointer.
>
> [1]
> http://rajikak.blogspot.com/2010/04/xpath-functions-and-properties-avilable.html
>
> Thanks,
> AmilaM.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Ratha to take over ESB release work

2011-10-27 Thread Sadeep Jayasumana
Hi,

$subject. Since I won't be available next week. I have already updated and
committed LICENSE, release notes etc. Ratha will handle anything left.

Thanks,
-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
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 Sadeep Jayasumana
Hi,

On Tue, Oct 25, 2011 at 7:59 PM, Sadeep Jayasumana  wrote:

> Hi,
>
> I'm going to create components/endpoint/org.wso2.carbon.endpoint/3.2.2 to
> do an essential fix reported by [1]. Had an offline discussion with Shankar
> on this.
>

Done.

Thanks,
Sadeep


>
> [1] https://wso2.org/jira/browse/ESBJAVA-822
>
> Thanks,
> Sadeep
>
>
> On Tue, Oct 25, 2011 at 7:45 PM, Lalaji Sureshika  wrote:
>
>> Hi all;
>>
>> I'm going to commit the fix to [1] in
>> mashup/org.wso2.carbon.javascript-scraper.ui.Since 3.2.2 branch has not
>> added to this bundle I'll added necassary modifications in
>> components/features/products level.Had a offline chat with Shankar before
>> doing this.
>>
>> [1] https://wso2.org/jira/browse/STRATOS-1876
>>
>>
>> On Tue, Oct 25, 2011 at 6:33 PM, Ajith Vitharana  wrote:
>>
>>> Hi all,
>>>
>>> I'm going to commit
>>> to reporting/org.wso2.carbon.reporting.custom.ui/3.2.2 to fix the issue[1]
>>>
>>> [1]https://wso2.org/jira/browse/CARBON-11349
>>>
>>> Thanks
>>> Ajithn
>>>
>>>
>>> On Tue, Oct 25, 2011 at 6:58 PM, Isuru Suriarachchi wrote:
>>>
>>>> I'm committing the fix for the following issue which is a concern for
>>>> data services and mashup services.
>>>>
>>>> https://wso2.org/jira/browse/STRATOS-1868
>>>>
>>>> Thanks,
>>>> ~Isuru
>>>>
>>>>
>>>> On Tue, Oct 25, 2011 at 6:44 PM, Selvaratnam Uthaiyashankar <
>>>> shan...@wso2.com> wrote:
>>>>
>>>>> On Tue, Oct 25, 2011 at 6:38 PM, Hasini Yatawatte 
>>>>> wrote:
>>>>> > Hi all,
>>>>> >
>>>>> > I'm going to commit a missing fix to core/org.wso2.carbon.bootstrap .
>>>>> > CarbonSecurityManager.java class has been reverted (110767).
>>>>>
>>>>> It was reverted by Pradeepan.. Pradeepan, why it was reverted?
>>>>>
>>>>> Shankar
>>>>>
>>>>>  Hence I'm going
>>>>> > to add it back.
>>>>> >
>>>>> > Thanks,
>>>>> >
>>>>> > HasiniY.
>>>>> >
>>>>> >
>>>>> > On Tue, Oct 25, 2011 at 6:26 PM, Ajith Vitharana 
>>>>> wrote:
>>>>> >>
>>>>> >> Hi all,
>>>>> >> I'm going to commit changes to
>>>>> >>  registry/org.wso2.carbon.registry.search.ui/3.2.2.
>>>>> >> This commit is resolved the
>>>>> >> issue https://wso2.org/jira/browse/CARBON-11322
>>>>> >> Thanks
>>>>> >> Ajithn
>>>>> >>
>>>>> >> On Tue, Oct 25, 2011 at 3:22 PM, Kasun Weranga 
>>>>> wrote:
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>> I am going to commit a change to
>>>>> >>> data-services/org.wso2.carbon.dataservices.core/3.2.2. There was a
>>>>> small
>>>>> >>> usability issue identified by recently in DSS 2.6.0, Anjana told
>>>>> that it is
>>>>> >>> better to commit that fix into 3.2.2 branch.
>>>>> >>> Thanks,
>>>>> >>> KasunW.
>>>>> >>> On Tue, Oct 25, 2011 at 12:05 PM, Shammi Jayasinghe <
>>>>> sha...@wso2.com>
>>>>> >>> wrote:
>>>>> >>>>
>>>>> >>>> Hi,
>>>>> >>>> I am going to commit  following to the 3.2.2 branch for fixing
>>>>> the
>>>>> >>>> bug we have on Message Broker
>>>>> >>>> 1.0.2 version which is unable to create message boxes and list
>>>>> message
>>>>> >>>> boxes when we have enabled
>>>>> >>>> local transport.
>>>>> >>>>
>>>>> >>>> 3.2.0/components/messagebox/org.wso2.carbon.messagebox.ui/3.2.2
>>>>> >>>>
>>>>> 3.2.0/features/messagebox/org.wso2.carbon.messagebox.ui.feature/3.2.2
>>>>> >>>>
>>>>> >>>>
>>>>> 3.2.0/features/messagebox/org.wso2.carbon.messagebox.server.feature/3.2.2
>>>>> >>>> 3.2.0/f

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

2011-10-25 Thread Sadeep Jayasumana
 > http://wso2.org
>>>> >>>>> >>> >
>>>> >>>>> >>> > ___
>>>> >>>>> >>> > 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
>>>> >>>>> >>
>>>> >>>>> >> Thanks,
>>>> >>>>> >> Samisa...
>>>> >>>>> >>
>>>> >>>>> >> Samisa Abeysinghe
>>>> >>>>> >> VP Engineering
>>>> >>>>> >> WSO2 Inc.
>>>> >>>>> >> http://wso2.com
>>>> >>>>> >> http://wso2.org
>>>> >>>>> >>
>>>> >>>>> >
>>>> >>>>> >
>>>> >>>>> >
>>>> >>>>> > --
>>>> >>>>> > S.Uthaiyashankar
>>>> >>>>> > Senior Architect & Senior Manager
>>>> >>>>> > WSO2 Inc.
>>>> >>>>> > http://wso2.com/ - "lean . enterprise . middleware"
>>>> >>>>> >
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>> --
>>>> >>>>> S.Uthaiyashankar
>>>> >>>>> Senior Architect & Senior Manager
>>>> >>>>> WSO2 Inc.
>>>> >>>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>> >>>>> ___
>>>> >>>>> Carbon-dev mailing list
>>>> >>>>> Carbon-dev@wso2.org
>>>> >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> Best Regards,
>>>> >>>>
>>>> >>>> Shammi Jayasinghe
>>>> >>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
>>>> >>>> mobile: +94 71 4493085
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> ___
>>>> >>>> Carbon-dev mailing list
>>>> >>>> Carbon-dev@wso2.org
>>>> >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>> >>>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> 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
>>>
>>>
>>> ___
>>> Stratos-dev mailing list
>>> stratos-...@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Lalaji Sureshika
>
> Software Engineer
> WSO2 Inc.
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Doc errors when building ESB 4.0.2

2011-10-25 Thread Sadeep Jayasumana
reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: end
> tag name  must be the same as start tag  from line 69 (position: TEXT
> seen ...hich is avilable in ESB_HOME/lib/core/WEB_INF/classes
> folder.\n... @73:5)
> at
> org.codehaus.plexus.util.xml.pull.MXParser.parseEndTag(MXParser.java:1699)
> at
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1131)
> at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
> at
> org.apache.maven.doxia.parser.AbstractXmlParser.parseXml(AbstractXmlParser.java:117)
> at
> org.apache.maven.doxia.parser.AbstractXmlParser.parse(AbstractXmlParser.java:53)
> ... 27 more
>
>
> --
> Best Regards,*
>
> Shammi Jayasinghe*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
> mobile: +94 71 4493085
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Still some products and services are having older versions of jar!!

2011-10-19 Thread Sadeep Jayasumana
Hi,

On Wed, Oct 19, 2011 at 2:15 PM, Selvaratnam Uthaiyashankar <
shan...@wso2.com> wrote:

> Hi Sadeep,
>
> Still I am getting carbon.relay-3.2.0 instead of 3.2.2. Can you have a
> look?
>

This is fixed as of r114445. Sorry I couldn't detect this one earlier.
Apparently because "expected_component_version" file I used was not up to
date.

Thanks,
Sadeep


> ./repository/components/plugins/org.wso2.carbon.relay-3.2.0.jar
> [expected version 3.2.2]
>
> shankar
>
> On Wed, Oct 19, 2011 at 12:34 PM, Sadeep Jayasumana 
> wrote:
> > Hi,
> >
> > This is now fixed for LB.
> >
> > Thanks,
> > Sadeep
> >
> > On Wed, Oct 19, 2011 at 11:59 AM, Dinusha Senanayaka 
> > wrote:
> >>
> >> Hi,
> >>
> >> Fixed for DSS. Issue was in
> org.wso2.carbon.cassandra.mgt.ui.feature/3.2.2
> >> pom.xml.
> >>
> >> Regards,
> >> Dinusha.
> >>
> >> On Wed, Oct 19, 2011 at 11:29 AM, Sadeep Jayasumana 
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I'll fix this for LB.
> >>>
> >>> Thanks,
> >>> Sadeep
> >>>
> >>> On Wed, Oct 19, 2011 at 11:27 AM, Dinusha Senanayaka  >
> >>> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> will fix in dss.
> >>>>
> >>>> Regards,
> >>>> Dinusha.
> >>>>
> >>>> On Wed, Oct 19, 2011 at 9:46 AM, Dimuthu Leelarathne <
> dimut...@wso2.com>
> >>>> wrote:
> >>>>>
> >>>>> Hi,
> >>>>> Manager fixed. WSO2stratos-bam also should also be ok, because the
> fix
> >>>>> was in bam.feature.
> >>>>> tx,
> >>>>> dimuthul
> >>>>> On Wed, Oct 19, 2011 at 5:52 AM, Selvaratnam Uthaiyashankar
> >>>>>  wrote:
> >>>>>>
> >>>>>> Note that ESB, AS,  BPS and StratosESB are reported here because of
> >>>>>> qpid-client version. I guess, it should be ok.
> >>>>>>
> >>>>>> There is another thread regarding this.
> >>>>>>
> >>>>>> Shankar
> >>>>>>
> >>>>>> On Wed, Oct 19, 2011 at 5:37 AM, Selvaratnam Uthaiyashankar
> >>>>>>  wrote:
> >>>>>> > $subject.
> >>>>>> >
> >>>>>> > Products
> >>>>>> > =
> >>>>>> > AS
> >>>>>> > BAM
> >>>>>> > BPS
> >>>>>> > BRS
> >>>>>> > DataServices
> >>>>>> > ESB
> >>>>>> > GS
> >>>>>> > LB
> >>>>>> > Mashup
> >>>>>> >
> >>>>>> > Services
> >>>>>> > ===
> >>>>>> > BAM
> >>>>>> > BRS
> >>>>>> > DSS
> >>>>>> > ESB
> >>>>>> > Manager
> >>>>>> >
> >>>>>> > The revision of above builds is r114394
> >>>>>> >
> >>>>>> > Attachment shows the jar differences. Release managers, please
> >>>>>> > attend
> >>>>>> > to this as soon as possible.
> >>>>>> >
> >>>>>> > Regards,
> >>>>>> > Shankar
> >>>>>> >
> >>>>>> > --
> >>>>>> > S.Uthaiyashankar
> >>>>>> > Senior Architect & Senior Manager
> >>>>>> > WSO2 Inc.
> >>>>>> > http://wso2.com/ - "lean . enterprise . middleware"
> >>>>>> >
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> S.Uthaiyashankar
> >>>>>> Senior Architect & Senior Manager
> >>>>>> WSO2 Inc.
> >>>>>> http://wso2.com/ - "lean . enterprise . middleware"
> >>>>>> ___
> >>>>>> Carbon-dev mailing list
> >>>>>> Carbon-dev@wso2.org
> >>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>
> >>>>>
> >>>>> ___
> >>>>> Stratos-dev mailing list
> >>>>> stratos-...@wso2.org
> >>>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
> >>>>>
> >>>>
> >>>>
> >>>> ___
> >>>> Carbon-dev mailing list
> >>>> Carbon-dev@wso2.org
> >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Sadeep Jayasumana
> >>>
> >>> Software Engineer
> >>> WSO2 Inc.
> >>> Email - sad...@wso2.com
> >>> Mobile - +94 77 22 66 507
> >>>
> >>> ___
> >>> 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
> >>
> >
> >
> >
> > --
> > Sadeep Jayasumana
> >
> > Software Engineer
> > WSO2 Inc.
> > Email - sad...@wso2.com
> > Mobile - +94 77 22 66 507
> >
> > ___
> > 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"
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Still some products and services are having older versions of jar!!

2011-10-19 Thread Sadeep Jayasumana
Hi,

This is now fixed for LB.

Thanks,
Sadeep

On Wed, Oct 19, 2011 at 11:59 AM, Dinusha Senanayaka wrote:

> Hi,
>
> Fixed for DSS. Issue was in org.wso2.carbon.cassandra.mgt.ui.feature/3.2.2
> pom.xml.
>
> Regards,
> Dinusha.
>
> On Wed, Oct 19, 2011 at 11:29 AM, Sadeep Jayasumana wrote:
>
>> Hi,
>>
>> I'll fix this for LB.
>>
>> Thanks,
>> Sadeep
>>
>>
>> On Wed, Oct 19, 2011 at 11:27 AM, Dinusha Senanayaka wrote:
>>
>>> Hi,
>>>
>>> will fix in dss.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Wed, Oct 19, 2011 at 9:46 AM, Dimuthu Leelarathne 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Manager fixed. WSO2stratos-bam also should also be ok, because the fix
>>>> was in bam.feature.
>>>>
>>>> tx,
>>>> dimuthul
>>>>
>>>> On Wed, Oct 19, 2011 at 5:52 AM, Selvaratnam Uthaiyashankar <
>>>> shan...@wso2.com> wrote:
>>>>
>>>>> Note that ESB, AS,  BPS and StratosESB are reported here because of
>>>>> qpid-client version. I guess, it should be ok.
>>>>>
>>>>> There is another thread regarding this.
>>>>>
>>>>> Shankar
>>>>>
>>>>> On Wed, Oct 19, 2011 at 5:37 AM, Selvaratnam Uthaiyashankar
>>>>>  wrote:
>>>>> > $subject.
>>>>> >
>>>>> > Products
>>>>> > =
>>>>> > AS
>>>>> > BAM
>>>>> > BPS
>>>>> > BRS
>>>>> > DataServices
>>>>> > ESB
>>>>> > GS
>>>>> > LB
>>>>> > Mashup
>>>>> >
>>>>> > Services
>>>>> > ===
>>>>> > BAM
>>>>> > BRS
>>>>> > DSS
>>>>> > ESB
>>>>> > Manager
>>>>> >
>>>>> > The revision of above builds is r114394
>>>>> >
>>>>> > Attachment shows the jar differences. Release managers, please attend
>>>>> > to this as soon as possible.
>>>>> >
>>>>> > Regards,
>>>>> > Shankar
>>>>> >
>>>>> > --
>>>>> > S.Uthaiyashankar
>>>>> > Senior Architect & Senior Manager
>>>>> > WSO2 Inc.
>>>>> > http://wso2.com/ - "lean . enterprise . middleware"
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> S.Uthaiyashankar
>>>>> Senior Architect & Senior Manager
>>>>> WSO2 Inc.
>>>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>>> ___
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>
>>>>
>>>> ___
>>>> Stratos-dev mailing list
>>>> stratos-...@wso2.org
>>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>>
>>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sadeep Jayasumana
>>
>> Software Engineer
>> WSO2 Inc.
>> Email - sad...@wso2.com
>> Mobile - +94 77 22 66 507
>>
>> ___
>> 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error from Qpid when we use ooxml-spreadsheet-schemas-1.1.0.wso2v1.jar bundle with ESB

2011-10-18 Thread Sadeep Jayasumana
try.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>  at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>  at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>  at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:461)
>  at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:264)
> at
> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
>  at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>  at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
> [2011-10-19 11:01:23,886] ERROR - QpidServiceComponent Failed to start Qpid
> broker :
> org.apache.mina.transport.socket.nio.SocketAcceptor.(ILedu/emory/mathcs/backport/java/util/concurrent/Executor;)V
>
>
> --
> Kasun Indrasiri
> Associate Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 536 4128
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Still some products and services are having older versions of jar!!

2011-10-18 Thread Sadeep Jayasumana
Hi,

I'll fix this for LB.

Thanks,
Sadeep

On Wed, Oct 19, 2011 at 11:27 AM, Dinusha Senanayaka wrote:

> Hi,
>
> will fix in dss.
>
> Regards,
> Dinusha.
>
> On Wed, Oct 19, 2011 at 9:46 AM, Dimuthu Leelarathne wrote:
>
>> Hi,
>>
>> Manager fixed. WSO2stratos-bam also should also be ok, because the fix was
>> in bam.feature.
>>
>> tx,
>> dimuthul
>>
>> On Wed, Oct 19, 2011 at 5:52 AM, Selvaratnam Uthaiyashankar <
>> shan...@wso2.com> wrote:
>>
>>> Note that ESB, AS,  BPS and StratosESB are reported here because of
>>> qpid-client version. I guess, it should be ok.
>>>
>>> There is another thread regarding this.
>>>
>>> Shankar
>>>
>>> On Wed, Oct 19, 2011 at 5:37 AM, Selvaratnam Uthaiyashankar
>>>  wrote:
>>> > $subject.
>>> >
>>> > Products
>>> > =
>>> > AS
>>> > BAM
>>> > BPS
>>> > BRS
>>> > DataServices
>>> > ESB
>>> > GS
>>> > LB
>>> > Mashup
>>> >
>>> > Services
>>> > ===
>>> > BAM
>>> > BRS
>>> > DSS
>>> > ESB
>>> > Manager
>>> >
>>> > The revision of above builds is r114394
>>> >
>>> > Attachment shows the jar differences. Release managers, please attend
>>> > to this as soon as possible.
>>> >
>>> > Regards,
>>> > Shankar
>>> >
>>> > --
>>> > S.Uthaiyashankar
>>> > Senior Architect & Senior Manager
>>> > WSO2 Inc.
>>> > http://wso2.com/ - "lean . enterprise . middleware"
>>> >
>>>
>>>
>>>
>>> --
>>> S.Uthaiyashankar
>>> Senior Architect & Senior Manager
>>> WSO2 Inc.
>>> http://wso2.com/ - "lean . enterprise . middleware"
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>> ___
>> Stratos-dev mailing list
>> stratos-...@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build error in ESB and LB

2011-10-18 Thread Sadeep Jayasumana
Hi,

This is fixed now. It was caused by a missing commit.

Thanks,
Sadeep

On Tue, Oct 18, 2011 at 9:37 PM, Hiranya Jayathilaka wrote:

>
>
> On Tue, Oct 18, 2011 at 7:14 PM, Selvaratnam Uthaiyashankar <
> shan...@wso2.com> wrote:
>
>> $subject. Please have a  look
>>
>
> Sadeep is looking into this. We added a new version of the relay transport
> feature today and this looks like a result of that.
>
> Thanks,
> Hiranya
>
>
>>
>> Shankar
>>
>> [ERROR] Cannot complete the install because one or more required items
>> could not be found.
>> [ERROR]  Software being installed: WSO2 Carbon - Axis2 Transport Relay
>> Feature 1.0.1 (org.wso2.carbon.transports.relay.feature.group 1.0.1)
>> [ERROR]  Missing requirement: WSO2 Carbon - Axis2 Transport Relay
>> Feature 1.0.1 (org.wso2.carbon.transports.relay.feature.group 1.0.1)
>> requires 'org.wso2.carbon.core.server.feature.group [0.0.0.null,0
>> .1.0)' but it could not be found
>> [ERROR] Application failed, log file location:
>>
>> E:\src\java\carbon_branch\3.2.0\src\products\lb\1.0.2\modules\p2-profile\product\target\p2-agent\configuration\1318945409810.log
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO]
>>
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: 18 seconds
>> [INFO] Finished at: Tue Oct 18 19:13:35 IST 2011
>> [INFO] Final Memory: 21M/618M
>> [INFO]
>> 
>>
>>
>> --
>> S.Uthaiyashankar
>> Senior Architect & Senior Manager
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Please update your products with the latest version of registry features

2011-10-17 Thread Sadeep Jayasumana
Hi,

We have already updated ESB product and service to include these new
versions. We had to do that in several iterations as new features had been
created without our knowledge and product/service profiles were not updated.

IMO, whenever a new feature version is created, the creator should check for
product/service p2-profiles using that feature and update them accordingly.
In fact, many of us already do this. It's very hard for product teams to
monitor new versions of features they are using and update the p2-profile
time to time to include those new versions. If everyone starts creating new
features without updating others' p2-profiles, product teams will have a
hard time maintaining their p2-profiles.

Thanks,
Sadeep

On Mon, Oct 17, 2011 at 3:26 PM, Isuru Wimalasundera wrote:

> Hi All / RM s
>
> This is to request you all to do the $Subject . And given below are the
> registry features which contains latest 3.2.2 , so please update to 3.2.2 if
> these features are being used in the products or services.
>
> ./registry-core/org.wso2.carbon.registry.core.common.feature/3.2.2
> ./registry-core/org.wso2.carbon.registry.core.ui.feature/3.2.2
> ./registry-core/org.wso2.carbon.registry.core.feature/3.2.2
> ./registry-core/org.wso2.carbon.registry.core.server.feature/3.2.2
>
>
> ./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.ui.feature/3.2.2
>
> ./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.feature/3.2.2
>
> ./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.server.feature/3.2.2
>
>
> ./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.feature/3.2.2
>
> ./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.ui.feature/3.2.2
>
> ./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.server.feature/3.2.2
>
>
> ./handler-configuration/org.wso2.carbon.registry.handler.configuration.feature/3.2.2
>
> ./handler-configuration/org.wso2.carbon.registry.handler.configuration.server.feature/3.2.2
>
> ./handler-configuration/org.wso2.carbon.registry.handler.configuration.ui.feature/3.2.2
>
> ./content-search/org.wso2.carbon.registry.contentsearch.feature/3.2.2
>
> ./content-search/org.wso2.carbon.registry.contentsearch.server.feature/3.2.2
> ./content-search/org.wso2.carbon.registry.contentsearch.ui.feature/3.2.2
>
> ./activities/org.wso2.carbon.registry.activities.feature/3.2.2
> ./activities/org.wso2.carbon.registry.activities.ui.feature/3.2.2
> ./activities/org.wso2.carbon.registry.activities.server.feature/3.2.2
>
>
> ./notifications-configuration/org.wso2.carbon.governance.notifications.configuration.feature/3.2.2
>
>
> ./community-features/org.wso2.carbon.registry.community.features.ui.feature/3.2.2
>
> ./community-features/org.wso2.carbon.registry.community.features.server.feature/3.2.2
>
> ./community-features/org.wso2.carbon.registry.community.features.feature/3.2.2
>
> ./uddi/org.wso2.carbon.registry.uddi.feature/3.2.2
>
> ./registry-profiles/org.wso2.carbon.registry.profiles.ui.feature/3.2.2
> ./registry-profiles/org.wso2.carbon.registry.profiles.server.feature/3.2.2
> ./registry-profiles/org.wso2.carbon.registry.profiles.feature/3.2.2
>
> ./ws-api/org.wso2.carbon.registry.ws.feature/3.2.2
>
> ./meta-data/org.wso2.carbon.governance.metadata.server.feature/3.2.2
> ./meta-data/org.wso2.carbon.governance.metadata.ui.feature/3.2.2
> ./meta-data/org.wso2.carbon.governance.metadata.feature/3.2.2
>
> ./extensions/org.wso2.carbon.registry.extensions.ui.feature/3.2.2
> ./extensions/org.wso2.carbon.registry.extensions.server.feature/3.2.2
> ./extensions/org.wso2.carbon.registry.extensions.feature/3.2.2
>
>
> ./resource-properties/org.wso2.carbon.registry.resource.properties.server.feature/3.2.2
>
> ./resource-properties/org.wso2.carbon.registry.resource.properties.ui.feature/3.2.2
>
> ./resource-properties/org.wso2.carbon.registry.resource.properties.feature/3.2.2
>
>
> ./platform-extensions/org.wso2.carbon.governance.platform.extensions.server.feature/3.2.2
>
> ./platform-extensions/org.wso2.carbon.governance.platform.extensions.feature/3.2.2
>
> ./jcr/org.wso2.carbon.registry.jcr.feature/3.2.2
>
>
> ./governance-gadgets/org.wso2.carbon.governance.gadgets.resourceimpact.feature/3.2.2
>
> ./governance-gadgets/org.wso2.carbon.governance.gadgets.impactanalysis.feature/3.2.2
>
> ./governance-gadgets/org.wso2.carbon.governance.gadgets.lifecycle.feature/3.2.2
> ./governance-gadgets/org.wso2.carbon.governance.gadgets.ui.feature/3.2.2
> ./governance-gadgets/org.wso2.carbon.governance.gadgets.feature/3.2.2
>
>
> Thank You
> Isuruw
>
>
> --
> *Isuru Wimalasundera*
> Software Engi

Re: [Carbon-dev] Releasing features as 3.2.1 or 3.2.2 if we have released the same feature in 3.2.0?

2011-10-17 Thread Sadeep Jayasumana
Hi,

On Mon, Oct 17, 2011 at 12:39 PM, Manjula Rathnayake wrote:

>
>
> On Mon, Oct 17, 2011 at 11:59 AM, Prabath Siriwardena wrote:
>
>> On Mon, Oct 17, 2011 at 11:49 AM, Supun Malinga  wrote:
>> > Hi manjula,
>> >
>> > On Mon, Oct 17, 2011 at 11:46 AM, Manjula Rathnayake > >
>> > wrote:
>> >>
>> >>
>> >> On Mon, Oct 17, 2011 at 11:42 AM, Manjula Rathnayake <
>> manju...@wso2.com>
>> >> wrote:
>> >>>
>> >>> Hi all,
>> >>>
>> >>> I am bit confused with $subject.
>> >>>
>> >>> We have released a features with 3.2.0. And this feature need to be
>> >>> changed with new dependencies. So what is the correct version of this
>> >>> feature, 3.2.1 or 3.2.2?
>> >>
>> >> Clarifying this further, note that we do not have a feature created for
>> >> 3.2.1 yet.
>> >
>> > In that case you still have to create the version as 3.2.2. This is
>> because
>> > the release is 3.2.2 and all the releasing versions should be 3.2.2
>> > please look at the mail under subject,
>> > [mars-dev] 3.2.2 branch under the 3.2.0 branch
>>
>> I guess we need to revisit this approach.. Shouldn't individual
>> components have their own versioning..? So - a new component can start
>> with 1.0 and progress..
>>
> +1 on this. However I am sticking to 3.2.1 as it is already created and it
> preserve sequential order as 3.2.0, 3.2.1 .
>

I understand the logic, but this can be quite confusing. When someone else
has to do a fix to the same component, they see 3.2.1 version you have
created for 3.2.2 release and the first impression they get is that its an
already released version. So they might decide not to touch that version and
create yet another version, 3.2.2.

In addition to that, when we compare p2-profiles to check latest versions
etc. again this could be very confusing. Therefore, IMO we should go with
3.2.2, at least till independent component versioning concept is properly
introduced.

Thanks,
Sadeep


>> Thanks & regards,
>> -Prabath
>>
>> > thanks,
>> >
>> >>>
>> >>> Thank you.
>> >>>
>> >>> --
>> >>> Manjula Rathnayaka
>> >>> Software Engineer
>> >>> WSO2, Inc.
>> >>> Mobile:+94 77 743 1987
>> >>
>> >>
>> >>
>> >> --
>> >> Manjula Rathnayaka
>> >> Software Engineer
>> >> WSO2, Inc.
>> >> Mobile:+94 77 743 1987
>> >>
>> >> ___
>> >> Carbon-dev mailing list
>> >> Carbon-dev@wso2.org
>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>
>> >
>> >
>> >
>> > --
>> > Supun Malinga,
>> >
>> > Software Engineer,
>> > WSO2 Inc.
>> > http://wso2.com
>> > http://wso2.org
>> > email - 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
>> >
>> >
>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
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-10-13 Thread Sadeep Jayasumana
On Thu, Oct 13, 2011 at 1:21 PM, Dimuthu Leelarathne wrote:

> hi,
>
>
> On Thu, Oct 13, 2011 at 12:52 PM, Sadeep Jayasumana wrote:
>
>> Hi,
>>
>> On Wed, Oct 12, 2011 at 8:58 AM, Prabath Siriwardena wrote:
>>
>>> Hi Folks,
>>>
>>> Please create corresponding products in the SVN for Carbon 3.2.3 -
>>>
>>
>> This is done for ESB.
>>
>>
> Please make sure that you include the commit I did to ESB service yesterday
> - r113770
>

Done.


> tx,
> dimuthul
>
>
>> Thanks,
>> Sadeep
>>
>>
>>> Currently we only have IS and BPS...
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Sadeep Jayasumana
>>
>> Software Engineer
>> WSO2 Inc.
>> Email - sad...@wso2.com
>> Mobile - +94 77 22 66 507
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
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-10-13 Thread Sadeep Jayasumana
Hi,

On Wed, Oct 12, 2011 at 8:58 AM, Prabath Siriwardena wrote:

> Hi Folks,
>
> Please create corresponding products in the SVN for Carbon 3.2.3 -
>

This is done for ESB.

Thanks,
Sadeep


> Currently we only have IS and BPS...
>
> --
> 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
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] HELP: Can HTTP 200 response include empty body?

2011-10-04 Thread Sadeep Jayasumana
Hi,

On Tue, Oct 4, 2011 at 1:41 PM, Charitha Kankanamge wrote:

> Folks,
>
> Is the body optional for HTTP 200 OK messages? In other words, is the
> following response valid?
>

Yes. This is a valid response [1]. Specially, response to a HEAD request
always comes without an entity body.

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1

Thanks,
Sadeep


>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 0
> Date: Tue, 04 Oct 2011 07:40:56 GMT
>
> Thanks!
> Charitha
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] What should be the correct version of org.wso2.carbon.common.feature

2011-09-26 Thread Sadeep Jayasumana
Hi,

$subject? Version 1.5.2 has been created but p2-profiles of services are not
updated. For example, in ESB service, version 1.5.1 is used and it results
in a jar duplication. Can I safely update ESB service's p2-profile to use
org.wso2.carbon.common.feature:1.5.2?

Thanks,
-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Governance Registry: Lock/Unlock Artifact

2011-09-08 Thread Sadeep Jayasumana
Hi,

WSO2 GReg 4.0.0 has a concept called Resource Retention. In the GReg UI
resource browser, a user can lock a resource using the "Retention" portlet.

PropertiesAdminService is used for locking the resource. Please check
setRetentionProperties() and getRetentionProperties() methods in that
service. A registry handler named RetentionHandler is used behind the scenes
to implement this feature.

Thanks,
Sadeep

On Fri, Sep 9, 2011 at 1:34 AM, David Carver  wrote:

> Is there a way to mark an artifact as being locked?  I.e. so that only
> certain people can make changes to it?   Or do I need to add some special
> attributes and handlers to address this situation?
>
> Dave
>
> __**_
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/**mailman/listinfo/carbon-dev<http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev>
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Fwd: [Carbon-build] "ESB Build Failure in 3.2.2 - Integration Tests"

2011-09-01 Thread Sadeep Jayasumana
Hi,

This is fixed now.

Thanks,
Sadeep

On Thu, Sep 1, 2011 at 12:07 PM, Ranga Siriwardena  wrote:

>
>
> -- Forwarded message --
> From: Ranga Siriwardena 
> Date: Thu, Sep 1, 2011 at 9:20 AM
> Subject: Re: [Carbon-build] "WSO2 Carbon Continuous Build has FAILED
> /home/carbon320/322_carbon/products/esb/4.0.2"
> To: carbon-bu...@wso2.org
> Cc: Vijayaratha Vijayasingam , Sadeep Jayasumana <
> sad...@wso2.com>
>
>
> Surefire-reports attached.
>
>
> On Wed, Aug 31, 2011 at 9:02 PM, WSO2 Carbon 3.2.2 Builder (US1) <
> cbuil...@wso2.org> wrote:
>
>>
>> [INFO] Scanning for projects...
>> [INFO] Reactor build order:
>> [INFO]   WSO2 ESB - Aggregator Module
>> [INFO]   WSO2 ESB - Styles Parent
>> [INFO]   WSO2 ESB - Styles
>> [INFO]   WSO2 Stratos ESB - Styles
>> [INFO]   WSO2 ESB - Samples Parent
>> [INFO]   WSO2 ESB - Samples
>> [INFO]   WSO2 Stratos ESB - Samples
>> [INFO]   WSO2 ESB - Features Parent
>> [INFO]   WSO2 ESB - Features Aggregator Module
>> [INFO]   WSO2 ESB - Styles Features
>> [INFO]   WSO2 ESB - Samples Features
>> [INFO]   WSO2 Stratos ESB - Login User Interface
>> [INFO]   WSO2 Stratos ESB - Features Aggregator Module
>> [INFO]   WSO2 Stratos ESB - Login UI Feature
>> [INFO]   WSO2 Stratos ESB - Styles Features
>> [INFO]   WSO2 Stratos ESB - Samples Features
>> [INFO]   WSO2 ESB - P2 Profile Generation Parent
>> [INFO]   WSO2 ESB - P2 Profile Generation
>> [INFO]   WSO2 Stratos ESB - P2 Profile Generation
>> [INFO]   WSO2 ESB - Distribution Parent
>> [INFO]   WSO2 ESB - Distribution
>> [INFO]   WSO2 Stratos ESB - Distribution
>> [INFO]   WSO2 ESB - Integration Parent
>> [INFO]   WSO2 ESB Integration Test Core
>> [INFO]   Endpoint Integration Tests
>> [INFO]   Local Entry Integration Tests
>> [INFO]   Mediator Integration Tests
>> --
>>at
>> org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
>>at
>> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
>>at
>> org.infinispan.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:113)
>>at
>> org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
>>at
>> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
>>at
>> org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:58)
>>at
>> org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:39)
>>at
>> org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:57)
>>at
>> org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
>>at
>> org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:271)
>>... 11 more
>> [2011-08-31 11:32:20,845]  INFO
>> {org.wso2.esb.integration.http.SimpleHttpServer} -  Starting HTTP server on
>> port: 8080
>> [2011-08-31 11:32:20,849]  INFO - LogMediator To: /foo/bar/service?wsdl,
>> MessageID: urn:uuid:150b1a97-4198-4d37-bb84-9def830d93b1, Direction:
>> request, Envelope: > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>> />
>> [2011-08-31 11:32:20,854]  INFO - LogMediator To:
>> http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
>> MessageID: urn:uuid:3e2e610c-f360-4db1-ac60-67939823b9e9, Direction:
>> response, Envelope: > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>> />
>> [2011-08-31 11:32:20,856]  INFO
>> {org.wso2.esb.integration.nhttp.WSDLRequestTest} -  Response received:
>> [2011-08-31 11:32:20,856]  INFO
>> {org.wso2.esb.integration.http.SimpleHttpServer} -  Shutting down simple
>> HTTP server
>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 65.954 sec
>> <<< FAILURE!
>>
>> Results :
>>
>> Failed tests:
>>
>>  testTemplate(org.wso2.esb.integration.nhttp.QueryParameterManipulationTest)
>>  testTemplate(org.wso2.esb.integration.nhttp.WSDLRequestTest)
>>
>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0
>>
>> Shutting down server...
>> Saving Code Coverage Details...
>> Completed Saving Code Coverage Details.
>> [INFO]
>> 
>>

Re: [Carbon-dev] [Carbon-commits] [Carbon] svn commit r109843 - branches/carbon/3.2.0/patch-releases/3.2.1/dependencies

2011-07-11 Thread Sadeep Jayasumana
Hi,

Fixed.

Thanks,
Sadeep

On Mon, Jul 11, 2011 at 5:50 PM, Shammi Jayasinghe  wrote:

>
>
> On Mon, Jul 11, 2011 at 2:47 PM,  wrote:
>
>> Author: isuru
>> Date: Mon Jul 11 02:17:52 2011
>> New Revision: 109843
>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=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=109843&r1=109842&r2=109843&view=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 @@
>>
>> 
>> ../../../dependencies/axis2/1.6.1-wso2v2
>> +
>>  ../../../dependencies/axis2/transports/1.1.0-wso2v5
>>
> Hi ,
> I think mistakenly committed this with the wrong path. Please fix this.
>
> Thanks
> Shammi
>
>> ../../../dependencies/ode/1.3.5-wso2v3
>> ../../../dependencies/httpcore-nio/4.1.0-wso2v1
>> ../../../dependencies/synapse/2.1.0-wso2v3
>> ___
>> 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
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Integration test failures in products 3.2.1

2011-07-11 Thread Sadeep Jayasumana
Hi,

I took an svn up this morning and built everything. All ESB integration
tests are passing now.

Thanks,
Sadeep

On Mon, Jul 11, 2011 at 1:11 PM, Waruna Ranasinghe  wrote:

> Fixed the integration test failure in BPS.
>
>
> Thanks,
> Waruna
>
> On Sun, Jul 10, 2011 at 1:05 PM, Supun Malinga  wrote:
>
>> Hi all,
>>
>> $subject has been there for sometime now. We need to fix these for the
>> release!
>> Currently integration tests fail in following products,
>>
>> GREG
>> BAM
>> ESB
>> BPS
>>
>> Builder mails contains further description of the failures.
>>
>> thanks n regards,
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - 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
>>
>>
>
>
> --
> -
> Waruna Ranasinghe
> Senior Software Engineer, WSO2
>
> Mobile: +94 724 318285
> BLOG: http://warunapw.blogspot.com
>
> www.wso2.com - "Lean . Enterprise . Middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error in building httpcore-nio in 3.2.1

2011-07-06 Thread Sadeep Jayasumana
Hi,

This is caused by an Internet connectivity issue or a corrupted jar file. I
just tried building it on a clean repo and succeeded.

Thanks,
Sadeep

On Wed, Jul 6, 2011 at 2:18 PM, Tharindu Mathew  wrote:

> I get the following error at [1]. Deleted the specific jar and built
> online, but still getting the same.
>
> Anything that I have overlooked?
>
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building HttpCore NIO
> [INFO]task-segment: [install]
> [INFO]
> 
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar
>
> [INFO] [notice:generate {execution: attach-notice-license}]
> [INFO] Generating NOTICE and LICENSE resources
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [WARNING] POM for 'org.codehaus.plexus:plexus-io:pom:1.0:runtime' is
> invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar': Unable to load the
> mojo 'org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar' in the plugin
> 'org.apache.maven.plugins:maven-jar-plugin'. A required class is missing:
> Lorg/codehaus/plexus/archiver/jar/JarArchiver;
> org.codehaus.plexus.archiver.jar.JarArchiver
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Wed Jul 06 14:14:12 IST 2011
> [INFO] Final Memory: 59M/343M
> [INFO]
> 
>
>
> --
> Regards,
>
> Tharindu
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure in 3.2.1 branch

2011-07-05 Thread Sadeep Jayasumana
Hi,

I'm also getting the same build error.

Thanks,
Sadeep

On Tue, Jul 5, 2011 at 12:44 PM, Amila Jayasekara  wrote:

> I am getting following build failure in [1].
> org.wso2.carbon.context is referring org.wso2.carbon.utils version as
> ${pom.version}
> But org.wso2.carbon.utils does not have a 3.2.1 yet.
>
> Thanks
> AmilaJ
>
> [1]
>
> [INFO] Building WSO2 Carbon - Context
> [INFO]task-segment: [install]
> [INFO]
> 
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.utils/3.2.1/org.wso2.carbon.utils-3.2.1.pom
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.utils:pom:3.2.1' in repository
> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
> Downloading:
> http://repo1.maven.org/maven2/org/wso2/carbon/org.wso2.carbon.utils/3.2.1/org.wso2.carbon.utils-3.2.1.pom
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.utils:pom:3.2.1' in repository
> central (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.utils/3.2.1/org.wso2.carbon.utils-3.2.1.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.utils:jar:3.2.1' in repository
> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
> Downloading:
> http://repo1.maven.org/maven2/org/wso2/carbon/org.wso2.carbon.utils/3.2.1/org.wso2.carbon.utils-3.2.1.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.wso2.carbon.utils:jar:3.2.1' in repository
> central (http://repo1.maven.org/maven2)
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.wso2.carbon:org.wso2.carbon.utils:jar:3.2.1
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=org.wso2.carbon
> -DartifactId=org.wso2.carbon.utils -Dversion=3.2.1 -Dpackaging=jar
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>  mvn deploy:deploy-file -DgroupId=org.wso2.carbon
> -DartifactId=org.wso2.carbon.utils -Dversion=3.2.1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>1) org.wso2.carbon:org.wso2.carbon.context:bundle:3.2.1
>2) org.wso2.carbon:org.wso2.carbon.utils:jar:3.2.1
>
> --
> 1 required artifact is missing.
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB service build failure in 3.2.1 branch

2011-07-04 Thread Sadeep Jayasumana
 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
>>
>>
>
>
> --
> Kasun Indrasiri
> Associate Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 536 4128
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Supporting predefined ESB properties in sequence editor UI and CS

2011-06-29 Thread Sadeep Jayasumana
Hi,

On Thu, Jun 30, 2011 at 10:10 AM, Udayanga Wickramasinghe  wrote:

>
>
> On Wed, Jun 29, 2011 at 10:20 AM, Kasun Indrasiri  wrote:
>
>> Hi devs,
>>
>> As you know, in ESB we have to deal with large number of various
>> properties[1] that we set using property mediators in the mediation flows.
>> When it comes to designing sequences, using either the mgmt console or CS,
>> new users always need to go through the property catalog  and select the
>> required properties.(of course with the correct value and scope). We can
>> improve the usability of property mediator by giving an option to the  user
>> to select the predefined properties and populate them with relevant values
>> and scopes. However we need to store and maintain a list of predefined
>> properties of ESB to be used by the property mediator UI and CS.
>>
>> WDYT?
>>
> +1

Thanks,
Sadeep

> +1
>
>>
>> [1] http://wso2.org/project/esb/java/4.0.0/docs/properties_guide.html
>>
>> --
>> Kasun Indrasiri
>> Associate Technical Lead
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 71 536 4128
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Udayanga Wickramasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: **udaya...@wso2.com* * cell: +94 (77) 983-4365
> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com/>
> *
> twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
> *
> *
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Branching HttpCore NIO

2011-06-29 Thread Sadeep Jayasumana
Hi,

We need to branch HttpCore NIO in order to fix [1] for the next ESB release.
Although this fix has already been committed to HttpCore trunk and 4.1.x
branch under [2], it's highly unlikely that HttpCore 4.1.2 will be released
before our next release.

Should I proceed with this?

[1] https://wso2.org/jira/browse/ESBJAVA-792
[2] https://issues.apache.org/jira/browse/HTTPCORE-260

-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Dinusha

2011-06-09 Thread Sadeep Jayasumana
Congratulations...!

On Fri, Jun 10, 2011 at 9:48 AM, Kalpanie Wanigaratne wrote:

> Congrats dinusha..
>
> Regards
>
> Kalpanie
>
> On Thu, Jun 9, 2011 at 5:47 PM, Anjana Fernando  wrote:
>
>> Hi everyone,
>>
>> It's my distinct pleasure to welcome Dinusha as a WSO2 committer.
>> Congratulations, and thank you for the great work so far.
>>
>> Cheers,
>> Anjana.
>>
>> --
>> *Anjana Fernando*
>> Senior Software Engineer
>> WSO2 Inc. | http://wso2.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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Sadeep Jayasumana
Hi,

On Wed, May 11, 2011 at 10:09 PM, Amila Maha Arachchi wrote:

>
>
> On Wed, May 11, 2011 at 9:51 PM, Afkham Azeez  wrote:
>
>> Cool. That should work with replaceAll.
>
>
> I am a little confused. Does this mean ok to go with *String.replace* ?
>

I guess so. Java API documentation says that replaceAll() will not give what
we expect if the second argument contains backslashes or dollar signs.

Thanks,
Sadeep


>

>>
>> On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana wrote:
>>
>>> Hi,
>>>
>>> Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in
>>> the replacement string may cause the results to be different than if it were
>>> being treated as a literal replacement string; see Matcher.replaceAll. Use
>>> Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
>>> of these characters, if desired.*
>>>
>>> [1] 
>>> http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
>>> java.lang.String)
>>>
>>>
>>> <http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll%28java.lang.String,+java.lang.String%29>
>>> Thanks,
>>> Sadeep
>>>
>>>
>>> On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi wrote:
>>>
>>>> Found this in the internet.
>>>>
>>>>
>>>> http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html
>>>>
>>>>
>>>> On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi 
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez  wrote:
>>>>>
>>>>>> replaceAll takes a regex as the first parameter. The second parameter
>>>>>> is just a normal String. So, unless the key contains special characters,
>>>>>> this cannot fail. Also, the replace method takes two characters as
>>>>>> parameters, or 2 CharSequences. So, replace & replaceAll have different
>>>>>> behaviors.
>>>>>
>>>>>
>>>>> This failed when the second string has special characters.
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi >>>>> > wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Theres this code segment in org.wso2.carbon.email.sender component.
>>>>>>>
>>>>>>> public static String replacePlaceHolders(String text, Map>>>>>> String> userParameters) {
>>>>>>> if (userParameters != null) {
>>>>>>> for (Map.Entry entry :
>>>>>>> userParameters.entrySet()) {
>>>>>>> String key = entry.getKey();
>>>>>>> *text = text.replaceAll("\\{" + key + "\\}",
>>>>>>> entry.getValue());*
>>>>>>> }
>>>>>>> }
>>>>>>> return text;
>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>> Above String.replaceAll() method throws exceptions when there are
>>>>>>> special characters in the string which is being replaced with. i.e. In 
>>>>>>> the
>>>>>>> above sample it is entry.getValue(). An example is the $ sign. This can 
>>>>>>> be
>>>>>>> avoided by using \\$. But it is a headache.
>>>>>>>
>>>>>>
>>>>>> Can you give us an example for key and entryValue, and if possible the
>>>>>> exception stacktrace?
>>>>>>
>>>>>
>>>>> key: subscription-charges
>>>>> entryValues: Multitenancy Medium $50
>>>>>
>>>>> Here is the stacktrace.
>>>>>
>>>>> [2011-05-11 19:56:42,999] ERROR
>>>>> {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
>>>>> sending the bill for the customer. customer: d.com, invoice id:19
>>>>> java.lang.IndexOutOfBoundsException: No group 5   *<== Here, it breaks
>>>>> at $50. Thats why the 5 is there.If the values was $10, it would say No
>>>>> group 1.*
>>>>>   

Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Sadeep Jayasumana
t; AmilaM.
>>>> *
>>>> *
>>>> ___
>>>> 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*
>>>
>>>
>>> ___
>>> Stratos-dev mailing list
>>> stratos-...@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>
>>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why print Carbon home and Java home at server start up?

2011-05-10 Thread Sadeep Jayasumana
Hi,

On Wed, May 11, 2011 at 6:32 AM, Kathiravelu Pradeeban
wrote:

>
>
> On Wed, May 11, 2011 at 6:23 AM, Danushka Menikkumbura 
> wrote:
>
>> I think we should have a start up option to display them rather than
>> showing them all the time.
>>
>
> Isn't it more handy to just have those two lines as it is now, than having
> to use a start up option which people may not even be aware of? I guess, it
> is common in many products to show the java home and product home in the
> start up.
>

+1

Thanks,
Sadeep

>
> Thank you.
> Regards,
> Pradeeban.
>
>>
>> Danushka
>>
>>
>> On Tue, May 10, 2011 at 5:38 PM, Afkham Azeez  wrote:
>>
>>> Why not?
>>>
>>> This has been added because people have been coming to me from time to
>>> time showing various weird errors, which resulted in many wasted hours. The
>>> root cause was CARBON_HOME has been set to something else in their
>>> bash_profile files.
>>>
>>>
>>> On Tue, May 10, 2011 at 5:08 PM, Danushka Menikkumbura <
>>> danus...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> ___
>>>> 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
>>>
>>>
>>
>> ___
>> 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] wsdl validator version in orbit/wsdl-validator/pom.xml

2011-05-05 Thread Sadeep Jayasumana
Hi,

My bad. Will fix it and commit.

Thanks,
Sadeep

On Thu, May 5, 2011 at 12:26 PM, Isuru Suriarachchi  wrote:

> Hi Sadeep,
>
>  88283 sadeep
> 
>  88283 sadeep 1.2.0.SNAPSHOT-wso2v1
>
> Why did you name the bundle with "-" instead of "."? Is there any special
> reason for that? And also, why did you comment out the usage of the maven
> property? Having the version in two places is not the best practice.
>
> 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Fazlan Sabar

2011-04-17 Thread Sadeep Jayasumana
Congratulations...!!!

On Mon, Apr 18, 2011 at 9:59 AM, Fazlan Sabar  wrote:

> Hi,
>
> Thank you very much for granting me with WSO2 committership, and it's an
> honor. I look forward to continuously contribute to my fullest capacity.
>
> On Mon, Apr 18, 2011 at 7:23 AM, Senaka Fernando  wrote:
>
>> Hi Fazlan,
>>
>> Congratulations.
>>
>> Its my pleasure to welcome you aboard as a WSO2 Committer. We really
>> appreciate the effort you've put in, and all the hard work behind your
>> contributions. Please do keep it up.
>>
>> Thanks and Best Regards,
>> Senaka.
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>
>
> --
> Thanks,
> Fazlan
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] GREG product test failures

2011-04-05 Thread Sadeep Jayasumana
Hi,

Fixed. Senaka/Janaka will commit the patch.

Thanks,
Sadeep

On Tue, Apr 5, 2011 at 2:02 PM, Sadeep Jayasumana  wrote:

> Hi,
>
> I'm looking into this.
>
> Sadeep
>
>
> On Tue, Apr 5, 2011 at 1:54 PM, Selvaratnam Uthaiyashankar <
> shan...@wso2.com> wrote:
>
>> Senaka,
>>
>>
>>
>> On Tue, Apr 5, 2011 at 5:39 AM, Senaka Fernando  wrote:
>>
>>> Denis,
>>>
>>> Can we try this on a new build. This seems to be building fine for me. I
>>> saw some commits to the Core, I wonder whether that has anything to do with
>>> this?
>>>
>>
>>
>> Still GReg product tests are failing. Please check!
>>
>> [INFO] Compiling 2 source files to
>> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/test-classes
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] Surefire report directory:
>> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/surefire-reports
>>
>> ---
>>  T E S T S
>> ---
>> Running org.wso2.registry.checkin.BasicTest
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 14, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 10.038
>> sec <<< FAILURE!
>>
>> Results :
>>
>> Tests in error:
>>   testSimpleCheckout(org.wso2.registry.checkin.BasicTest)
>>   testSimpleResourceUpdate(org.wso2.registry.checkin.BasicTest)
>>   testSimpleCollectionUpdate(org.wso2.registry.checkin.BasicTest)
>>   testConflicts(org.wso2.registry.checkin.BasicTest)
>>   testDeleteResources(org.wso2.registry.checkin.BasicTest)
>>   testDeleteCollections(org.wso2.registry.checkin.BasicTest)
>>   testUpdateWithoutUrlOption(org.wso2.registry.checkin.BasicTest)
>>   testMovingCheckoutAndCommit(org.wso2.registry.checkin.BasicTest)
>>   testWiredResourceTrees(org.wso2.registry.checkin.BasicTest)
>>   testWiredCollectionTrees(org.wso2.registry.checkin.BasicTest)
>>   testFileCheckinCheckout(org.wso2.registry.checkin.BasicTest)
>>   testOnlyOneFileDeleteCi(org.wso2.registry.checkin.BasicTest)
>>   testDeleteLocally(org.wso2.registry.checkin.BasicTest)
>>
>> Tests run: 14, Failures: 0, Errors: 13, Skipped: 0
>>
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] There are test failures.
>>
>> Please refer to
>> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/surefire-reports
>> for the individual test results.
>>
>>
>>
>>
>>
>>>
>>> Thanks,
>>> Senaka.
>>>
>>>  On Mon, Apr 4, 2011 at 8:42 PM, Denis Weerasiri  wrote:
>>>
>>>>  Hi,
>>>> $subject
>>>>
>>>> --
>>>> Thanks,
>>>> Denis
>>>> --
>>>> *Denis Weerasiri*
>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>>>> *
>>>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>>>> *
>>>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>>>> *
>>>> linked-in: 
>>>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Product Manager - WSO2 Governance Registry;
>>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://www.linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> S.Uthaiyashankar
>> Senior Architect & Senior Manager
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sadeep Jayasumana
>
> Software Engineer
> WSO2 Inc.
> Email - sad...@wso2.com
> Mobile - +94 77 22 66 507
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] GREG product test failures

2011-04-05 Thread Sadeep Jayasumana
Hi,

I'm looking into this.

Sadeep

On Tue, Apr 5, 2011 at 1:54 PM, Selvaratnam Uthaiyashankar  wrote:

> Senaka,
>
>
>
> On Tue, Apr 5, 2011 at 5:39 AM, Senaka Fernando  wrote:
>
>> Denis,
>>
>> Can we try this on a new build. This seems to be building fine for me. I
>> saw some commits to the Core, I wonder whether that has anything to do with
>> this?
>>
>
>
> Still GReg product tests are failing. Please check!
>
> [INFO] Compiling 2 source files to
> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory:
> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/surefire-reports
>
> ---
>  T E S T S
> ---
> Running org.wso2.registry.checkin.BasicTest
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 14, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 10.038
> sec <<< FAILURE!
>
> Results :
>
> Tests in error:
>   testSimpleCheckout(org.wso2.registry.checkin.BasicTest)
>   testSimpleResourceUpdate(org.wso2.registry.checkin.BasicTest)
>   testSimpleCollectionUpdate(org.wso2.registry.checkin.BasicTest)
>   testConflicts(org.wso2.registry.checkin.BasicTest)
>   testDeleteResources(org.wso2.registry.checkin.BasicTest)
>   testDeleteCollections(org.wso2.registry.checkin.BasicTest)
>   testUpdateWithoutUrlOption(org.wso2.registry.checkin.BasicTest)
>   testMovingCheckoutAndCommit(org.wso2.registry.checkin.BasicTest)
>   testWiredResourceTrees(org.wso2.registry.checkin.BasicTest)
>   testWiredCollectionTrees(org.wso2.registry.checkin.BasicTest)
>   testFileCheckinCheckout(org.wso2.registry.checkin.BasicTest)
>   testOnlyOneFileDeleteCi(org.wso2.registry.checkin.BasicTest)
>   testDeleteLocally(org.wso2.registry.checkin.BasicTest)
>
> Tests run: 14, Failures: 0, Errors: 13, Skipped: 0
>
> [INFO]
> 
> [ERROR] BUILD FAILURE
> [INFO]
> 
> [INFO] There are test failures.
>
> Please refer to
> /home/shankar/src/carbon/products/greg/modules/checkin-client/target/surefire-reports
> for the individual test results.
>
>
>
>
>
>>
>> Thanks,
>> Senaka.
>>
>> On Mon, Apr 4, 2011 at 8:42 PM, Denis Weerasiri  wrote:
>>
>>>  Hi,
>>> $subject
>>>
>>> --
>>> Thanks,
>>> Denis
>>> --
>>> *Denis Weerasiri*
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>>> *
>>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>>> *
>>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>>> *
>>> linked-in: 
>>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> S.Uthaiyashankar
> Senior Architect & Senior Manager
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] commons-vfs2 does not build without tests.

2011-04-04 Thread Sadeep Jayasumana
Hi,

I also just got the same error. Building with tests worked for me too.

Thanks,
Sadeep

On Tue, Apr 5, 2011 at 10:30 AM, Samisa Abeysinghe  wrote:

> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.apache.commons:commons-vfs2:test-jar:tests:2.0-wso2v3
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.commons
> -DartifactId=commons-vfs2 -Dversion=2.0-wso2v3 -Dclassifier=tests
> -Dpackaging=test-jar -Df
> ile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>   mvn deploy:deploy-file -DgroupId=org.apache.commons
> -DartifactId=commons-vfs2 -Dversion=2.0-wso2v3 -Dclassifier=tests
> -Dpackaging=test-jar -Dfil
> e=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
> 1) org.apache.commons:commons-vfs2-sandbox:jar:2.0-wso2v3
> 2) org.apache.commons:commons-vfs2:test-jar:tests:2.0-wso2v3
>
> --
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.commons:commons-vfs2-sandbox:jar:2.0-wso2v3
>
> from the specified remote repositories:
>   apache.snapshots.https (
> https://repository.apache.org/content/repositories/snapshots),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository/
> ),
>   central (http://repo1.maven.org/maven2),
>   apache.m1 (http://people.apache.org/repo/m1-snapshot-repository/)
>
>
>
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 79 minutes 24 seconds
> [INFO] Finished at: Tue Apr 05 10:14:52 IST 2011
> [INFO] Final Memory: 1174M/1696M
> [INFO]
> 
>
> 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Architecture] WSO2 Governance Registry Governance API issues

2011-04-04 Thread Sadeep Jayasumana
lf,
>>> Sanjiva and Samisa) had. Please feel free to comment on this.
>>>
>>> Thanks
>>> Milinda
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Milinda Pathirage
>>> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
>>> http://wso2.com
>>> Blog: http://blog.mpathirage.com
>>>
>>> Lean Enterprise Middleware
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* * 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
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-REG - 29/03/2011 build is unusable

2011-03-29 Thread Sadeep Jayasumana
On Wed, Mar 30, 2011 at 11:57 AM, Janaka Ranabahu  wrote:

>
>
> On Wed, Mar 30, 2011 at 11:28 AM, Janaka Ranabahu  wrote:
>
>>
>>
>> On Wed, Mar 30, 2011 at 10:40 AM, Evanthika Amarasiri > > wrote:
>>
>>> Hi,
>>>
>>> Came across the following blockers in the G-Reg pack built on 29/03/2011.
>>> Please be kind enough to fix these issues and provide us a stable build.
>>>
>>> [1] - https://wso2.org/jira/browse/CARBON-9202
>>
>> Im looking in to this issue. Will update this thread once this is
>> finished.
>>
>
> This issue has been fixed with r91079. It seems like this commit was not
> reflected in this build.
>
> Thanks,
> Janaka
>
>>
>> Thanks,
>> Janaka
>>
>>>
>>> [2] - https://wso2.org/jira/browse/CARBON-9204
>>>
>> [3] - https://wso2.org/jira/browse/CARBON-9203
>>>
>> Fixed this one today morning with r91196.

Sadeep

>
>>>
>>> Regards,
>>> Evanthika
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Janaka Ranabahu
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile +94 718370861
>> Email : jan...@wso2.com
>> Blog : janakaranabahu.blogspot.com
>>
>>
>
>
> --
> Janaka Ranabahu
> Software Engineer
> WSO2 Inc.
>
> Mobile +94 718370861
> Email : jan...@wso2.com
> Blog : janakaranabahu.blogspot.com
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trace with Solr Client when restarting registry

2011-03-29 Thread Sadeep Jayasumana
On Wed, Mar 30, 2011 at 9:48 AM, Sadeep Jayasumana  wrote:

> Hi,
>
> I will be looking into this.


Fixed and committed.

Sadeep

>
>
> On Wed, Mar 30, 2011 at 8:39 AM, Srinath Perera  wrote:
>
>> Carbon trunk, built yesterday PM
>> Greg .. started .. all look good
>> shutdown restart .. I am getting following error .. but registry starts ok
>>
>> ERROR {org.wso2.carbon.registry.indexing.solr.SolrClient} -  Could not
>> instantiate Solr client
>> java.io.IOException: Solf conf directory could not be created! Path:
>> repository/conf/solr/conf
>>at
>> org.wso2.carbon.registry.indexing.solr.SolrClient.(SolrClient.java:74)
>>at
>> org.wso2.carbon.registry.indexing.solr.SolrClient.getInstance(SolrClient.java:104)
>>at
>> org.wso2.carbon.registry.indexing.AsyncIndexer.(AsyncIndexer.java:63)
>>at
>> org.wso2.carbon.registry.indexing.IndexingManager.(IndexingManager.java:55)
>>at
>> org.wso2.carbon.registry.indexing.IndexingManager.getInstance(IndexingManager.java:64)
>>at
>> org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent.startIndexing(IndexingServiceComponent.java:67)
>>at
>> org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent.setRegistryService(IndexingServiceComponent.java:58)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:597)
>>at
>> org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:374)
>>at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:411)
>>at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:210)
>>at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:328)
>>at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>>at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>>at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>>at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>>at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>>at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>>at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>>at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>>at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>>at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>>at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>>at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>>at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>>at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>>at
>> org.wso2.carbon.identity.authenticator.token.internal.TokenAuthenticatorDSComponent.activate(TokenAuthenticatorDSComponent.java:51)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>>
>> --
>> ========
>> 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/
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Sadeep Jayasumana
>
> Software Engineer
> WSO2 Inc.
> Email - sad...@wso2.com
> Mobile - +94 77 22 66 507
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trace with Solr Client when restarting registry

2011-03-29 Thread Sadeep Jayasumana
Hi,

I will be looking into this.

On Wed, Mar 30, 2011 at 8:39 AM, Srinath Perera  wrote:

> Carbon trunk, built yesterday PM
> Greg .. started .. all look good
> shutdown restart .. I am getting following error .. but registry starts ok
>
> ERROR {org.wso2.carbon.registry.indexing.solr.SolrClient} -  Could not
> instantiate Solr client
> java.io.IOException: Solf conf directory could not be created! Path:
> repository/conf/solr/conf
>at
> org.wso2.carbon.registry.indexing.solr.SolrClient.(SolrClient.java:74)
>at
> org.wso2.carbon.registry.indexing.solr.SolrClient.getInstance(SolrClient.java:104)
>at
> org.wso2.carbon.registry.indexing.AsyncIndexer.(AsyncIndexer.java:63)
>at
> org.wso2.carbon.registry.indexing.IndexingManager.(IndexingManager.java:55)
>at
> org.wso2.carbon.registry.indexing.IndexingManager.getInstance(IndexingManager.java:64)
>at
> org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent.startIndexing(IndexingServiceComponent.java:67)
>at
> org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent.setRegistryService(IndexingServiceComponent.java:58)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
> org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:374)
>at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:411)
>at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:210)
>at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:328)
>at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>at
> org.wso2.carbon.identity.authenticator.token.internal.TokenAuthenticatorDSComponent.activate(TokenAuthenticatorDSComponent.java:51)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>
> --
> 
> 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/
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Code generation still not completely fixed?

2011-03-28 Thread Sadeep Jayasumana
Hi,

I'm fixing this.

On Mon, Mar 28, 2011 at 12:49 PM, Samisa Abeysinghe  wrote:

> I see that many components still generating code on their own. This needs
> to be fixed ASAP.
>
> Component owners please have a look.
>
> On Mon, Mar 28, 2011 at 12:30 PM, Samisa Abeysinghe wrote:
>
>> Why do we still see code generation when building components?
>>
>> [INFO]
>> 
>> [INFO] Building WSO2 Carbon - Registry - Web Service Client
>> [INFO]task-segment: [clean, install]
>> [INFO]
>> 
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory
>> D:\svn\carbon\components\registry\org.wso2.carbon.registry.ws.client\target
>> [INFO] snapshot
>> org.wso2.carbon:org.wso2.carbon.registry.common.ui:3.2.0-SNAPSHOT: checking
>> for updates from wso2-nexus
>> [INFO] snapshot
>> org.wso2.carbon:org.wso2.carbon.registry.extensions:3.2.0-SNAPSHOT: checking
>> for updates from wso2-nexus
>> [INFO] [incremental-build:incremental-build {execution: default}]
>> [INFO] Verifying module descriptor ...
>> [INFO] Pom descriptor modification detected.
>> [INFO] Deleting
>> D:\svn\carbon\components\registry\org.wso2.carbon.registry.ws.client\target
>> [INFO] [build-helper:add-source {execution: add-source}]
>> [INFO] Source directory:
>> D:\svn\carbon\components\registry\org.wso2.carbon.registry.ws.client\target\generated-code\src
>> added.
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 1 resource
>> *[INFO] [antrun:run {execution: source-code-generation}]*
>> [INFO] Executing tasks
>>  [java] Retrieving document at
>> 'src/main/resources/WSRegistryService/WSRegistryService.wsdl'.
>>  [java] Mar 28, 2011 12:28:22 PM
>> org.apache.axis2.schema.SchemaCompiler compile
>>  [java] WARNING: No schemaLocation for import of
>> http://api.registry.carbon.wso2.org/xsd; compilation may fail
>>  [java] Mar 28, 2011 12:28:22 PM
>> org.apache.axis2.schema.SchemaCompiler compile
>>  [java] WARNING: No schemaLocation for import of
>> http://exceptions.core.registry.carbon.wso2.org/xsd; compilation may fail
>>  [java] Mar 28, 2011 12:28:22 PM
>> org.apache.axis2.schema.SchemaCompiler compile
>>  [java] WARNING: No schemaLocation for import of
>> http://api.ws.registry.carbon.wso2.org/xsd; compilation may fail
>>  [java] Mar 28, 2011 12:28:22 PM
>> org.apache.axis2.schema.SchemaCompiler compile
>>  [java] WARNING: No schemaLocation for import of http://io.java/xsd;
>> compilation may fail
>>  [java] Mar 28, 2011 12:28:22 PM
>> org.apache.axis2.schema.SchemaCompiler findClassName
>>  [java] WARNING: Type {
>> http://api.registry.carbon.wso2.org/xsd}RegistryException missing!
>> [INFO] Executed tasks
>> [INFO] [compiler:compile {execution: default-compile}]
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] java.lang.IllegalArgumentException: [=] is not a hexadecimal digit

2011-03-15 Thread Sadeep Jayasumana
Hi,

Just saw that although [1] has the line,

String errorMsg = request.getParameter("errorMsg");

it's not used anywhere. Therefore I think sending a parameter named
"errorMsg" won't help.

sadeep

On Wed, Mar 16, 2011 at 12:14 PM, Sadeep Jayasumana  wrote:

> Hi,
>
> On Wed, Mar 16, 2011 at 10:42 AM, Dimuthu Leelarathne 
> wrote:
>
>> Hi,
>>
>>
>> I keep getting the above exception on following line and failed to fix it.
>> This used to work fine and suddenly it has stopped working.
>>
>> 
>>
>
> I have seen similar code in GReg. In my opinion we are doing it wrong
> (don't know how it worked earlier). Looking at the code inside [1], this, at
> least, should be corrected as
>
> 
>
> But then again it could fail in some application servers if 'error1' has
> special characters (even a space will do). Because, as per my knowledge, the
> proper way of passing HTTP parameters into a  uses
> , then only the web container guarantees encoding special
> characters.
>
> Therefore, I use the following code to send error message details to
> ../admin/error.jsp
>
> <%
> request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(errorMessage,
> CarbonUIMessage.ERROR, exception));
> %>
> 
>
>
> [1]
> https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/resources/web/admin/error.jsp
>
> Thanks,
> sadeep
>
>
>>
>> Any idea on how to fix it?
>>
>> [2011-03-16 10:33:46,612] ERROR
>> {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]}
>> -  Servlet.service() for servlet bridgeservlet threw exception
>> java.lang.IllegalArgumentException: [=] is not a hexadecimal digit
>> at
>> org.apache.catalina.util.RequestUtil.convertHexDigit(RequestUtil.java:360)
>> at
>> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:442)
>>
>> thanks,
>> Dimuthu
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sadeep Jayasumana
>
> Software Engineer
> WSO2 Inc.
> Email - sad...@wso2.com
> Mobile - +94 77 22 66 507
>



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] java.lang.IllegalArgumentException: [=] is not a hexadecimal digit

2011-03-15 Thread Sadeep Jayasumana
Hi,

On Wed, Mar 16, 2011 at 10:42 AM, Dimuthu Leelarathne wrote:

> Hi,
>
>
> I keep getting the above exception on following line and failed to fix it.
> This used to work fine and suddenly it has stopped working.
>
> 
>

I have seen similar code in GReg. In my opinion we are doing it wrong (don't
know how it worked earlier). Looking at the code inside [1], this, at least,
should be corrected as



But then again it could fail in some application servers if 'error1' has
special characters (even a space will do). Because, as per my knowledge, the
proper way of passing HTTP parameters into a  uses
, then only the web container guarantees encoding special
characters.

Therefore, I use the following code to send error message details to
../admin/error.jsp

<%
request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(errorMessage,
CarbonUIMessage.ERROR, exception));
%>



[1]
https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/resources/web/admin/error.jsp

Thanks,
sadeep


>
> Any idea on how to fix it?
>
> [2011-03-16 10:33:46,612] ERROR
> {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]}
> -  Servlet.service() for servlet bridgeservlet threw exception
> java.lang.IllegalArgumentException: [=] is not a hexadecimal digit
> at
> org.apache.catalina.util.RequestUtil.convertHexDigit(RequestUtil.java:360)
> at
> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:442)
>
> thanks,
> Dimuthu
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Some resources of Governance Dashboard component have incorrect media types

2011-02-27 Thread Sadeep Jayasumana
On Mon, Feb 28, 2011 at 11:45 AM, Sadeep Jayasumana  wrote:

>
>
> On Mon, Feb 28, 2011 at 11:17 AM, Sumedha Rubasinghe wrote:
>
>>
>>
>> On Mon, Feb 28, 2011 at 10:57 AM, Sadeep Jayasumana wrote:
>>
>>> Ex:
>>> Resouce path:
>>> /_system/config/repository/dashboards/gadgets/images/bar.jpg
>>> Media type: application/vnd.wso2-gadget+xml
>>>
>>> Resource path:
>>> /_system/config/repository/dashboards/gadgets/images/gauge.jpg
>>> Media type: application/vnd.wso2-gadget+xml
>>>
>>> How can *.jpg have "application/vnd.wso2-gadget+xml" as the media type?
>> :)
>>
>
Problem is there in [1].


>
>> BTW Sadeep, I think we need to solve this from G-Reg PoV. There is a high
>> chance for any random user to upload content with incorrect media type.
>> Indexing should not fail b'cos of that. Logic should be, if we cannot index
>> one resource, move to other.
>>
>
> Yes, that's the logic we have. Indexing doest not fail, it just logs an
> error message if it cannot index a resource with an indexable media type.
> And then it moves on :)
>
>
>> /sumedha
>>
>>
>>>
>>> +xml part in the media type suggests that the resource has XML content.
>>> This leads to exceptions in GReg indexing.
>>>
>>>
>>> --
>>> Sadeep Jayasumana
>>>
>>> Software Engineer
>>> WSO2 Inc.
>>> Email - sad...@wso2.com
>>> Mobile - +94 77 22 66 507
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>
>
> --
> Sadeep Jayasumana
>
> Software Engineer
> WSO2 Inc.
> Email - sad...@wso2.com
> Mobile - +94 77 22 66 507
>

[1]
https://svn.wso2.org/repos/wso2/trunk/carbon/components/dashboard/org.wso2.carbon.dashboard.dashboardpopulator/src/main/java/org/wso2/carbon/dashboard/dashboardpopulator/GadgetPopulator.java

-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Some resources of Governance Dashboard component have incorrect media types

2011-02-27 Thread Sadeep Jayasumana
On Mon, Feb 28, 2011 at 11:17 AM, Sumedha Rubasinghe wrote:

>
>
> On Mon, Feb 28, 2011 at 10:57 AM, Sadeep Jayasumana wrote:
>
>> Ex:
>> Resouce path: /_system/config/repository/dashboards/gadgets/images/bar.jpg
>> Media type: application/vnd.wso2-gadget+xml
>>
>> Resource path:
>> /_system/config/repository/dashboards/gadgets/images/gauge.jpg
>> Media type: application/vnd.wso2-gadget+xml
>>
>> How can *.jpg have "application/vnd.wso2-gadget+xml" as the media type?
> :)
>
> BTW Sadeep, I think we need to solve this from G-Reg PoV. There is a high
> chance for any random user to upload content with incorrect media type.
> Indexing should not fail b'cos of that. Logic should be, if we cannot index
> one resource, move to other.
>

Yes, that's the logic we have. Indexing doest not fail, it just logs an
error message if it cannot index a resource with an indexable media type.
And then it moves on :)


> /sumedha
>
>
>>
>> +xml part in the media type suggests that the resource has XML content.
>> This leads to exceptions in GReg indexing.
>>
>>
>> --
>> Sadeep Jayasumana
>>
>> Software Engineer
>> WSO2 Inc.
>> Email - sad...@wso2.com
>> Mobile - +94 77 22 66 507
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Some resources of Governance Dashboard component have incorrect media types

2011-02-27 Thread Sadeep Jayasumana
Ex:
Resouce path: /_system/config/repository/dashboards/gadgets/images/bar.jpg
Media type: application/vnd.wso2-gadget+xml

Resource path:
/_system/config/repository/dashboards/gadgets/images/gauge.jpg
Media type: application/vnd.wso2-gadget+xml


+xml part in the media type suggests that the resource has XML content. This
leads to exceptions in GReg indexing.


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Ranga Siriwardana

2011-02-13 Thread Sadeep Jayasumana
On Sun, Feb 13, 2011 at 8:43 PM, Prabath Abeysekera wrote:

> Congratz Ranga!
>
> On Sun, Feb 13, 2011 at 11:41 AM, Supun Kamburugamuva wrote:
>
>> Hi Ranga,
>>
>> It is my please to welcome you as a commitor to WSO2 Carbon. We hope
>> you will contribute your best in the coming years.
>>
>> Congrats Ranga..!!

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


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Compilation error while building governance component

2011-01-19 Thread Sadeep Jayasumana
Hi,

Please take an svn up of org.org.wso2.carbon.governance.list and rebuild

On Thu, Jan 20, 2011 at 10:49 AM, Prabath Abeysekera wrote:

> Hi devs,
>
> Getting the following compilation errors while building governance
> component. No classes defined with names ConsumerFilter, ConsumerManager and
> Consumer in org.wso2.carbon.governance.api.people package.
>
> [INFO]
> 
> [ERROR] BUILD FAILURE
> [INFO]
> 
> [INFO] Compilation failure
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[24,44]
> cannot find symbol
> symbol  : class ConsumerFilter
> location: package org.wso2.carbon.governance.api.people
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[25,44]
> cannot find symbol
> symbol  : class ConsumerManager
> location: package org.wso2.carbon.governance.api.people
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[26,56]
> cannot find symbol
> symbol  : class Consumer
> location: package org.wso2.carbon.governance.api.people.dataobjects
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[43,12]
> cannot find symbol
> symbol  : class ConsumerManager
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[43,50]
> cannot find symbol
> symbol  : class ConsumerManager
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[44,18]
> cannot find symbol
> symbol  : class Consumer
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[53,12]
> cannot find symbol
> symbol  : class ConsumerFilter
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[53,52]
> cannot find symbol
> symbol  : class ConsumerFilter
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[60,12]
> cannot find symbol
> symbol  : class Consumer
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
> /home/disk1/WSO2/Carbon/carbon/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListConsumersUtil.java:[64,21]
> cannot find symbol
> symbol  : class Consumer
> location: class org.wso2.carbon.governance.list.util.ListConsumersUtil
>
>
> --
> Prabath Abeysekara
> Software Engineer
> WSO2 Inc.
> Email: praba...@wso2.com 
> Mobile: +94718124514
>
> <http://harshana05.blogspot.com/>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Usability improvement::All Carbon Base Product User Interfaces

2011-01-18 Thread Sadeep Jayasumana
+1

On Tue, Jan 18, 2011 at 5:41 PM, Prabath Abeysekera wrote:

> +1.
> This would be a very attractive inclusion to the existing UI.
>
> On Tue, Jan 18, 2011 at 4:56 PM, Chanaka Jayasena wrote:
>
>> Hi all,
>>
>> When we are working on any product console, the work area is only 2/3 of
>> the entire space. This is when considering a 1024 resolution. I suggest, we
>> should give users the ability to show and hide the left menu and header
>> section if they want to. I am not suggesting to entirely hiding them, but to
>> show a minified version of it.  There are two screen shots attached.
>>
>> step1.png
>> User click on the yellow button if they want to minify left menu.
>>
>> step2.png
>> Left menu and header section is minified. User can see the hidden menu by
>> clicking on the yellow icon again.
>> User can mouse over to a menu heading and system will display a popup menu
>> with all the sub menus under it.
>>
>> WDYT?
>>
>> Thanks,
>> Chanaka
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> Regards,
> --
> Prabath Abeysekara
> Software Engineer
> WSO2 Inc.
> Email: praba...@wso2.com 
> Mobile: +94718124514
>
> <http://harshana05.blogspot.com/>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Static Imports in Event Component

2011-01-09 Thread Sadeep Jayasumana
On Sun, Jan 9, 2011 at 4:36 PM, Senaka Fernando  wrote:

> +1, I too agree. Same applies to inheriting/implementing constants classes.
> This too makes it impossible to identify from where the constant came from.
>
> Thanks,
> Senaka.
>
>
> On Sun, Jan 9, 2011 at 3:49 PM, Afkham Azeez  wrote:
>
>> Yeah, I also don't like static imports. It does not make it clear from
>> where the method/attributes are coming from. Makes the code less
>> understandable.
>
> +1

>
>> Azeez
>>
>> On Sun, Jan 9, 2011 at 12:11 PM, Hiranya Jayathilaka wrote:
>>
>>> Hi Folks,
>>>
>>> I can see that the event component is using static imports here and
>>> there. IMO static imports make code difficult to follow and understand.
>>> Better to get rid of them.
>>>
>>> Thanks
>>> --
>>> Hiranya Jayathilaka
>>> Senior Software Engineer;
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
>>> Blog: http://techfeast-hiranya.blogspot.com
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **az...@wso2.com* * 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
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> WSO2, Inc.; http://wso2.com
> *
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Differences in registry core trunk and 3.1.0 branch

2010-12-14 Thread Sadeep Jayasumana
Hi Asela,

Thank you for the explanation.

On Tue, Dec 14, 2010 at 5:47 PM, Asela Pathberiya  wrote:

> Hi Sadeep,
>
> This diff is related to the secure vault. As we are going to change secure
> vault stuff, patch is not applied to trunk. New implementation would be
> available on the trunk.
>
> Thanks,
> Asela.
>
>
> On Tue, Dec 14, 2010 at 5:31 PM, Sadeep Jayasumana wrote:
>
>> Hi,
>>
>> $subject. Diff file is attached.
>>
>> --
>> Sadeep Jayasumana
>>
>> Software Engineer
>> WSO2 Inc.
>> Email - sad...@wso2.com
>> Mobile - +94 77 22 66 507
>>
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Differences in registry core trunk and 3.1.0 branch

2010-12-14 Thread Sadeep Jayasumana
Hi,

$subject. Diff file is attached.

-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
diff -r 
./src/main/java/org/wso2/carbon/registry/core/config/DataBaseConfiguration.java 
../../branch/org.wso2.carbon.registry.core/3.1.0/src/main/java/org/wso2/carbon/registry/core/config/DataBaseConfiguration.java
19d18
< import org.apache.synapse.securevault.SecretResolver;
20a20
> import org.wso2.pwprovider.*;
39d38
< private SecretResolver secretResolver;
40a40
> private PasswordManager passwordManager;
223,229c223,224
< /**
<  * Sets a password manager which is responsible for resolving encrypted 
passwords
<  *
<  * @param secretResolver SecretResolver instance
<  */
< public void setSecretResolver(SecretResolver secretResolver) {
< this.secretResolver = secretResolver;
---
> public void setPasswordManager(PasswordManager passwordManager) {
> this.passwordManager = passwordManager;
239,242c234,236
< if (secretResolver != null && secretResolver.isInitialized()) {
< String key = configName + "." + SecurityConstants.PROP_PASSWORD;
< if (secretResolver.isTokenProtected(key)) {
< return secretResolver.resolve(password);
---
> if (passwordManager.isInitialized()) {
> if (passwordManager.isTokenProtected(configName + ".password")) {
> return passwordManager.resolve(password);
diff -r 
./src/main/java/org/wso2/carbon/registry/core/config/RegistryConfigurationProcessor.java
 
../../branch/org.wso2.carbon.registry.core/3.1.0/src/main/java/org/wso2/carbon/registry/core/config/RegistryConfigurationProcessor.java
58a59,61
> import org.wso2.pwprovider.PasswordManager;
> import org.wso2.pwprovider.PasswordManagerFactory;
> 
117,118c120
< SecretResolver secretResolver = 
SecretResolverFactory.create(configElement, false);
< 
---
> PasswordManager passwordManager = 
> PasswordManagerFactory.create(configElement, false);
125c127
< dataBaseConfiguration.setSecretResolver(secretResolver);
---
> dataBaseConfiguration.setPasswordManager(passwordManager);
302c304
< readRemoteInstances(configElement, registryContext, 
secretResolver);
---
> readRemoteInstances(configElement, registryContext, 
> passwordManager);
553,554c555
< SecretResolver secretResolver)
< throws RegistryException {
---
> PasswordManager passwordManager) 
> throws RegistryException {
606c607
< remoteConfiguration.setSecretResolver(secretResolver);
---
> remoteConfiguration.setPasswordManager(passwordManager);
805c806
< if (tempTenantId > -1) {
---
> if (tempTenantId > 0) {
diff -r 
./src/main/java/org/wso2/carbon/registry/core/config/RemoteConfiguration.java 
../../branch/org.wso2.carbon.registry.core/3.1.0/src/main/java/org/wso2/carbon/registry/core/config/RemoteConfiguration.java
18,20c18
< 
< import org.apache.synapse.securevault.SecretResolver;
< import org.apache.synapse.securevault.SecurityConstants;
---
> import org.wso2.pwprovider.*;
30a29,30
> private PasswordManager passwordManager;
> 
34c34,39
< private SecretResolver secretResolver;
---
> 
> public void setPasswordManager(PasswordManager passwordManager) {
> this.passwordManager = passwordManager;
> }
> 
> 
167,169c172,174
< public void setSecretResolver(SecretResolver secretResolver) {
< this.secretResolver = secretResolver;
< }
---
> //public void setSecretResolver(SecretResolver secretResolver) {
> //this.secretResolver = secretResolver;
> //}
178,181c183,185
< if (secretResolver != null && secretResolver.isInitialized()) {
< String key = id + "." + SecurityConstants.PROP_PASSWORD;
< if (secretResolver.isTokenProtected(key)) {
< return secretResolver.resolve(trustedPwd);
---
> if (passwordManager.isInitialized()) {
> if (passwordManager.isTokenProtected(id + ".password")) {
> return passwordManager.resolve(trustedPwd);

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


Re: [Carbon-dev] WSO2 Committers += Kasun Weranga

2010-12-13 Thread Sadeep Jayasumana
Congratulations...!!!

On Tue, Dec 14, 2010 at 12:41 PM, Senaka Fernando  wrote:

> Hi KasunW,
>
> It is my pleasure to welcome you as a WSO2 committer. Thank you for your
> contributions. Congrats & welcome aboard!
>
> Thanks,
> Senaka.
>
> --
> *Senaka Fernando*
> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Dakshitha Ratnayake + Harshana Eranga

2010-11-03 Thread Sadeep Jayasumana
Congratzzz...

On Wed, Nov 3, 2010 at 10:18 PM, Prabath Abeysekera wrote:

> Congratz fellas!!
>
> On Wed, Nov 3, 2010 at 3:37 PM, Saminda Wijeratne wrote:
>
>> It's my great pleasure to welcome 2 new WSO2 commiters, Dakshitha &
>> Harshana.
>>
>> They have being working on the tooling team for more than a month & during
>> that time they have contributed extensively to open source projects in
>> WSO2.
>>
>> Dakshitha has being responsible for providing many patches for the public
>> jiras in tooling space while being actively engaged in creating & managing
>> the data-service editor which is one of the new features we had in the
>> recently released Carbon Studio. She is further contributing to this editor
>> with new improvements to go in the next release.
>>
>> Harshana has done a really good job on providing patches for public jiras
>> & working around the clock for many queries raised by users of Carbon
>> Studio. His input on planning milestones & roadmap has being been very
>> useful. He has also introduced an xpath editor (used in the ESB editor) tool
>> for Carbon Studio. Currently he is working on creating a new set of
>> developer tools for carbon.
>>
>> Congratulations & welcome aboard Dakshitha & Harshana.
>>
>> Regards,
>> Saminda
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Prabath Abeysekara
> Software Engineer
> WSO2 Inc.
> Email: praba...@wso2.com 
> Mobile: +94718124514
>
> <http://harshana05.blogspot.com/>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Janaka Ranabahu, Sadeep Jayasumana

2010-10-27 Thread Sadeep Jayasumana
On Thu, Oct 28, 2010 at 9:21 AM, Buddhika Chamith wrote:

> Congratulations!!
>
>
> On Wed, Oct 27, 2010 at 8:31 PM, Denis Weerasiri  wrote:
>
>>
>>
>> On Wed, Oct 27, 2010 at 3:33 PM, Sumedha Rubasinghe wrote:
>>
>>> Janaka & Sadeep,
>>>
>> Congratulations!!!
>>
>>>
>>> Welcome aboard !!! ...
>>>
>>
Thanks for making me a committer. Looking forward to doing useful
contributions in the future.

>
>>> /sumedha
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Denis
>> --
>> *Denis Weerasiri*
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> *email: denisw <http://goog_277208233/>*...@wso2.com* 
>> <http://wso2.com/>*cell: +94 (71) 684-4450
>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>> *
>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>> *
>> linked-in: 
>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Buddhika Chamith
> Software Engineer
> WSO2 Inc.
> (+94716386418)
>
> http://wso2.com
>
> http://chamibuddhika.wordpress.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Version problems in carbon core parent pom in trunk

2010-10-26 Thread Sadeep Jayasumana
Hi devs,

Following changes are required in carbon core parent pom in trunk for it to
be in sync with versions in branch dependencies


-2.1.0-SNAPSHOT
+2.1.0-wso2v1

-1.3-SNAPSHOT
+1.3


Thanks and Regards,
-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507



-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Committers += Budhdhika Chamith

2010-10-21 Thread Sadeep Jayasumana
On Thu, Oct 21, 2010 at 12:01 PM, Denis Weerasiri  wrote:

>
>
> On Thu, Oct 21, 2010 at 9:22 AM, Buddhika Chamith wrote:
>
>> Hi All,
>>
>> Thanks for trusting me with committership and I am hoping to provide
>> useful contributions in future.
>>
> Congratulations buddhika
>

Congrats Buddhika

>
>> Regards
>> Buddhika
>>
>> On Wed, Oct 20, 2010 at 2:23 AM, Samisa Abeysinghe wrote:
>>
>>> Hi Budhdhika,
>>>
>>> It is my pleasure to welcome you as a WSO2 committer. Thank you for your
>>> contributions. Congrats & welcome aboard!
>>>
>>> Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Buddhika Chamith
>> Software Engineer
>> WSO2 Inc.
>> (+94716386418)
>>
>> http://wso2.com
>>
>> http://chamibuddhika.wordpress.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thanks,
> Denis
> --
> *Denis Weerasiri*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: denisw <http://goog_277208233/>*...@wso2.com* 
> <http://wso2.com/>*cell: +94 (71) 684-4450
> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
> *
> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
> *
> linked-in: 
> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev