Re: [Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Thushara Ranawaka
After adding the repository xml code to the stub pom.xml I got the following log file which include a error message. Currently im using mvn 3.2.3 and i tried to get rid from the error by using mvn 3.0.5 but still it prints the error log. can someone help me on this. Thusharas-MacBook-Pro:org.wso2.

Re: [Dev] Run soap ui projects within maven project

2014-08-24 Thread Waruna Perera
Hi, Right now we are changed the approach on doing this a bit. Since our final task is to run soapuio projects within wso2 product integration tests, we had to write a test case to run soapui projects. You just have to write single test case and give the soapui project files location in the pom.x

Re: [Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Suhan Dharmasuriya
Hi Rajith/Chamila/Thushara, Thanks a lot. It is working now. :) Thanks and Regards, Suhan On Mon, Aug 25, 2014 at 10:59 AM, Thushara Ranawaka wrote: > Thanx rajith aiya.,.:) *now working > > > On Mon, Aug 25, 2014 at 10:50 AM, Rajith Vitharana > wrote: > >> Hi Suhan,Thushara, >> >> Add follo

Re: [Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Chamila De Alwis
Hi Suhan, You need to include references to the WSO2 maven repo. Add these to the parent pom and you should be fine. wso2-nexus WSO2 internal Repository http://maven.wso2.org/nexus/content/groups/wso2-public/ true

Re: [Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Rajith Vitharana
Hi Suhan,Thushara, Add following repositories to the pom.xml file and build it again. wso2-nexus WSO2 internal Repository http://maven.wso2.org/nexus/content/groups/wso2-public/ true daily

Re: [Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Thushara Ranawaka
I got the same issue, Im attaching the full log trance and adding training mail group as well. Could somebody help us? Thusharas-MacBook-Pro:org.wso2.carbon.student.mgt.stub thushara$* mvn clean install -e* [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARN

[Dev] Writing WSO2 carbon component - stub generation error

2014-08-24 Thread Suhan Dharmasuriya
Hi, I was following the tutorial[1] and successfully installed the server instance to carbon. 157 ACTIVE wsdl4j_1.6.2.wso2v4 158 ACTIVE wss4j_1.5.11.wso2v6 159 ACTIVE xmlbeans_2.3.0.wso2v1 160 ACTIVE org.wso2.carbon.student.mgt_4.2.0 when I tried to generate client stubs I'm

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Rajkumar Rajaratnam
Hi, On Mon, Aug 25, 2014 at 9:42 AM, Udara Liyanage wrote: > Hi, > > According to the http spec, response to a POST does not send a response > body. Resource created is set in location header. Client can identify > whether operation is successful by looking at http status code which is 201 > in

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Udara Liyanage
Hi, According to the http spec, response to a POST does not send a response body. Resource created is set in location header. Client can identify whether operation is successful by looking at http status code which is 201 in this case. However there is no hard rule that no response body should be

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Rajkumar Rajaratnam
Hi Udara, Yes you are right. So Jaggery is not handling empty response body? How we can solve it then? Do we have to return something in the body always? Thanks. On Mon, Aug 25, 2014 at 9:24 AM, Udara Liyanage wrote: > Hi Raj, > > According to the code, response is not empty, but is response

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Udara Liyanage
Hi Raj, According to the code, response is not empty, but is response body. Newly created resource url is received as location header. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi

Re: [Dev] [DEV][IS] Guidelines to decide entitlement decision cache expiry time

2014-08-24 Thread Rushmin Fernando
Thanks Gayan ! On Mon, Aug 25, 2014 at 8:59 AM, Gayan Gunawardana wrote: > Hi Rushmin, > > You can get an idea by looking at this link [1]. > > [1] > https://docs.wso2.com/display/IS500/Improving+XACML+PDP+Performance+with+Caching+Techniques > > If you need exact numbers, time durations please

Re: [Dev] [DEV][IS] Guidelines to decide entitlement decision cache expiry time

2014-08-24 Thread Gayan Gunawardana
Hi Rushmin, You can get an idea by looking at this link [1]. [1] https://docs.wso2.com/display/IS500/Improving+XACML+PDP+Performance+with+Caching+Techniques If you need exact numbers, time durations please mention exact use cases. Thanks, On Sun, Aug 24, 2014 at 2:27 PM, Rushmin Fernando wro

[Dev] Fwd: Question about Jaggery with EMM

2014-08-24 Thread Chan
Hi Garcia, In the jaggery app - you need to change jaggery.conf - "logLevel": "debug" Afterwards it will show the debug logs. If it doesn't show any debug logs - can you try to create a plain jaggery app inside the jaggeryapps directory with a jaggery.conf file and see if log level works. I teste

Re: [Dev] What does 'Create Datasource' do in WSO2 SS

2014-08-24 Thread Chan
Thanks guys. Trying to expose a Datasource via DSS. Thought I could copy the content generated for datasources from that file. Would be nice to have a feature in the UI that shows the added datasource in SS. Cheers~ On Fri, Aug 22, 2014 at 11:50 PM, Bhathiya Jayasekara wrote: > Hi Chan, > > Da

[Dev] [BPS][NDATA Source][Activiti Engine] Proposed fix for NData Source causing issues on graceful shut down of Activiti engine.

2014-08-24 Thread Firzhan Naqash
Hi All, We identified the root cause for the JIRA issue [1] . In datasources.properties file, Database connectivity related information are stored in org.apache.commons.dbcp.BasicDataSource class. BasciDataSource class has the following variable{ protected

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Dakshika Jayathilaka
Hi, try with this.. var response = post(endpoint,data,headers, 'text'); *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Aug 24, 2014 at 4:22 PM, Rajkumar Rajaratnam wrote: > Hi Rajith, > > I have already verified that the response is not empt

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Rajkumar Rajaratnam
Hi Rajith, I have already verified that the response is not empty. What we are returning is the URI of the newly created resource. Thanks. On Sun, Aug 24, 2014 at 9:31 PM, Rajith Vitharana wrote: > Hi Rajkumar, > > I have tried out your scenario. AFAIU this happens when your rest response > i

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Rajith Vitharana
Hi Rajkumar, I have tried out your scenario. AFAIU this happens when your rest response is empty. Empty response throws this exception. You can see that your response is empty or not by changing the rest end point and print or logging the final response which is sent back to the jaggery applicatio

[Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Rajkumar Rajaratnam
Hi, I am calling post method from a jaggery app. var response = post(endpoint,data,headers, 'json'); This is calling the following REST API. @POST @Path("/policy/deployment/partition") @Produces("application/json") @Consumes("application/json") @AuthorizationAction( "/permission/protected/manag

[Dev] [DEV][IS] Guidelines to decide entitlement decision cache expiry time

2014-08-24 Thread Rushmin Fernando
Are there any $subject please ? For App Manager we are using IS as the entitlement service provider and there can be a considerable amount of decision requests. -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. - Lean . Enterprise . Middleware email : rush...@wso2.com mobile