Re: [Dev] Tenant Cleanup Interval

2015-05-22 Thread Bhathiya Jayasekara
Hi Malaka,

In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
sure about latest kernels.

-Dtenant.idle.time=1 \

Thanks,
Bhathiya

On Fri, May 22, 2015 at 11:31 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 Can we change the default value for $subject.

 I tried setting following in carbon.xml. It does not seem to be working.

 Tenant
 LoadingPolicy
 LazyLoading
 IdleTime1/IdleTime
 /LazyLoading
 !-- EagerLoading
Include*,!foo.com,!bar.com/Include
 /EagerLoading--
 /LoadingPolicy
 /Tenant

 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.

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




-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com http://wso2.com*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
*Blog: http://movingaheadblog.blogspot.com
http://movingaheadblog.blogspot.com/*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.9.0 with carbon-commons 4.4.2

2015-05-22 Thread Manoj Kumara
Hi Isuru,

We are ready to release the carbon-commons repo. Can you please verify
after testing.

[1]
http://maven.wso2.org/nexus/content/repositories/orgwso2carboncommons-023/


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

On Fri, May 22, 2015 at 10:11 AM, Manoj Kumara ma...@wso2.com wrote:

 I'll start release process on Carbon-Commons now.


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

 On Thu, May 21, 2015 at 10:09 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 We have encountered lot of issues after upgrading carbon-commons and
 carbon-identity (not released yet).

 We have to release following repos.

 carbon-commons, carbon-identity, carbon-multitenancy, carbon-deployment


 Carbon-commons
 

 Got the following error in p2 profile gen.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.tenant.mgt.common.server.feature.group 4.4.2,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.tenant.mgt.common.server_4.4.2/conf/stratos.xml
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.tenant.mgt.common.server_4.4.2/conf/stratos.xmldoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1432223824690.log



 This is due to
 https://github.com/wso2/carbon-commons/blob/1b946695cf10f0e4ae6c526675ecfc1db81e9f7d/features/tenant-mgt-common/org.wso2.carbon.tenant.mgt.common.server.feature/resources/p2.inf
 We need to remove line #6 here.


 Carbon-identity
 ——--

 Got issues due to massive refactoring has made.
 Ex.
 In captcha orbit packages are exported without a version

 http://maven.wso2.org/nexus/content/groups/wso2-public/kaptcha/wso2/kaptcha/2.3.0.wso2v1/kaptcha-2.3.0.wso2v1.pom
 But in identity packages are imported with a version.

 Diff attached to fix the issues. Please review and commit.


 Carnbon-multitenancy and carbon-deployment
 —— ——
 Need to upgrade carbon-identity version and do a release as features
 coming form these repos cannot co-exist with features coming from
 carbon-identity.

 Thanks.


 On Thu, May 21, 2015 at 3:52 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Isuru,

 We are not packing that bundle. Neither we use entitlement.proxy in our
 pack.
 However, org.wso2.carbon.identity.entitlement component which we use,
 also requests for 'org.apache.xerces.util' and it comes from the osgi
 framework (org.eclipse.osgi_3.9.1.v20130814-1242). The same package is used
 with 'org.wso2.carbon.identity.entitlement.proxy'

 Thanks,
 Malithi.

 On Thu, May 21, 2015 at 3:18 PM, Isuru Udana isu...@wso2.com wrote:

 IS also packing the same bundle. Are they also facing the same issue ?
 Actually we packed this jar from entitlement.mediator feature since
 entitlement.proxy (in carbon-identity) requires it.

 On Thu, May 21, 2015 at 3:10 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Ravi,

 I manually deleted 'xercesImpl_2.8.1.wso2v2.jar' from the pack and
 things seems to be working fine. You may required to bundle that one. I
 think the root course is it export unnecessary packages and this cause
 issue.

 Regards,
 Manoj


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

 On Thu, May 21, 2015 at 2:59 PM, Ravi Undupitiya r...@wso2.com
 wrote:

 Hi Manoj,

 You can find the pack at [1].

 [1]
 https://svn.wso2.com/wso2/custom/projects/scratch/ravi/commons-4.4.2/wso2esb-4.9.0-M8-SNAPSHOT.zip

 On Thu, May 21, 2015 at 2:54 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Ravi,

 Can you share a ESB server.

 Regards,
 Manoj


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

 On Thu, May 21, 2015 at 2:49 PM, Ravi Undupitiya r...@wso2.com
 wrote:

 We're also seeing this error when trying to upload a CApp after
 upgrade to carbon-commons 4.4.2.

 [2015-05-21 14:07:31,654]  INFO - ApplicationManager Deploying
 Carbon Application : esb-test_1.0.0.car...
 [2015-05-21 14:07:32,797] ERROR - CappAxis2Deployer Error while
 deploying carbon application
 /home/wso2builder/WSO2/product-esb/modules/distribution/target/wso2esb-4.9.0-M8-SNAPSHOT/repository/deployment/server/carbonapps/esb-test_1.0.0.car
 java.lang.NullPointerException
 at
 

[Dev] Updating APIM integration test cases for test with multiple tenants

2015-05-22 Thread Irham Iqbal
Hi All,

I have been updating the APIM integration test cases as below. Please find
the process document[1]

   1. Adding tenant mode test for tests which are currently running by
   super tenant mode only.
   2. Adding super tenant mode for tests which are currently running by a
   tenant and not by super tenant.

[1]
https://docs.google.com/spreadsheets/d/1dCeFHhzyWxrS9HvSPj2SQq6ahh4cO8Hx41TrfWTTyoM/edit#gid=0

-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Roshan Wijesena
Hi

I think you need to add below section to your pom. Other wise Jenkins would
give an error. same thing happened to me once.

   repositories
repository
idwso2-nexus/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
/url
releases
enabledtrue/enabled
updatePolicydaily/updatePolicy
checksumPolicyfail/checksumPolicy
/releases
/repository
/repositories
distributionManagement
repository
idwso2.releases/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/repositories/releases/
/url
/repository
snapshotRepository
idwso2.snapshots/id
nameApache Snapshot Repository/name
urlhttp://maven.wso2.org/nexus/content/repositories/snapshots/
/url
/snapshotRepository
/distributionManagement

On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
wrote:

 Hi,

 Could you please merge below PR [1].

 [1] https://github.com/wso2/orbit/pull/97

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

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




-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com http://wso2.com/*
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT Axis2 Transport

2015-05-22 Thread Kathees Rajendram
Hi Sriashalya,

The jira[1] is already created for the issue.I think you need to pass the
content type parameter in axis2.xml.
[1] - https://wso2.org/jira/browse/ESBJAVA-3436

Thanks,
Kathees

On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Chanaka,
 Now I'm testing the broker through ESB with different message format.if we
 set the content type parameter only, we can send different formats of
 messages through ESB to mosquito broker. So how to do this?



 On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 looping to dev

 On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with mosquito
 broker.
  But when I send one message from client, ESB listens bunch of messages
 and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com
 wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is to
 debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




-- 
Kathees
Software Engineer,
email: kath...@wso2.com
mobile: +94772596173
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR

2015-05-22 Thread Malithi Edirisinghe
Hi All,

Please review and merge PR [1] which fixes dependency version
of org.wso2.carbon.captcha.mgt component in carbon-multitenancy.

[1] https://github.com/wso2/carbon-multitenancy/pull/38

Thanks,
Malithi.

-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Predicted vs. actuals chart in model summary

2015-05-22 Thread Srinath Perera
Hi CD,

Can we take a random sample from the test data and use that for this
process?

--Srianth

On Fri, May 22, 2015 at 12:00 PM, CD Athuraliya chathur...@wso2.com wrote:

 Hi all,

 To implement $subject in ML we need all feature values of the dataset
 against predicted and actual values for test data. But Spark only returns
 predicted and actual values as test results. Right now we use random 10,000
 data rows for other visualizations and we cannot use same data for this
 visualization since that random 10,000 data does not correspond to test
 data (test data is a subtracted from dataset according to the train data
 fraction at model building stage).

 One option is to persist test data at testing stage, but it can be too
 large for some datasets according to train data fraction. Appreciate if you
 can give your comments on this.

 Thanks,
 CD

 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




-- 

Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
Site: http://people.apache.org/~hemapani/
Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Manoj Kumara
Hi Dhanuka,

I see some issues with the current PR,

Please correct them referring to [1].

[1]
https://docs.google.com/document/d/1I3nWPnG6139YobZzQWPFOUxYEmHxqf9ieWykmQupPtc/edit#


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

On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
wrote:

 Hi,

 Could you please merge below PR [1].

 [1] https://github.com/wso2/orbit/pull/97

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

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


[Dev] Please Review and Merge

2015-05-22 Thread Chamalee De Silva
Hi,

This is the Fix [1] for publich JIRA [2].

Please review and merge.

[1] https://github.com/wso2/carbon-apimgt/pull/459
[2] https://wso2.org/jira/browse/APIMANAGER-1821

-- 
Thanks  Regards,

*Chamalee De Silva*
Software Engineer
*WS**O2* Inc. .:http://wso2.com
lean *.* enterprise *.* middleware

Office   :- *+94 11 2145345 %2B94%2011%202145345*
mobile  :- *+94 7 %2B94%2077%2027820391 1540738*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Predicted vs. actuals chart in model summary

2015-05-22 Thread Supun Sethunga

 Can we take a random sample from the test data and use that for this
 process?
 --Srianth


+1

AFAIK, we are doing a similar thing to the ROC curve points too..

Regards,
Supun

On Fri, May 22, 2015 at 2:28 PM, CD Athuraliya chathur...@wso2.com wrote:

 Hi Srinath,

 Still that random sample will not correspond to predicted vs. actual
 values in test results. Given that there is no mapping between random
 sample data points and test result points. One thing we can do is running
 test separately (using the same model) for sampled data for the sole
 purpose of visualization. Any other options?

 On Fri, May 22, 2015 at 2:06 PM, Srinath Perera srin...@wso2.com wrote:

 Hi CD,

 Can we take a random sample from the test data and use that for this
 process?

 --Srianth

 On Fri, May 22, 2015 at 12:00 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Hi all,

 To implement $subject in ML we need all feature values of the dataset
 against predicted and actual values for test data. But Spark only returns
 predicted and actual values as test results. Right now we use random 10,000
 data rows for other visualizations and we cannot use same data for this
 visualization since that random 10,000 data does not correspond to test
 data (test data is a subtracted from dataset according to the train data
 fraction at model building stage).

 One option is to persist test data at testing stage, but it can be too
 large for some datasets according to train data fraction. Appreciate if you
 can give your comments on this.

 Thanks,
 CD

 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




 --
 
 Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
 Site: http://people.apache.org/~hemapani/
 Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT Axis2 Transport

2015-05-22 Thread Sriashalya Srivathsan
Hi Chanaka,
Now I'm testing the broker through ESB with different message format.if we
set the content type parameter only, we can send different formats of
messages through ESB to mosquito broker. So how to do this?


On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 looping to dev

 On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with mosquito
 broker.
  But when I send one message from client, ESB listens bunch of messages
 and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is to
 debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




-- 
Regards
S.Sriashalya,
WSO2 *Inc*.
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-Mediation build failure

2015-05-22 Thread Kathees Rajendram
Hi Naasheer,

The ESB is in the middle of the release and they are fixing the issue. You
are able to build the inbound module since you are working related with the
inbound.

Thanks,
Kathees

On Fri, May 22, 2015 at 12:21 PM, Naasheer Ali naashe...@wso2.com wrote:

 Hi All,

 I'm building Carbon-Mediation from develop branch. I'm getting the
 following error, how can I solve this?

 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon Mediation - Aggregator Pom . SUCCESS [
  0.697 s]
 [INFO] WSO2 Carbon - Business Adaptors Aggregator Module .. SUCCESS [
  0.272 s]
 [INFO] WSO2 Carbon - HL7 Store Stub ... SUCCESS [
  5.655 s]
 [INFO] WSO2 Carbon - Endpoint Editor Stub . SUCCESS [
  4.753 s]
 [INFO] WSO2 Carbon - localentry Stub .. SUCCESS [
  3.883 s]
 [INFO] WSO2 Carbon - Synapse Artifact Uploader Stub ... SUCCESS [
  2.644 s]
 [INFO] WSO2 Carbon - Synapse Configuration Service Administrator Stub
 SUCCESS [  3.419 s]
 [INFO] WSO2 Carbon - Mediation Library (Synapse) Management Stub SUCCESS [
  5.182 s]
 [INFO] WSO2 Carbon - Mediation Security Stub .. SUCCESS [
  2.805 s]
 [INFO] WSO2 Carbon - Template Editor Service Administrator Stub SUCCESS [
  6.733 s]
 [INFO] WSO2 Carbon - BAM Mediator Configuration Stub .. SUCCESS [
  3.945 s]
 [INFO] WSO2 Carbon - Class Mediator Admin Stub  SUCCESS [
  2.200 s]
 [INFO] WSO2 Carbon - Command Mediator Admin Stub .. SUCCESS [
  2.785 s]
 [INFO] WSO2 Carbon - Event Mediator Admin Stub  SUCCESS [
  3.079 s]
 [INFO] WSO2 Carbon - Message Processor Stub ... SUCCESS [
  4.291 s]
 [INFO] WSO2 Carbon - Message Store Stub ... SUCCESS [
  4.138 s]
 [INFO] WSO2 Carbon - Proxy Services Admin Stub  SUCCESS [
  5.825 s]
 [INFO] WSO2 Carbon - Sequence Editor Stub . SUCCESS [
  6.455 s]
 [INFO] WSO2 Carbon - Task Stub  SUCCESS [
  3.491 s]
 [INFO] WSO2 Carbon - Priority Mediation Stub .. SUCCESS [
  2.757 s]
 [INFO] WSO2 Carbon - Rest API Admin Stub .. SUCCESS [
  5.330 s]
 [INFO] WSO2 Carbon - Inbound Stub . SUCCESS [
  3.415 s]
 [INFO] WSO2 Carbon - ESB NTask Stub ... SUCCESS [
  3.518 s]
 [INFO] WSO2 Carbon - Publish Event Mediator Configuration Stub SUCCESS [
  3.278 s]
 [INFO] WSO2 Carbon - Business Adaptors Aggregator Module .. SUCCESS [
  0.099 s]
 [INFO] WSO2 Carbon - Mediation Statistics Stub  SUCCESS [
  3.567 s]
 [INFO] WSO2 Carbon - Mediation Tracer Stub  SUCCESS [
  3.487 s]
 [INFO] application-mgt-stub ... SUCCESS [
  0.072 s]
 [INFO] WSO2 Carbon - Application Management Synapse Stub .. SUCCESS [
  3.333 s]
 [INFO] WSO2 Carbon - Synapse Registries Aggregator Module . SUCCESS [
  0.019 s]
 [INFO] WSO2 Carbon - Mediation Registries . SUCCESS [
  3.790 s]
 [INFO] WSO2 Carbon - Mediation Initializer Aggregator Module SUCCESS [
  0.265 s]
 [INFO] WSO2 Carbon - Mediator Bridge .. SUCCESS [
  1.079 s]
 [INFO] WSO2 Carbon - Mediators Aggregator Module .. SUCCESS [
  0.015 s]
 [INFO] WSO2 Carbon - Router Mediator Aggregator Module  SUCCESS [
  0.020 s]
 [INFO] WSO2 Carbon - Router mediator .. SUCCESS [
  3.709 s]
 [INFO] WSO2 Carbon - Mediation Dependency Management .. SUCCESS [
  2.058 s]
 [INFO] WSO2 Carbon - Mediation admin- Aggregator Module ... SUCCESS [
  0.064 s]
 [INFO] WSO2 Carbon - Task Services  SUCCESS [
  1.444 s]
 [INFO] WSO2 Carbon - ntask Integration core ... SUCCESS [
  1.827 s]
 [INFO] WSO2 Carbon - Inbound Endpoint Module .. SUCCESS [
  0.597 s]
 [INFO] org.wso2.carbon.inbound.endpoint.persistence ... SUCCESS [
  1.602 s]
 [INFO] org.wso2.carbon.inbound.endpoint.osgi .. SUCCESS [
  1.457 s]
 [INFO] WSO2 Carbon - Clustering Integration ... SUCCESS [
  1.124 s]
 [INFO] org.wso2.carbon.inbound.endpoint ... SUCCESS [
  3.187 s]
 [INFO] WSO2 Carbon - Mediation Initializer  SUCCESS [
  3.989 s]
 [INFO] WSO2 Carbon - Mediation UI Menu Initializer  SUCCESS [
  0.268 s]
 [INFO] WSO2 Carbon Mediation - Transport Handlers . SUCCESS [
  1.311 s]
 [INFO] WSO2 Carbon - Mediation Monitor - Aggregator Module  SUCCESS [
  0.050 s]
 [INFO] WSO2 Carbon - Message Relay Parent . SUCCESS [
  0.019 s]
 [INFO] WSO2 Carbon - Message Relay  SUCCESS [
  0.907 s]
 [INFO] WSO2 Carbon - Message Relay Builder Mediator ... SUCCESS [
  0.972 s]
 [INFO] WSO2 Carbon - Message Relay Module . SUCCESS [
  3.687 s]
 [INFO] WSO2 Carbon - Mediation Statistics Aggregator Module SUCCESS [
  0.019 s]
 [INFO] WSO2 Carbon - Mediation statistics BE .. SUCCESS [
  2.483 s]
 [INFO] WSO2 Carbon - Mediation Statistics UI 

[Dev] App Manager latest build pack - 22-05-2015

2015-05-22 Thread Dinusha Senanayaka
Hi,

Please find $subject in [1]

[1] http://builder1.us1.wso2.org/~appm/22-05-2015/

Regards,
Dinusha.

-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ML] Predicted vs. actuals chart in model summary

2015-05-22 Thread CD Athuraliya
Hi all,

To implement $subject in ML we need all feature values of the dataset
against predicted and actual values for test data. But Spark only returns
predicted and actual values as test results. Right now we use random 10,000
data rows for other visualizations and we cannot use same data for this
visualization since that random 10,000 data does not correspond to test
data (test data is a subtracted from dataset according to the train data
fraction at model building stage).

One option is to persist test data at testing stage, but it can be too
large for some datasets according to train data fraction. Appreciate if you
can give your comments on this.

Thanks,
CD

-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 94716288847
LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Dhanuka Ranasinghe
Hi,

Could you please merge below PR [1].

[1] https://github.com/wso2/orbit/pull/97

Cheers,
*Dhanuka Ranasinghe*

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

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


Re: [Dev] ESB 4.9.0 with carbon-commons 4.4.2

2015-05-22 Thread Manoj Kumara
Hi All,

carbon-commons:4.4.3 released.

Regards,
Manoj


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

On Fri, May 22, 2015 at 12:26 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Isuru,

 We are ready to release the carbon-commons repo. Can you please verify
 after testing.

 [1]
 http://maven.wso2.org/nexus/content/repositories/orgwso2carboncommons-023/


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

 On Fri, May 22, 2015 at 10:11 AM, Manoj Kumara ma...@wso2.com wrote:

 I'll start release process on Carbon-Commons now.


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

 On Thu, May 21, 2015 at 10:09 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 We have encountered lot of issues after upgrading carbon-commons and
 carbon-identity (not released yet).

 We have to release following repos.

 carbon-commons, carbon-identity, carbon-multitenancy, carbon-deployment


 Carbon-commons
 

 Got the following error in p2 profile gen.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
 -- [R]org.wso2.carbon.tenant.mgt.common.server.feature.group 4.4.2,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.tenant.mgt.common.server_4.4.2/conf/stratos.xml
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.tenant.mgt.common.server_4.4.2/conf/stratos.xmldoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1432223824690.log



 This is due to
 https://github.com/wso2/carbon-commons/blob/1b946695cf10f0e4ae6c526675ecfc1db81e9f7d/features/tenant-mgt-common/org.wso2.carbon.tenant.mgt.common.server.feature/resources/p2.inf
 We need to remove line #6 here.


 Carbon-identity
 ——--

 Got issues due to massive refactoring has made.
 Ex.
 In captcha orbit packages are exported without a version

 http://maven.wso2.org/nexus/content/groups/wso2-public/kaptcha/wso2/kaptcha/2.3.0.wso2v1/kaptcha-2.3.0.wso2v1.pom
 But in identity packages are imported with a version.

 Diff attached to fix the issues. Please review and commit.


 Carnbon-multitenancy and carbon-deployment
 —— ——
 Need to upgrade carbon-identity version and do a release as features
 coming form these repos cannot co-exist with features coming from
 carbon-identity.

 Thanks.


 On Thu, May 21, 2015 at 3:52 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Isuru,

 We are not packing that bundle. Neither we use entitlement.proxy in our
 pack.
 However, org.wso2.carbon.identity.entitlement component which we use,
 also requests for 'org.apache.xerces.util' and it comes from the osgi
 framework (org.eclipse.osgi_3.9.1.v20130814-1242). The same package is used
 with 'org.wso2.carbon.identity.entitlement.proxy'

 Thanks,
 Malithi.

 On Thu, May 21, 2015 at 3:18 PM, Isuru Udana isu...@wso2.com wrote:

 IS also packing the same bundle. Are they also facing the same issue ?
 Actually we packed this jar from entitlement.mediator feature since
 entitlement.proxy (in carbon-identity) requires it.

 On Thu, May 21, 2015 at 3:10 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Ravi,

 I manually deleted 'xercesImpl_2.8.1.wso2v2.jar' from the pack and
 things seems to be working fine. You may required to bundle that one. I
 think the root course is it export unnecessary packages and this cause
 issue.

 Regards,
 Manoj


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

 On Thu, May 21, 2015 at 2:59 PM, Ravi Undupitiya r...@wso2.com
 wrote:

 Hi Manoj,

 You can find the pack at [1].

 [1]
 https://svn.wso2.com/wso2/custom/projects/scratch/ravi/commons-4.4.2/wso2esb-4.9.0-M8-SNAPSHOT.zip

 On Thu, May 21, 2015 at 2:54 PM, Manoj Kumara ma...@wso2.com
 wrote:

 Hi Ravi,

 Can you share a ESB server.

 Regards,
 Manoj


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

 On Thu, May 21, 2015 at 2:49 PM, Ravi Undupitiya r...@wso2.com
 wrote:

 We're also seeing this error when trying to upload a CApp after
 upgrade to carbon-commons 4.4.2.

 [2015-05-21 14:07:31,654]  INFO - ApplicationManager Deploying
 Carbon Application : esb-test_1.0.0.car...
 [2015-05-21 14:07:32,797] ERROR - CappAxis2Deployer Error while
 

Re: [Dev] error in running ESB sample 153

2015-05-22 Thread Chathura Priyankara
Hi Rukshan,

I also faced the same issue when I'm trying to run the sample 153 with java
1.7,
but with java 1.6 it worked properly.

Thanks!
Chathura.

On Thu, May 21, 2015 at 12:26 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi Rukshan,

 What is the Java version that you are using?
 You can refer to following mail thread  [Dev] Exception when running the
 ESB Sample 153

 Thanks

 On Thu, May 21, 2015 at 12:22 PM, Rukshan Premathunga ruks...@wso2.com
 wrote:

 hi,

 i'm getting an error when i run the ESB sample 153 client
 I copy the bcprov-jdk15.jar and install the unlimited strength policy
 files from
 http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
 .

 But still i get the error as follow.


 [2015-05-21 12:16:47,273] DEBUG - OutMediator Start : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - OutMediator Current message is a
 request - skipping child mediators
 [2015-05-21 12:16:47,273] DEBUG - OutMediator End : Out mediator
 [2015-05-21 12:16:47,273] DEBUG - SequenceMediator End : Sequence main
 [2015-05-21 12:16:47,828] ERROR - AxisEngine InvalidSecurity
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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:745)
 [2015-05-21 12:16:47,830] ERROR - ClientWorker Fault processing response
 message through Axis2
 org.apache.axis2.AxisFault: InvalidSecurity
 at
 org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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:745)
 [2015-05-21 12:17:47,037]  WARN - SourceHandler Connection time out after
 request is read: http-incoming-1
 [2015-05-21 12:19:01,997]  WARN - TimeoutHandler Expiring message ID :
 urn:uuid:d6a5ec0c-62e3-4022-b53a-2fd41dd34362; dropping message after
 global timeout of : 120 seconds


 --
 Rukshan Chathuranga.
 Software Engineer.
 WSO2, Inc.

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




 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


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




-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tenant Cleanup Interval

2015-05-22 Thread Shashika Karunatilaka
Hi Bathiya,

Its also the same as in latest kernel versions.

Thank you.

On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 Hi Malaka,

 In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
 sure about latest kernels.

 -Dtenant.idle.time=1 \

 Thanks,
 Bhathiya

 On Fri, May 22, 2015 at 11:31 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 Can we change the default value for $subject.

 I tried setting following in carbon.xml. It does not seem to be working.

 Tenant
 LoadingPolicy
 LazyLoading
 IdleTime1/IdleTime
 /LazyLoading
 !-- EagerLoading
Include*,!foo.com,!bar.com/Include
 /EagerLoading--
 /LoadingPolicy
 /Tenant

 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.

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




 --
 *Bhathiya Jayasekara*
 *Senior Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Carbon-Mediation build failure

2015-05-22 Thread Naasheer Ali
Hi All,

I'm building Carbon-Mediation from develop branch. I'm getting the
following error, how can I solve this?

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Carbon Mediation - Aggregator Pom . SUCCESS [
 0.697 s]
[INFO] WSO2 Carbon - Business Adaptors Aggregator Module .. SUCCESS [
 0.272 s]
[INFO] WSO2 Carbon - HL7 Store Stub ... SUCCESS [
 5.655 s]
[INFO] WSO2 Carbon - Endpoint Editor Stub . SUCCESS [
 4.753 s]
[INFO] WSO2 Carbon - localentry Stub .. SUCCESS [
 3.883 s]
[INFO] WSO2 Carbon - Synapse Artifact Uploader Stub ... SUCCESS [
 2.644 s]
[INFO] WSO2 Carbon - Synapse Configuration Service Administrator Stub
SUCCESS [  3.419 s]
[INFO] WSO2 Carbon - Mediation Library (Synapse) Management Stub SUCCESS [
 5.182 s]
[INFO] WSO2 Carbon - Mediation Security Stub .. SUCCESS [
 2.805 s]
[INFO] WSO2 Carbon - Template Editor Service Administrator Stub SUCCESS [
 6.733 s]
[INFO] WSO2 Carbon - BAM Mediator Configuration Stub .. SUCCESS [
 3.945 s]
[INFO] WSO2 Carbon - Class Mediator Admin Stub  SUCCESS [
 2.200 s]
[INFO] WSO2 Carbon - Command Mediator Admin Stub .. SUCCESS [
 2.785 s]
[INFO] WSO2 Carbon - Event Mediator Admin Stub  SUCCESS [
 3.079 s]
[INFO] WSO2 Carbon - Message Processor Stub ... SUCCESS [
 4.291 s]
[INFO] WSO2 Carbon - Message Store Stub ... SUCCESS [
 4.138 s]
[INFO] WSO2 Carbon - Proxy Services Admin Stub  SUCCESS [
 5.825 s]
[INFO] WSO2 Carbon - Sequence Editor Stub . SUCCESS [
 6.455 s]
[INFO] WSO2 Carbon - Task Stub  SUCCESS [
 3.491 s]
[INFO] WSO2 Carbon - Priority Mediation Stub .. SUCCESS [
 2.757 s]
[INFO] WSO2 Carbon - Rest API Admin Stub .. SUCCESS [
 5.330 s]
[INFO] WSO2 Carbon - Inbound Stub . SUCCESS [
 3.415 s]
[INFO] WSO2 Carbon - ESB NTask Stub ... SUCCESS [
 3.518 s]
[INFO] WSO2 Carbon - Publish Event Mediator Configuration Stub SUCCESS [
 3.278 s]
[INFO] WSO2 Carbon - Business Adaptors Aggregator Module .. SUCCESS [
 0.099 s]
[INFO] WSO2 Carbon - Mediation Statistics Stub  SUCCESS [
 3.567 s]
[INFO] WSO2 Carbon - Mediation Tracer Stub  SUCCESS [
 3.487 s]
[INFO] application-mgt-stub ... SUCCESS [
 0.072 s]
[INFO] WSO2 Carbon - Application Management Synapse Stub .. SUCCESS [
 3.333 s]
[INFO] WSO2 Carbon - Synapse Registries Aggregator Module . SUCCESS [
 0.019 s]
[INFO] WSO2 Carbon - Mediation Registries . SUCCESS [
 3.790 s]
[INFO] WSO2 Carbon - Mediation Initializer Aggregator Module SUCCESS [
 0.265 s]
[INFO] WSO2 Carbon - Mediator Bridge .. SUCCESS [
 1.079 s]
[INFO] WSO2 Carbon - Mediators Aggregator Module .. SUCCESS [
 0.015 s]
[INFO] WSO2 Carbon - Router Mediator Aggregator Module  SUCCESS [
 0.020 s]
[INFO] WSO2 Carbon - Router mediator .. SUCCESS [
 3.709 s]
[INFO] WSO2 Carbon - Mediation Dependency Management .. SUCCESS [
 2.058 s]
[INFO] WSO2 Carbon - Mediation admin- Aggregator Module ... SUCCESS [
 0.064 s]
[INFO] WSO2 Carbon - Task Services  SUCCESS [
 1.444 s]
[INFO] WSO2 Carbon - ntask Integration core ... SUCCESS [
 1.827 s]
[INFO] WSO2 Carbon - Inbound Endpoint Module .. SUCCESS [
 0.597 s]
[INFO] org.wso2.carbon.inbound.endpoint.persistence ... SUCCESS [
 1.602 s]
[INFO] org.wso2.carbon.inbound.endpoint.osgi .. SUCCESS [
 1.457 s]
[INFO] WSO2 Carbon - Clustering Integration ... SUCCESS [
 1.124 s]
[INFO] org.wso2.carbon.inbound.endpoint ... SUCCESS [
 3.187 s]
[INFO] WSO2 Carbon - Mediation Initializer  SUCCESS [
 3.989 s]
[INFO] WSO2 Carbon - Mediation UI Menu Initializer  SUCCESS [
 0.268 s]
[INFO] WSO2 Carbon Mediation - Transport Handlers . SUCCESS [
 1.311 s]
[INFO] WSO2 Carbon - Mediation Monitor - Aggregator Module  SUCCESS [
 0.050 s]
[INFO] WSO2 Carbon - Message Relay Parent . SUCCESS [
 0.019 s]
[INFO] WSO2 Carbon - Message Relay  SUCCESS [
 0.907 s]
[INFO] WSO2 Carbon - Message Relay Builder Mediator ... SUCCESS [
 0.972 s]
[INFO] WSO2 Carbon - Message Relay Module . SUCCESS [
 3.687 s]
[INFO] WSO2 Carbon - Mediation Statistics Aggregator Module SUCCESS [
 0.019 s]
[INFO] WSO2 Carbon - Mediation statistics BE .. SUCCESS [
 2.483 s]
[INFO] WSO2 Carbon - Mediation Statistics UI .. SUCCESS [
 1.282 s]
[INFO] WSO2 Carbon - Mediation Tracer Aggregator Module ... SUCCESS [
 0.014 s]
[INFO] WSO2 Carbon - Mediation Tracer BE .. SUCCESS [
 0.913 s]
[INFO] WSO2 Carbon - Mediation Tracer UI .. SUCCESS [
 1.094 s]
[INFO] WSO2 Carbon - Proxy Services Admin BE .. FAILURE [
 0.051 s]
[INFO] WSO2 Carbon - 

Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Dhanuka Ranasinghe
Hi Roshan,

Thanks for sharing this. I have added that to same PR.

Cheers,

*Dhanuka Ranasinghe*

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

phone : +94 715381915

On Fri, May 22, 2015 at 12:49 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi

 I think you need to add below section to your pom. Other wise Jenkins
 would give an error. same thing happened to me once.

repositories
 repository
 idwso2-nexus/id
 nameWSO2 internal Repository/name
 urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
 /url
 releases
 enabledtrue/enabled
 updatePolicydaily/updatePolicy
 checksumPolicyfail/checksumPolicy
 /releases
 /repository
 /repositories
 distributionManagement
 repository
 idwso2.releases/id
 nameWSO2 internal Repository/name
 url
 http://maven.wso2.org/nexus/content/repositories/releases//url
 /repository
 snapshotRepository
 idwso2.snapshots/id
 nameApache Snapshot Repository/name
 url
 http://maven.wso2.org/nexus/content/repositories/snapshots//url
 /snapshotRepository
 /distributionManagement

 On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi,

 Could you please merge below PR [1].

 [1] https://github.com/wso2/orbit/pull/97

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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


[Dev] Please review and merge the PR

2015-05-22 Thread Anuja Herath
Hi,

Please merge PR[1] for issue [2].

[1] - https://github.com/wso2/andes/pull/125
[2] - https://wso2.org/jira/browse/MB-1036

-- 
Anuja Herath
*Software Engineer*
*WSO2, Inc.*
Mobile : +94 (0)71 429 8861
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge

2015-05-22 Thread Lakmali Baminiwatta
Reviewed and merged  the PR.

Thanks,
Lakmali

On 22 May 2015 at 13:56, Chamalee De Silva chama...@wso2.com wrote:

 Hi,

 This is the Fix [1] for publich JIRA [2].

 Please review and merge.

 [1] https://github.com/wso2/carbon-apimgt/pull/459
 [2] https://wso2.org/jira/browse/APIMANAGER-1821

 --
 Thanks  Regards,

 *Chamalee De Silva*
 Software Engineer
 *WS**O2* Inc. .:http://wso2.com
 lean *.* enterprise *.* middleware

 Office   :- *+94 11 2145345 %2B94%2011%202145345*
 mobile  :- *+94 7 %2B94%2077%2027820391 1540738*




-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Lasantha Fernando
Hi Dhanuka,

Just to know, is there any particular reason make this as an orbit bundle
and pack again?

AFAIK, json-path is already a bundle?

Also, CEP uses json-path 0.9.1 which was the same version used by ESB when
CEP 3.1.0 was going out. Also, there seems to be an orbit out of
json-path-1.2.0 as well in nexus [1].

Additionally, it seems the latest version of json-path is 2.0.0 according
to [2]. Just wondering whether we are keeping multiple versions of
json-path within the platform which could eventually lead to issues. AFAIK,
we try to stick to one version of an external dependency as much as
possible unless there is a compelling reason. Any possibility to live
without making an orbit out of this old version? WDYT?

[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/com/jayway/jsonpath/wso2/
[2] https://code.google.com/p/json-path/

Thanks,
Lasantha

On 22 May 2015 at 12:55, Dhanuka Ranasinghe dhan...@wso2.com wrote:

 Hi Roshan,

 Thanks for sharing this. I have added that to same PR.

 Cheers,

 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

 On Fri, May 22, 2015 at 12:49 PM, Roshan Wijesena ros...@wso2.com wrote:

 Hi

 I think you need to add below section to your pom. Other wise Jenkins
 would give an error. same thing happened to me once.

repositories
 repository
 idwso2-nexus/id
 nameWSO2 internal Repository/name
 urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
 /url
 releases
 enabledtrue/enabled
 updatePolicydaily/updatePolicy
 checksumPolicyfail/checksumPolicy
 /releases
 /repository
 /repositories
 distributionManagement
 repository
 idwso2.releases/id
 nameWSO2 internal Repository/name
 url
 http://maven.wso2.org/nexus/content/repositories/releases//url
 /repository
 snapshotRepository
 idwso2.snapshots/id
 nameApache Snapshot Repository/name
 url
 http://maven.wso2.org/nexus/content/repositories/snapshots//url
 /snapshotRepository
 /distributionManagement

 On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi,

 Could you please merge below PR [1].

 [1] https://github.com/wso2/orbit/pull/97

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.



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




-- 
*Lasantha Fernando*
Senior 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


Re: [Dev] [ML] Predicted vs. actuals chart in model summary

2015-05-22 Thread CD Athuraliya
Hi Srinath,

Still that random sample will not correspond to predicted vs. actual values
in test results. Given that there is no mapping between random sample data
points and test result points. One thing we can do is running test
separately (using the same model) for sampled data for the sole purpose of
visualization. Any other options?

On Fri, May 22, 2015 at 2:06 PM, Srinath Perera srin...@wso2.com wrote:

 Hi CD,

 Can we take a random sample from the test data and use that for this
 process?

 --Srianth

 On Fri, May 22, 2015 at 12:00 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Hi all,

 To implement $subject in ML we need all feature values of the dataset
 against predicted and actual values for test data. But Spark only returns
 predicted and actual values as test results. Right now we use random 10,000
 data rows for other visualizations and we cannot use same data for this
 visualization since that random 10,000 data does not correspond to test
 data (test data is a subtracted from dataset according to the train data
 fraction at model building stage).

 One option is to persist test data at testing stage, but it can be too
 large for some datasets according to train data fraction. Appreciate if you
 can give your comments on this.

 Thanks,
 CD

 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




 --
 
 Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
 Site: http://people.apache.org/~hemapani/
 Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902




-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 94716288847
LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit Bundle orbit/jsonpath/0.8.1.wso2v1

2015-05-22 Thread Dhanuka Ranasinghe
Hi Manoj,

I have done the fixes, could you please verify them.


Cheers,

*Dhanuka Ranasinghe*

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

phone : +94 715381915

On Fri, May 22, 2015 at 1:25 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Dhanuka,

 I see some issues with the current PR,

 Please correct them referring to [1].

 [1]
 https://docs.google.com/document/d/1I3nWPnG6139YobZzQWPFOUxYEmHxqf9ieWykmQupPtc/edit#


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

 On Fri, May 22, 2015 at 12:38 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi,

 Could you please merge below PR [1].

 [1] https://github.com/wso2/orbit/pull/97

 Cheers,
 *Dhanuka Ranasinghe*

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

 phone : +94 715381915



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


Re: [Dev] Define Tomcat Context Path

2015-05-22 Thread Hasitha Hiranya
Hi Akalanka,

Following might be useful.

http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0

Thanks

On Fri, May 22, 2015 at 3:17 PM, Akalanka Pagoda Arachchi 
darsha...@wso2.com wrote:

 Hi Kasun,

 Thank you, but rather I wanted to do this in tomcat itself. Not in our AS.

 Thanks,
 Akalanka.

 On Fri, May 22, 2015 at 3:39 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 Currently, AS does not support that feature.

 On Fri, May 22, 2015 at 1:08 PM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Hi all,

 I am trying to deploy a web app in tomcat 8 where the context path
 should be different from the war file name.

 We should be able to do this by adding a context.xml file in META-INF
 folder in we app according to [1]. I created this file with the following
 content, but this does not change the context path to EdwDataServices.

 Any idea on this?

 ?xml version=1.0 encoding=UTF-8?
 Context path=/EdwDataServices
 docBase=webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war /

 Thanks,
 Akalanka.

 [1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791 078-4721791*

 ___
 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






 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791*

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




-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Define Tomcat Context Path

2015-05-22 Thread Akalanka Pagoda Arachchi
Hi Kasun,

Thank you, but rather I wanted to do this in tomcat itself. Not in our AS.

Thanks,
Akalanka.

On Fri, May 22, 2015 at 3:39 PM, KasunG Gajasinghe kas...@wso2.com wrote:


 Currently, AS does not support that feature.

 On Fri, May 22, 2015 at 1:08 PM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Hi all,

 I am trying to deploy a web app in tomcat 8 where the context path should
 be different from the war file name.

 We should be able to do this by adding a context.xml file in META-INF
 folder in we app according to [1]. I created this file with the following
 content, but this does not change the context path to EdwDataServices.

 Any idea on this?

 ?xml version=1.0 encoding=UTF-8?
 Context path=/EdwDataServices
 docBase=webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war /

 Thanks,
 Akalanka.

 [1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791 078-4721791*

 ___
 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






-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] App Manager -1.0.0-RC1 Released

2015-05-22 Thread Dinusha Senanayaka
WSO2 App Manager 1.0.0 RC1 Released!

WSO2 App Manager team is pleased to announce the RC1 of WSO2 App Manager
1.0.0.The distribution is available at [1] and the documentation can be
found in [2].
This release includes following features.

Key Features in WSO2 App Manager 1.0.0
Multitenancy support
Application Discovery Support
XACML Policy support
Annonymous mode web app accessing capability
Capability to sort apps in store by usage
Returning SAML response to backend
Multi-tenancy support
Enterprise subscription support in store
Workflow extensions support
Integrating with Google Analytics
Publishing App Manager Runtime Statistics
Capability to obtaining an OAuth2 token by providing SAML token
Wep-apps rating support for store users
Capability to associate tags to web-apps
Resource level throttling for web-apps
Visibility control for Web apps
Capability to associate comprehensive documentation to a web app
URL pattern based authorisation
Integrate SAML2 OAuth2 Bearer Token exchange Known Issues

All the open issues pertaining to WSO2 App Manager are reported at the
following location:

   -  Known Issues
   
https://wso2.org/jira/browse/APPM-958?jql=project%20%3D%20APPM%20AND%20issuetype%20%3D%20Bug

How You Can Contribute Mailing Lists

Join our mailing list and correspond with the developers directly.

   - Developer List : dev@wso2.org | Subscribe
   dev-requ...@wso2.org?subject=subscribe | Mail Archive
   http://wso2.org/mailarchive/dev/
   - User List : u...@wso2.org | Subscribe
   user-requ...@wso2.org?subject=subscribe | Mail Archive
   http://wso2.org/mailarchive/user/

 Reporting Issues

We encourage you to report issues, documentation faults and feature
requests regarding WSO2 App Manager through the public App Manager JIRA
https://wso2.org/jira/browse/APPM. You can use the Carbon JIRA
http://www.wso2.org/jira/browse/CARBON to report any issues related to
the Carbon base framework or associated Carbon components.

[1] http://builder1.us1.wso2.org/~appm/RC1/wso2appm-1.0.0-SNAPSHOT-RC1.zip
[2] https://docs.wso2.com/display/APPM100/WSO2+App+Manager+Documentation


*-- The WSO2 App Manager Team --*

-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-22 Thread Nuwan Silva
To update on the QA Status,

We were able to fix most of the issue encountered in the clustered setup
and we need to further test in the cluster. We hope to complete these by
monday with a new pack.
we are expecting a new pack today (23rd) with all the fixes included.

Regards,
NuwanS.

On Wed, May 20, 2015 at 10:42 AM, Ruwan Abeykoon ruw...@wso2.com wrote:

 Hi Nuwan,

  8. Issues when using non-internal roles (
 https://wso2.org/jira/browse/APPM-908)

 iI the issue 908 similar to 796, if so shall we downgrade the severity.

 https://wso2.org/jira/browse/APPM-796

 Cheers,
 Ruwan

 On Wed, May 20, 2015 at 10:31 AM, Nuwan Silva nuw...@wso2.com wrote:

 Update,

 The latest pack was received on 19-05-2015 with hazelcast upgrade. We
 managed to resolve most of the critical issues and verification will
 continue today.

 areas of concern;
 1. We have *not tested* this APPM with MDM.
 2. XACML for tenants are not functioning
 3. Workflows for tenants are not functioning.
 4. Tested EMM with android but there were compatibility issues with IOS 7
 and above.
 5. Tenants not able to login to the cluster setup (Got this fixed through
 a patch. but, need to test with a new pack)
 6. Enterprise subscription for tenants not functioning.
 7. Issues related to app statistics (need to test with latest pack)
 8. Issues when using non-internal roles (
 https://wso2.org/jira/browse/APPM-908)


 Regards,
 NuwanS.

 On Mon, May 18, 2015 at 9:14 AM, Nuwan Silva nuw...@wso2.com wrote:

 To update on QA status,

 We have covered the above mentioned areas in the latest packs
 (05-05-2015 pack also) and reported identified issues.
 Basic flows have been tested with oracle and an extensive test was not
 carried out as it will be shipped as an experimental script as per the AppM
 team.

 The long running test is running in the cluster and we will keep
 monitoring its status.

 The plan is to focus on the following in the coming week.

 1. Cluster scenarios
 2. EMM integration with the cluster,
 3. Bug fixes
 4. a stress test by adding 100+ apps and testing how the store responds.


 Regards,
 NuwanS.


 On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we
 can get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip
 Creating Proxy App and XACML. But AFAIK, Asanthi covered those recently. So
 better if we can give priority to test on cluster environment. We expecting
 some of the issues faced with wso2 elb since we are using synapse gateway
 here as well. Need to see how gateway session handing and all behaves in
 cluster environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web
 applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
  wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether
 the list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com

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




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --


 *Nuwan Silva*
 

Re: [Dev] Tenant Cleanup Interval

2015-05-22 Thread Malaka Silva
Thx guys.

So the entry in carbon.xml does not work. If so should we remove it?

On Fri, May 22, 2015 at 12:04 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi Bathiya,

 Its also the same as in latest kernel versions.

 Thank you.

 On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 Hi Malaka,

 In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
 sure about latest kernels.

 -Dtenant.idle.time=1 \

 Thanks,
 Bhathiya

 On Fri, May 22, 2015 at 11:31 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 Can we change the default value for $subject.

 I tried setting following in carbon.xml. It does not seem to be working.

 Tenant
 LoadingPolicy
 LazyLoading
 IdleTime1/IdleTime
 /LazyLoading
 !-- EagerLoading
Include*,!foo.com,!bar.com/Include
 /EagerLoading--
 /LoadingPolicy
 /Tenant

 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.

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




 --
 *Bhathiya Jayasekara*
 *Senior Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Define Tomcat Context Path

2015-05-22 Thread Thusitha Thilina Dayaratne
Hi Akalanka,

Are you trying to put the war file in the webapps directory and set the
context path?
If so I think that will not work according to the Tomcat 8 documentations[1]

This attribute must only be used when statically defining a Context in
 server.xml. In all other circumstances, the path will be inferred from the
 filenames used for either the .xml context file or the docBase.


[1] -
https://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Common_Attributes

Thanks
/Thusitha

On Sat, May 23, 2015 at 3:57 AM, Hasitha Hiranya hasit...@wso2.com wrote:

 Hi Akalanka,

 Following might be useful.


 http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0

 Thanks

 On Fri, May 22, 2015 at 3:17 PM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Hi Kasun,

 Thank you, but rather I wanted to do this in tomcat itself. Not in our AS.

 Thanks,
 Akalanka.

 On Fri, May 22, 2015 at 3:39 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 Currently, AS does not support that feature.

 On Fri, May 22, 2015 at 1:08 PM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Hi all,

 I am trying to deploy a web app in tomcat 8 where the context path
 should be different from the war file name.

 We should be able to do this by adding a context.xml file in META-INF
 folder in we app according to [1]. I created this file with the following
 content, but this does not change the context path to EdwDataServices.

 Any idea on this?

 ?xml version=1.0 encoding=UTF-8?
 Context path=/EdwDataServices
 docBase=webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war /

 Thanks,
 Akalanka.

 [1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791 078-4721791*

 ___
 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






 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791*

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




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


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




-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT Axis2 Transport

2015-05-22 Thread Malaka Silva
+1 we need to add support for content-type.

I think we should have options to get it from message and pass as param.

Have done similar for inbound MQTT.

On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Sriashalya,

 Good job. Shall we add the support for following content-types as well.

 text/plain
 application/octet-stream

 Above content types will be useful when integrating IoT related devices
 with WSO2 ESB.

 Thanks,
 Chanaka

 On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi Chanaka,
 I've done with the content type parameter passing through axis2.xml.Now
 following  messages types can be passed through ESB to broker

 application/json
 application/xml
 text/xml

 Thank you.


 On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Sriashalya,

 The jira[1] is already created for the issue.I think you need to pass
 the content type parameter in axis2.xml.
 [1] - https://wso2.org/jira/browse/ESBJAVA-3436

 Thanks,
 Kathees

 On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 Hi Chanaka,
 Now I'm testing the broker through ESB with different message format.if
 we set the content type parameter only, we can send different formats of
 messages through ESB to mosquito broker. So how to do this?



 On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 looping to dev

 On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with
 mosquito broker.
  But when I send one message from client, ESB listens bunch of
 messages and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com
 wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is
 to debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kathees
 Software Engineer,
 email: kath...@wso2.com
 mobile: +94772596173




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 --
 Chanaka Fernando
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com






-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AS cluster registry debsync issue

2015-05-22 Thread Udara Liyanage
Hi,

I create a AS 5.2.1 cluster with two nodes as each members is a WKA member
for other members.  Member join messages appeared. However when a web app
is deployed to the manager node, it is not propagated to the other node.
However following repo notification message appeared in the worker node.

Note that I have applied the hazelcast patch patch1297 to both nodes.


[2015-05-23 10:44:35,797]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener}
-  Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234,
tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}
[2015-05-23 10:44:35,797]  INFO
{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} -  Received
[SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super',
messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}]
[2015-05-23 10:44:35,797]  INFO
{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} -  Updating
repo update required parameter


-- 

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

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Tenant Cleanup Interval

2015-05-22 Thread Malaka Silva
Hi,

Can we change the default value for $subject.

I tried setting following in carbon.xml. It does not seem to be working.

Tenant
LoadingPolicy
LazyLoading
IdleTime1/IdleTime
/LazyLoading
!-- EagerLoading
   Include*,!foo.com,!bar.com/Include
/EagerLoading--
/LoadingPolicy
/Tenant

-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] UX fixes for carbon-store

2015-05-22 Thread Dhanuka Ranasinghe
Hi,

Please merge below PR [1] , which includes some UX fixes done by Thusitha.

[1] https://github.com/wso2/carbon-store/pull/32

Cheers,
*Dhanuka Ranasinghe*

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

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


[Dev] Please review and merge the PR

2015-05-22 Thread Anuja Herath
Hi,

Please merge PR[1] for issue [2].

[1] - https://github.com/wso2/andes/pull/127
[2] - https://wso2.org/jira/browse/MB-1029

Thanks,
Anuja.


-- 
Anuja Herath
*Software Engineer*
*WSO2, Inc.*
Mobile : +94 (0)71 429 8861
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ML] Predicted vs. actuals chart in model summary

2015-05-22 Thread Lahiru Sandaruwan
Hi,

I'm not sure the kind of data set you are looking for. But we have a real
use case of predicting and also the actual data relevant to predicted time,
in Stratos. Load average, memory consumption, and requests in flight are
predicted currently in Stratos, and we use CEP to receive those data.

Thanks

On Fri, May 22, 2015 at 2:43 PM, Supun Sethunga sup...@wso2.com wrote:

 Can we take a random sample from the test data and use that for this
 process?
 --Srianth


 +1

 AFAIK, we are doing a similar thing to the ROC curve points too..

 Regards,
 Supun

 On Fri, May 22, 2015 at 2:28 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Hi Srinath,

 Still that random sample will not correspond to predicted vs. actual
 values in test results. Given that there is no mapping between random
 sample data points and test result points. One thing we can do is running
 test separately (using the same model) for sampled data for the sole
 purpose of visualization. Any other options?

 On Fri, May 22, 2015 at 2:06 PM, Srinath Perera srin...@wso2.com wrote:

 Hi CD,

 Can we take a random sample from the test data and use that for this
 process?

 --Srianth

 On Fri, May 22, 2015 at 12:00 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Hi all,

 To implement $subject in ML we need all feature values of the dataset
 against predicted and actual values for test data. But Spark only returns
 predicted and actual values as test results. Right now we use random 10,000
 data rows for other visualizations and we cannot use same data for this
 visualization since that random 10,000 data does not correspond to test
 data (test data is a subtracted from dataset according to the train data
 fraction at model building stage).

 One option is to persist test data at testing stage, but it can be too
 large for some datasets according to train data fraction. Appreciate if you
 can give your comments on this.

 Thanks,
 CD

 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




 --
 
 Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
 Site: http://people.apache.org/~hemapani/
 Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 http://wso2.com/
 lean | enterprise | middleware
 Mobile : +94 716546324

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




-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and release carbon-identity-4.4.1

2015-05-22 Thread Malithi Edirisinghe
Hi Kernel Team,

Earlier release has not been loaded to staging properly.
carbon-identity-4.5.0 is now released to staging with [1].
Please review and release.

[1]
http://maven.wso2.org/nexus/service/local/repositories/orgwso2carbonidentity-028/content
http://www.google.com/url?q=http%3A%2F%2Fmaven.wso2.org%2Fnexus%2Fservice%2Flocal%2Frepositories%2Forgwso2carbonidentity-028%2Fcontentsa=Dsntz=1usg=AFQjCNFiysVZL0f_E0n8sIVYZiSe7_oC5w

Thanks,
Malithi.


On Fri, May 22, 2015 at 3:17 PM, Malithi Edirisinghe malit...@wso2.com
wrote:

 Hi Kernel Team,

 carbon-identity-4.5.0 is now released to staging [1]. Please review and
 release.

 [1]
 http://maven.wso2.org/nexus/index.html#view-repositories;orgwso2carbonidentity-013~browsestorage
 http://www.google.com/url?q=http%3A%2F%2Fmaven.wso2.org%2Fnexus%2Findex.html%23view-repositories%3Borgwso2carbonidentity-013~browsestoragesa=Dsntz=1usg=AFQjCNGDs6i-4lTDU9jIHtdx44NNcu8t2g

 Thanks,
 Malithi.

 On Thu, May 21, 2015 at 3:30 PM, Malithi Edirisinghe malit...@wso2.com
 wrote:

 Hi Isuru, Sameera,

 carbon-identity-4.5.0 is released to staging [1]. Can you please verify
 and confirm...

 [1] http://maven.wso2.org/nexus/index.html#view-repositories

 Thanks,
 Malithi.

 On Thu, May 21, 2015 at 9:56 AM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 When are we releasing carbon-identity ? Appreciate if you can release
 today morning to prevent ESB 4.9.0 Alpha getting delayed further.

 Thanks.

 On Wed, May 20, 2015 at 8:06 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 release:perform operation failed due to [1] unmappable character on a
 javadoc :(
 Now starting the release process again. Will update once done.

 [1]
 https://github.com/wso2/carbon-commons/commit/00f01029aaa6df5d53eca25f5c1d2d1b927e1386


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

 On Wed, May 20, 2015 at 7:08 PM, Malithi Edirisinghe malit...@wso2.com
  wrote:

 Hi All,

 we are waiting till carbon-commons is released. Will release soon
 after that.

 On Tue, May 19, 2015 at 2:29 PM, Prasad Tissera pras...@wso2.com
 wrote:

 added identity.base component to security.mgt.server feature.

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

 On Tue, May 19, 2015 at 1:52 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Lets go with packing it into security.mgt.server feature. Having
 feature for just one bundle doesn't seem right.

 On Tue, May 19, 2015 at 1:49 PM, Isuru Udana isu...@wso2.com
 wrote:



 On Mon, May 18, 2015 at 4:42 PM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Can we get a new release of carbon-identity before Wed? I think we
 have sent all the required PRs.

 On Mon, May 18, 2015 at 4:36 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi,

 In ESB we are installing
 org.wso2.carbon.security.mgt.server.feature coming from 
 carbon-identity.

 org.wso2.carbon.identity.sts.store is also getting packed from
 the same feature.

 In sts store IdentityException is used in DBStsDAO class. That
 exception class is located in org.wso2.carbon.identity.base package 
 which
 is packing from org.wso2.carbon.identity.core.server.feature.
 So we have to ship that feature with ESB.
 But since identity.core is also getting packed from that feature,
 there are lot of unnecessary files like identity.xml getting added 
 to the
 ESB server. And also I noticed a significant delay in server 
 start-up.

 So can we please create a more lightweight feature which packs
 only the org.wso2.carbon.identity.base, so that we can ship that 
 with ESB ?

 We have the option to pack the identity.base with
 security.mgt.server feature too. Please evaluate the available options 
 and
 release the carbon-identity asap.

 Thanks.


 This is applicable to other servers like AS,DSS as well.

 Thanks.

 On Mon, May 18, 2015 at 3:07 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi,

 Few more issues.

 1.

 Installation failed.
 An error occurred while configuring the installed items
  session context was:(profile=worker,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, 
 operand=null
 -- [R]org.wso2.carbon.security.mgt.server.feature.group 4.4.1,
 action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
  I/O Error while copying
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.conf
 - see details.
 Caused by:  java.io.IOException: Source:
 /Users/isuruu/wso2/source/public/git/isudana/product-esb/modules/p2-profile/target/wso2carbon-core-4.4.0/repository/components/worker/../features/org.wso2.carbon.security.mgt.server_4.4.1/conf/jaas.confdoes
 not exists
 Application failed, log file location:
 /Users/isuruu/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1431939984331.log

 2.

 !MESSAGE session context was:(profile=worker,
 

[Dev] [Architecture] WSO2 Complex Event Processor 4.0.0 Alpha Released

2015-05-22 Thread Sachini Jayasekara
Hi All,

WSO2 CEP Team is pleased to announce the Alpha release of WSO2 Complex
Event Processor 4.0.0. The distribution is available at [1]. Following bug
fixes, improvements, tasks and new features have been fixed along with this
release .
Bug

   - [CEP-57 https://wso2.org/jira/browse/CEP-57] - Cannot persist states
   to Cassandra at server shutdown
   - [CEP-383 https://wso2.org/jira/browse/CEP-383] - Accessing transport
   statistics from UI throws an exception
   - [CEP-398 https://wso2.org/jira/browse/CEP-398] - better of the xml
   for event formatter can validate
   - [CEP-445 https://wso2.org/jira/browse/CEP-445] -
   java.util.concurrent.ExecutionException thrown when forced shutdown server
   - [CEP-804 https://wso2.org/jira/browse/CEP-804] - NPE observed when
   sending events to SOAP input adapter
   - [CEP-840 https://wso2.org/jira/browse/CEP-840] -
   java.net.MalformedURLException: thrown when first events sent to HA node
   - [CEP-890 https://wso2.org/jira/browse/CEP-890] - Mail transport
   listener throws NPE and fails
   - [CEP-900 https://wso2.org/jira/browse/CEP-900] - Error in mysql
   adaptor when using composite keys
   - [CEP-902 https://wso2.org/jira/browse/CEP-902] - Getting servlet
   exception when logged in, in tenant mode (tenant-dashboard/index.jsp not
   found)
   - [CEP-908 https://wso2.org/jira/browse/CEP-908] - Websocket Input
   Adaptor - Server disconnection scenario must be properly handled
   - [CEP-928 https://wso2.org/jira/browse/CEP-928] - Email Input Adaptor
   not working
   - [CEP-970 https://wso2.org/jira/browse/CEP-970] - Issues with In
   Memory Event Table
   - [CEP-971 https://wso2.org/jira/browse/CEP-971] - [JMS] Cannot
   configure jms properties of JMS input event adaptor
   - [CEP-979 https://wso2.org/jira/browse/CEP-979] - Cannot update RDBMS
   Event Tables with Primary Keys
   - [CEP-981 https://wso2.org/jira/browse/CEP-981] - Siddhi steps in
   execution plan are not executed in the order as expected.
   - [CEP-982 https://wso2.org/jira/browse/CEP-982] - [MQTT] Deleting
   event builder subscribed to MQTT input adaptor in tenant-mode does not work
   properly
   - [CEP-996 https://wso2.org/jira/browse/CEP-996] - [Intermittent]
   Websocket Output Adaptors - IllegalStateException thrown when events
   published in high frequency
   - [CEP-1014 https://wso2.org/jira/browse/CEP-1014] - when executing
   http event related payload after a while
   java.util.concurrent.RejectedExecutionException is thrown
   - [CEP-1070 https://wso2.org/jira/browse/CEP-1070] - [4.0.0-M4]
   Building Sample Event Consumer fails
   - [CEP-1092 https://wso2.org/jira/browse/CEP-1092] - Geo Dashboard
   Connection lost with web socket observed after applying configurations
   correctly
   - [CEP-1099 https://wso2.org/jira/browse/CEP-1099] - Compatibility
   Issue for input default builders and output default builders
   - [CEP-1100 https://wso2.org/jira/browse/CEP-1100] - [JMS] ActiveMQ
   connection leak if exception occurs when starting the connection in JMS
   input adaptor
   - [CEP-1101 https://wso2.org/jira/browse/CEP-1101] - WSO2 CEP 4.0.0
   management console issue when creating new users.
   - [CEP-1102 https://wso2.org/jira/browse/CEP-1102] - Improve Event
   Publishers' WSO2 Event mapping, to add Stream Name and Version
   - [CEP-1104 https://wso2.org/jira/browse/CEP-1104] - Siddhi 3.0.0
   event table Delete function issue
   - [CEP-1105 https://wso2.org/jira/browse/CEP-1105] - After editing the
   stream definition, you can view it in the UI.
   - [CEP-1106 https://wso2.org/jira/browse/CEP-1106] - Adding simple
   pass through samples and integration tests for Http Receiver
   - [CEP-1108 https://wso2.org/jira/browse/CEP-1108] - Not able to set
   soap headers for Soap Output adapter
   - [CEP-1113 https://wso2.org/jira/browse/CEP-1113] - Execution plan
   creation does not have validation feature
   - [CEP-1114 https://wso2.org/jira/browse/CEP-1114] - JMS Receiver not
   gets deployed correctly
   - [CEP-1115 https://wso2.org/jira/browse/CEP-1115] - NPE when adding
   RDBMS Event Publisher
   - [CEP-1118 https://wso2.org/jira/browse/CEP-1118] - JMS Event
   Publisher does not support Map Messages
   - [CEP-1121 https://wso2.org/jira/browse/CEP-1121] - Error logs are
   not printed when an exception occurs in worker threads of SOAP and HTTP
   output adapters
   - [CEP-1122 https://wso2.org/jira/browse/CEP-1122] -
   NoClassDefFoundError when publishing events via Cassandra publisher
   - [CEP-1123 https://wso2.org/jira/browse/CEP-1123] - NullPointer
   exception when we specified an invalid datasource name for RDBMS Event
   Publisher
   - [CEP-1126 https://wso2.org/jira/browse/CEP-1126] - Null Pointer
   Exception when starting DAS (with executionplan)
   - [CEP-1127 https://wso2.org/jira/browse/CEP-1127] - Error in
   Execution plan Deployment
   - [CEP-1128 https://wso2.org/jira/browse/CEP-1128] - [Cassandra]
   Published events to Cassandra via 

[Dev] WSO2 G-Reg 5.0.0 M5 Released

2015-05-22 Thread Chandana Napagoda
Hi All,

Please download WSO2 G-Reg 5.0.0 M5 pack from this location[1][2]. This
milestone release includes major feature as ability to install API Manager
Store and Publisher features on top of the WSO2 Governance Registry
Product. Please follow the instruction available in the
APIM-2.0.0-Feature-Installation-Guide-on-GReg-5.0.0-SNAPSHOT-M5[3].

New Feature

   - [REGISTRY-2535 https://wso2.org/jira/browse/REGISTRY-2535] - Ability
   to use API-M Publisher/Store in G-Reg to achieve complete API governance
   through G-Reg

Improvement

   - [REGISTRY-2203 https://wso2.org/jira/browse/REGISTRY-2203] -
   Services added through a WSDL not get associated to a service lifecycle

Bug

   - [REGISTRY-2487 https://wso2.org/jira/browse/REGISTRY-2487] - Change
   the icon of the soap service in impact analysis view
   - [REGISTRY-2492 https://wso2.org/jira/browse/REGISTRY-2492] - Ability
   to run integration test cases for Store/Publisher use cases


Note: The binary pack of the WSO2 API Manager 2.0.0 M1 release, can be
download from[4].

[1].
https://github.com/wso2/product-greg/releases/download/product-greg-5.0.0-M5/wso2greg-5.0.0-SNAPSHOT.zip
[2].
https://svn.wso2.org/repos/wso2/people/chandana/G-REG-5.0.0/M5/wso2greg-5.0.0-SNAPSHOT.zip
[3].
https://github.com/wso2/product-greg/releases/download/product-greg-5.0.0-M5/APIM-2.0.0-Feature-Installation-Guide-on-GReg-5.0.0-M5.pdf
[4].
https://svn.wso2.org/repos/wso2/scratch/apim/release-2.0.0/M1/wso2am-2.0.0-SNAPSHOT.zip

Regards,
G-Reg Team

-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT Axis2 Transport

2015-05-22 Thread Sriashalya Srivathsan
Hi Chanaka,
I've done with the content type parameter passing through axis2.xml.Now
following  messages types can be passed through ESB to broker

application/json
application/xml
text/xml

Thank you.


On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com
wrote:

 Hi Sriashalya,

 The jira[1] is already created for the issue.I think you need to pass the
 content type parameter in axis2.xml.
 [1] - https://wso2.org/jira/browse/ESBJAVA-3436

 Thanks,
 Kathees

 On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 Hi Chanaka,
 Now I'm testing the broker through ESB with different message format.if
 we set the content type parameter only, we can send different formats of
 messages through ESB to mosquito broker. So how to do this?



 On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 looping to dev

 On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with
 mosquito broker.
  But when I send one message from client, ESB listens bunch of messages
 and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com
 wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is to
 debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kathees
 Software Engineer,
 email: kath...@wso2.com
 mobile: +94772596173




-- 
Regards
S.Sriashalya,
WSO2 *Inc*.
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Component missing : com.google.code.gson in kernel pack

2015-05-22 Thread Anjana Fernando
@Sinthuja, can you please check this out.

Cheers,
Anjana.

On Tue, May 19, 2015 at 5:52 PM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi,

 When writing the integration test for axis2 gson [1], I came across a
 runtime exception. This was because axis2 gson requires*
 com.google.code.gson* which is not there in the kernel pack. Shall I add
 bundleDefcom.google.code.gson:gson/bundleDef in pom.xml of
 features/org.wso2.carbon.core.common.feature ? Currently the latest version
 is 2.3.1.

 @Anjana and Ruchira: I noticed that currently* com.google.code.gson *is
 installed when *jaggery server feature* [2] or* datapublisher feature*
 [3]. If this component is installed along with kernel, can we remove it
 being installed by jaggery server and datapublisher features? I also
 noticed that for jaggery depends on 2.1 and datapublisher depends on 2.2.4.
 If this is moved to kernel, can we have the latest version, i.e., 2.3.1?


 [1] - https://github.com/wso2/carbon4-kernel/pull/204
 [2] -
 https://github.com/wso2/jaggery/blob/master/features/org.jaggeryjs.server.feature/pom.xml
 [3] -
 https://github.com/wso2/carbon-commons/blob/master/features/data-bridge/org.wso2.carbon.databridge.commons.server.feature/pom.xml


 Regards,
 Nira
 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




-- 
*Anjana Fernando*
Senior Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT Axis2 Transport

2015-05-22 Thread Chanaka Fernando
Hi Sriashalya,

Good job. Shall we add the support for following content-types as well.

text/plain
application/octet-stream

Above content types will be useful when integrating IoT related devices
with WSO2 ESB.

Thanks,
Chanaka

On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Chanaka,
 I've done with the content type parameter passing through axis2.xml.Now
 following  messages types can be passed through ESB to broker

 application/json
 application/xml
 text/xml

 Thank you.


 On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Sriashalya,

 The jira[1] is already created for the issue.I think you need to pass the
 content type parameter in axis2.xml.
 [1] - https://wso2.org/jira/browse/ESBJAVA-3436

 Thanks,
 Kathees

 On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 Hi Chanaka,
 Now I'm testing the broker through ESB with different message format.if
 we set the content type parameter only, we can send different formats of
 messages through ESB to mosquito broker. So how to do this?



 On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 looping to dev

 On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 Hi Chanaka,
 I've configured and setup mqtt axis2 transport through ESB with
 mosquito broker.
  But when I send one message from client, ESB listens bunch of
 messages and send those to broker.I'm looking on that.


 Thank you,

 On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com
 wrote:


 Hi Sriashalya,

 Can you try debugging the code and see why it is not working..
 In general, if you encounter any issues with ESB, the best thing is
 to debug and find out why its isn't working as expected. :)



 -- Forwarded message --
 From: Sriashalya Srivathsan asha...@wso2.com
 Date: Mon, May 18, 2015 at 12:12 PM
 Subject: [Dev] MQTT Axis2 Transport
 To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List 
 dev@wso2.org


 Hi Chanaka,
 I have tried $ subject with Mosquito broker.


- I've started the subscriber by following command

 mosquitto_sub -h 127.0.0.1 -t topic


- have made all the required changes to ESB.
- started the publisher through Java Client

 But I don't get any thing in the ESB console and subscriber console.



 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware

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




 --
 Kathees
 Software Engineer,
 email: kath...@wso2.com
 mobile: +94772596173




 --
 Regards
 S.Sriashalya,
 WSO2 *Inc*.
 lean . enterprise . middleware




-- 
--
Chanaka Fernando
Senior Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Component missing : com.google.code.gson in kernel pack

2015-05-22 Thread Sinthuja Ragendran
Hi,

On Fri, May 22, 2015 at 11:19 AM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi Anjana,

 Kind reminder.

 Regards,
 Nira


 On Thu, May 21, 2015 at 4:49 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:



 On Tue, May 19, 2015 at 5:52 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi,

 When writing the integration test for axis2 gson [1], I came across a
 runtime exception. This was because axis2 gson requires*
 com.google.code.gson* which is not there in the kernel pack. Shall I
 add bundleDefcom.google.code.gson:gson/bundleDef in pom.xml of
 features/org.wso2.carbon.core.common.feature ? Currently the latest version
 is 2.3.1.

 @Anjana and Ruchira: I noticed that currently* com.google.code.gson *is
 installed when *jaggery server feature* [2] or* datapublisher feature*
 [3]. If this component is installed along with kernel, can we remove it
 being installed by jaggery server and datapublisher features? I also
 noticed that for jaggery depends on 2.1 and datapublisher depends on 2.2.4.
 If this is moved to kernel, can we have the latest version, i.e., 2.3.1?

 +1


+1, I don't see a problem in upgrading the version of gson in data
publisher perspective.

Thanks,
Sinthuja.




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com

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




-- 
*Sinthuja Rajendran*
Associate Technical Lead
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Define Tomcat Context Path

2015-05-22 Thread Akalanka Pagoda Arachchi
Hi all,

I am trying to deploy a web app in tomcat 8 where the context path should
be different from the war file name.

We should be able to do this by adding a context.xml file in META-INF
folder in we app according to [1]. I created this file with the following
content, but this does not change the context path to EdwDataServices.

Any idea on this?

?xml version=1.0 encoding=UTF-8?
Context path=/EdwDataServices
docBase=webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war /

Thanks,
Akalanka.

[1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Define Tomcat Context Path

2015-05-22 Thread KasunG Gajasinghe
Currently, AS does not support that feature.

On Fri, May 22, 2015 at 1:08 PM, Akalanka Pagoda Arachchi 
darsha...@wso2.com wrote:

 Hi all,

 I am trying to deploy a web app in tomcat 8 where the context path should
 be different from the war file name.

 We should be able to do this by adding a context.xml file in META-INF
 folder in we app according to [1]. I created this file with the following
 content, but this does not change the context path to EdwDataServices.

 Any idea on this?

 ?xml version=1.0 encoding=UTF-8?
 Context path=/EdwDataServices
 docBase=webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war /

 Thanks,
 Akalanka.

 [1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791 078-4721791*

 ___
 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