[Dev] Can not subscribe to API with user has subscriber permission

2014-11-09 Thread Waruna Perera
Hi,

I am writing a test cae for JWT claim checks. For that I created a user
with subscriber permission. But when user sends the subscriber request it
gives following error. What could be the reason?

UserAwareAPIConsumer Failed to get API from :
/apimgt/applicationdata/provider/subscriberUser/JWTTokenTestAPI/1.0.0/api
INFO  [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader]
- org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
Resource does not exist at path
/_system/governance/apimgt/applicationdata/provider/subscriberUser/JWTTokenTestAPI/1.0.0/api

Thanks,

-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integrating Python modules to the Maven build process

2014-11-09 Thread Chamila De Alwis
Update:

I used the maven-antrun-plugin to zip the folder contents, as it was far
simpler than the exec plugin.




*maven-antrun-plugin*


package

run





**










Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Fri, Nov 7, 2014 at 12:10 PM, Chamila De Alwis  wrote:

> Hi,
>
> I have a python module that should be integrated in to the rest of the
> Java code in a project with Maven. The production code folder in this
> module should be zipped up and moved to the target folder when maven
> install is run.
>
> The only option I've found so far is to map actions in Python's setuptools
> to Maven through exec-maven-plugin[1]. However my requirement seems simpler
> than writing a setup.py file.
>
> Are there any other methods to approach this?
>
>
> [1] - http://shiningpanda.com/python-java-unified-build-process-14.html
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting errors when use get-property xpath function

2014-11-09 Thread Asanka Vithanage
Hi Sumedha,

With suggested configuration, I am getting below exception.
http://www.w3.org/2005/xpath-functions"; name="MY_VALUE"
expression="fn:replace(syn:get-property('ERROR_URL_POSTFIX'),'\\/','/')"/>


2014-11-09 22:41:42,968]  INFO - LogMediator STATUS = Message dispatched to
the main sequence. Invalid URL., RESOURCE =
/HelloService1/1.0.0/greet?name=Hi
[2014-11-09 22:41:43,164] ERROR - SynapseXPath Evaluation of the XPath
expression fn:replace(syn:get-property('ERROR_URL_POSTFIX'),'\\/','/')
resulted in an error

javax.xml.transform.TransformerException: java.lang.NullPointerException
at
org.apache.xpath.jaxp.JAXPExtensionsProvider.extFunction(JAXPExtensionsProvider.java:204)
at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208)
at org.apache.xpath.XPath.execute(XPath.java:337)
at org.apache.xpath.XPath.execute(XPath.java:303)
at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:129)
at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at
org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
at
org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:229)
at
org.apache.synapse.util.xpath.SynapseXPath.evaluateDOMXPath(SynapseXPath.java:530)
at
org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:364)
at
org.apache.synapse.mediators.builtin.PropertyMediator.getResultValue(PropertyMediator.java:302)
at
org.apache.synapse.mediators.builtin.PropertyMediator.mediate(PropertyMediator.java:96)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.config.xml.AnonymousListMediator.mediate(AnonymousListMediator.java:30)
at
org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:197)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:344)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:168)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at
org.apache.xpath.jaxp.JAXPExtensionsProvider.extFunction(JAXPExtensionsProvider.java:197)
... 30 more
--- linked to --
javax.xml.xpath.XPathExpressionException:
javax.xml.transform.TransformerException: java.lang.NullPointerException
at
org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:197)
at
org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:229)
at
org.apache.synapse.util.xpath.SynapseXPath.evaluateDOMXPath(SynapseXPath.java:530)
at
org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:364)
at
org.apache.synapse.mediators.builtin.PropertyMediator.getResultValue(PropertyMediator.java:302)
at
org.apache.synapse.mediators.builtin.PropertyMediator.mediate(PropertyMediator.java:96)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.config.xml.AnonymousListMediator.mediate(AnonymousListMediator.java:30)
at
org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:197)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.Abst

Re: [Dev] Getting errors when use get-property xpath function

2014-11-09 Thread Asanka Vithanage
Hi Sumedha,
I have tried this as well.But it also didn't work for me.

On Sun, Nov 9, 2014 at 10:30 PM, Sumedha Kodithuwakku 
wrote:

> Hi Asanka,
>
> If you are using synapse specific xpath functions like "get-property()"
> within a xpath 2.0 function you have to use them with the prefix "syn".
>
> i.e:
> http://www.w3.org/2005/xpath-functions";
> name="MY_VALUE" expression="fn:replace(*syn:*
> get-property('ERROR_URL_POSTFIX'),'\\/','/')"/>
>
> Thanks
> SumedhaS
>
> On Fri, Nov 7, 2014 at 12:34 PM, Asanka Vithanage 
> wrote:
>
>> Hi All,
>>
>> When invoke the following proxy service on ESB 481 using soapui, I am
>> getting the below exception.
>>
>> Note: ESB runs with  synapse.xpath.dom.failover.enabled=true property
>>
>> Am i getting these exceptions due to any configuration issues on proxy or
>> is there any more configurations required on ESB side.
>> Appreciate any help on this.
>>
>> 
>> http://ws.apache.org/ns/synapse";
>>name="MyProxyA"
>>transports="https,http"
>>statistics="disable"
>>trace="disable"
>>startOnLoad="true">
>>
>>   
>>  
>> 
>> http://www.w3.org/2005/xpath-functions";
>>   name="MY_VALUE"
>>
>> expression="fn:replace(get-property('ERROR_URL'),'\\/','/')"/>
>>  
>>   
>>   
>>  
>>   
>>   
>>  https://10.100.0.58:9473/services/SimpleStockQuoteService"/>
>>   
>>
>>
>> 
>>
>>
>> Issue:
>>
>> [2014-11-06 22:31:35,731] ERROR - SynapseXPath Evaluation of the XPath
>> expression fn:replace(get-property('ERROR_URL_POSTFIX'),'\\/','/') resulted
>> in an error
>> net.sf.saxon.trans.XPathException: Unknown system function get-property()
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.grumble(ExpressionParser.java:263)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2375)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionArgument(ExpressionParser.java:2532)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2336)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parseExpression(ExpressionParser.java:455)
>> at
>> net.sf.saxon.expr.parser.ExpressionParser.parse(ExpressionParser.java:391)
>> at
>> net.sf.saxon.expr.parser.ExpressionTool.make(ExpressionTool.java:94)
>> at
>> net.sf.saxon.xpath.XPathEvaluator.createExpressionInternal(XPathEvaluator.java:235)
>> at net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:376)
>> at
>> org.apache.synapse.util.xpath.SynapseXPath.evaluateDOMXPath(SynapseXPath.java:529)
>> at
>> org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:364)
>> at
>> org.apache.synapse.mediators.MediatorProperty.getEvaluatedExpression(MediatorProperty.java:138)
>> at
>> org.apache.synapse.mediators.builtin.LogMediator.setCustomProperties(LogMediator.java:192)
>> at
>> org.apache.synapse.mediators.builtin.LogMediator.getSimpleLogMessage(LogMediator.java:153)
>> at
>> org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:119)
>> at
>> org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>> at
>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.s

Re: [Dev] Getting errors when use get-property xpath function

2014-11-09 Thread Sumedha Kodithuwakku
Hi Asanka,

If you are using synapse specific xpath functions like "get-property()"
within a xpath 2.0 function you have to use them with the prefix "syn".

i.e:
http://www.w3.org/2005/xpath-functions"; name="MY_VALUE"
expression="fn:replace(*syn:*
get-property('ERROR_URL_POSTFIX'),'\\/','/')"/>

Thanks
SumedhaS

On Fri, Nov 7, 2014 at 12:34 PM, Asanka Vithanage  wrote:

> Hi All,
>
> When invoke the following proxy service on ESB 481 using soapui, I am
> getting the below exception.
>
> Note: ESB runs with  synapse.xpath.dom.failover.enabled=true property
>
> Am i getting these exceptions due to any configuration issues on proxy or
> is there any more configurations required on ESB side.
> Appreciate any help on this.
>
> 
> http://ws.apache.org/ns/synapse";
>name="MyProxyA"
>transports="https,http"
>statistics="disable"
>trace="disable"
>startOnLoad="true">
>
>   
>  
> 
> http://www.w3.org/2005/xpath-functions";
>   name="MY_VALUE"
>
> expression="fn:replace(get-property('ERROR_URL'),'\\/','/')"/>
>  
>   
>   
>  
>   
>   
>  https://10.100.0.58:9473/services/SimpleStockQuoteService"/>
>   
>
>
> 
>
>
> Issue:
>
> [2014-11-06 22:31:35,731] ERROR - SynapseXPath Evaluation of the XPath
> expression fn:replace(get-property('ERROR_URL_POSTFIX'),'\\/','/') resulted
> in an error
> net.sf.saxon.trans.XPathException: Unknown system function get-property()
> at
> net.sf.saxon.expr.parser.ExpressionParser.grumble(ExpressionParser.java:263)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2375)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionArgument(ExpressionParser.java:2532)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2336)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parseExpression(ExpressionParser.java:455)
> at
> net.sf.saxon.expr.parser.ExpressionParser.parse(ExpressionParser.java:391)
> at net.sf.saxon.expr.parser.ExpressionTool.make(ExpressionTool.java:94)
> at
> net.sf.saxon.xpath.XPathEvaluator.createExpressionInternal(XPathEvaluator.java:235)
> at net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:376)
> at
> org.apache.synapse.util.xpath.SynapseXPath.evaluateDOMXPath(SynapseXPath.java:529)
> at
> org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:364)
> at
> org.apache.synapse.mediators.MediatorProperty.getEvaluatedExpression(MediatorProperty.java:138)
> at
> org.apache.synapse.mediators.builtin.LogMediator.setCustomProperties(LogMediator.java:192)
> at
> org.apache.synapse.mediators.builtin.LogMediator.getSimpleLogMessage(LogMediator.java:153)
> at
> org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:119)
> at
> org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
> at
> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
> at
> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.ja

[Dev] Add remember me option to the Cloud login page

2014-11-09 Thread Ashan Dhananjaya
hi all,

I'm trying to enable the feature "Remember Me" option on the WSO2 cloud.
The cloud login was created using the same IS login page. I have posted
 the chkRemember  parameter to the
authentication endpoint as a SAML request and also to the commonauth as
well.
I did a debug and check whether the "storeRememberMeCookie" and
"getRememberMeCookie" methods does get hit or not and the result was yes
its executing. But still the option is not working.

What can i do to solve this poblem?

*IS version : 4.5.0
*I have set the SSOService session time out to 60 seconds which in the
idenentity.xml file to check whether its working.

Thank you!
Best Regards,

Ashan
-- 
Ashan Dhananjaya Kumara
Trainee Software Engineer, WSO2 Inc.
Inc: *WSO2 Inc. *
Phone : +94715547461
Blog : http://ashandhananjaya.blogspot.com/
Twitter  : https://twitter.com/Dhananjaya92
Say ello :https://ello.co/ashandk
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Governance][Lifecycle] How to get allowed lifecycle transitions by lifecycle state

2014-11-09 Thread Samith Dassanayake
The problem is currently allowed transitions are displayed in a hard-coded
manner. For example if remove a allowed transition from a particular state
in the configuration, it won't reflected in the UI since there is no way to
get the allowed transitions given a state.

Thanks,
Samith

On Mon, Nov 10, 2014 at 11:39 AM, Isuruwan Herath  wrote:

> If the same life cycle applies for all artifacts displayed in the list,
> then you don't need to get the allowed transitions for each artifact. If
> the page shows artifacts of a certain state, then allowed transitions are
> the same for all.
>
> Thanks!
> Isuruwan
>
> On Mon, Nov 10, 2014 at 11:30 AM, Samith Dassanayake 
> wrote:
>
>> Hi Isuruwan,
>> I'm trying to fix a JIRA[1] where we have to show the allowed
>> transitions(promote or demote buttons) for the applications, in the UI of
>> the App Factory, according to the allowed transitions according to the
>> lifecycle configuration. For example as below image, When user selects the
>> stage as the Production, then he should be abled to see the allowed
>> transitions from the selected state. It is not efficient to get the allowed
>> transitions for each resource since it is not gonna change
>> to resource to resource in AF.
>>
>> [image: Inline image 1]
>>
>> [1] https://wso2.org/jira/browse/APPFAC-2628
>>
>>
>> On Sat, Nov 8, 2014 at 1:09 AM, Isuruwan Herath 
>> wrote:
>>
>>> Hi Samith,
>>>
>>> Currently the APIs exposed can give the available actions for a
>>> particular state with reference to a resource [1] [2]. Please explain your
>>> use case if it doesn't associate with a resource.
>>>
>>> [1]
>>> https://docs.wso2.com/display/Governance460/Lifecycle+Transition+With+Governance+API
>>> - Get all Action List
>>> [2] https://docs.wso2.com/display/Governance460/Managing+Aspects -
>>> Retrieving Actions of an Aspect
>>>
>>> Thanks!
>>>
>>> On Fri, Nov 7, 2014 at 7:00 PM, Samith Dassanayake 
>>> wrote:
>>>
 Hi all,
 Is there way(or API) to get allowed transitions by the lifecycle state?
 For example lets say I have 3 states[1] as Development, Testing and
 Production.I want to know what the transitions[2] allowed for state
 "Testing". How we can get that?

 [1]
 https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-state
 [2]
 https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-transition

 Thanks
 Samith

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


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


>>>
>>>
>>> --
>>> Isuruwan Herath
>>> Technical Lead
>>>
>>> Contact: +94 776 273 296
>>>
>>
>>
>>
>> --
>> Best Regards
>>
>> Samith Dassanayake
>> Software Engineer, WSO2 Inc.
>>
>>
>
>
> --
> Isuruwan Herath
> Technical Lead
>
> Contact: +94 776 273 296
>



-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Maheeka Jayasuriya
This is working now. The problem has being because of an error in directory
structure in the service module.

Thanks.


Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Mon, Nov 10, 2014 at 6:56 AM, Dilan Udara Ariyaratne 
wrote:

> Hi,
>
> Can you try out the answer in:
> http://stackoverflow.com/questions/5926551/axis2-error-when-invoking-web-service-from-another-web-service
> by setting up the SOAP actions explicitly under options?
>
> Regards.
>
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Mon, Nov 10, 2014 at 6:36 AM, Maheeka Jayasuriya 
> wrote:
>
>> Hi Dilan,
>>
>> Please find the WSDL and the client code attached. If it cannot
>> understand uniquely, shouldn't that be the case when deployed on AS as
>> well, not only in Carbon?
>>
>> Thanks.
>>
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>> On Mon, Nov 10, 2014 at 6:30 AM, Dilan Udara Ariyaratne 
>> wrote:
>>
>>> Hi Maheeka,
>>>
>>> It looks like the server cannot uniquely identify the method that you
>>> are trying to invoke from the client side.
>>>
>>> Can you share the corresponding wsdl file of the service and the code
>>> base of your client class?
>>>
>>> Regards.
>>>
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Mon, Nov 10, 2014 at 2:49 AM, Maheeka Jayasuriya 
>>> wrote:
>>>
 The component works as expected when deployed on Application Server. Am
 I missing any configurations in the component when deploying in Carbon?
 (Because the samples when deployed on Carbon works fine, i.e. Carbon
 configurations seems to be okay)

 Thanks.


 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya 
 wrote:

> Hi,
>
> I am following tutorial at [1]. I have developed the component and
> deployed in Carbon.
>
> However, when trying to access the service, I am getting the following
> error [2]
>
> I am guessing this is because the service is not accessed correctly or
> the server may not be up and running.
>
> How do I resolve this?
>
> Also found another thread with same [3], but no luck.
>
> [1]
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
> [2]
> org.apache.axis2.AxisFault: The server did not recognise the action
> which it received:
> at
> org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
> 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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
> at
> org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)
>
> [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>


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


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


Re: [Dev] [Governance][Lifecycle] How to get allowed lifecycle transitions by lifecycle state

2014-11-09 Thread Isuruwan Herath
If the same life cycle applies for all artifacts displayed in the list,
then you don't need to get the allowed transitions for each artifact. If
the page shows artifacts of a certain state, then allowed transitions are
the same for all.

Thanks!
Isuruwan

On Mon, Nov 10, 2014 at 11:30 AM, Samith Dassanayake 
wrote:

> Hi Isuruwan,
> I'm trying to fix a JIRA[1] where we have to show the allowed
> transitions(promote or demote buttons) for the applications, in the UI of
> the App Factory, according to the allowed transitions according to the
> lifecycle configuration. For example as below image, When user selects the
> stage as the Production, then he should be abled to see the allowed
> transitions from the selected state. It is not efficient to get the allowed
> transitions for each resource since it is not gonna change
> to resource to resource in AF.
>
> [image: Inline image 1]
>
> [1] https://wso2.org/jira/browse/APPFAC-2628
>
>
> On Sat, Nov 8, 2014 at 1:09 AM, Isuruwan Herath  wrote:
>
>> Hi Samith,
>>
>> Currently the APIs exposed can give the available actions for a
>> particular state with reference to a resource [1] [2]. Please explain your
>> use case if it doesn't associate with a resource.
>>
>> [1]
>> https://docs.wso2.com/display/Governance460/Lifecycle+Transition+With+Governance+API
>> - Get all Action List
>> [2] https://docs.wso2.com/display/Governance460/Managing+Aspects -
>> Retrieving Actions of an Aspect
>>
>> Thanks!
>>
>> On Fri, Nov 7, 2014 at 7:00 PM, Samith Dassanayake 
>> wrote:
>>
>>> Hi all,
>>> Is there way(or API) to get allowed transitions by the lifecycle state?
>>> For example lets say I have 3 states[1] as Development, Testing and
>>> Production.I want to know what the transitions[2] allowed for state
>>> "Testing". How we can get that?
>>>
>>> [1]
>>> https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-state
>>> [2]
>>> https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-transition
>>>
>>> Thanks
>>> Samith
>>>
>>> --
>>> Best Regards
>>>
>>> Samith Dassanayake
>>> Software Engineer, WSO2 Inc.
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Isuruwan Herath
>> Technical Lead
>>
>> Contact: +94 776 273 296
>>
>
>
>
> --
> Best Regards
>
> Samith Dassanayake
> Software Engineer, WSO2 Inc.
>
>


-- 
Isuruwan Herath
Technical Lead

Contact: +94 776 273 296
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Governance][Lifecycle] How to get allowed lifecycle transitions by lifecycle state

2014-11-09 Thread Samith Dassanayake
Hi Isuruwan,
I'm trying to fix a JIRA[1] where we have to show the allowed
transitions(promote or demote buttons) for the applications, in the UI of
the App Factory, according to the allowed transitions according to the
lifecycle configuration. For example as below image, When user selects the
stage as the Production, then he should be abled to see the allowed
transitions from the selected state. It is not efficient to get the allowed
transitions for each resource since it is not gonna change
to resource to resource in AF.

[image: Inline image 1]

[1] https://wso2.org/jira/browse/APPFAC-2628


On Sat, Nov 8, 2014 at 1:09 AM, Isuruwan Herath  wrote:

> Hi Samith,
>
> Currently the APIs exposed can give the available actions for a particular
> state with reference to a resource [1] [2]. Please explain your use case if
> it doesn't associate with a resource.
>
> [1]
> https://docs.wso2.com/display/Governance460/Lifecycle+Transition+With+Governance+API
> - Get all Action List
> [2] https://docs.wso2.com/display/Governance460/Managing+Aspects -
> Retrieving Actions of an Aspect
>
> Thanks!
>
> On Fri, Nov 7, 2014 at 7:00 PM, Samith Dassanayake 
> wrote:
>
>> Hi all,
>> Is there way(or API) to get allowed transitions by the lifecycle state?
>> For example lets say I have 3 states[1] as Development, Testing and
>> Production.I want to know what the transitions[2] allowed for state
>> "Testing". How we can get that?
>>
>> [1]
>> https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-state
>> [2]
>> https://docs.wso2.com/display/Governance460/Lifecycle+Configuration+Elements#LifecycleConfigurationElements-transition
>>
>> Thanks
>> Samith
>>
>> --
>> Best Regards
>>
>> Samith Dassanayake
>> Software Engineer, WSO2 Inc.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isuruwan Herath
> Technical Lead
>
> Contact: +94 776 273 296
>



-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Upgrading Hazelcast version in wso2-ode and siddhi

2014-11-09 Thread Lasantha Fernando
Hi Niranjan,

Thanks for the pull request.

Ran a full build with the changes and it passed successfully. Merged the PR.

Thanks,
Lasantha

On 10 November 2014 10:42, Niranjan Karunanandham  wrote:

> Hi Suho,
>
> I have create a JIRA[1] for this and sent a pull request.
>
> [1] - https://wso2.org/jira/browse/CEP-978
>
> Regards,
> Nira
>
> On Fri, Nov 7, 2014 at 7:38 PM, Sriskandarajah Suhothayan 
> wrote:
>
>> +1 for the upgrade on Siddhi
>>
>> Suho
>>
>> On Fri, Nov 7, 2014 at 4:04 AM, Thilini Ishaka  wrote:
>>
>>> Hi Niranjan,
>>>
>>> Yes, we need to update this.
>>> Will track this with https://wso2.org/jira/browse/BPS-579
>>>
>>> Thanks
>>> Thilini
>>>
>>> On Fri, Nov 7, 2014 at 1:59 PM, Niranjan Karunanandham <
>>> niran...@wso2.com> wrote:
>>>
 Hi,

 The hazelcast version of wso2-ode is 3.0.1 and siddhi is 2.2. In Carbon
 4.3.0, the hazelcast version has been upgrade to 3.2.6wso2v2. Can we
 upgrade the hazelcast version for these two repos?
 Also in the maven dependencies, the  for hazelcast
 dependencies for the two repos is com.hazelcast. Shouldn't we change this
 to com.hazelcast.wso2?

 Regards,
 Nira

 --

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

>>>
>>>
>>>
>>> --
>>> Thilini Ishaka
>>> Senior Software Engineer - Solutions Architecture
>>> Mobile: +94 71 840 8171
>>> WSO2 Inc. http://wso2.com
>>>
>>> blog: thiliniishaka.blogspot.com
>>> linkedin: http://lk.linkedin.com/in/thiliniishaka
>>> twitter: https://twitter.com/#!/ThiliniIsh
>>>
>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>
>
>
> --
>
> *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
>
>


-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Chathura Dilan
I'm not sure. General term could be 'Passcode History'[1]

[1] -
https://www.google.lk/search?q=passcode+history#q=%22passcode+history%22

On Mon, Nov 10, 2014 at 10:43 AM, Dilan Udara Ariyaratne 
wrote:

> +1, Thanks for creating the JIRA.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Mon, Nov 10, 2014 at 10:32 AM, Pasanthi Amarasekera 
> wrote:
>
>> Hi,
>>
>> I also had the same problem when I was trying to give a passcode policy
>> to my Android device for testing purposes. Thus created this JIRA [1]. We
>> need to fix this in CDM 2.0 (if it has the same functionality as this).
>> WDYT ?
>>
>> [1]https://wso2.org/jira/browse/EMM-756
>>
>> Thank you.
>>
>> Regards,
>> Pasanthi.
>>
>>
>>
>> On Mon, Nov 10, 2014 at 9:17 AM, Inosh Perera  wrote:
>>
>>> Hi Dilan,
>>> As you can see in the doc Lakshman mentioned, Passcode has an expiration
>>> time, after the expiration, user will have to change the password. In order
>>> to stop user from using the same passwords, he recently used, pass-code
>>> history has to be set.
>>>
>>> Regards,
>>> inosh
>>>
>>> On Mon, Nov 10, 2014 at 8:55 AM, Lakshman Udayakantha <
>>> lakshm...@wso2.com> wrote:
>>>
 Hi Dilan,

 documentation[1] says. is that helpful?

 The end-user will not be allowed to reuse a passcode that he/she
 previously entered until he/she exceeds the set password history
 length (e.g., if the passcode history length is 3 and your passcode
 currently is 21345, you can not enter 21345 as the passcode in the
 next three consecutive passcode rotation cycles).

 [1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings

 On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne <
 dil...@wso2.com> wrote:

> Hi All,
>
> I was going through a check of the list of operations supported by
> wso2 emm
> on Android devices.
>
> Under pass-code policy, when the corresponding policy setting form
> prompts up,
> It asks for a required field called "Pass-code History". (See the
> screen-shot)
>
> What is the kind of input that we are supposed to give for this?
>
> Appreciate any feedback on this.
>
> Thanks.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*


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


>>>
>>>
>>> --
>>> Inosh Perera
>>> Software Engineer, WSO2 Inc.
>>> Tel: 0785293686
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Pasanthi Amarasekera
>> WSO2 Inc: http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 77 9541735
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,

Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.**)*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-09 Thread Supun Sethunga
Congratz Harsha!

On Mon, Nov 10, 2014 at 10:39 AM, Niranda Perera  wrote:

> Congrats peththa! :-)
>
> On Mon, Nov 10, 2014 at 10:37 AM, Danesh Kuruppu  wrote:
>
>> Congrats Harsha !!!
>>
>> On Sat, Nov 8, 2014 at 1:37 PM, Pirinthapan Mahendran <
>> pirintha...@wso2.com> wrote:
>>
>>> Congratulations Harsha !!
>>>
>>>
>>>
>>> Mahendran Pirinthapan
>>> Software Engineer | WSO2 Inc.
>>> Mobile +94772378732.
>>>
>>> On Sat, Nov 8, 2014 at 12:04 PM, Asanka Vithanage 
>>> wrote:
>>>
 Congratulations  !!!

 On Fri, Nov 7, 2014 at 6:29 PM, Tharindu Edirisinghe <
 tharin...@wso2.com> wrote:

> Congratulations Harsha !!
>
> On Sat, Nov 8, 2014 at 6:44 AM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Congratz Harsha...!
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Sat, Nov 8, 2014 at 1:40 AM, Hasintha Indrajee 
>> wrote:
>>
>>> Congratulations Harsha ...!!!
>>>
>>> On Fri, Nov 7, 2014 at 9:57 PM, Manula Chathurika Thantriwatte <
>>> manu...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Fri, Nov 7, 2014 at 9:45 PM, Dilan Udara Ariyaratne <
 dil...@wso2.com> wrote:

> Congratulations Harsha!!!
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Fri, Nov 7, 2014 at 9:21 PM, Dhanuka Ranasinghe <
> dhan...@wso2.com> wrote:
>
>> Congratz Harsha, keep it up :)
>>
>> *Dhanuka Ranasinghe*
>>
>> Senior Software Engineer
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 715381915
>>
>> On Fri, Nov 7, 2014 at 2:06 AM, Vinuri Perera 
>> wrote:
>>
>>> Congratz  :)
>>>
>>> On Fri, Nov 7, 2014 at 12:18 PM, Denuwanthi De Silva <
>>> denuwan...@wso2.com> wrote:
>>>
 Congratulations Harsha!!

 On Fri, Nov 7, 2014 at 12:05 PM, Damith Wickramasinghe <
 dami...@wso2.com> wrote:

> Congratzz Harsha...!
>
> On Fri, Nov 7, 2014 at 12:00 PM, Abimaran Kugathasan <
> abima...@wso2.com> wrote:
>
>> Congrats!
>>
>> On Fri, Nov 7, 2014 at 11:48 AM, Milinda Perera <
>> milin...@wso2.com> wrote:
>>
>>> Congratulations harsha :)
>>>
>>> On Fri, Nov 7, 2014 at 11:38 AM, Malintha Adikari <
>>> malin...@wso2.com> wrote:
>>>
 Congratulations Harsha !

 On Fri, Nov 7, 2014 at 5:35 AM, Thilini Anoratna <
 thili...@wso2.com> wrote:

> Congratz Harsha!!  :)
>
> On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera <
> buddh...@wso2.com> wrote:
>
>> Congratulations Harsha !!!
>>
>> On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena <
>> ros...@wso2.com> wrote:
>>
>>> Congratulations..!!
>>>
>>> On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan <
>>> rajeev...@wso2.com> wrote:
>>>
 Congratz Harsha...!!!

 On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Harsha !
>
> On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka <
> mahe...@wso2.com> wrote:
>
>> Congratulations Harsha
>>
>> On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera <
>> praba...@wso2.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> It's my pleasure to welcome Harsha Kumara as a WSO2
>>> Committer. Harsha has always been a key member of
>>> the Storage Server team contributing immensely to SS 
>>> related developments
>>> ever since he joined us a few months back. In 
>>> recognition of his
>>> contributions, ownership shown towards the 
>>> tasks/responsibilities assigned
>>> to him, and commitment, he's been voted as a WSO2 
>>> committer.
>>>
>

Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Dilan Udara Ariyaratne
+1, Thanks for creating the JIRA.


*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94775149066
lean . enterprise . middleware

On Mon, Nov 10, 2014 at 10:32 AM, Pasanthi Amarasekera 
wrote:

> Hi,
>
> I also had the same problem when I was trying to give a passcode policy to
> my Android device for testing purposes. Thus created this JIRA [1]. We need
> to fix this in CDM 2.0 (if it has the same functionality as this). WDYT ?
>
> [1]https://wso2.org/jira/browse/EMM-756
>
> Thank you.
>
> Regards,
> Pasanthi.
>
>
>
> On Mon, Nov 10, 2014 at 9:17 AM, Inosh Perera  wrote:
>
>> Hi Dilan,
>> As you can see in the doc Lakshman mentioned, Passcode has an expiration
>> time, after the expiration, user will have to change the password. In order
>> to stop user from using the same passwords, he recently used, pass-code
>> history has to be set.
>>
>> Regards,
>> inosh
>>
>> On Mon, Nov 10, 2014 at 8:55 AM, Lakshman Udayakantha > > wrote:
>>
>>> Hi Dilan,
>>>
>>> documentation[1] says. is that helpful?
>>>
>>> The end-user will not be allowed to reuse a passcode that he/she
>>> previously entered until he/she exceeds the set password history length
>>> (e.g., if the passcode history length is 3 and your passcode currently is
>>> 21345, you can not enter 21345 as the passcode in the next three
>>> consecutive passcode rotation cycles).
>>>
>>> [1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings
>>>
>>> On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne >> > wrote:
>>>
 Hi All,

 I was going through a check of the list of operations supported by wso2
 emm
 on Android devices.

 Under pass-code policy, when the corresponding policy setting form
 prompts up,
 It asks for a required field called "Pass-code History". (See the
 screen-shot)

 What is the kind of input that we are supposed to give for this?

 Appreciate any feedback on this.

 Thanks.


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. 
 Mobile: +94775149066
 lean . enterprise . middleware

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


>>>
>>>
>>> --
>>> Lakshman Udayakantha
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>> Mobile: *0711241005*
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Inosh Perera
>> Software Engineer, WSO2 Inc.
>> Tel: 0785293686
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Pasanthi Amarasekera
> WSO2 Inc: http://wso2.com
> lean.enterprise.middleware
>
> Mobile: +94 77 9541735
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Upgrading Hazelcast version in wso2-ode and siddhi

2014-11-09 Thread Niranjan Karunanandham
Hi Suho,

I have create a JIRA[1] for this and sent a pull request.

[1] - https://wso2.org/jira/browse/CEP-978

Regards,
Nira

On Fri, Nov 7, 2014 at 7:38 PM, Sriskandarajah Suhothayan 
wrote:

> +1 for the upgrade on Siddhi
>
> Suho
>
> On Fri, Nov 7, 2014 at 4:04 AM, Thilini Ishaka  wrote:
>
>> Hi Niranjan,
>>
>> Yes, we need to update this.
>> Will track this with https://wso2.org/jira/browse/BPS-579
>>
>> Thanks
>> Thilini
>>
>> On Fri, Nov 7, 2014 at 1:59 PM, Niranjan Karunanandham > > wrote:
>>
>>> Hi,
>>>
>>> The hazelcast version of wso2-ode is 3.0.1 and siddhi is 2.2. In Carbon
>>> 4.3.0, the hazelcast version has been upgrade to 3.2.6wso2v2. Can we
>>> upgrade the hazelcast version for these two repos?
>>> Also in the maven dependencies, the  for hazelcast dependencies
>>> for the two repos is com.hazelcast. Shouldn't we change this to
>>> com.hazelcast.wso2?
>>>
>>> Regards,
>>> Nira
>>>
>>> --
>>>
>>> *Niranjan Karunanandham*
>>> Senior Software Engineer - WSO2 Inc.
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>
>>
>>
>> --
>> Thilini Ishaka
>> Senior Software Engineer - Solutions Architecture
>> Mobile: +94 71 840 8171
>> WSO2 Inc. http://wso2.com
>>
>> blog: thiliniishaka.blogspot.com
>> linkedin: http://lk.linkedin.com/in/thiliniishaka
>> twitter: https://twitter.com/#!/ThiliniIsh
>>
>
>
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
>  *WSO2 Inc. *http://wso2.com
> * *
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ twitter:
> http://twitter.com/suhothayan  | linked-in:
> http://lk.linkedin.com/in/suhothayan *
>



-- 

*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


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-09 Thread Niranda Perera
Congrats peththa! :-)

On Mon, Nov 10, 2014 at 10:37 AM, Danesh Kuruppu  wrote:

> Congrats Harsha !!!
>
> On Sat, Nov 8, 2014 at 1:37 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Congratulations Harsha !!
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Sat, Nov 8, 2014 at 12:04 PM, Asanka Vithanage 
>> wrote:
>>
>>> Congratulations  !!!
>>>
>>> On Fri, Nov 7, 2014 at 6:29 PM, Tharindu Edirisinghe >> > wrote:
>>>
 Congratulations Harsha !!

 On Sat, Nov 8, 2014 at 6:44 AM, Dakshika Jayathilaka >>> > wrote:

> Congratz Harsha...!
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Sat, Nov 8, 2014 at 1:40 AM, Hasintha Indrajee 
> wrote:
>
>> Congratulations Harsha ...!!!
>>
>> On Fri, Nov 7, 2014 at 9:57 PM, Manula Chathurika Thantriwatte <
>> manu...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Fri, Nov 7, 2014 at 9:45 PM, Dilan Udara Ariyaratne <
>>> dil...@wso2.com> wrote:
>>>
 Congratulations Harsha!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. 
 Mobile: +94775149066
 lean . enterprise . middleware

 On Fri, Nov 7, 2014 at 9:21 PM, Dhanuka Ranasinghe <
 dhan...@wso2.com> wrote:

> Congratz Harsha, keep it up :)
>
> *Dhanuka Ranasinghe*
>
> Senior Software Engineer
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 715381915
>
> On Fri, Nov 7, 2014 at 2:06 AM, Vinuri Perera 
> wrote:
>
>> Congratz  :)
>>
>> On Fri, Nov 7, 2014 at 12:18 PM, Denuwanthi De Silva <
>> denuwan...@wso2.com> wrote:
>>
>>> Congratulations Harsha!!
>>>
>>> On Fri, Nov 7, 2014 at 12:05 PM, Damith Wickramasinghe <
>>> dami...@wso2.com> wrote:
>>>
 Congratzz Harsha...!

 On Fri, Nov 7, 2014 at 12:00 PM, Abimaran Kugathasan <
 abima...@wso2.com> wrote:

> Congrats!
>
> On Fri, Nov 7, 2014 at 11:48 AM, Milinda Perera <
> milin...@wso2.com> wrote:
>
>> Congratulations harsha :)
>>
>> On Fri, Nov 7, 2014 at 11:38 AM, Malintha Adikari <
>> malin...@wso2.com> wrote:
>>
>>> Congratulations Harsha !
>>>
>>> On Fri, Nov 7, 2014 at 5:35 AM, Thilini Anoratna <
>>> thili...@wso2.com> wrote:
>>>
 Congratz Harsha!!  :)

 On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera <
 buddh...@wso2.com> wrote:

> Congratulations Harsha !!!
>
> On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena <
> ros...@wso2.com> wrote:
>
>> Congratulations..!!
>>
>> On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan <
>> rajeev...@wso2.com> wrote:
>>
>>> Congratz Harsha...!!!
>>>
>>> On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Harsha !

 On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka <
 mahe...@wso2.com> wrote:

> Congratulations Harsha
>
> On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera <
> praba...@wso2.com> wrote:
>
>> Hi Everyone,
>>
>> It's my pleasure to welcome Harsha Kumara as a WSO2
>> Committer. Harsha has always been a key member of
>> the Storage Server team contributing immensely to SS 
>> related developments
>> ever since he joined us a few months back. In 
>> recognition of his
>> contributions, ownership shown towards the 
>> tasks/responsibilities assigned
>> to him, and commitment, he's been voted as a WSO2 
>> committer.
>>
>> Harsha, Welcome aboard and keep up the awesome work!
>>
>>
>> Cheers,
>> Prabath
>> --
>> Prabath Abeysekara
>> Associate 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-09 Thread Niranda Perera
congrats Asanka

On Mon, Nov 10, 2014 at 10:38 AM, Danesh Kuruppu  wrote:

> Congrats Asanka !!!
>
> On Sat, Nov 8, 2014 at 1:38 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Congratulations Asanka !!
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Sat, Nov 8, 2014 at 12:03 PM, Asanka Vithanage 
>> wrote:
>>
>>> Congratulations  !!!
>>>
>>> On Fri, Nov 7, 2014 at 8:29 AM, Manula Chathurika Thantriwatte <
>>> manu...@wso2.com> wrote:
>>>
 Congratulations !!!

 On Fri, Nov 7, 2014 at 4:43 PM, Dushan Abeyruwan 
 wrote:

> Congrats!! Keep up your good work
>
> On Fri, Nov 7, 2014 at 11:56 AM, Priyadarssini Kishokumar <
> priyadarss...@wso2.com> wrote:
>
>> Congratulations Asanka ... !!
>>
>> On Fri, Nov 7, 2014 at 11:42 AM, Milinda Perera 
>> wrote:
>>
>>> Congratulations Asanka :)
>>>
>>> On Fri, Nov 7, 2014 at 11:18 AM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 Congrats Asanka..

 On Fri, Nov 7, 2014 at 10:06 AM, Isuru Ranawaka 
 wrote:

> Congratulations Asanka
>
> On Fri, Nov 7, 2014 at 9:58 AM, Anuruddha Premalal <
> anurud...@wso2.com> wrote:
>
>> Congratulations Asanka!!
>>
>> On Fri, Nov 7, 2014 at 9:32 AM, Niranjan Karunanandham <
>> niran...@wso2.com> wrote:
>>
>>> Congrats Asanka!!
>>>
>>> On Fri, Nov 7, 2014 at 9:24 AM, Godwin Amila Shrimal <
>>> god...@wso2.com> wrote:
>>>
 Congratulations Asanka...!

 On Fri, Nov 7, 2014 at 9:20 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Asanka !
>
> On Fri, Nov 7, 2014 at 9:18 AM, Roshan Deniyage <
> rosh...@wso2.com> wrote:
>
>> Congrats asanka!
>>
>> Roshan Deniyage
>> Associate Technical Lead
>> WSO2, Inc: http://wso2.com
>>
>> Mobile:  +94 777636406
>> Twitter:  *https://twitter.com/roshku
>> *
>> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>>
>>
>> On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne <
>> dil...@wso2.com> wrote:
>>
>>> Congratulations, Asanka...!!!
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya <
>>> hasit...@wso2.com> wrote:
>>>
 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara <
 hars...@wso2.com> wrote:

> Congratulations Asanka!
>
> On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana <
> raji...@wso2.com> wrote:
>
>> Congratulations Asanka ... !!
>>
>> On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe <
>> ram...@wso2.com> wrote:
>>
>>> Hi Asanka,
>>>  Congratulations!
>>> It is with great pleasure that we welcome you as a WSO2
>>> committer. Keep up the good work!
>>> thanks and best regards,
>>>
>>> --
>>> Ramith Jayasinghe
>>> Technical Lead
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> E: ram...@wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-09 Thread Danesh Kuruppu
Congrats Asanka !!!

On Sat, Nov 8, 2014 at 1:38 PM, Pirinthapan Mahendran 
wrote:

> Congratulations Asanka !!
>
>
>
> Mahendran Pirinthapan
> Software Engineer | WSO2 Inc.
> Mobile +94772378732.
>
> On Sat, Nov 8, 2014 at 12:03 PM, Asanka Vithanage 
> wrote:
>
>> Congratulations  !!!
>>
>> On Fri, Nov 7, 2014 at 8:29 AM, Manula Chathurika Thantriwatte <
>> manu...@wso2.com> wrote:
>>
>>> Congratulations !!!
>>>
>>> On Fri, Nov 7, 2014 at 4:43 PM, Dushan Abeyruwan 
>>> wrote:
>>>
 Congrats!! Keep up your good work

 On Fri, Nov 7, 2014 at 11:56 AM, Priyadarssini Kishokumar <
 priyadarss...@wso2.com> wrote:

> Congratulations Asanka ... !!
>
> On Fri, Nov 7, 2014 at 11:42 AM, Milinda Perera 
> wrote:
>
>> Congratulations Asanka :)
>>
>> On Fri, Nov 7, 2014 at 11:18 AM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> Congrats Asanka..
>>>
>>> On Fri, Nov 7, 2014 at 10:06 AM, Isuru Ranawaka 
>>> wrote:
>>>
 Congratulations Asanka

 On Fri, Nov 7, 2014 at 9:58 AM, Anuruddha Premalal <
 anurud...@wso2.com> wrote:

> Congratulations Asanka!!
>
> On Fri, Nov 7, 2014 at 9:32 AM, Niranjan Karunanandham <
> niran...@wso2.com> wrote:
>
>> Congrats Asanka!!
>>
>> On Fri, Nov 7, 2014 at 9:24 AM, Godwin Amila Shrimal <
>> god...@wso2.com> wrote:
>>
>>> Congratulations Asanka...!
>>>
>>> On Fri, Nov 7, 2014 at 9:20 AM, Kalpa Welivitigoda <
>>> kal...@wso2.com> wrote:
>>>
 Congratulations Asanka !

 On Fri, Nov 7, 2014 at 9:18 AM, Roshan Deniyage <
 rosh...@wso2.com> wrote:

> Congrats asanka!
>
> Roshan Deniyage
> Associate Technical Lead
> WSO2, Inc: http://wso2.com
>
> Mobile:  +94 777636406
> Twitter:  *https://twitter.com/roshku
> *
> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>
>
> On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne <
> dil...@wso2.com> wrote:
>
>> Congratulations, Asanka...!!!
>>
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>> On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya <
>> hasit...@wso2.com> wrote:
>>
>>> Congratulations, Asanka...!!!
>>>
>>> On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara <
>>> hars...@wso2.com> wrote:
>>>
 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana <
 raji...@wso2.com> wrote:

> Congratulations Asanka ... !!
>
> On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe <
> ram...@wso2.com> wrote:
>
>> Hi Asanka,
>>  Congratulations!
>> It is with great pleasure that we welcome you as a WSO2
>> committer. Keep up the good work!
>> thanks and best regards,
>>
>> --
>> Ramith Jayasinghe
>> Technical Lead
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> E: ram...@wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-09 Thread Danesh Kuruppu
Congrats Harsha !!!

On Sat, Nov 8, 2014 at 1:37 PM, Pirinthapan Mahendran 
wrote:

> Congratulations Harsha !!
>
>
>
> Mahendran Pirinthapan
> Software Engineer | WSO2 Inc.
> Mobile +94772378732.
>
> On Sat, Nov 8, 2014 at 12:04 PM, Asanka Vithanage 
> wrote:
>
>> Congratulations  !!!
>>
>> On Fri, Nov 7, 2014 at 6:29 PM, Tharindu Edirisinghe 
>> wrote:
>>
>>> Congratulations Harsha !!
>>>
>>> On Sat, Nov 8, 2014 at 6:44 AM, Dakshika Jayathilaka 
>>> wrote:
>>>
 Congratz Harsha...!

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

 On Sat, Nov 8, 2014 at 1:40 AM, Hasintha Indrajee 
 wrote:

> Congratulations Harsha ...!!!
>
> On Fri, Nov 7, 2014 at 9:57 PM, Manula Chathurika Thantriwatte <
> manu...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Fri, Nov 7, 2014 at 9:45 PM, Dilan Udara Ariyaratne <
>> dil...@wso2.com> wrote:
>>
>>> Congratulations Harsha!!!
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Fri, Nov 7, 2014 at 9:21 PM, Dhanuka Ranasinghe >> > wrote:
>>>
 Congratz Harsha, keep it up :)

 *Dhanuka Ranasinghe*

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

 phone : +94 715381915

 On Fri, Nov 7, 2014 at 2:06 AM, Vinuri Perera 
 wrote:

> Congratz  :)
>
> On Fri, Nov 7, 2014 at 12:18 PM, Denuwanthi De Silva <
> denuwan...@wso2.com> wrote:
>
>> Congratulations Harsha!!
>>
>> On Fri, Nov 7, 2014 at 12:05 PM, Damith Wickramasinghe <
>> dami...@wso2.com> wrote:
>>
>>> Congratzz Harsha...!
>>>
>>> On Fri, Nov 7, 2014 at 12:00 PM, Abimaran Kugathasan <
>>> abima...@wso2.com> wrote:
>>>
 Congrats!

 On Fri, Nov 7, 2014 at 11:48 AM, Milinda Perera <
 milin...@wso2.com> wrote:

> Congratulations harsha :)
>
> On Fri, Nov 7, 2014 at 11:38 AM, Malintha Adikari <
> malin...@wso2.com> wrote:
>
>> Congratulations Harsha !
>>
>> On Fri, Nov 7, 2014 at 5:35 AM, Thilini Anoratna <
>> thili...@wso2.com> wrote:
>>
>>> Congratz Harsha!!  :)
>>>
>>> On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera <
>>> buddh...@wso2.com> wrote:
>>>
 Congratulations Harsha !!!

 On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena <
 ros...@wso2.com> wrote:

> Congratulations..!!
>
> On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Congratz Harsha...!!!
>>
>> On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Harsha !
>>>
>>> On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka <
>>> mahe...@wso2.com> wrote:
>>>
 Congratulations Harsha

 On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera <
 praba...@wso2.com> wrote:

> Hi Everyone,
>
> It's my pleasure to welcome Harsha Kumara as a WSO2
> Committer. Harsha has always been a key member of the
> Storage Server team contributing immensely to SS related 
> developments ever
> since he joined us a few months back. In recognition of 
> his contributions,
> ownership shown towards the tasks/responsibilities 
> assigned to him, and
> commitment, he's been voted as a WSO2 committer.
>
> Harsha, Welcome aboard and keep up the awesome work!
>
>
> Cheers,
> Prabath
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>
> ___
> Dev mailing list
> De

Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Pasanthi Amarasekera
Hi,

I also had the same problem when I was trying to give a passcode policy to
my Android device for testing purposes. Thus created this JIRA [1]. We need
to fix this in CDM 2.0 (if it has the same functionality as this). WDYT ?

[1]https://wso2.org/jira/browse/EMM-756

Thank you.

Regards,
Pasanthi.



On Mon, Nov 10, 2014 at 9:17 AM, Inosh Perera  wrote:

> Hi Dilan,
> As you can see in the doc Lakshman mentioned, Passcode has an expiration
> time, after the expiration, user will have to change the password. In order
> to stop user from using the same passwords, he recently used, pass-code
> history has to be set.
>
> Regards,
> inosh
>
> On Mon, Nov 10, 2014 at 8:55 AM, Lakshman Udayakantha 
> wrote:
>
>> Hi Dilan,
>>
>> documentation[1] says. is that helpful?
>>
>> The end-user will not be allowed to reuse a passcode that he/she
>> previously entered until he/she exceeds the set password history length
>> (e.g., if the passcode history length is 3 and your passcode currently is
>> 21345, you can not enter 21345 as the passcode in the next three
>> consecutive passcode rotation cycles).
>>
>> [1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings
>>
>> On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne 
>> wrote:
>>
>>> Hi All,
>>>
>>> I was going through a check of the list of operations supported by wso2
>>> emm
>>> on Android devices.
>>>
>>> Under pass-code policy, when the corresponding policy setting form
>>> prompts up,
>>> It asks for a required field called "Pass-code History". (See the
>>> screen-shot)
>>>
>>> What is the kind of input that we are supposed to give for this?
>>>
>>> Appreciate any feedback on this.
>>>
>>> Thanks.
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Inosh Perera
> Software Engineer, WSO2 Inc.
> Tel: 0785293686
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pasanthi Amarasekera
WSO2 Inc: http://wso2.com
lean.enterprise.middleware

Mobile: +94 77 9541735
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Dilan Udara Ariyaratne
Hi Guys.

According to the example, shouldn't this label be "Passcode History Length"
rather than "Passcode History" which might give the user a different idea?

Better if we can have inline tool-tips as well, so that user don't need to
refer to documentation all the time...

Thanks.





*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94775149066
lean . enterprise . middleware

On Mon, Nov 10, 2014 at 9:17 AM, Inosh Perera  wrote:

> Hi Dilan,
> As you can see in the doc Lakshman mentioned, Passcode has an expiration
> time, after the expiration, user will have to change the password. In order
> to stop user from using the same passwords, he recently used, pass-code
> history has to be set.
>
> Regards,
> inosh
>
> On Mon, Nov 10, 2014 at 8:55 AM, Lakshman Udayakantha 
> wrote:
>
>> Hi Dilan,
>>
>> documentation[1] says. is that helpful?
>>
>> The end-user will not be allowed to reuse a passcode that he/she
>> previously entered until he/she exceeds the set password history length
>> (e.g., if the passcode history length is 3 and your passcode currently is
>> 21345, you can not enter 21345 as the passcode in the next three
>> consecutive passcode rotation cycles).
>>
>> [1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings
>>
>> On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne 
>> wrote:
>>
>>> Hi All,
>>>
>>> I was going through a check of the list of operations supported by wso2
>>> emm
>>> on Android devices.
>>>
>>> Under pass-code policy, when the corresponding policy setting form
>>> prompts up,
>>> It asks for a required field called "Pass-code History". (See the
>>> screen-shot)
>>>
>>> What is the kind of input that we are supposed to give for this?
>>>
>>> Appreciate any feedback on this.
>>>
>>> Thanks.
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Inosh Perera
> Software Engineer, WSO2 Inc.
> Tel: 0785293686
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jars to be included for code coverage - Storage Server

2014-11-09 Thread Prabath Abeysekera
Hi Krishantha,

Yeah, this is all that needs to be covered. We should be able to proceed
with deriving code coverage related stats based on the list you've shared.

Cheers,
Prabath

On Fri, Nov 7, 2014 at 3:11 PM, Krishantha Samaraweera 
wrote:

> Hi Prabath,
>
> As per our offline discussion these are the jars going to be included for
> code coverage.  Let me know if any modifications required.
>
> org.wso2.carbon.cassandra.cluster_
> org.wso2.carbon.cassandra.cluster.mgt_
> org.wso2.carbon.cassandra.cluster.proxy_
> org.wso2.carbon.cassandra.common_
> org.wso2.carbon.cassandra.dataaccess_
> org.wso2.carbon.cassandra.explorer.mgt_
> org.wso2.carbon.cassandra.mgt_
> org.wso2.carbon.cassandra.server_
> org.wso2.carbon.cassandra.sharedkey_
> org.wso2.carbon.hdfs.dataaccess_
> org.wso2.carbon.hdfs.datanode_
> org.wso2.carbon.hdfs.mgt_
> org.wso2.carbon.hdfs.namenode_
> org.wso2.carbon.ndatasource.common_
> org.wso2.carbon.ndatasource.core_
> org.wso2.carbon.ndatasource.rdbms_
> org.wso2.carbon.rssmanager.common_
> org.wso2.carbon.rssmanager.core_
> org.wso2.carbon.rssmanager.data.mgt_
>
> Thanks,
> Krishantha.
>
> On Wed, Nov 5, 2014 at 11:30 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Prabath,
>>
>> Can you list the jars should be included for code coverage generation for
>> Storage Server.
>>
>> Only jar files at $CARBON_HOME/repository/components/plugin is valid for
>> inclusion.
>>
>> Thanks,
>> Krishantha.
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
Prabath Abeysekara
Associate Technical Lead, Data TG.
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Inosh Perera
Hi Dilan,
As you can see in the doc Lakshman mentioned, Passcode has an expiration
time, after the expiration, user will have to change the password. In order
to stop user from using the same passwords, he recently used, pass-code
history has to be set.

Regards,
inosh

On Mon, Nov 10, 2014 at 8:55 AM, Lakshman Udayakantha 
wrote:

> Hi Dilan,
>
> documentation[1] says. is that helpful?
>
> The end-user will not be allowed to reuse a passcode that he/she
> previously entered until he/she exceeds the set password history length
> (e.g., if the passcode history length is 3 and your passcode currently is
> 21345, you can not enter 21345 as the passcode in the next three
> consecutive passcode rotation cycles).
>
> [1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings
>
> On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne 
> wrote:
>
>> Hi All,
>>
>> I was going through a check of the list of operations supported by wso2
>> emm
>> on Android devices.
>>
>> Under pass-code policy, when the corresponding policy setting form
>> prompts up,
>> It asks for a required field called "Pass-code History". (See the
>> screen-shot)
>>
>> What is the kind of input that we are supposed to give for this?
>>
>> Appreciate any feedback on this.
>>
>> Thanks.
>>
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] What is meant by "Pass-code History" ?

2014-11-09 Thread Lakshman Udayakantha
Hi Dilan,

documentation[1] says. is that helpful?

The end-user will not be allowed to reuse a passcode that he/she previously
entered until he/she exceeds the set password history length (e.g., if the
passcode history length is 3 and your passcode currently is 21345, you can
not enter 21345 as the passcode in the next three consecutive passcode
rotation cycles).

[1] https://docs.wso2.com/display/EMM110/EMM+Policy+Settings

On Mon, Nov 10, 2014 at 7:00 AM, Dilan Udara Ariyaratne 
wrote:

> Hi All,
>
> I was going through a check of the list of operations supported by wso2 emm
> on Android devices.
>
> Under pass-code policy, when the corresponding policy setting form prompts
> up,
> It asks for a required field called "Pass-code History". (See the
> screen-shot)
>
> What is the kind of input that we are supposed to give for this?
>
> Appreciate any feedback on this.
>
> Thanks.
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fix for Build failed in Jenkins: carbon-apimgt #213.

2014-11-09 Thread Nuwan Dias
Done.

Thanks,
NuwanD.

On Sat, Nov 8, 2014 at 11:35 AM, Roshan Wijesena  wrote:

> Hi NuwanD,
>
> Could you please merge the pull request [1] to get rid of the build
> failure at carbon-apimgt.
>
> [1] https://github.com/wso2-dev/carbon-apimgt/pull/10
>
> https://wso2.org/jira/browse/APIMANAGER-3066
>
> Regards
> Roshan.
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94752126789*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Dilan Udara Ariyaratne
Hi,

Can you try out the answer in:
http://stackoverflow.com/questions/5926551/axis2-error-when-invoking-web-service-from-another-web-service
by setting up the SOAP actions explicitly under options?

Regards.



*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94775149066
lean . enterprise . middleware

On Mon, Nov 10, 2014 at 6:36 AM, Maheeka Jayasuriya 
wrote:

> Hi Dilan,
>
> Please find the WSDL and the client code attached. If it cannot understand
> uniquely, shouldn't that be the case when deployed on AS as well, not only
> in Carbon?
>
> Thanks.
>
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Mon, Nov 10, 2014 at 6:30 AM, Dilan Udara Ariyaratne 
> wrote:
>
>> Hi Maheeka,
>>
>> It looks like the server cannot uniquely identify the method that you are
>> trying to invoke from the client side.
>>
>> Can you share the corresponding wsdl file of the service and the code
>> base of your client class?
>>
>> Regards.
>>
>>
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>> On Mon, Nov 10, 2014 at 2:49 AM, Maheeka Jayasuriya 
>> wrote:
>>
>>> The component works as expected when deployed on Application Server. Am
>>> I missing any configurations in the component when deploying in Carbon?
>>> (Because the samples when deployed on Carbon works fine, i.e. Carbon
>>> configurations seems to be okay)
>>>
>>> Thanks.
>>>
>>>
>>> Maheeka Jayasuriya
>>> Software Engineer
>>> Mobile : +9450661
>>>
>>> On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya 
>>> wrote:
>>>
 Hi,

 I am following tutorial at [1]. I have developed the component and
 deployed in Carbon.

 However, when trying to access the service, I am getting the following
 error [2]

 I am guessing this is because the service is not accessed correctly or
 the server may not be up and running.

 How do I resolve this?

 Also found another thread with same [3], but no luck.

 [1]
 http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

 [2]
 org.apache.axis2.AxisFault: The server did not recognise the action
 which it received:
 at
 org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
 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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
 at
 org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)

 [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

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


Re: [Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Maheeka Jayasuriya
Hi Dilan,

Please find the WSDL and the client code attached. If it cannot understand
uniquely, shouldn't that be the case when deployed on AS as well, not only
in Carbon?

Thanks.


Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Mon, Nov 10, 2014 at 6:30 AM, Dilan Udara Ariyaratne 
wrote:

> Hi Maheeka,
>
> It looks like the server cannot uniquely identify the method that you are
> trying to invoke from the client side.
>
> Can you share the corresponding wsdl file of the service and the code base
> of your client class?
>
> Regards.
>
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Mon, Nov 10, 2014 at 2:49 AM, Maheeka Jayasuriya 
> wrote:
>
>> The component works as expected when deployed on Application Server. Am I
>> missing any configurations in the component when deploying in Carbon?
>> (Because the samples when deployed on Carbon works fine, i.e. Carbon
>> configurations seems to be okay)
>>
>> Thanks.
>>
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>> On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya 
>> wrote:
>>
>>> Hi,
>>>
>>> I am following tutorial at [1]. I have developed the component and
>>> deployed in Carbon.
>>>
>>> However, when trying to access the service, I am getting the following
>>> error [2]
>>>
>>> I am guessing this is because the service is not accessed correctly or
>>> the server may not be up and running.
>>>
>>> How do I resolve this?
>>>
>>> Also found another thread with same [3], but no luck.
>>>
>>> [1]
>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>
>>> [2]
>>> org.apache.axis2.AxisFault: The server did not recognise the action
>>> which it received:
>>> at
>>> org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
>>> 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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>> at
>>> org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
>>> at
>>> org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)
>>>
>>> [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html
>>>
>>> Maheeka Jayasuriya
>>> Software Engineer
>>> Mobile : +9450661
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


OrderManagerClient.java
Description: Binary data
http://schemas.xmlsoap.org/wsdl/"; xmlns:ns1="http://org.apache.axis2/xsd"; xmlns:ns="http://mgt.order.carbon.wso2.org"; xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:ax23="http://data.mgt.order.carbon.wso2.org/xsd"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; targetNamespace="http://mgt.order.carbon.wso2.org";>
OrderManager

http://data.mgt.order.carbon.wso2.org/xsd"; attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://mgt.order.carbon.wso2.org";>
http://data.mgt.order.carbon.wso2.org/xsd"/>


































http://data.mgt.order.carbon.wso2.org/xsd";>






































http://schemas.xmlsoap.org/soap/http"; style="document"/>

Re: [Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Dilan Udara Ariyaratne
Hi Maheeka,

It looks like the server cannot uniquely identify the method that you are
trying to invoke from the client side.

Can you share the corresponding wsdl file of the service and the code base
of your client class?

Regards.



*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94775149066
lean . enterprise . middleware

On Mon, Nov 10, 2014 at 2:49 AM, Maheeka Jayasuriya 
wrote:

> The component works as expected when deployed on Application Server. Am I
> missing any configurations in the component when deploying in Carbon?
> (Because the samples when deployed on Carbon works fine, i.e. Carbon
> configurations seems to be okay)
>
> Thanks.
>
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya 
> wrote:
>
>> Hi,
>>
>> I am following tutorial at [1]. I have developed the component and
>> deployed in Carbon.
>>
>> However, when trying to access the service, I am getting the following
>> error [2]
>>
>> I am guessing this is because the service is not accessed correctly or
>> the server may not be up and running.
>>
>> How do I resolve this?
>>
>> Also found another thread with same [3], but no luck.
>>
>> [1]
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>> [2]
>> org.apache.axis2.AxisFault: The server did not recognise the action which
>> it received:
>> at
>> org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
>> 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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
>> at
>> org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)
>>
>> [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html
>>
>> Maheeka Jayasuriya
>> Software Engineer
>> Mobile : +9450661
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Maheeka Jayasuriya
The component works as expected when deployed on Application Server. Am I
missing any configurations in the component when deploying in Carbon?
(Because the samples when deployed on Carbon works fine, i.e. Carbon
configurations seems to be okay)

Thanks.


Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya 
wrote:

> Hi,
>
> I am following tutorial at [1]. I have developed the component and
> deployed in Carbon.
>
> However, when trying to access the service, I am getting the following
> error [2]
>
> I am guessing this is because the service is not accessed correctly or the
> server may not be up and running.
>
> How do I resolve this?
>
> Also found another thread with same [3], but no luck.
>
> [1]
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
> [2]
> org.apache.axis2.AxisFault: The server did not recognise the action which
> it received:
> at
> org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
> 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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
> at
> org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)
>
> [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Developing Carbon Component - AxisFault : The server did not recognise the action which it received:

2014-11-09 Thread Maheeka Jayasuriya
Hi,

I am following tutorial at [1]. I have developed the component and deployed
in Carbon.

However, when trying to access the service, I am getting the following
error [2]

I am guessing this is because the service is not accessed correctly or the
server may not be up and running.

How do I resolve this?

Also found another thread with same [3], but no luck.

[1]
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

[2]
org.apache.axis2.AxisFault: The server did not recognise the action which
it received:
at
org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
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.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522)
at
org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42)

[3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Dashboard Log in Issue in a Distributed Setup.

2014-11-09 Thread Chaminda Jayawardena
Hi,

Trying to log in to IS Dashboard app(just click on Login button) which is
deployed in a IS distributed setup (Two IS instances fronted with LB-nginx)
the log in page is redirecting with the port 9443, instead of 443. proxy
port enabling (catalina-server.xml) and nginx side configuration are
correctly done. And also below [1] is also done for correcting hard coded
host+ports. It seems like hard coded ports on some where else.
Any help on this?

[1]
http://stackoverflow.com/questions/24862167/cannot-see-any-option-in-wso2-identity-server-dashboard


-- 
Thanks & Regards

*Chaminda Jayawardena*
Senior Software Engineer - QA
WSO2 Inc. - http://wso2.com
+94-77-7725234
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]Management console notification generation fails in automation tests

2014-11-09 Thread Dimuthu De Lanerolle
Hi SameeraK,

We can easily reproduce same the error if we configure workList in
registry.xml file and run a standalone G-Reg 5.0.0-SNAPSHOT instance  with
at least one additional user (in additional to the carbon.super admin user
) with role assigned as 'admin'. ( i .e configure workList in registry.xml
and start the server. Go to  'users and roles' , add a new user *select
user role as admin* for the newly created user. Now try with same the test
scenario manually. Notice that the management console notifications are not
generated as expected. Again in order to verify, if you remove the admin
role from the newly created user and try the same test scenario you will
notice that the management console notifications are getting generated as
expected)

Hence AFAIU the issue seems to be with user management component of Greg
pack and not connected with the registry.xml file modified from the TAF or
your test class.

Regards

On Wed, Nov 5, 2014 at 3:01 PM, Sameera Kannangara 
wrote:

> Hi DimuthuD,
>
> Please add attached jar as a patch to the G-Reg 5.0.0 pack you are using
> for testing.
> Pull request for the fix is merged just now.
>
>
> Thank you,
> SameeraK.
>
>
>
> On Wed, Nov 5, 2014 at 10:12 AM, Dimuthu De Lanerolle 
> wrote:
>
>> Hi Krishantha,
>>
>> I Will look into this.
>>
>> Regards
>>
>> On Tue, Nov 4, 2014 at 11:22 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi DimuthuD,
>>>
>>> Can you check what is going wrong. Please check backend management
>>> console subscription tests first. You can access to management console
>>> while running the tests and verify whether notifications are present.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>> On Tue, Nov 4, 2014 at 10:00 PM, Sameera Kannangara 
>>> wrote:
>>>
 Hi all,

 I have created automation test class [1], for the jira reported at [2].

 This scenario is fixed and can be easily tested manually and verify the
 fix.
 However when running this test scenario using automation test class at
 [1] management console notifications are not generated.

 Further more when try to test the same scenario on the server used for
 the automation test, manual test previously verfied the fix fails as
 notification are not shown in management console UI.

 But if we take the /repository/conf/registry.xml file of
 the server used for the automation test, replace the same file of a fresh
 G-Reg 5.0.0-SNAPSHOT instance, management console notifications are
 generated fine. Therefore fix can be verified.

 Fix for the reported jira can be located at [3].

 Thank you,
 SameeraK.

 [1]
 https://github.com/sameerak/product-greg/blob/REGISTRY-2332_tests/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/carbon/greg/ui/test/notification/TestRegistry2332.java
 [2] https://wso2.org/jira/browse/REGISTRY-2332
 [3] https://github.com/wso2-dev/carbon-governance/pull/22

 --
 *Sameera Kannangara*
 Software Engineer
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 phone: +94719541577
 Lean . Enterprise . Middleware

>>>
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> Dimuthu De Lanerolle
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://wso2.com/
>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>
>>
>
>
> --
> *Sameera Kannangara*
> Software Engineer
> Platform TG; WSO2 Inc. http://wso2.com
> Contact:
> phone: +94719541577
> Lean . Enterprise . Middleware
>



-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JSPException while including path '/archiveui/list_jobs.jsp'

2014-11-09 Thread Bhathiya Jayasekara
Hi Ayash,

It's basically like a CNF exception. Make sure you have
*org.wso2.carbon.bam.cassandra.data.archive.stub.CassandraArchivalServiceRegist*
*ryException* class at runtime. Sometimes when you build the stub, build
completes successfully, but with some errors, which can lead to lose
classes inside stub jar. You can extract the stub jar and make sure class
is there. If it is there already, use OSGi console to confirm if the bundle
is active. Hope this helps.

Thanks,
Bhathiya


On Sun, Nov 9, 2014 at 1:05 PM, Ayash  wrote:

> Hi,
>
> Does anybody have an idea about the following issue?
>
> I added the page /archiveui/list_jobs.jsp page attached to the
> org.wso2.carbon.bam.cassandra.data.archive.ui component. After adding it to
> the product I am having the following runtime issue.
>
> [2014-11-09 12:57:00,559] ERROR
> {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException while
> including path '/archiveui/list_jobs.jsp'.
> javax.servlet.jsp.JspException: ServletException while including page.
> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
> at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
> at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
> at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
> at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
> at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
> at
> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
> at
> org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
> at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
> at
> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
> at
> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
> at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.Pr