[Dev] Please merge the pull 30 to carbon-deployment/monitoring branch

2014-09-22 Thread Chamil Jeewantha
https://github.com/wso2-dev/carbon-deployment/pull/30

I have slightly improved the code.

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the pull 30 to carbon-deployment/monitoring branch

2014-09-22 Thread Chamil Jeewantha
Thanks Supun!

On Mon, Sep 22, 2014 at 2:27 PM, Supun Malinga sup...@wso2.com wrote:

 Merged.

 thanks,

 On Mon, Sep 22, 2014 at 2:13 PM, Chamil Jeewantha cha...@wso2.com wrote:

 https://github.com/wso2-dev/carbon-deployment/pull/30

 I have slightly improved the code.

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harshan Liyanage

2014-09-19 Thread Chamil Jeewantha
/




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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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



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




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

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




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using jQuery DataTables plug-in for BPMN UI

2014-09-16 Thread Chamil Jeewantha
This library is already used in AS - BAM monitoring dashboard and several
other places. You can safely go ahead.

Regards,
Chamil

On Tue, Sep 16, 2014 at 2:44 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi all,

 We are hoping to integrate jQuery DataTables plug-in [1] for BPMN UI to
 enhance data loading performance and provide additional user friendly
 features such as sort, search, pagination, theme and data filtering to the
 user.

 The library is licensed under MIT license [2].

 Please feel free to send feedback if any.

 [1] http://www.datatables.net
 [2] http://www.datatables.net/download/index#License

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the Pull request /carbon-deployment/pull/27

2014-09-15 Thread Chamil Jeewantha
[1] is the pull for product-as.
Please do not merge it until pull/27 is merged.

[1] https://github.com/wso2-dev/product-as/pull/28

On Mon, Sep 15, 2014 at 10:00 AM, Chamil Jeewantha cha...@wso2.com wrote:

 https://github.com/wso2-dev/carbon-deployment/pull/27

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the Pull request /carbon-deployment/pull/27

2014-09-14 Thread Chamil Jeewantha
https://github.com/wso2-dev/carbon-deployment/pull/27

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Writing a custom Tomcat valve

2014-09-14 Thread Chamil Jeewantha
Hi Inosh,

You can write a new valve for your work and simply register it with
catalina-server.xml. Multiple valves are allowed in Tomcat. You can see
there are many valves defined in the catalina-server.xml in the following
example.

Engine name=Catalina defaultHost=localhost/
  !--Realm className=org.apache.catalina.realm.MemoryRealm
pathname=${carbon.home}/repository/conf/tomcat/tomcat-users.xml/--
  Realm className=org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm
/
  Host name=localhost unpackWARs=true deployOnStartup=false
autoDeploy=false appBase=
${carbon.home}/repository/deployment/server/webapps/
  Valve className=
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve/
  Valve className=org.apache.catalina.valves.AccessLogValve
directory=${carbon.home}/repository/logs
   prefix=http_access_ suffix=.log
   pattern=combined /
  Valve className=
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve
threshold=600/
  Valve className=
org.wso2.carbon.tomcat.ext.valves.CompositeValve/
 /Host
/Engine

Regards,
Chamil

On Mon, Sep 15, 2014 at 10:41 AM, Inosh Perera ino...@wso2.com wrote:

 Hi all,
 I need to write a custom Tomcat valve, to filter out some context. This is
 for EMM where API manager is included as a feature. I understand that
 currently, all the requests goes through APIManagerInterceptorValve. So
 since API manager is added to EMM as a feature, when I write a custom
 valve, how do I add it to EMM, since the existing valve comes from API
 manager?

 Regards,
 Inosh
 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the carbon-identity/pull/11

2014-09-09 Thread Chamil Jeewantha
[1] contains the unit tests for [2]

[1] https://github.com/wso2-dev/carbon-identity/pull/11
[2] https://wso2.org/jira/browse/IDENTITY-2654

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the carbon-identity/pull/11

2014-09-09 Thread Chamil Jeewantha
I have attached the svn diff to public JIRA [3]

[3]
https://wso2.org/jira/browse/IDENTITY-2654?focusedCommentId=88674page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-88674

On Tue, Sep 9, 2014 at 1:16 PM, Chamil Jeewantha cha...@wso2.com wrote:

 [1] contains the unit tests for [2]

 [1] https://github.com/wso2-dev/carbon-identity/pull/11
 [2] https://wso2.org/jira/browse/IDENTITY-2654

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-09-03 Thread Chamil Jeewantha
Thanks Sameera,

I will proceed.

Regards,
Chamil


On Wed, Sep 3, 2014 at 11:40 AM, Sameera Jayasoma same...@wso2.com wrote:

 Done


 On Tue, Sep 2, 2014 at 7:31 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Sameera,

 The patch has been attached to the JIRA. Added a workaround to avoid the
 public method with proper comments.

 Regards,
 Chamil


 On Tue, Sep 2, 2014 at 6:13 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Sameera,

 For now that method is only used by four Log Handler classes. But there
 may be other usages in the future as a utility method.

 As we discussed I will change the code so that it avoids the public
 method for carbon 4.2.0 patch.

 Regards,
 Chamil


 On Tue, Sep 2, 2014 at 6:00 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Chamil,

 I noticed that you've added a public method to LoggingUtils class.
 Whats the purpose of that method?

 Thanks,
 Sameera.


 On Tue, Sep 2, 2014 at 2:07 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 I have attached the fix-only diff to the JIRA and sent the pull
 request [1]

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/88


 On Tue, Sep 2, 2014 at 1:15 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 I will attach the only diff against the fresh bootstrap to the JIRA.


 On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com
 wrote:




 On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Chamil,

 Looks like you have attached whole bootstrap component in the
 patch. We cannot see the patch you did in that manner. Please attach 
 only
 the changes..

 Send a pull request to 4.3.0 repo also


 You can find original fix from here
 https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100


 Thanks !


  Thanks,
 Sameera.


 On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 Can you please commit the [1]

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


 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com
  wrote:

 Hi Geeth,

 Supun ran the build  tests successfully in his local
 environment. Can you please commit this patch since he is not 
 available.

 Regards,
 Chamil


 On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi Supun,

 Any update on this?



 On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com
  wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the
 above approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009.
 This jar should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy
 this jar to that folder. Theadd a step in README to copy it 
 manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin
 directory. it goes to the CARBON_HOME/bin directory. Do we 
 still need to
 add it to the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga 
 sup...@wso2.com wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar
 into patch zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Sameera Jayasoma,
 Software Architect

Re: [Dev] Please commit CARBON-14929

2014-09-02 Thread Chamil Jeewantha
Hi Sameera,

I will attach the only diff against the fresh bootstrap to the JIRA.


On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Chamil,

 Looks like you have attached whole bootstrap component in the patch. We
 cannot see the patch you did in that manner. Please attach only the
 changes..

 Send a pull request to 4.3.0 repo also


 You can find original fix from here
 https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100


 Thanks !


  Thanks,
 Sameera.


 On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 Can you please commit the [1]

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


 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Geeth,

 Supun ran the build  tests successfully in his local environment. Can
 you please commit this patch since he is not available.

 Regards,
 Chamil


 On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 Any update on this?



 On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above
 approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar
 should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy this
 jar to that folder. Theadd a step in README to copy it manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin
 directory. it goes to the CARBON_HOME/bin directory. Do we still 
 need to
 add it to the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into
 patch zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


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




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-09-02 Thread Chamil Jeewantha
Hi Sameera,

The patch has been attached to the JIRA. Added a workaround to avoid the
public method with proper comments.

Regards,
Chamil


On Tue, Sep 2, 2014 at 6:13 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Sameera,

 For now that method is only used by four Log Handler classes. But there
 may be other usages in the future as a utility method.

 As we discussed I will change the code so that it avoids the public method
 for carbon 4.2.0 patch.

 Regards,
 Chamil


 On Tue, Sep 2, 2014 at 6:00 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Chamil,

 I noticed that you've added a public method to LoggingUtils class. Whats
 the purpose of that method?

 Thanks,
 Sameera.


 On Tue, Sep 2, 2014 at 2:07 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Sameera,

 I have attached the fix-only diff to the JIRA and sent the pull request
 [1]

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/88


 On Tue, Sep 2, 2014 at 1:15 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 I will attach the only diff against the fresh bootstrap to the JIRA.


 On Tue, Sep 2, 2014 at 12:33 PM, Sagara Gunathunga sag...@wso2.com
 wrote:




 On Tue, Sep 2, 2014 at 12:20 PM, Sameera Jayasoma same...@wso2.com
 wrote:

 Hi Chamil,

 Looks like you have attached whole bootstrap component in the patch.
 We cannot see the patch you did in that manner. Please attach only the
 changes..

 Send a pull request to 4.3.0 repo also


 You can find original fix from here
 https://github.com/sagaragu/carbon4-kernel/commit/9c29e215b6c93a74c4d37c14ea3be0fb509e1100


 Thanks !


  Thanks,
 Sameera.


 On Mon, Sep 1, 2014 at 11:58 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Sameera,

 Can you please commit the [1]

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


 On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Geeth,

 Supun ran the build  tests successfully in his local environment.
 Can you please commit this patch since he is not available.

 Regards,
 Chamil


 On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 Any update on this?



 On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com
  wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above
 approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This
 jar should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy
 this jar to that folder. Theadd a step in README to copy it 
 manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin
 directory. it goes to the CARBON_HOME/bin directory. Do we 
 still need to
 add it to the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga 
 sup...@wso2.com wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar
 into patch zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha 
 cha...@wso2.com wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Sameera Jayasoma,
 Software Architect,

  WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

Re: [Dev] Please commit CARBON-14929

2014-09-01 Thread Chamil Jeewantha
Hi Sameera,

Can you please commit the [1]

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


On Mon, Sep 1, 2014 at 10:44 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Geeth,

 Supun ran the build  tests successfully in his local environment. Can you
 please commit this patch since he is not available.

 Regards,
 Chamil


 On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Supun,

 Any update on this?



 On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above
 approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar
 should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy this jar
 to that folder. Theadd a step in README to copy it manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin directory.
 it goes to the CARBON_HOME/bin directory. Do we still need to add it to
 the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into
 patch zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-08-31 Thread Chamil Jeewantha
Hi Supun,

Any update on this?



On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above
 approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar
 should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy this jar to
 that folder. Theadd a step in README to copy it manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin directory.
 it goes to the CARBON_HOME/bin directory. Do we still need to add it to
 the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into patch
 zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-08-31 Thread Chamil Jeewantha
Hi Geeth,

Supun ran the build  tests successfully in his local environment. Can you
please commit this patch since he is not available.

Regards,
Chamil


On Mon, Sep 1, 2014 at 10:23 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Supun,

 Any update on this?



 On Fri, Aug 29, 2014 at 3:12 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Supun,

 I have re-attached the patch to the issue. Please proceed.

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above
 approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar
 should go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy this jar
 to that folder. Theadd a step in README to copy it manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin directory.
 it goes to the CARBON_HOME/bin directory. Do we still need to add it to
 the patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into
 patch zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
$subject.

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

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi Supun,

org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it
goes to the CARBON_HOME/bin directory. Do we still need to add it to the
patch zip?

Regards,
Chamil


On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into patch zip
 as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi All,

I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should
go into CARBON_HOME/bin

So I think we can add a bin folder to the patch.zip and copy this jar to
that folder. Theadd a step in README to copy it manually to
CARBON_HOME/bin

WDYT? Is there a better way of doing that?


On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it
 goes to the CARBON_HOME/bin directory. Do we still need to add it to the
 patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into patch
 zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit CARBON-14929

2014-08-29 Thread Chamil Jeewantha
Hi Supun,

I have re-attached the patch to the issue. Please proceed.

Regards,
Chamil


On Fri, Aug 29, 2014 at 2:57 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 I had a chat with Sameera as well. Let's go ahead with the above approach.

 thanks,


 On Fri, Aug 29, 2014 at 2:37 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi All,

 I'm adding org.wso2.carbon.bootstrap*.jar into patch0009. This jar should
 go into CARBON_HOME/bin

 So I think we can add a bin folder to the patch.zip and copy this jar to
 that folder. Theadd a step in README to copy it manually to
 CARBON_HOME/bin

 WDYT? Is there a better way of doing that?


 On Fri, Aug 29, 2014 at 1:49 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Supun,

 org.wso2.carbon.bootstrap*.jar does not go into the plugin directory. it
 goes to the CARBON_HOME/bin directory. Do we still need to add it to the
 patch zip?

 Regards,
 Chamil


 On Fri, Aug 29, 2014 at 12:34 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Chamil,

 As discussed let's add the entries to include the built jar into patch
 zip as well.

 thanks,


 On Fri, Aug 29, 2014 at 12:29 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 $subject.

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

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM Gadget server - can't display XML in a table

2014-08-29 Thread Chamil Jeewantha
Hi Sandamal,

It seems the UI renders the xml tags. You have to escape the html sensitive
characters to avoid that. i.e. replace soap with lt;soap. If the UI gets
the xml, you can use javascripts to do the modification at the client side.




On Fri, Aug 29, 2014 at 6:01 PM, Sandamal Weerasinghe sanda...@wso2.com
wrote:

 Hi,

 I'm trying to display a SOAP body and its header inside a table.

 e.g.
 soapenv:Body 
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse
 xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2
 Enterprise Service Bus-4.8.1/return/ns:getVersionResponse/soapenv:Body


 Even though UI the gets an XML message, only the content inside the xml
 tags are displayed in the table

 e.g.
 WSO2 Enterprise Service Bus-4.8.1

 Is there a way to overcome this?


 Thanks.

 Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Merget UA-Parser bundle to orbit

2014-08-28 Thread Chamil Jeewantha
Hi Geeth,

Please merge the below pull request.

https://github.com/wso2/orbit/pull/20

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Merget UA-Parser bundle to orbit

2014-08-28 Thread Chamil Jeewantha
Yes. This has been discussed in the stratergy thread. mail subject:
Extracting data from User-Agent header - AS-BAM application monitoring.

Regards,
Chamil


On Thu, Aug 28, 2014 at 2:00 PM, Afkham Azeez az...@wso2.com wrote:

 Is this a new 3rd party dependency? Did it go through the proper approval
 process?


 On Thu, Aug 28, 2014 at 1:00 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Geeth,

 Please merge the below pull request.

 https://github.com/wso2/orbit/pull/20

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the Pull request carbon-deployment/pull/21

2014-08-28 Thread Chamil Jeewantha
https://github.com/wso2-dev/carbon-deployment/pull/21

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the Pull request carbon-deployment/pull/21

2014-08-28 Thread Chamil Jeewantha
Hi Geeth,

The [1] is depending on carbon-deployment/pull/21
https://github.com/wso2-dev/carbon-deployment/pull/21 components. So
Please commit [1] only after pull/21 is completed.

[1] https://github.com/wso2-dev/product-as/pull/23


On Thu, Aug 28, 2014 at 4:52 PM, Chamil Jeewantha cha...@wso2.com wrote:

 https://github.com/wso2-dev/carbon-deployment/pull/21

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 http://kdchamil.blogspot.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout

2014-08-19 Thread Chamil Jeewantha
Hi Udara,

see the Low level TCP timeouts section of [3]. socket_timeout is a low
level setting on TCP level. setting this value is supported only by OS's
like Windows, Linux.

[3] http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html


On Tue, Aug 19, 2014 at 11:25 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Udara,

 As per tomcat documentation [2] correct parameter should be 
 ConnectionTimeout. Not sure why [1] lists SocketTimeout since its not
 mentioned in [2].

 [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html

 thanks,


 On Tue, Aug 19, 2014 at 11:09 AM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 I want to increase response timeout of ApplicationServer since default
 timeout is not enough with due to slowness of the backend endpoint. I
 found ConnectionTimeout and SocketTimeout as  suspectable properties
 mentioned in the documentation [1].

 What is/are the difference between both parameters?

 [1] https://docs.wso2.com/display/AS521/HTTP+Servlet+Transport

 --

 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Progress on the Apache Tomcat based runtime implementation for Jaggery.js

2014-08-16 Thread Chamil Jeewantha
 on this topic.

 [1] https://github.com/nasminspy/gitbox/raw/master/jaggery.zip
 [2]
 https://github.com/nasminspy/TomgeryRunner/blob/master/src/org/jaggery/tomcat/listener/TomcatListener.java
 [3] https://github.com/nasminspy/gitbox/raw/master/samples.zip

 Thanks.


 On Mon, Jul 21, 2014 at 1:06 PM, Mohamed Nasmin nasmin1...@gmail.com
 wrote:

 Sure. I will send an update on the progress soon.


 On Mon, Jul 21, 2014 at 12:46 PM, Sagara Gunathunga sag...@wso2.com
 wrote:


 Hi Nasmin,

 Can you please send a mail to architecture@ list about your progress,
 current status, architectural changes etc.

 Thanks !

 On Wed, Jul 9, 2014 at 5:59 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 I have check the source code with Nasmin and found,

 the JaggeryAsyncServlet is already registered before it does
 programatically because JaggeryAsyncServlet class is automatically added 
 to
 all the Webapp Contexts because of the @WebServlet annotation.


 @WebServlet(name = JaggeryAsyncServlet, urlPatterns = /*,
 asyncSupported = true)

 Since this JaggeryAsyncServlet is added selectively (only for the
 Jaggery apps), The @WebServlet should be removed.

 Regards,
  Chamil




 On Tue, Jul 1, 2014 at 12:10 AM, Mohamed Nasmin nasmin1...@gmail.com
  wrote:

 After some reading I found the above null pointer comes when we
 adding the context listener BEFORE_START_EVENT occurs. So I changed the
 event to STARTING. Now without any error the jaggery context listener 
 added
 to the standard context.

 But when access the sample tomgery application through URL I got
 this error. When I debug this[1] I found appConfigs is null. But could 
 not
 find how it happened. Thanks in advance.

 *Code : *

 protected void service(HttpServletRequest request,
HttpServletResponse response) throws
 ServletException, IOException {
 JaggeryAppConfigs appConfigs =
 JaggeryAppConfigs.getInstance(request.getServletContext());
 request.setAttribute(org.apache.catalina.ASYNC_SUPPORTED,
 true);
 AsyncContext asyncCtx = request.startAsync();
 asyncCtx.addListener(new JaggeryAsyncListener());
 asyncCtx.setTimeout(appConfigs.getServletTimeout());
 appConfigs.getServletExecutor().execute(new
 JaggeryAsyncRequestProcessor(asyncCtx));
 }

 *Exception :*

 java.lang.NullPointerException
 
 org.jaggeryjs.apps.JaggeryAsyncServlet.service(JaggeryAsyncServlet.java:23)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 [1]
 https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryAsyncServlet.java


 On Sun, Jun 22, 2014 at 5:54 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Nasmin,

 the Null Pointer Exception (NPE) comes from the line

 registration.setAsyncSupported(true);

 Which means registration object is null. The responsible line of
 assigning this variable is the line 25.

 ServletRegistration.Dynamic registration = servletContext.addServlet(







 JaggeryAsyncServlet.NAME, JaggeryAsyncServlet.class);








 servletContext.addServlet javadoc[1] says,















 a ServletRegistration object that may be used to further configure the 
 registered servlet, or *null** if this ServletContext already contains 
 a complete ServletRegistration for the given **servletName*








 For this case you can start debug by two points.

 1. debug JaggeryContextListener
 2. Debug with tomcat source - servletContext.addServlet method to see 
 why it returns null here.


 [1] 
 http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html#addServlet(java.lang.String,
  java.lang.Class)



 On Sat, Jun 21, 2014 at 10:08 PM, Mohamed Nasmin 
 nasmin1...@gmail.com wrote:

 Hi,

 @Ruchira
 I will debug the jars that we use in the tomgery app deployment
 and update with the results.

 @Dilshan
 I am using that JaggeryContextListener in a jar which is created
 by Ruchira. You can find the source code of that jar here[1].

 @Dakshika
 With the integration with JSR-223, Jaggery will use Nashorn from
 JDK8 onwards and will fallback to JDK's embeded Rhino version with 
 JDK7 or
 below. With the above Jaggery core minimisations, a Jaggery app can 
 be even
 deployed on top of tomcat, subjecting to a WEB-INF directory which 
 contains
 jaggery core jars and web.xml. For more details please refer this 
 link[2].

 [1]
 https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryContextListener.java
 [2]
 http://osdir.com/ml/carbon-wso2-architecture/2014-06/msg0.html


 On Sat, Jun 21, 2014 at 9:46 PM, Dilshan Edirisuriya 
 dils...@wso2.com wrote:

 Hi,

 Whats there at line 27 of JaggeryContextListener.java? Where can
 we find the source for this?

 Regards,

 Dilshan


 On Sat, Jun 21, 2014 at 1:31 PM

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-15 Thread Chamil Jeewantha
Congratulations!


On Fri, Aug 15, 2014 at 8:43 PM, Amal Gunatilake am...@wso2.com wrote:

 Congratz Dilini!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Fri, Aug 15, 2014 at 11:46 AM, Waruna Jayaweera waru...@wso2.com
 wrote:

 Congratulations..!


 On Fri, Aug 15, 2014 at 11:28 AM, Milinda Perera milin...@wso2.com
 wrote:

 Congratulations dilini 


 On Fri, Aug 15, 2014 at 11:17 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Dilini!


 On Fri, Aug 15, 2014 at 11:03 AM, Seshika Fernando sesh...@wso2.com
 wrote:

 SUPERB! Congrats dilini!


 On Fri, Aug 15, 2014 at 10:45 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Dilini !


 On Fri, Aug 15, 2014 at 10:38 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations.. !

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 15, 2014 at 5:07 AM, Melan Nimesh me...@apache.org
 wrote:

 Congratulations Dilini !!!


 On Fri, Aug 15, 2014 at 10:14 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratzz Dilini..!!!


 On Fri, Aug 15, 2014 at 10:12 AM, Sohani Weerasinghe 
 soh...@wso2.com wrote:

 Congratulations 

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 15, 2014 at 9:50 AM, Susinda Perera susi...@wso2.com
  wrote:

 Congratulations.. !



 On Fri, Aug 15, 2014 at 9:47 AM, Sriskandarajah Suhothayan 
 s...@wso2.com wrote:


 Hi All,

 It's my pleasure to announce Dilini Muthumala as a WSO2
 Committer. Dilini has been a valuable contributor for WSO2 CEP
 product and in recognition of her contributions to WSO2, she has 
 been voted
 as a WSO2Committer.

 Dilini, Congratulations and Keep up the good work!

 Thanks and Regards,
 Suho
  --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 |
 blog: http://suhothayan.blogspot.com/ 
 http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan 
 http://twitter.com/suhothayan |
 linked-in: http://lk.linkedin.com/in/suhothayan
 http://lk.linkedin.com/in/suhothayan*

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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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



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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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


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



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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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



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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032


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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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



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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com

Re: [Dev] ES 1.2.0 server hang-on intermittently - with Carbon 4.3.0

2014-08-14 Thread Chamil Jeewantha
Hi,

AFAIK, This has been already done. Adding Kalpa, KasunG to verify.


On Thu, Aug 14, 2014 at 1:19 PM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Hi Chamil,

 Whether this fix is merged in the git repo.. Above issue is still
 available in ES latest build packs..
 Do you have any idea about this ??

 @Ruchira, Is it possible to check on this..

 Thanks,
 Mohan


 On Tue, Jul 8, 2014 at 11:32 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Ayesha,

 Adding Sameera Jayasoma  Sagara to the thread for an extra attention

 I have noted the following issue in AS on JIT (Carbon 4.3.0) which occurs
 randomly. See the logged exception. Chaminda has reported the same issue on 
 API
 Manager 1.6 with the patch 0342.

 [2014-07-08 10:51:47,189] ERROR
 {org.apache.catalina.core.StandardContext} -  Servlet / threw load()
 exception
 java.lang.ClassNotFoundException:
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
  at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
 at
 org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
  at
 org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
 at
 org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
  at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
  at
 org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)




 On Tue, Jul 8, 2014 at 11:27 AM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi,

 I was trying to fix ES 1.2.0 Pack randomly hangs on server start
 up.[01]

 While tying to fix above issue, I compared debug logs and observed that
 server caused to hang-up when
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet is not activated.

 Compared debug logs are as bellow.

 --- Log snippet when server continued to
 start sucesfully---

 TID: [0] [ES] [2014-07-06 16:50:09,297] DEBUG
 {org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
 org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
 {org.apache.axiom.om.util.StAXUtils}
 TID: [0] [ES] [2014-07-06 16:50:09,302] DEBUG
 {org.wso2.carbon.user.mgt.permission.ManagementPermissionsAdder} -  Adding
 permissions in bundleorg.wso2.carbon.webapp.mgt
 {org.wso2.carbon.user.mgt.permission.ManagementPermissionsAdder}
 TID: [0] [ES] [2014-07-06 16:50:09,302] DEBUG
 {org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
 org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
 {org.apache.axiom.om.util.StAXUtils}
 TID: [0] [ES] [2014-07-06 16:50:09,307] DEBUG
 {org.wso2.jaggery.scxml.internal.RealmServiceComponent} -  Obtained realm
 service. {org.wso2.jaggery.scxml.internal.RealmServiceComponent}
 TID: [0] [ES] [2014-07-06 16:50:09,311] DEBUG
 {org.wso2.carbon.policy.internal.Activator} -  * Security secpolicy
  {org.wso2.carbon.policy.internal.Activator}
 *TID: [0] [ES] [2014-07-06 16:50:11,974] DEBUG
 {org.wso2.carbon.tomcat.ext.servlet.DelegationServlet} -  within the init
 method of DelegationServlet
 {org.wso2.carbon.tomcat.ext.servlet.DelegationServlet}*
 TID: [0] [ES] [2014-07-06 16:50:12,164] DEBUG
 {org.wso2.carbon.core.init.CarbonServerManager} -  Starting Carbon
 initialization... {org.wso2.carbon.core.init.CarbonServerManager}
 TID: [0] [ES] [2014-07-06 16:50:12,168] DEBUG
 {org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
 org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
 {org.apache.axiom.om.util.StAXUtils}
 .

 --- Logs snippet when server randomly
 hang-up ---

 TID: [0] [ES] [2014-07-06 16:41:40,772] DEBUG
 {org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
 org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
 {org.apache.axiom.om.util.StAXUtils}
 TID: [0] [ES] [2014-07-06 16:41:40,775] DEBUG
 {org.wso2.jaggery.scxml.internal.RealmServiceComponent} -  Obtained realm
 service. {org.wso2.jaggery.scxml.internal.RealmServiceComponent}
 TID: [0] [ES] [2014-07-06 16:41:40,779] DEBUG

[Dev] Blogposts on TomEE architecture

2014-08-07 Thread Chamil Jeewantha
Hi All,

Since the AS 6 will add JavaEE functionality using TomEE, It is important
to understand the architecture of TomEE and how to play around with the
source code of TomEE by the WSO2 dev community.

I Hope the following blog posts [1]  [2], will helps.

I will publish more about WSO2 AS - TomEE integration later. These blog
posts provides the base knowledge for that.


[1]
http://kdchamil.blogspot.com/2014/07/tomee-setting-up-developer-environment.html
[2]
http://kdchamil.blogspot.com/2014/08/tomee-startup-source-code-explained.html

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge the pull #7 to wso2-dev/carbon-identity

2014-08-07 Thread Chamil Jeewantha
Hi All,

Please merge this pull request.


On Wed, Aug 6, 2014 at 7:35 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Please review  merge the [1]

 [1] https://github.com/wso2-dev/carbon-identity/pull/7

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
http://kdchamil.blogspot.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the pull #7 to wso2-dev/carbon-identity

2014-08-06 Thread Chamil Jeewantha
Please review  merge the [1]

[1] https://github.com/wso2-dev/carbon-identity/pull/7

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Failed to execute goal on project WSO2-Axis2-Client

2014-08-04 Thread Chamil Jeewantha
Please try

 repository
idwso2-nexus/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
/url
/repository


On Mon, Aug 4, 2014 at 4:18 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi all,



 We tried to build dss service jar file using maven. When I trying to build
 the project using “mvn clean install” I got following error.also I have
 attached POM file and wsdl file as well. I searched in wso2 repository and
 there are jar file only up to version 9.there is no version 10 jar file in
 repository.

 Is there a problem in my pom file ….???



 “

  Failed to execute goal on project WSO2-Axis2-Client: Could not resolve
 dependencies for project WSO2:WSO2-Axis2-Client:jar:0.0.1-SNAPSHOT: Failure
 to find org.apache.axis2:axis2:jar:1.6.1-wso2v10 in
 http://dist.wso2.org/maven2/ was cached in the local repository,
 resolution will not be reattempted until the update interval of wso2-Nexus
 has elapsed or updates are forced - [Help 1]

 “



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-02 Thread Chamil Jeewantha
Congrats!


On Fri, Aug 1, 2014 at 7:36 PM, Dimuthu De Lanerolle dimut...@wso2.com
wrote:

 Congrtz Waruna !

 Regards


 On Friday, 1 August 2014, Mariangela Hills mariang...@wso2.com wrote:

 Congratulations Waruna!

 Regards,
 Mariangela




 *--*
 Mariangela Hills
 Senior Technical Writer

 *WSO2, Inc. *lean.enterprise.middleware.
 m: +94 773 500185
 w: http://wso2.com
  http://wso2.com/events/


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --
 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com



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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Chamil Jeewantha
Hi Aruna,

AFAIK, The compiler will replace all the class names with the fully
qualified name at all the places whether or not we use package.*. So after
compilation, there is no impact from this practice.

This is all about readability for me. Lets say I have 10 packages imported
a.b.c.*, a.b.d.* etc I have used a class Z in my code. now the reader
can't figure out from which package the Z class came from because all are *
imports.

So I think its better to use full class name than full package exports.

But in your example, I think there should be a scenario 3. java.io and
java.util are well known. so only classes came from java.util.zip are
mentioned.

Scenario 3

import java.io.*;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

WDYT?


On Thu, Jul 31, 2014 at 3:08 PM, Aruna Karunarathna ar...@wso2.com wrote:

 Hi all,

 For e.g I have a java file with following imports.

 Scenario 1

 import java.io.*;
 import java.util.*;
 import java.util.zip.*;

 Scenario 2

 import java.io.BufferedOutputStream;
 import java.io.File;
 import java.io.FileInputStream;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
 import java.util.ArrayList;
 import java.util.Dictionary;
 import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.zip.ZipEntry;
 import java.util.zip.ZipFile;

 In scenario 1 we have put * and match the imports in a bad way and in
 Scenario 2 you define the exact imports. I know that the Scenario 2 is the
 ideal.
 But in default Intellij IDEA, if we are importing more than 5 imports it
 automatically put the java.io.* (This can be changed by Settings  Code
 Style  Java  imports tab   Setting the class count to use import with *
 to some higher value)

 My questions are,
 What is the best way to optimize imports in above scenario?
 Do we have a best  practice for class count to use import with * in a
 java file in WSO2?
 Does the import order matter?

 Highly appreciate your thoughts on this.

 Regards,
 Aruna

 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasad Tissera

2014-07-23 Thread Chamil Jeewantha
Congrats!


On Wed, Jul 23, 2014 at 9:41 PM, Amal Gunatilake am...@wso2.com wrote:

 Congratz Prasad!!

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Wed, Jul 23, 2014 at 9:20 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Prasad !


 On Wed, Jul 23, 2014 at 8:53 PM, Manoj Kumara ma...@wso2.com wrote:

 Congratulations Isura !!!


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188


 On Wed, Jul 23, 2014 at 9:44 AM, Isura Karunaratne is...@wso2.com
 wrote:

 congratzz ..


 On Wed, Jul 23, 2014 at 7:11 PM, Shani Ranasinghe sh...@wso2.com
 wrote:

 Congrats ...


 On Wed, Jul 23, 2014 at 7:05 PM, Dulanja Liyanage dula...@wso2.com
 wrote:

 Congratulations Prasad!


 On Wed, Jul 23, 2014 at 4:28 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Prasad Tissera as a WSO2 Committer.
 Prasad has been a valuable contributor for WSO2 Identity Server
 product, and in recognition of his contributions to WSO2, he has been 
 voted
 as a WSO2 Committer.

 Prasad, Congratulations and Keep up the good work!

 Thanks  Regards,
 Johann.

 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




 --
 Dulanja Liyanage
 WSO2 Inc.
 M: +94776764717

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 Isura Dilhara Karunaratne
 Software Engineer

 Mob +94 772 254 810


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



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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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



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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Product API Publisher error in accessing : A module cannot be found with the specified name : encode

2014-07-22 Thread Chamil Jeewantha
 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 772 512 430
 skype: jpfonseka

 * http://lk.linkedin.com/in/rumeshbandara*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Chamil Jeewantha

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

 *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com


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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Get the tenant ID from a web app, deployed in a carbon server

2014-07-22 Thread Chamil Jeewantha



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



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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JAX-RS servlet instantiation fails due to NoClassDefFoundError

2014-07-16 Thread Chamil Jeewantha
Hi Pulasthi,

The package export versions are not 1.49  1.32. it is *1*.49.0.wso2v1 
*132*.0.0 So the older version has 132 hence OSGI loads that package from
old. It should be fixed on orbit I think.

Regards,
Chamil


On Wed, Jul 16, 2014 at 1:01 PM, Pulasthi Mahawithana pulast...@wso2.com
wrote:

 Hi

 I get the following error,

 org.springframework.beans.factory.BeanCreationException: Error creating bean 
 with name 'caEP': Cannot resolve reference to bean 'scepEndpointBean' while 
 setting bean property 'serviceBeans' with key [3]; nested exception is 
 org.springframework.beans.factory.BeanCreationException: Error creating bean 
 with name 'scepEndpointBean' defined in URL 
 [jndi:/localhost/ca/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; 
 nested exception is java.lang.NoClassDefFoundError: 
 org/bouncycastle/util/Store


 I did some debugging from the osgi console. org.bouncycastle.util package 
 is exported by two bundles with versions 1.49 and 1.32. The bundle with v 
 1.49 contain the Store class in org.bouncycastle.util package, but the 
 bundle with v 1.32 doesn't. Does this error occur due to the webapp is trying 
 to load the incorrect bundle? How can I correct this issue?

 Following is the output from osgi console.

 osgi p org.bouncycastle.util

 org.bouncycastle.util; version=1.49.0.wso2v1bcprov-jdk15on_1.49.0.wso2v1 
 [23]

   bcpkix-jdk15on_1.49.0.wso2v1 [22] imports

   tomcat_7.0.52.wso2v3 [372] imports

 org.bouncycastle.util; version=132.0.0wss4j_1.5.11.wso2v7-SNAPSHOT [380]

   org.wso2.carbon.tomcat.patch_4.3.0.SNAPSHOT [327] imports



 --
 *Pulasthi Mahawithana*
 Software Engineer
 WSO2 Inc., http://wso2.com/
 Mobile: +94-71-5179022
 Blog: http://blog.pulasthi.org

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Retrieving an environment variable from Java

2014-07-14 Thread Chamil Jeewantha
[1] may helps to you. BTW, the code you have written gives expected result
within Command Line simple java program.

[1]
http://stackoverflow.com/questions/13748367/system-getenv-does-not-list-all-the-environment-variables


On Mon, Jul 14, 2014 at 1:51 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Inosh.
 Did you export that variable in bashrc?
 Thanks,
 Harsha


 On Mon, Jul 14, 2014 at 1:50 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Hi Inosh,

 Try putting it ~/.bashrc. I have done a similar thing. It worked when
 the variable is defined in ~/.bashrc and restarting the machine.

 Thanks,


 On Mon, Jul 14, 2014 at 1:43 PM, Inosh Perera ino...@wso2.com wrote:

 Hi Rajitha,

 Yes, I also tried couple of other ways.

 Thanks,


 On Mon, Jul 14, 2014 at 1:40 PM, Rajith Vitharana raji...@wso2.com
 wrote:

 Hi Inosh,

 Have you tried restarting the machine?

 Thanks,


 On Mon, Jul 14, 2014 at 1:35 PM, Inosh Perera ino...@wso2.com wrote:

 Hi all,
 Using java code, I'm trying to retrieve an environment variable
 defined in the OS(Ubuntu). When I define a variable in bashrc /
 bash_profile and **echo $SOME_VARIABLE** in  the terminal, it shows
 it properly. But when I'm accessing it with Java, using System.getenv() ,
 this variable doesn't appear. What could be the reason?

 MapString, String variables = System.getenv();

 for (Map.EntryString, String entry : variables.entrySet())
  {
String name = entry.getKey();
String value = entry.getValue();
System.out.println(name + = + value);
 }

 Regards,
 Inosh
 --
  Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

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




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/




 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-10 Thread Chamil Jeewantha
.

 Regards

 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email :
 dimut...@wso2.com




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
  lean . enterprise . middlewear.




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Progress on the Apache Tomcat based runtime implementation for Jaggery.js

2014-07-09 Thread Chamil Jeewantha
Hi All,

I have check the source code with Nasmin and found,

the JaggeryAsyncServlet is already registered before it does
programatically because JaggeryAsyncServlet class is automatically added to
all the Webapp Contexts because of the @WebServlet annotation.


@WebServlet(name = JaggeryAsyncServlet, urlPatterns = /*, asyncSupported
= true)

Since this JaggeryAsyncServlet is added selectively (only for the Jaggery
apps), The @WebServlet should be removed.

Regards,
Chamil




On Tue, Jul 1, 2014 at 12:10 AM, Mohamed Nasmin nasmin1...@gmail.com
wrote:

 After some reading I found the above null pointer comes when we adding the
 context listener BEFORE_START_EVENT occurs. So I changed the event to
 STARTING. Now without any error the jaggery context listener added to the
 standard context.

 But when access the sample tomgery application through URL I got this
 error. When I debug this[1] I found appConfigs is null. But could not find
 how it happened. Thanks in advance.

 *Code : *

 protected void service(HttpServletRequest request,
HttpServletResponse response) throws
 ServletException, IOException {
 JaggeryAppConfigs appConfigs =
 JaggeryAppConfigs.getInstance(request.getServletContext());
 request.setAttribute(org.apache.catalina.ASYNC_SUPPORTED, true);
 AsyncContext asyncCtx = request.startAsync();
 asyncCtx.addListener(new JaggeryAsyncListener());
 asyncCtx.setTimeout(appConfigs.getServletTimeout());
 appConfigs.getServletExecutor().execute(new
 JaggeryAsyncRequestProcessor(asyncCtx));
 }

 *Exception :*

 java.lang.NullPointerException
   
 org.jaggeryjs.apps.JaggeryAsyncServlet.service(JaggeryAsyncServlet.java:23)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 [1]
 https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryAsyncServlet.java


 On Sun, Jun 22, 2014 at 5:54 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Nasmin,

 the Null Pointer Exception (NPE) comes from the line

 registration.setAsyncSupported(true);

 Which means registration object is null. The responsible line of
 assigning this variable is the line 25.

 ServletRegistration.Dynamic registration = servletContext.addServlet(

 JaggeryAsyncServlet.NAME, JaggeryAsyncServlet.class);


 servletContext.addServlet javadoc[1] says,



 a ServletRegistration object that may be used to further configure the 
 registered servlet, or *null** if this ServletContext already contains a 
 complete ServletRegistration for the given **servletName*


 For this case you can start debug by two points.

 1. debug JaggeryContextListener
 2. Debug with tomcat source - servletContext.addServlet method to see why it 
 returns null here.


 [1] 
 http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html#addServlet(java.lang.String,
  java.lang.Class)



 On Sat, Jun 21, 2014 at 10:08 PM, Mohamed Nasmin nasmin1...@gmail.com
 wrote:

 Hi,

 @Ruchira
 I will debug the jars that we use in the tomgery app deployment and
 update with the results.

 @Dilshan
 I am using that JaggeryContextListener in a jar which is created by
 Ruchira. You can find the source code of that jar here[1].

 @Dakshika
 With the integration with JSR-223, Jaggery will use Nashorn from JDK8
 onwards and will fallback to JDK's embeded Rhino version with JDK7 or
 below. With the above Jaggery core minimisations, a Jaggery app can be even
 deployed on top of tomcat, subjecting to a WEB-INF directory which contains
 jaggery core jars and web.xml. For more details please refer this link[2].

 [1]
 https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryContextListener.java
 [2] http://osdir.com/ml/carbon-wso2-architecture/2014-06/msg0.html


 On Sat, Jun 21, 2014 at 9:46 PM, Dilshan Edirisuriya dils...@wso2.com
 wrote:

 Hi,

 Whats there at line 27 of JaggeryContextListener.java? Where can we
 find the source for this?

 Regards,

 Dilshan


 On Sat, Jun 21, 2014 at 1:31 PM, Mohamed Nasmin nasmin1...@gmail.com
 wrote:

  According to our earlier conversation I am following the below
 progression to accomplish the project. Sorry for the lengthy email.

 *Task1. Check whether the app in the tomcat webapps is jaggery app or
 not before it gets deployed/initialized*

 I trigger the BEFORE_START_EVENT by configuring the tomcat lifecycle
 listener with context.xml in the tomcat. The context can listen to the
 lifecycle listener by putting jar inside lib folder of tomcat. That jar
 should contain the tomcat listener. Also we need to define that class in
 the context.xml like below (For more details please refer this mail with
 subject Tomcat Lifecycle listener how to.).

 Listener className=org.jaggery.tomcat.listener.TomcatListener

Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-09 Thread Chamil Jeewantha
*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Plug Jaggery test framework to automation framework - Executing jaggery test cases during the build time and bridging it with test framework

2014-07-09 Thread Chamil Jeewantha
AFAIU, If any test is extended from the base class, you identify it as a
jaggery test and do some special treatment like integrating to Emma etc...
The annotation marks the class as qualified to receive the special
treatment you are going to do within the abstract class. The best example
is the difference between JUnit 3  4.

In JUnit 3 we had to extend our test class from junit.framework.TestCase
class. But in Junit 4, the abstract class has been deprecated and
introduced a simple annotations.

So I think asking people to implement their test classes from a Abstract
class is an old fashion which was followed before java 5. We can improve
the readability of the test using annotations.


On Thu, Jul 10, 2014 at 10:25 AM, Krishantha Samaraweera 
krishan...@wso2.com wrote:

 Hi Chamil,

 We can introduce TestNG custom annotation easily, but I'm in confusion how
 custom annotation fit in to this context.

 Only thing which comes to my mind is include the base class to all
 products using TestNG annotation transform listener.

 Thanks,
 Krishantha.






 On Thu, Jul 10, 2014 at 10:16 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi All,

 Why can't we use an annotation like @JaggeryTest rather than a Base class
 in this case? It will be more sophisticated to the test writers.

 Regards,
 Chamil


 On Wed, Jul 9, 2014 at 11:59 AM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi Krishantha,

 You should be able to use the same admin service that you use for Java
 webapps.


 On Wed, Jul 9, 2014 at 11:20 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Ruchira,


 On Mon, Jul 7, 2014 at 6:39 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:




 On Mon, Jul 7, 2014 at 4:46 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Ruchira,

 This is not going to be a simple plugin to implement.This plugin will
 act as a test executor and report generator, and we need to integrate 
 code
 coverage generation as well. Maven already provide sure-fire plug for 
 test
 execution and TestNG and Emma provide other capabilities. So writing a 
 new
 plugin from the scratch will be more work and we are going to ignore
 existing plugins and test framework capabilities. I think we are trying 
 to
 reinvent the wheel

 Sorry Krishantha, you have got it wrong :). I never said to reinvent
 the wheel and I know it is useless.

 To clarify what I meant, assume the configuration that everyone put in
 their pom.xml asking TestNG/Emma to execute the test class that they
 wrote(Let's say it as X and everyone will have to write the same class).
 Instead of that, your test framework jar bundles the class(X) and you 
 write
 a maven plugin, which allows someone to ask TestNG/Emma to execute tests
 with your bundled class(X) by just specifying maven plugin configuration 
 in
 their pom.xml


 Idea of this new feature was to run jaggery tests and display the
 result in TestNG report generated by test framework. To implement the
 plugin you mentioned, we need to write a wrapper plugin around surefire
 plugin. I don't know whether this capability is provided by maven.

 The test class that developers going write will be look like this [1].
 It is matter of extending abstract test class. Will do a demo on this and
 discuss with you. So we can decide what is the best way to go ahead.

 [1]
 https://github.com/wso2/product-dss/blob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/dss/integration/test/server/mgt/DSSServerBundleStatusTestCase.java


  again.

 Adding one single test class just by extending a class provided by
 test framework doesn't going to be overkill.

 Is there a way to discover all jaggery applications hosted in carbon
 server instance? if jaggery app discovery is available, then we can use
 testNG listener to run all unit tests in those Jaggery apps even without
 writing single java class in product test modules.

 +1. If you list down all the directories available within
 repository/deployment/server/jaggeryapps directory, those are the Jaggery
 apps available.


 If we refer carbon.home in tests case, then the test case will have to
 be skipped from platform/distributed scenarios (where distribution is
 hosted remotely). We refer carbon.home only if there is no way to get test
 inputs.

 Is there a admin service to get all jaggery apps deployed on carbon
 instance ?

 Thanks,
 Krishantha.




 Thanks,
 Krishantha.



 On Mon, Jul 7, 2014 at 4:31 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi Dimuthu,

 With this approach, everyone who wants to test Jaggery apps will
 have to write the same Java code by extending your base class, which is
 redundant. Hence, IMO, the best options would be to wrap your base class
 and write a maven plugin. So, what other's will have to do is, just add
 that configuration in the pom and tests will be executed automatically
 without writing any Java code.

 /Ruchira


 On Mon, Jul 7, 2014 at 3:39 PM, Dimuthu De Lanerolle 
 dimut...@wso2.com wrote:

 Hi

[Dev] Fwd: AS HTTP Monitoring - Need UI improvements

2014-07-04 Thread Chamil Jeewantha
Adding Chanaka  Dakshika to the thread.

-- Forwarded message --
From: Kalpa Welivitigoda kal...@wso2.com
Date: Fri, Jul 4, 2014 at 4:51 PM
Subject: [Dev] AS HTTP Monitoring - Need UI improvements
To: dev@wso2.org dev@wso2.org


Hi,

I am working on the project AS HTTP Monitoring as my training project. I
have completed the functionality as per the milestone plan but the UI needs
a lot of improvements. Some of the screen captures of the current UI are
attached herewith.

I would like to have someone interested to work on the UI. Suggestions for
improvements are warmly welcome.
​​​
 Application list.png
https://docs.google.com/a/wso2.com/file/d/0B64x1tIVOcbTZ0FYVkFNQWIxT2s/edit?usp=drive_web
​​
 Time varying.png
https://docs.google.com/a/wso2.com/file/d/0B64x1tIVOcbTemJBNUZJUW9qU1k/edit?usp=drive_web
​​
 Technology.png
https://docs.google.com/a/wso2.com/file/d/0B64x1tIVOcbTdjFRRXI0ZHJUMGs/edit?usp=drive_web
​​
 Geographic.png
https://docs.google.com/a/wso2.com/file/d/0B64x1tIVOcbTdEtWN2NaNVJYeTg/edit?usp=drive_web
​​

-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mock a web application in integration tests

2014-07-03 Thread Chamil Jeewantha
Hi Prasad,

Understood. you can use Jetty to deploy your webapp within your test. Other
solution is simple[1] it is one single jar file which gives you the server
capabilities. It comes under apache 2 licence.

[1] http://sourceforge.net/projects/simpleweb/


On Thu, Jul 3, 2014 at 5:17 AM, Prasad Tissera pras...@wso2.com wrote:

 I am trying to mock the behaviour of the application. ( ex. travelocity
 sample) that sends SAML requests to IS. Not the behaviour of IS ( Start IS
 and send requests to it).

 Here I am trying to avoid launching the application inside Tomcat during
 the test and mock the behaviour of the application.
 On Jul 2, 2014 6:07 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:


 On Wed, Jul 2, 2014 at 2:12 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Prasad,

 Mocking is good for unit tests. but its better if you minimize mocks on
 Integration tests.


 +1, mocking is not recommended when it comes to integration and platform
 tests. Unit tests have full control over all the pieces running, that's why
 unit tests might require mocking.

 Thanks,
 Krishantha.



 Regards,
 Chamil


 On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera pras...@wso2.com wrote:

 Hi,

 I am writing integration tests for SAML sso scenarios. We have a sample
 web application which can send SAML requests to IS. IS sends SAML response
 to the Assertion Consumer URL. Is there a way to mock this scenario in
 integration tests, without launching the sample application inside a tomcat
 container during the test?

 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444

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




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mock a web application in integration tests

2014-07-03 Thread Chamil Jeewantha
Forgot to give you the Jetty example.

http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty




On Thu, Jul 3, 2014 at 11:56 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Prasad,

 Understood. you can use Jetty to deploy your webapp within your test.
 Other solution is simple[1] it is one single jar file which gives you the
 server capabilities. It comes under apache 2 licence.

 [1] http://sourceforge.net/projects/simpleweb/


 On Thu, Jul 3, 2014 at 5:17 AM, Prasad Tissera pras...@wso2.com wrote:

 I am trying to mock the behaviour of the application. ( ex. travelocity
 sample) that sends SAML requests to IS. Not the behaviour of IS ( Start IS
 and send requests to it).

 Here I am trying to avoid launching the application inside Tomcat during
 the test and mock the behaviour of the application.
 On Jul 2, 2014 6:07 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:


 On Wed, Jul 2, 2014 at 2:12 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Prasad,

 Mocking is good for unit tests. but its better if you minimize mocks on
 Integration tests.


 +1, mocking is not recommended when it comes to integration and platform
 tests. Unit tests have full control over all the pieces running, that's why
 unit tests might require mocking.

 Thanks,
 Krishantha.



 Regards,
 Chamil


 On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera pras...@wso2.com
 wrote:

 Hi,

 I am writing integration tests for SAML sso scenarios. We have a
 sample web application which can send SAML requests to IS. IS sends SAML
 response to the Assertion Consumer URL. Is there a way to mock this
 scenario in integration tests, without launching the sample application
 inside a tomcat container during the test?

 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444

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




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mock a web application in integration tests

2014-07-03 Thread Chamil Jeewantha
According to this scenario, You should have a receiving endpoint to receive
and verify the SAML response from IS to Assertion consumer URL. So I think
HttpClient is not enough. You should have at-least a simple socket
listening on the Assertion Consumer URL. WDYT?


On Thu, Jul 3, 2014 at 12:23 PM, Prasad Tissera pras...@wso2.com wrote:

 (adding Johann)

 Hi Krishantha,

 That was the first option. But later we discussed that it will be better
 if we can use HttpClient to do this. Now I am trying to use HttpClient to
 directly send requests to IS without using the sample webapp.




 On Thu, Jul 3, 2014 at 12:08 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Prasad,

 Sample code provided by WarunaP for SAML sso scenario, contain starting
 tomcat server pragmatically with sample webapp.

 What made you really interesting on mocking this behavior ?

 Thanks,
 Krishantha.


 On Thu, Jul 3, 2014 at 11:56 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Prasad,

 Understood. you can use Jetty to deploy your webapp within your test.
 Other solution is simple[1] it is one single jar file which gives you the
 server capabilities. It comes under apache 2 licence.

 [1] http://sourceforge.net/projects/simpleweb/


 On Thu, Jul 3, 2014 at 5:17 AM, Prasad Tissera pras...@wso2.com wrote:

 I am trying to mock the behaviour of the application. ( ex. travelocity
 sample) that sends SAML requests to IS. Not the behaviour of IS ( Start IS
 and send requests to it).

 Here I am trying to avoid launching the application inside Tomcat
 during the test and mock the behaviour of the application.
 On Jul 2, 2014 6:07 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:


 On Wed, Jul 2, 2014 at 2:12 PM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Hi Prasad,

 Mocking is good for unit tests. but its better if you minimize mocks
 on Integration tests.


 +1, mocking is not recommended when it comes to integration and
 platform tests. Unit tests have full control over all the pieces running,
 that's why unit tests might require mocking.

 Thanks,
 Krishantha.



 Regards,
 Chamil


 On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera pras...@wso2.com
 wrote:

 Hi,

 I am writing integration tests for SAML sso scenarios. We have a
 sample web application which can send SAML requests to IS. IS sends SAML
 response to the Assertion Consumer URL. Is there a way to mock this
 scenario in integration tests, without launching the sample application
 inside a tomcat container during the test?

 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444

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




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Integration Tests - AS BAM stat publishing or ESB-Activity Monitoring

2014-07-02 Thread Chamil Jeewantha
Can someone point me to the git/svn location which has the $subject. My
requirement is to write an Integration Test for AS-BAM data publishing. its
really helpful if I can find some existing tests to refer to.

Regards,
Chamil

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mock a web application in integration tests

2014-07-02 Thread Chamil Jeewantha
Hi Prasad,

Mocking is good for unit tests. but its better if you minimize mocks on
Integration tests.

Regards,
Chamil


On Wed, Jul 2, 2014 at 2:09 PM, Prasad Tissera pras...@wso2.com wrote:

 Hi,

 I am writing integration tests for SAML sso scenarios. We have a sample
 web application which can send SAML requests to IS. IS sends SAML response
 to the Assertion Consumer URL. Is there a way to mock this scenario in
 integration tests, without launching the sample application inside a tomcat
 container during the test?

 --
 Prasad Tissera
 Software Engineer.
 Mobile : +94777223444

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration Tests - AS BAM stat publishing or ESB-Activity Monitoring

2014-07-02 Thread Chamil Jeewantha
Thanks Everybody,

@Krishantha: Thats what I was exactly looking for.


On Wed, Jul 2, 2014 at 6:13 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi Chamil,

 You can refer test case at [1] which publish web app stats to BAM. You
 need to assume BAM server is running and write your test. Test case
 location should be [2]. You can consider this as a platform scenario. So
 platform test case guide at [3] would help you.

 [1]
 http://svn.wso2.org/repos/wso2/scratch/as520_ta_hackathon/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.platform.test.scenarios/src/test/java/org.wso2.carbon.automation.platform.scenarios/as/webapp/stat/monitoring/test/WebApplicationStatMonitoringWithBAMTestCase.java

 [2]
 https://github.com/wso2/carbon-platform-automated-test-suite/tree/master/platform-automated-test-suite/platform-tests

 [3]
 http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/

 Thanks,
 Krishantha.


 On Wed, Jul 2, 2014 at 2:25 PM, Gayan Yalpathwala gay...@wso2.com wrote:

 Hi Chamil,

 Did you happen to come across already existing test cases[1]? Hope you
 can refer [2] as a sample test case and [3] is a good article to follow.

 [1]
 https://github.com/wso2-dev/product-as/tree/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests
 [2]
 https://github.com/wso2-dev/product-as/blob/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/AARServiceTestCase.java
 [3]
 http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/

 Thanks,


 On Wed, Jul 2, 2014 at 2:04 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Can someone point me to the git/svn location which has the $subject. My
 requirement is to write an Integration Test for AS-BAM data publishing. its
 really helpful if I can find some existing tests to refer to.

 Regards,
 Chamil

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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




 --
 *Gayan Kaushalya Yalpathwala*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 8682704 http://asia14.wso2con.com/

  http://asia14.wso2con.com/

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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to get cluster information within a TomcatValve in Carbon

2014-06-25 Thread Chamil Jeewantha
Hi All,

I want to get clustering information like cluster Id within TomcatValve
configured in WSO2 AS. what is the way I can grab these details. (mainly
the cluster ID).

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Extracting data from User-Agent header - AS-BAM application monitoring

2014-06-24 Thread Chamil Jeewantha
Hi All,

There is an alternative library ua-parser[1] which is fairly simple and
more suitable for our requirement. Hence we decided to move ahead with
ua-parser.

This library is ASL 2.0 compatible. It is available only on the maven repo
[2]

What are the steps should I follow to add this library in new GIT model?


[1] https://github.com/tobie/ua-parser/
[2] http://maven.twttr.com/ua_parser/ua-parser/1.3.0/


On Mon, Jun 16, 2014 at 4:16 PM, Chamil Jeewantha cha...@wso2.com wrote:

 The User-Agent header of a http call gives lots of important details about
 the client who sends the HTTP request. The current implementation of Web
 App statistic module only extracts  client OS, browser  browser version.
 We are going to use UADetector[1] library to grab more important details
 such as robot access frequency, feed reader access stats etc...

 UADetector is a library which parse the User-Agent header and provide rich
 set of details.

 Here are some extracts from the [1]

 This library detects over 190 different desktop and mobile browsers and
 130 other User-Agents like feed readers, multimedia players and email
 clients.

 On the Internet many robots are on their way to examine sites. A large
 number of robots can be detected with this library.

 This library comes with its own caching implementation which avoids
 duplicate parsing of the same User-Agent string.

 Licence : The Apache Software License, Version 2.0
 Current version: 0.9.17

 Please shout for any concerns or for better solutions.

 [1] http://uadetector.sourceforge.net/

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] orbit not found on github/wso2-dev

2014-06-24 Thread Chamil Jeewantha
Hi All,

orbit is there in wso2[1] but not in wso2-dev[2]. Is it intentionally done?
Otherwise please fork it to wso2-dev. I want to add ua-parser library to
orbit.

Mail thread subject about ua-parser : Extracting data from User-Agent
header - AS-BAM application monitoring

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Progress on the Apache Tomcat based runtime implementation for Jaggery.js

2014-06-21 Thread Chamil Jeewantha
,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/jaggery/lib,${catalina.base}/jaggery/lib/*.jar,${catalina.home}/jaggery/lib,${catalina.home}/jaggery/lib/*.jar

 *Task3. Register a jaggery servlet listener if it is a jaggery app *

 Afterwards we need to register our jaggery servlet listener to the
 jaggery app. I did by adding application listener to the jaggery standard
 context and I added application paramaeter which we had in the web.xml.
 Here I got an exception like below. Please advice on this.

 Code:


 standardContext.addApplicationListener(org.jaggeryjs.apps.JaggeryContextListener);

 ApplicationParameter applicationParameter = new ApplicationParameter();
 applicationParameter.setName(jaggery.initializer);
 applicationParameter.setValue(server://engines/index.js);
 standardContext.addApplicationParameter(applicationParameter);

 ApplicationParameter applicationParameter1 = new ApplicationParameter();
 applicationParameter1.setName(jaggery.development);
 applicationParameter1.setValue(true);
 standardContext.addApplicationParameter(applicationParameter1);

 ApplicationParameter applicationParameter2 = new ApplicationParameter();
 applicationParameter2.setName(jaggery.engine.pool.max.active);
 applicationParameter2.setValue(5000);
 standardContext.addApplicationParameter(applicationParameter2);

 ApplicationParameter applicationParameter3 = new ApplicationParameter();
 applicationParameter3.setName(jaggery.executor.pool.max);
 applicationParameter3.setValue(5000);
 standardContext.addApplicationParameter(applicationParameter3);

 Output:

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/demo5
 Jun 20, 2014 10:25:39 PM org.jaggery.tomcat.listener.TomcatListener
 lifecycleEvent
 INFO: BEFORE START EVENT triggered.
 This is a Jaggery app
 Jun 20, 2014 10:25:40 PM org.apache.catalina.core.StandardContext
 listenerStart
 SEVERE: Exception sending context initialized event to listener instance
 of class org.jaggeryjs.apps.JaggeryContextListener
 java.lang.NullPointerException
 at
 org.jaggeryjs.apps.JaggeryContextListener.contextInitialized(JaggeryContextListener.java:27)
 at
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
 at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
 at
 org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
 at
 org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)

 Jun 20, 2014 10:25:40 PM org.apache.catalina.core.StandardContext
 startInternal
 SEVERE: Error listenerStart

 I attached the tomcat directory structure for the jaggery app with this
 email. Also we have a remaining task that we need put context parameters in
 a separate property file and make it available for the app deployment. Here
 I hard coded those parameters. Please advice on this issue.

 Thanks in advance.

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




 --
 Dilshan Edirisuriya
 Senior Software Engineer - WSO2
 Mob: + 94 777878905
 http://wso2.com/



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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Extracting data from User-Agent header - AS-BAM application monitoring

2014-06-16 Thread Chamil Jeewantha
The User-Agent header of a http call gives lots of important details about
the client who sends the HTTP request. The current implementation of Web
App statistic module only extracts  client OS, browser  browser version.
We are going to use UADetector[1] library to grab more important details
such as robot access frequency, feed reader access stats etc...

UADetector is a library which parse the User-Agent header and provide rich
set of details.

Here are some extracts from the [1]

This library detects over 190 different desktop and mobile browsers and
130 other User-Agents like feed readers, multimedia players and email
clients.

On the Internet many robots are on their way to examine sites. A large
number of robots can be detected with this library.

This library comes with its own caching implementation which avoids
duplicate parsing of the same User-Agent string.

Licence : The Apache Software License, Version 2.0
Current version: 0.9.17

Please shout for any concerns or for better solutions.

[1] http://uadetector.sourceforge.net/

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tomcat Lifecycle listener how to.

2014-06-12 Thread Chamil Jeewantha
adding Ruchira  Sagara  dev group

Did you try the Before start event?

Sorry, If I misunderstood the last email.




On Fri, Jun 13, 2014 at 11:13 AM, Mohamed Nasmin nasmin1...@gmail.com
wrote:


 Thanks once again. I tried that by configuring context.xml. But I cannot
 trigger the BEFORE_INIT_EVENT. Other events are triggering well. This is
 the out put after configuring the listener with context.xml.

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/docs


 *this is before start eventthis is start eventthis is after start event*
 Jun 13, 2014 11:03:27 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deployment of web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/docs has finished in 1,482
 ms
 Jun 13, 2014 11:03:27 AM org.apache.catalina.startup.HostConfig
 deployDirectory

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/manager


 *this is before start eventthis is start eventthis is after start event*
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deployment of web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/manager has finished in
 211 ms
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/host-manager


 *this is before start event this is start eventthis is after start event*
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deployment of web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/host-manager has finished
 in 208 ms
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/ROOT


 *this is before start eventthis is start event this is after start event*
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deployment of web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/ROOT has finished in 105 ms
 Jun 13, 2014 11:03:28 AM org.apache.catalina.startup.HostConfig
 deployDirectory

 INFO: Deploying web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/examples


 *this is before start eventthis is start event this is after start event*
 Jun 13, 2014 11:03:29 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deployment of web application directory
 /home/nasmin/tomcat/apache-tomcat-7.0.54/webapps/examples has finished in
 1,136 ms
 Jun 13, 2014 11:03:29 AM org.apache.coyote.AbstractProtocol start
 INFO: Starting ProtocolHandler [http-bio-8080]
 Jun 13, 2014 11:03:29 AM org.apache.coyote.AbstractProtocol start
 INFO: Starting ProtocolHandler [ajp-bio-8009]
 Jun 13, 2014 11:03:29 AM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 4090 ms

 In the context.xml I put like below. But there is a WatchedResource
 element. It already run and initialize the context. I googled it but could
 not find a solution. Can we handle this issue? If we get triggered
 BEFORE_INIT_EVENT here then my problem is solved. Please advice on this.
 Thanks alot for your guidance ayye.

 !-- Default set of monitored resources --
 Listener className=org.jaggery.tomcat.listener.TomcatListener /
 *WatchedResourceWEB-INF/web.xml/WatchedResource*



 On Fri, Jun 13, 2014 at 10:52 AM, Chamil Jeewantha cha...@wso2.com
 wrote:

 Please try configuring your lifecycle listener on context.xml file. [1].

 [1] http://tomcat.apache.org/tomcat-5.5-doc/config/context.html


 On Fri, Jun 13, 2014 at 12:29 AM, Mohamed Nasmin nasmin1...@gmail.com
 wrote:

 Thanks for the reply Ayye.

 This is the code I checked.

 public void lifecycleEvent(LifecycleEvent event) {

 String type = event.getType();
 if (Lifecycle.BEFORE_INIT_EVENT.equals(type)) {

 System.out.println(this is before init event);

 //Object source = event.getSource();
 Lifecycle source = event.getLifecycle();

if (source instanceof StandardContext) {

 System.out.println(it is a Context nested lifecycle event);
 StandardContext standardContext = (StandardContext) source;
 System.out.println(Context details :  +
 standardContext.toString());
 }
 else{
 System.out.println(There is no app source available);
 }

 }
 else if (Lifecycle.BEFORE_START_EVENT.equals(type)){
 System.out.println(this is before start event);
 }
 else if (Lifecycle.AFTER_INIT_EVENT.equals(type)){
 System.out.println(this is after init event);
 }
 else if (Lifecycle.AFTER_START_EVENT.equals(type)){
 System.out.println(this is after start event

[Dev] AS-BAM application and server monitoring - AS Agent implementation

2014-06-10 Thread Chamil Jeewantha
Hi Sagara,

I have created the JIRA [1] for the $subject. Please create a branch from
wso2 dev repo for development work.

[1] https://wso2.org/jira/browse/WSAS-1734

Regards,
Chamil

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIMANAGER-2158 hostobject issue, Do we need to fix it?

2014-06-04 Thread Chamil Jeewantha
OK. Thanks!


On Wed, Jun 4, 2014 at 11:27 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 Yes Chamil, we need to fix it. What we discussed in that mail is not yet
 finalised and is just a suggestion for the future. Even with that, we
 support all the current app, with hostobjects.


 On Wed, Jun 4, 2014 at 10:59 AM, Chamil Jeewantha cha...@wso2.com wrote:

 PING!


 On Mon, Jun 2, 2014 at 9:44 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Ruchira,

 The fix for the issue APIMANAGER-2158 [1] is related to hostobjects. The
 mail on architecture group with the subject Introducing JSR-223 into
 Jaggery along with Nashorn Support says, good bye for hostobjects. Is
 there any point of fixing this issue further?

 [1] https://wso2.org/jira/browse/APIMANAGER-2158

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIMANAGER-2158 hostobject issue, Do we need to fix it?

2014-06-03 Thread Chamil Jeewantha
PING!


On Mon, Jun 2, 2014 at 9:44 AM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi Ruchira,

 The fix for the issue APIMANAGER-2158 [1] is related to hostobjects. The
 mail on architecture group with the subject Introducing JSR-223 into
 Jaggery along with Nashorn Support says, good bye for hostobjects. Is
 there any point of fixing this issue further?

 [1] https://wso2.org/jira/browse/APIMANAGER-2158

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] APIMANAGER-2158 hostobject issue, Do we need to fix it?

2014-06-01 Thread Chamil Jeewantha
Hi Ruchira,

The fix for the issue APIMANAGER-2158 [1] is related to hostobjects. The
mail on architecture group with the subject Introducing JSR-223 into
Jaggery along with Nashorn Support says, good bye for hostobjects. Is
there any point of fixing this issue further?

[1] https://wso2.org/jira/browse/APIMANAGER-2158

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sohani Weerasinghe

2014-05-30 Thread Chamil Jeewantha
Congrats!


On Fri, May 30, 2014 at 12:25 PM, Nuwan Silva nuw...@wso2.com wrote:

 Congratz Sohani!!!


 On Fri, May 30, 2014 at 12:12 PM, Dinesh Bandara dine...@wso2.com wrote:

 Congratulations !


 On Fri, May 30, 2014 at 11:06 AM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi All,

 It's my distinct pleasure to welcome Sohani as a WSO2 Committer.

 Sohani has  been a valuable contributor for WSO2 Developer Studio since
 she joined WSO2. In recognition of her contributions to WSO2, she has been
 voted as a WSO2 Committer.

 Sohani, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha


 --

 *Jasintha Dasanayake *

 *Senior Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/
 lean . enterprise . middleware*


 *mobile :- 0711368118*

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




 --
 *Dinesh Bandara*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 - TomEE integration progress.

2014-05-27 Thread Chamil Jeewantha
Please refer to  WSO2 AS - TomEE Integration Architecture mail thread on
architect...@wso2.org, in case you are not aware of the context.


Here is the progress of the current work:

I have Created one single OpenEJB bundle That can be deployed as a plugin
on AS.
javax.annotation dependency problem fixed.
duplicate webapp error by CarbonTomcat.addWebApp method is fixed.
Now the WSO2 AS is starting with OpenEJB containers  child containers (per
each webapp) successfully.

It is a good point to say that, up to now, the only modification done on
existing WSO2 AS code is adding a lifecycle listener to catalina-server.xml
file. The Tomcat startup triggers OpenEJB initialization through this
lifecycle listener.

For now we hardcode the application names that should be avoided by
OpenEJB. Ultimately we will load OpenEJB only for the applications that has
J2EE as a runtime in their context file.

TODO:

The OpenEJB logging doesn't work. Hence no errors can be seen when
something goes wrong. it should be fixed. - First priority
Look at the JarScanner - as Sagara mentioned, CarbonTomcatJarScanner can be
used as a model to develop the JarScanner.
Remove the hardcoded application names and enhance the code to select J2EE
required app by reading context.xml - trivial
ClassLoading - Still not clear what should be the way to go.

The Code is there on git repo [1]. follow the README for configuration
instructions.

[1] https://github.com/kdchamil/ASTomEE










-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS-TomEE Integration Problem creating single OSGI Bundle with all the dependencies.

2014-05-26 Thread Chamil Jeewantha
Thanks everybody for you help. The above mentioned guideline helped.


On Mon, May 19, 2014 at 12:26 PM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 General things need to follow when creating orbit bundles.

 1. Export packages with version.
 2. Import packages with a version range. If you are not sure on some
 packages will be available at run-time, then use resolution:=optional
 directive for those.
 3. For any dynamic classes (not known in advance) needs to be imported to
 your bundle, only then use DynamicImport-Package header. Otherwise don't
 use it.
 4. Don't blindly export all the packages. Only export what is required to
 OSGi environment.
 5. There are some useful bnd instructions that comes handy when needed.
 For example Include-Resource can be used to include resource files from
 dependent jars to your target bundle.



 On Mon, May 19, 2014 at 9:55 AM, Chamil Jeewantha cha...@wso2.com wrote:

 YEP. Import-Package was there :( Thanks for pointing it out.

 I just created an orbit bundle just to see whats wrong.

 BTW, Thanks again.


 On Sun, May 18, 2014 at 11:00 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 The bundle you just provided do have Import-Package defined. :) The
 MANIFEST.MF is pretty long, so it's easy get lost the lengthy lines!

 The said java package is set in the Import-Package. Hence, OSGi
 environment tries to resolve this constraint.

 When you copy a jar to repo/comp/lib, it generates a new MANIFEST.MF for
 you. The manifest entries could very well be different from the original
 MANIFEST including the exported/imported packages and its versions. Why are
 you trying to generate a orbit bundle, when you already have one? :)

 Regards,
 KasunG




 On Sun, May 18, 2014 at 5:05 PM, Chamil Jeewantha cha...@wso2.comwrote:

 Thanks Kasun,

 I have built it using a clean repo. The only change I've made is
 uncommenting !--extensionstrue/extensions-- Sorry that I cannot
 attach the jar because its almost 20MB. So I deleted all the .class files
 (keeping the directory structure) to attach.

 The generated MANFEST doesn't have any Import-Package s defined. So Why
 OSGI complaints missing import package?

 I have copied this jar file to repository/component/lib. then it
 created a new dropin and it worked.


 On Sun, May 18, 2014 at 2:33 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Chamil,

 I have built the bundle with your pom. (I had to remove the parent
 reference though). But the built jar did not contain the classes from the
 said java package. Can you attach your bundle if possible?

 I think it would be better if you explicitly specify the
 Export-Packages of your bundle instead of exporting everything using '*'.
 That would be easier to comprehend, and actually reduce some complexities.
 As I see, most of the missing import packages of your bundle should be
 optional imports. Some examples
 are org.apache.catalina.tribes, org.apache.activemq.broker, org.postgresql
 etc.

 You might also want to verify the Export-Package versions.

 Regards,
 KasunG


 On Sun, May 18, 2014 at 1:30 PM, Chamil Jeewantha cha...@wso2.comwrote:

 I have created a single jar file using all the dependencies of
 openejb  tomee. Then I have copied it to dropins folder of AS and 
 started
 AS.

 The new bundle is in the INSTALLED status and  the diag 447 on OSGI
 console complaints about hundreds of Missing imported package.

 Problem is. almost all the complaining packages are included in the
 bundle itself and they are in the Export-Packages of the same bundle.

 The pom.xml is attached.

 example:

 Missing imported package javax.annotation.processing_0.0.0.

 but the bundle has javax/annotation/processing/all the
 classes.class

 Please help.

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




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

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AS-TomEE Integration Problem creating single OSGI Bundle with all the dependencies.

2014-05-18 Thread Chamil Jeewantha
I have created a single jar file using all the dependencies of openejb 
tomee. Then I have copied it to dropins folder of AS and started AS.

The new bundle is in the INSTALLED status and  the diag 447 on OSGI
console complaints about hundreds of Missing imported package.

Problem is. almost all the complaining packages are included in the bundle
itself and they are in the Export-Packages of the same bundle.

The pom.xml is attached.

example:

Missing imported package javax.annotation.processing_0.0.0.

but the bundle has javax/annotation/processing/all the classes.class

Please help.

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;
parent
artifactIdj2ee/artifactId
groupIdorg.wso2.carbon/groupId
version1.0.0/version
/parent
modelVersion4.0.0/modelVersion

artifactIdorg.wso2.tomee/artifactId
packagingbundle/packaging
nameWSO2 TomEE/name
urlhttp://wso2.org/url

properties
openejb.version4.6.0.1/openejb.version
myfaces.version2.1.13/myfaces.version
tomee.version1.6.0.1/tomee.version
org.apache.openwebbeans.version1.2.1/org.apache.openwebbeans.version
/properties
build
plugins
plugin
groupIdorg.apache.felix/groupId
artifactIdmaven-bundle-plugin/artifactId

!--extensionstrue/extensions--
configuration
instructions
Bundle-SymbolicName${project.artifactId}/Bundle-SymbolicName
Bundle-Name${project.artifactId}/Bundle-Name
Export-Package*;-split-package:=merge-first/Export-Package
Private-Package /
DynamicImport-Package*/DynamicImport-Package
/instructions
/configuration
/plugin
/plugins
/build

dependencies
dependency
groupIdorg.apache.openejb/groupId
artifactIdtomee-webapp/artifactId
version1.6.0.1/version
/dependency
/dependencies

/project___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS-TomEE Integration Problem creating single OSGI Bundle with all the dependencies.

2014-05-18 Thread Chamil Jeewantha
YEP. Import-Package was there :( Thanks for pointing it out.

I just created an orbit bundle just to see whats wrong.

BTW, Thanks again.


On Sun, May 18, 2014 at 11:00 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 The bundle you just provided do have Import-Package defined. :) The
 MANIFEST.MF is pretty long, so it's easy get lost the lengthy lines!

 The said java package is set in the Import-Package. Hence, OSGi
 environment tries to resolve this constraint.

 When you copy a jar to repo/comp/lib, it generates a new MANIFEST.MF for
 you. The manifest entries could very well be different from the original
 MANIFEST including the exported/imported packages and its versions. Why are
 you trying to generate a orbit bundle, when you already have one? :)

 Regards,
 KasunG




 On Sun, May 18, 2014 at 5:05 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Thanks Kasun,

 I have built it using a clean repo. The only change I've made is
 uncommenting !--extensionstrue/extensions-- Sorry that I cannot
 attach the jar because its almost 20MB. So I deleted all the .class files
 (keeping the directory structure) to attach.

 The generated MANFEST doesn't have any Import-Package s defined. So Why
 OSGI complaints missing import package?

 I have copied this jar file to repository/component/lib. then it created
 a new dropin and it worked.


 On Sun, May 18, 2014 at 2:33 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Chamil,

 I have built the bundle with your pom. (I had to remove the parent
 reference though). But the built jar did not contain the classes from the
 said java package. Can you attach your bundle if possible?

 I think it would be better if you explicitly specify the Export-Packages
 of your bundle instead of exporting everything using '*'. That would be
 easier to comprehend, and actually reduce some complexities. As I see, most
 of the missing import packages of your bundle should be optional imports.
 Some examples
 are org.apache.catalina.tribes, org.apache.activemq.broker, org.postgresql
 etc.

 You might also want to verify the Export-Package versions.

 Regards,
 KasunG


 On Sun, May 18, 2014 at 1:30 PM, Chamil Jeewantha cha...@wso2.comwrote:

 I have created a single jar file using all the dependencies of openejb
  tomee. Then I have copied it to dropins folder of AS and started AS.

 The new bundle is in the INSTALLED status and  the diag 447 on OSGI
 console complaints about hundreds of Missing imported package.

 Problem is. almost all the complaining packages are included in the
 bundle itself and they are in the Export-Packages of the same bundle.

 The pom.xml is attached.

 example:

 Missing imported package javax.annotation.processing_0.0.0.

 but the bundle has javax/annotation/processing/all the classes.class

 Please help.

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please apply the diff on attached to APIMANAGER-2158

2014-05-02 Thread Chamil Jeewantha
Kind reminder.


On Fri, Apr 25, 2014 at 3:02 PM, Chamil Jeewantha cha...@wso2.com wrote:

 $subject.

 Thanks!

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AS] Create a new carbon WebappClassLoader instance in a servlet using reflexion

2014-04-28 Thread Chamil Jeewantha
Hi All,

In my servlet I want to create another WebappClassLoader instance as
follows.

public class LoaderServlet extends HttpServlet {

public void init(ServletConfig config) throws ServletException {

ClassLoader catalinaCl = config.getClass().getClassLoader();
Class? webappClClass =
catalinaCl.loadClass(org.wso2.carbon.webapp.mgt.loader.WebappClassLoader);
 ClassLoader childCl = (ClassLoader)
webappClClass.getConstructor(ClassLoader.class).newInstance(catalinaCl);
}
}

The above code gives ClassNotFoundException

java.lang.ClassNotFoundException:
org.wso2.carbon.webapp.mgt.loader.WebappClassLoader
at
org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:138)

Please help.

Regards,
Chamil

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AS] Create a new carbon WebappClassLoader instance in a servlet using reflexion

2014-04-28 Thread Chamil Jeewantha
Thanks for the reply.

However the environment is quite complex that we cannot just depend on the
classpath.

CARBON is an OSGI platform. The bundle which holds the
org.wso2.carbon.webapp.mgt.loader.WebappClassLoader is activated. Tomcat
running on another OSGI bundle. The class loader of the Tomcat bundle is
the class loader of ServletConfig instance.

The above mentioned problem arises because the Tomcat bundle classloader
cannot see the webapp-mgt class loader.

What I want to know is a way of achieving this.

Regards,
Chamil


On Mon, Apr 28, 2014 at 6:15 PM, Gayan Gunarathne gay...@wso2.com wrote:

 Hi Chamil,

 In generally, this exception can be occurred with the following reasons.

1. When JVM tries to load a class at runtime and if that class is not
 found in classpath

2. Classloader can see multiple versions of the same class or different
 dependency paths end in different versions of the same class.

 Please check if any of the scenario exist with this given class.


 Best Regards,

 Gayan





 On Mon, Apr 28, 2014 at 5:38 PM, Chamil Jeewantha cha...@wso2.com wrote:

 Hi All,

 In my servlet I want to create another WebappClassLoader instance as
 follows.

 public class LoaderServlet extends HttpServlet {

 public void init(ServletConfig config) throws ServletException {

 ClassLoader catalinaCl = config.getClass().getClassLoader();
 Class? webappClClass =
 catalinaCl.loadClass(org.wso2.carbon.webapp.mgt.loader.WebappClassLoader);
  ClassLoader childCl = (ClassLoader)
 webappClClass.getConstructor(ClassLoader.class).newInstance(catalinaCl);
 }
 }

 The above code gives ClassNotFoundException

 java.lang.ClassNotFoundException:
 org.wso2.carbon.webapp.mgt.loader.WebappClassLoader
 at
 org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:138)

 Please help.

 Regards,
 Chamil

 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892


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




 --

 Gayan Gunarathne
 Technical Lead
 WSO2 Inc. (http://wso2.com)
 email  : gay...@wso2.com  | mobile : +94 784713028





-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please apply the diff on attached to APIMANAGER-2158

2014-04-25 Thread Chamil Jeewantha
$subject.

Thanks!

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Locking on Static methods

2014-04-21 Thread Chamil Jeewantha
 B.staticMethod() is already thread safe (it is synchronized). because of
that, the caller class (Class A) do not need to use a lock again.


On Mon, Apr 21, 2014 at 8:04 PM, Sohani Weerasinghe soh...@wso2.com wrote:

 Hi All,

 Since synchronization on static methods is a class level locking a second
 thread can't access the method until first thread releases the lock. The
 static method has synchronized as shown below.

 public class B{
 public *synchronized* static void staticMethod(String a){
 }
 }

 If this method calls by another class (Class A), then do I have to use a
 synchronized block as shown below to avoid multiple threads accessing the
 static method?

 Public class A {
 *private static Object lock = new Object();*

 public static void main(String[] args){
 *synchronized(lock){*
B.staticMethod(hello);
 *}*
}
   }

 Can someone provide a solution on this ?

 Regards,
 Sohani

  Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] components/ejb-services relationship to AS

2014-04-17 Thread Chamil Jeewantha
I found ejb-services component in the code base. What is that? Are there
any relationship to the proposed ejb implementation on the AS?


-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] components/ejb-services relationship to AS

2014-04-17 Thread Chamil Jeewantha
Understood. Thanks!



On Thu, Apr 17, 2014 at 2:00 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 that's a feature we use through axis2 where we can call externally
 deployed ejb's via axis2. With this we can wrap a ejb as a service.
 Ejb-services is not related to deployment of ejbs. Hope this clarifies..

 thanks,


 On Thu, Apr 17, 2014 at 1:39 PM, Chamil Jeewantha cha...@wso2.com wrote:

 I found ejb-services component in the code base. What is that? Are there
 any relationship to the proposed ejb implementation on the AS?


 --
 K.D. Chamil Jeewantha
 Associate Technical Lead
 WSO2, Inc.;  http://wso2.com
 Mobile: +94716813892




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please commit the diff attached in CARBON-14740

2014-04-16 Thread Chamil Jeewantha
$subject.

JIRA: https://wso2.org/jira/browse/CARBON-14740
PATCH FILE: CARBON_UI_PATCH_0007.diff

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Products Clustering Deployment guide error

2014-04-06 Thread Chamil Jeewantha
The page [1] has a text

In this case, the database we should connect to is WSO2CARBON_DB..

The WSO2CARBON_DB is not found anywhere in the documentation. I think it
should be WSO2CARBONDB

Can someone clarify whether this is correcct?

[1] https://docs.wso2.org/display/CLUSTER420/Setting+up+the+Database

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] pull request on carbon-commons on git

2014-03-24 Thread Chamil Jeewantha
I have created a pull request on carbon-commons. please merge it.

https://github.com/wso2/carbon-commons/pull/1

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] git carbon-utils build fails on java 1.7

2014-02-24 Thread Chamil Jeewantha
The carbon-utils project builds successfully on jdk1.6.0_45.

However the similar build fails on jdk1.7.0_51 with following error.

Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project org.wso2.carbon.ntask.core: Compilation failure
[ERROR]
/home/chamil/products/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24]
error: type ServiceReference does not take parameters

ServiceReference is a Generic Type but the compiler complaints it does not
take parameters.

Is there any prerequisite for java 6?

repo location : https://github.com/wso2/carbon-utils



-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] wsdl2java.sh in carbon dist gives an error

2014-01-30 Thread Chamil Jeewantha
When running the wsdl2java.sh with/without parameters I always get the
following error. Any suggestions?

chamil@chamil-thinkpad:~/bin/wso2carbon-4.2.0/bin$ ./wsdl2java.sh

BUILD SUCCESSFUL
Total time: 0 seconds
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /repository/logs/wso2carbon.log (No such
file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:221)
at java.io.FileOutputStream.init(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:2 ...

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Isuruwan Herath

2014-01-24 Thread Chamil Jeewantha
Congratulations!


On Sat, Jan 25, 2014 at 1:41 AM, Lasantha Fernando lasan...@wso2.comwrote:

 Congrats Isuruwan!... :-)


 On 24 January 2014 20:33, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats Isuruwan


 On Fri, Jan 24, 2014 at 7:28 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Congrat Isuruwan !!!


 Thanks,
 Shameera.


 On Fri, Jan 24, 2014 at 1:38 PM, Chan duli...@wso2.com wrote:

 Congratz Isuruwan


 On Fri, Jan 24, 2014 at 1:31 PM, Gayan Dhanushka gay...@wso2.comwrote:

 Congratzzz Isuruwan...!!!

 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd


 On Fri, Jan 24, 2014 at 12:48 PM, Malintha Adikari 
 malin...@wso2.comwrote:

 Congratulations Isuruwan ... !!!

 Regards,
 Malintha


 On Fri, Jan 24, 2014 at 12:47 PM, Waruna Jayaweera 
 waru...@wso2.comwrote:

 Congratzz Isuruwan


 On Fri, Jan 24, 2014 at 12:37 PM, Ramith Jayasinghe ram...@wso2.com
  wrote:

 Congrats Isuru1!



 On Fri, Jan 24, 2014 at 12:23 PM, Senaka Fernando 
 sen...@wso2.comwrote:

 Hi all,

 Its my pleasure to welcome Isuruwan Herath as a WSO2 Committer.
 Isuruwan has made some great contributions to our platform during the 
 last
 few months and in recognition of his commitment and contributions he 
 has
 been voted as a committer.

 Isuruwan, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --


 *[image: http://wso2.com] http://wso2.com Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com



 * Member; Apache Software Foundation; http://apache.org
 http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P:
 +1 408 754 7388 %2B1%20408%20754%207388; ext: 51736*;


 *M: +94 77 322 1818 %2B94%2077%20322%201818 Linked-In:
 http://linkedin.com/in/senakafernando
 http://linkedin.com/in/senakafernando*Lean . Enterprise .
 Middleware

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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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




 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198

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




 --
 *Malintha Adikari*
  Software Engineer

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

 mobile: +94 71 2312958

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



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




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
  WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*

 *  ~Website   dulithawijewantha.com http://dulithawijewantha.com/ *

 *  ~Blog blog.dulithawijewantha.com
 http://dulichan.github.io/chan/*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

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




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT
 apache.org shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551

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




-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev