Re: [Carbon-dev] Removing Java Service Wrapper from Carbon

2012-02-26 Thread Chintana Wilamuna
On Mon, Feb 27, 2012 at 11:49 AM, Sameera Jayasoma  wrote:

Yeah 20MB is bit of a concern.   Btw, we had an offline discussion with
> Azeez and decided to remove Java Service Wrapper.
>
> Shall we go ahead with nohup thing?
>

Nohup works ok in Linux. Problem is running it as a service in Windows.

For Windows, may be we can point to an OT article about how to download
YAJSW and install/configure it as a service?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Removing Java Service Wrapper from Carbon

2012-02-26 Thread Chintana Wilamuna
On Mon, Feb 27, 2012 at 10:33 AM, Thilina Buddhika wrote:

Removing the libs required for existing wrapper should save some space. So
> effectively adding this won't increase the size by 20 MBs, isn't it?
>

JSW is very small 'cos it's all native code called through JNI. This amount
to couple of MBs. So still this adds like extra 18 MB.

    -Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Removing Java Service Wrapper from Carbon

2012-02-26 Thread Chintana Wilamuna
Hi,

I would like to do $subject. Then replace it with YAJSW -
http://yajsw.sourceforge.net/

YAJSW works well in both Linux and Windows (32 and 64bit). This takes about
20MB of space to ship. The bare essential libs comes to about 15MB.

Thoughts?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure on trunk/dependencies with a clean repo

2011-12-12 Thread Chintana Wilamuna
Oops, I had the assembly plugin commented out previous and had a conflict
during an svn up.

Sorted now.

-Chintana

On Mon, Dec 12, 2011 at 10:05 PM, Chintana Wilamuna wrote:

> Hi,
>
> Trying to build with a clean repo,
>
> C:\src\wso2\carbon\dependencies>mvn --version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> Maven home: C:\bin\apache-maven-3.0.3
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_29\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> C:\src\wso2\carbon\dependencies>mvn clean install -Dmaven.test.skip=true
> -Dmaven.clean.failOnError=false
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project
>  (C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml)
> has 1 error
> [ERROR] Non-parseable POM
> C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml:
> unexpected character in markup < (position: END_TAG seen ...\n
>\n<<... @228:3)  @ line 228, column 3 -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
>
> Any idea why?
>
> -Chintana
>
> --
> Chintana Wilamuna
> Associate Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> phone: +94 75 211 1106
> blog: http://engwar.com/
> photos: http://flickr.com/photos/chintana
> linkedin: http://www.linkedin.com/in/engwar
> twitter: twitter.com/std_err
>
>


-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build failure on trunk/dependencies with a clean repo

2011-12-12 Thread Chintana Wilamuna
Hi,

Trying to build with a clean repo,

C:\src\wso2\carbon\dependencies>mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
Maven home: C:\bin\apache-maven-3.0.3
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_29\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

C:\src\wso2\carbon\dependencies>mvn clean install -Dmaven.test.skip=true
-Dmaven.clean.failOnError=false
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project
 (C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml)
has 1 error
[ERROR] Non-parseable POM
C:\src\wso2\carbon\dependencies\axis2\1.6.1-wso2v4\modules\kernel\pom.xml:
unexpected character in markup < (position: END_TAG seen ...\n
   \n<<... @228:3)  @ line 228, column 3 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

Any idea why?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] IS 3.2.3 build having user.core 3.2.2 jar

2011-12-01 Thread Chintana Wilamuna
Hi,

Is there a particular reason for $subject? Is it not built from the
user.core 3.2.3 branch? Got the build from
http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/2011-11-28_06-09-59/

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Turmeric/WSO2 Meeting Minutes

2011-10-28 Thread Chintana Wilamuna
On Thu, Oct 27, 2011 at 2:42 PM, Senaka Fernando  wrote:

The SVN URL for WSO2 Governance Registry (which is a part of WSO2 Carbon
> Platform) is as follows: https://svn.wso2.org/repos/wso2/trunk/carbon.
> Chintana, do we have the same on github?
>

Looks like our github mirror is not in sync. Will check it out.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] What's the correct maven repo that we host artifacts?

2011-08-25 Thread Chintana Wilamuna
Hi,

Wanted to clarify what's the correct Maven repo that we host our artifacts.
Is it http://maven.wso2.org/nexus/ or http://dist.wso2.org/maven2/? If we're
using the Nexus managed one, then can we please get rid of the other?

For the repositories hosted using Nexus could we please run the Nexus
Indexer? M2Eclipes use indexes created using Nexus Indexer to fetch
repository metadata. It's easy to manage a maven project within Eclipse
itself if we have this.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Helping with Stratos issues

2011-07-05 Thread Chintana Wilamuna
On Tue, Jul 5, 2011 at 6:02 PM, Afkham Azeez  wrote:

Thilina/Chintana
> Can you please help with fixing some Stratos L1s?
>
Sure!

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Stratos RC10 builds

2011-06-20 Thread Chintana Wilamuna
Hi,

Looking at http://builder.wso2.org/~carbon/releases/carbon/3.2.0/rc10/, I
can't seem to find RC10 Stratos builds. Am I looking at the wrong location?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] User Management compile error

2011-06-03 Thread Chintana Wilamuna
On Fri, Jun 3, 2011 at 4:31 PM, Amila Maha Arachchi  wrote:

Try updating service-stubs/org.wso2.carbon.user.mgt.stub and building it and
> then building the user management component.
>

Thanks Amila, it worked!

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] User Management compile error

2011-06-03 Thread Chintana Wilamuna
 Compilation failure
/home/chintana/src/carbon/core/org.wso2.carbon.user.mgt.ui/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[95,43]
cannot find symbol
symbol  : method getExternalIdP()
location: class org.wso2.carbon.user.mgt.stub.types.carbon.UserStoreInfo


[INFO]

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

[INFO] Total time: 4 minutes 21 seconds
[INFO] Finished at: Fri Jun 03 13:29:10 IST 2011
[INFO] Final Memory: 384M/727M
[INFO]
----

    -Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Synapse test failure causing the build to break on trunk

2011-06-02 Thread Chintana Wilamuna
Hi,

[INFO]

[INFO] Building Apache Synapse - Extensions
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
Downloading:
http://dist.wso2.org/maven2//org/apache/bsf/bsf-all/3.0/bsf-all-3.0.pom
[INFO] Unable to find resource 'org.apache.bsf:bsf-all:pom:3.0' in
repository wso2-m2 (http://dist.wso2.org/maven2/)
Downloading:
http://repo1.maven.org/maven2/org/apache/bsf/bsf-all/3.0/bsf-all-3.0.pom
[INFO] Unable to find resource 'org.apache.bsf:bsf-all:pom:3.0' in
repository central (http://repo1.maven.org/maven2)
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/chintana/src/carbon/dependencies/synapse/2.1.0-wso2v2/modules/extensions/target
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
Compiling 25 source files to
/home/chintana/src/carbon/dependencies/synapse/2.1.0-wso2v2/modules/extensions/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:testCompile {execution: default-testCompile}]
Compiling 18 source files to
/home/chintana/src/carbon/dependencies/synapse/2.1.0-wso2v2/modules/extensions/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/home/chintana/src/carbon/dependencies/synapse/2.1.0-wso2v2/modules/extensions/target/surefire-reports

---
 T E S T S
---
Running org.apache.synapse.mediators.bsf.GroovyScriptMediatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.667 sec
Running org.apache.synapse.mediators.bsf.ScriptMediatorTest
Tests run: 100, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.141 sec
Running org.apache.synapse.mediators.xquery.XQueryMediatorTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5 sec
Running org.apache.synapse.mediators.bsf.ScriptMediatorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.apache.synapse.format.syslog.SyslogMessageBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec
Running org.apache.synapse.mediators.bsf.javascript.JavaScriptMediatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.apache.synapse.mediators.xquery.XQueryMediatorSerializationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running
org.apache.synapse.mediators.throttle.ThrottleMediatorSerializationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.apache.synapse.mediators.throttle.ThrottleMediatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.052 sec
Running org.apache.synapse.mediators.bsf.ScriptMediatorSerializationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.304 sec
Running org.apache.synapse.mediators.spring.SpringMediatorTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 110.602 sec
<<< FAILURE!
Running org.apache.synapse.mediators.spring.TestMediateHandlerImpl
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.synapse.TestMediator
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.synapse.format.hessian.HessianMessageFormatterTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.synapse.format.hessian.HessianMessageBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec

Results :
Tests run: 134, Failures: 0, Errors: 1, Skipped: 0

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.
[INFO]

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

[INFO] Total time: 77 minutes 36 seconds
[INFO] Finished at: Fri Jun 03 11:56:43 IST 2011
[INFO] Final Memory: 801M/1221M
[INFO]
----

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos:

Re: [Carbon-dev] Abdera test failures

2011-05-27 Thread Chintana Wilamuna
On Fri, May 27, 2011 at 3:20 PM, Prabath Siriwardena wrote:

I was able to build abdera successfully in 3.2.0 branch with tests..
>

Were you using a clean repo?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Abdera test failures

2011-05-27 Thread Chintana Wilamuna
Hi,

See - http://pastie.org/1980057

I'm building 3.2.0 on a clean repo.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding users to a role immediately after creating it

2011-01-27 Thread Chintana Wilamuna
On Fri, Jan 28, 2011 at 9:36 AM, Chintana Wilamuna  wrote:

> Azeez, isn't this already there? In WSAS 3.2.1 for example, when you
> create a role and click 'Next', in the 3rd step it's asking me to
> select the users to add to my newly created role. Are you talking
> about this or something else?

This is about adding new users. Got confused. Sorry.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding users to a role immediately after creating it

2011-01-27 Thread Chintana Wilamuna
On Wed, Jan 26, 2011 at 10:13 PM, Afkham Azeez  wrote:

> Yesterday during the demo at the workshop, we had to create a role, and then
> add a user to it. However, after creating the role, we had to go back to
> Users & Roles, and then add the user, and then go assign the role. This was
> an incovenience, and the audience realized that there was a problem &
> disconnect. This is a simple fix, can you implement it ASAP?

Azeez, isn't this already there? In WSAS 3.2.1 for example, when you
create a role and click 'Next', in the 3rd step it's asking me to
select the users to add to my newly created role. Are you talking
about this or something else?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Finding libraries available for gadget authors

2010-12-04 Thread Chintana Wilamuna
On Sat, Dec 4, 2010 at 12:06 AM, Hiranya Jayathilaka  wrote:

>> These resources can be added to the registry, IIRC.
>
> Should be able to access over http

Right. Thanks!

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Why gadgets are stored in config registry?

2010-12-03 Thread Chintana Wilamuna
On Fri, Dec 3, 2010 at 3:20 PM, Hiranya Jayathilaka  wrote:

> Actually you can store gadgets anywhere. For GS what matters is the HTTP
> URLs of the gadget XML files; not where they are physically stored. To make
> the gadget deployment and testing easier we have given anonymous access
> rights to a particular collection in the configuration registry. So anything
> you store there can be accessed over HTTP without authentication.
> In a clustered scenario we can create a collection in the shared governance
> registry for our gadgets and give that collection anonymous access rights.

Got it. Thanks!

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] WSO2 Gadget Server - Google Gadget

2010-12-03 Thread Chintana Wilamuna
On Tue, Nov 30, 2010 at 11:38 AM, Vitor Rodrigues
 wrote:

> Does anyone have an idea in how to call a google gadget inside a google
> gadget? I will try to explain the purpose:
> I developed two google gadget's, one for email and other for SMS.
> Now i want to use this gadget's in one gadget but not reconstruing the all
> thing again. Just want to have 2 buttons(email and SMS), in a primary
> gadget.
> Is this possible?

I think you can move these email and SMS logic to two Javascript
functions and write a single gadget with two buttons. For these two
buttons you can call these two function in onClick events writing
content to a single div.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


[Carbon-dev] Finding libraries available for gadget authors

2010-12-03 Thread Chintana Wilamuna
Hi,

How can a gadget author find what are the libraries available to him
when writing a gadget (things beside gadget.* API)?

The BAM gadgets seems to be including swfobject.js and some other
Javascript files with relative paths. Are those relative to the JAR
file that they're included in?

If I want to add a URL gadget to BAM do I have to bundle them in a JAR
file and deploy?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


[Carbon-dev] Why gadgets are stored in config registry?

2010-12-03 Thread Chintana Wilamuna
Hi,

Why gadget XMLs are stored in the config registry and not in
governance registry? Since usually config registries are shared
between a cluster how would this work if it's GS is clustered?

Thanks in advance,

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Messages received by the ESB over JMS are base64 encoded

2010-11-15 Thread Chintana Wilamuna
On Fri, Nov 12, 2010 at 10:40 AM, Rajika Kumarasiri  wrote:

> You'll need to set the Content-Type header appropriately in the JMS proxy.

Thanks! Worked without a problem.

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


[Carbon-dev] Messages received by the ESB over JMS are base64 encoded

2010-11-12 Thread Chintana Wilamuna
Hi,

Messages that ESB receives over JMS with Qpid are base64 encoded. Is
it the expected behaviour? If you need to extract info from the
payload, how can you do that?

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Build error in Rampart on WSO2 trunk

2010-06-03 Thread Chintana Wilamuna
On Thu, Jun 3, 2010 at 4:46 PM, Keheliya Gallaba  wrote:

> Hello,
>
> I get this error when trying to build Rampart on WSO2 trunk, even after I
> have built Transports

Comment out Rampart from trunk pom files. Get Rampart from 3.0.0
branch - 
https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/dependencies/rampart/
and build it.

Bye,

-Chintana

-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Error checking out carbon 3.0.0 branch

2010-05-07 Thread Chintana Wilamuna
On Fri, May 7, 2010 at 1:30 PM, Lahiru Gunathilake  wrote:

> you get the same error if you check out
> only org.wso2.carbon.mediator.dbreport.ui ? If you are not getting an error
> just copy that directory to the place where you have the main platform check
> out.

Yes.

So I guess I'm the only one who got a checkout of the branch in
Windows :-) Problem is here [1] you have 2 files with an uppercase
extension and a lower case extension, ds.png and ds.PNG. This can
never be checked out in a Windows machine.

[1] 
http://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/mediators/dbreport/3.0.0/org.wso2.carbon.mediator.dbreport.ui/src/main/resources/web/dbreport-mediator/docs/images/

Bye,

    -Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Build error on carbon orbit trunk

2010-05-06 Thread Chintana Wilamuna
On Fri, May 7, 2010 at 9:43 AM, Kasun Indrasiri  wrote:

> Try, checkout and building axiom from[1] and then rebuilding orbit.
> Thanks.
> [1] http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom

Amila pointed out that it was a wrong dependency versioning issue.
Orbit trunk expects the commons-vfs jars to be 2.0-SNAPSHOT but
commons-vfs builds artifacts with version 2.0-wso2v1.

Bye,

-Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


[Carbon-dev] Error checking out carbon 3.0.0 branch

2010-05-06 Thread Chintana Wilamuna
Hi,

I get the following error when I'm trying to checkout carbon 3.0.0 branch,

In directory 
'C:\src\carbon-3.0.0-branch\components\mediators\dbreport\3.0.0\org.wso2.carbon.mediator.dbreport.ui\src\main\resources\web\dbreport-mediator\docs\images'
Can't open file
'C:\src\carbon-3.0.0-branch\components\mediators\dbreport\3.0.0\org.wso2.carbon.mediator.dbreport.ui\src\main\resources\web\dbreport-mediator\docs\images\.svn\tmp\text-base\ds.png.svn-base':
The system cannot find the file specified.

Once this happens have to delete the above folder and do an svn
cleanup. Happens everytime I try to get a checkout of the branch. Any
idea what's wrong?

Bye,

    -Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Build error on carbon orbit trunk

2010-05-06 Thread Chintana Wilamuna
On Fri, May 7, 2010 at 5:00 AM, Lahiru Gunathilake  wrote:

> Please try to do an online build.

I am building online.

Bye,

-Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Build error on carbon orbit trunk

2010-05-06 Thread Chintana Wilamuna
On Thu, May 6, 2010 at 7:12 PM, Samisa Abeysinghe  wrote:

> Did you build axiom?

Yup, it builds successfully. Tried with building it with tests,
compiles successfully but gives the same error when compiling orbit.

Bye,

-Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


[Carbon-dev] Build error on carbon orbit trunk

2010-05-06 Thread Chintana Wilamuna
Hi,

I built all the dependencies successfully. Built axiom with tests for
the second time. When I'm trying to build orbit I'm getting the
following error.

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


Project ID: null:axiom-impl:bundle:null

Reason: Cannot find parent: org.apache.ws.commons.axiom:axiom for
project: null:axiom-impl:bundle:null for project
null:axiom-impl:bundle:null

Any idea what I'm doing wrong?

Bye,

-Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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


Re: [Carbon-dev] Savan version issues

2010-04-26 Thread Chintana Wilamuna
On Fri, Mar 26, 2010 at 4:22 PM, Isuru Suriarachchi  wrote:

> This is fixed now. Completely removed the savan branch [1].

Should this be removed from the trunk as well? Found out that the
pom.xml in carbon/dependencies still contain a module reference to
savan.

Bye,

-Chintana

-- 
Chintana Wilamuna
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar

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