[Dev] [BPS] JSP files in web folder of a human task package

2015-12-08 Thread Praminda Jayawardana
Hi All, API Manager human task packages doesn't contain the *web* directory. I think its because task management is done through the admin-dashboard in APIM. When accessing human task list from BPS admin console, following warning is visible in the UI with the exception [1] in BPS console log.

Re: [Dev] [BPS] JSP files in web folder of a human task package

2015-12-08 Thread Hasitha Aravinda
In API manager usecase, you have separate web app to perform human tasks operations, so those JPS are not required. IIRC that web app has very basic functionalities. If you need to perform business administrator functions (delegate, suspend etc) , you have to use either BPS management console or

[Dev] APIM 1.10.0 Error when trying to generate keys

2015-12-08 Thread Suhan Dharmasuriya
Hi, We are running tests on a distributed cluster setup and we are using mysql as our database. We took the latest build from jenkins [1]. When we try to generate a key, we are getting the following error [2] on our keymanager instances. [1]

Re: [Dev] What's the recommended Dashboard designer component to be used?

2015-12-08 Thread Ayesha Dissanayaka
Hi Prabath, These dashboard related component are coming from carbon-dashboards. And please note that we have renamed UES to DS (Dashboard Server) hence UES 1.0 code base is bit outdated. You can find the carbon-dashboards component source at [01] and DS product at [2]. [01]

Re: [Dev] APIM 1.10.0 Error when trying to generate keys

2015-12-08 Thread Nuwan Dias
It seems like the DB schema you are using is outdated. The column USER_DOMAIN was added recently by the IS folks. Thanks, NuwanD. On Tue, Dec 8, 2015 at 3:25 PM, Suhan Dharmasuriya wrote: > Hi, > > We are running tests on a distributed cluster setup and we are using mysql > as

Re: [Dev] [BPS] JSP files in web folder of a human task package

2015-12-08 Thread Milinda Perera
Hi Praminda, Adding .jsp files are not mandatory. But If you are using humantask client app embedded management console you must add those .jsp files to render. As another method you can add Humantask rendering in .ht config and use humantask-explorer jaggerry app to view tasks in BPS 3.5.0

[Dev] What's the recommended Dashboard designer component to be used?

2015-12-08 Thread Prabath Abeysekera
Hi Manu/UES team, I'm seeing two different versions of dashboard designers are being used in UES 1.0 and CEP 4.0.0. Which one do I pick to be shipped with EMM 2.0? Cheers, Prabath -- Prabath Abeysekara Technical Lead WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471

[Dev] [BPS][BPMN] New REST API for BPMN statistics

2015-12-08 Thread Natasha Wijesekara
Hi , Currently the statistics generated for the bpmn-explorer is generated using jaggery. When the work load is high, the bpmn-explorer takes a longer time to generate these statistics which causes performance issues. As a solution I am working a new stats REST api to generate these statistics

Re: [Dev] What's the recommended Dashboard designer component to be used?

2015-12-08 Thread Prabath Abeysekera
Hi Ayesha, Great! Thanks for the prompt response!. Cheers, Prabath On Tue, Dec 8, 2015 at 2:41 PM, Ayesha Dissanayaka wrote: > Hi Prabath, > > These dashboard related component are coming from carbon-dashboards. > And please note that we have renamed UES to DS (Dashboard

Re: [Dev] [DEV] Error in loading throttling policy - two layer throttling

2015-12-08 Thread Ishara Cooray
That trick worked for me. Thanks Sanjeewa. Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Tue, Dec 8, 2015 at 2:28 PM, Sanjeewa Malalgoda wrote: > Can you copy and paste default policy

Re: [Dev] [DEV] Error in loading throttling policy - two layer throttling

2015-12-08 Thread Sanjeewa Malalgoda
Can you copy and paste default policy file(default policy) and do same one time and let us know feedback. For me this is more like configuration policy error. Thanks, sanjeewa. On Tue, Dec 8, 2015 at 12:31 PM, Ishara Cooray wrote: > I have implemented a custom throttle

Re: [Dev] [FB Connector] (#324) Requires upload file when try to add a photo to a page via FB Connector

2015-12-08 Thread Thusitha Thilina Dayaratne
Hi All, I was able to post a photo to a page using photoUrl parameter. But when I'm trying to upload a image with multipart/form-data I'm getting same error. {"error":{"message":"(#324) Requires upload file","type":"OAuthException", "code":324,"fbtrace_id":"BgISg8XM9PN"}} Can someone help to

[Dev] Issue while indexing pdf files.

2015-12-08 Thread Lakshman Udayakantha
Hi, Some pdf files gives below error while indexing. ERROR - PDFIndexer Failed to write to the index java.io.IOException: Error: expected hex character and not :32 at org.fontbox.cmap.CMapParser.parseNextToken(CMapParser.java:283) According to [1], this issue is there in pdfbox which used

Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-08 Thread Udani Weeraratne
Hi Roshan, I followed the steps from the sample and was able to obtain the output as shown in the documentation. The only possibility to obtain records as shown in your output is when you just persist the stream without enabling the Persist Attribute field under Payload Data Attributes. But then

Re: [Dev] [FB Connector] (#324) Requires upload file when try to add a photo to a page via FB Connector

2015-12-08 Thread Malaka Silva
Keertika try debugging [1] [1] https://github.com/wso2/wso2-axis2/blob/master/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java On Tue, Dec 8, 2015 at 4:41 PM, Keerthika Mahendralingam wrote: > Hi All, > > When we try to upload the file using

Re: [Dev] [FB Connector] (#324) Requires upload file when try to add a photo to a page via FB Connector

2015-12-08 Thread Nipuna Chandradasa
Hi, I happened to come across a similar scenario when writing a jaggery test case. What i did was i wrote the whole curl message send by the browser when uploading a multipart/form-data. You can find the code at [1]. [1].

Re: [Dev] [BPS][BPMN] New REST API for BPMN statistics

2015-12-08 Thread Vinod Kavinda
[Adding Architecture group] On Tue, Dec 8, 2015 at 2:45 PM, Natasha Wijesekara wrote: > Hi , > > Currently the statistics generated for the bpmn-explorer is generated > using jaggery. When the work load is high, the bpmn-explorer takes a > longer time to generate these

[Dev] Carbon Parent 2 Released

2015-12-08 Thread Aruna Karunarathna
Hi Devs, Please note the $subject. org.wso2 wso2 2 All C5 based products now can be moved to new carbon-parent. New Additions. [i]. Parameterized maven bundle plugin strategy. Sample can be found in [1] [ii]. Update of maven plugins and dependencies to latest

Re: [Dev] [FB Connector] (#324) Requires upload file when try to add a photo to a page via FB Connector

2015-12-08 Thread Keerthika Mahendralingam
Hi All, When we try to upload the file using multipart/form-data the header is set as *Content-Type: multipart/form-data; charset=UTF-8; boundary=MIMEBoundary_9e11cd10389246e6cd91ff115cb91b2666f41fd50a407413. * Because of charset=UTF-8 we are getting the error. I tried to remove that by setting

Re: [Dev] APIM 1.10.0 Error when trying to generate keys

2015-12-08 Thread Suhan Dharmasuriya
Hi, Thanks Nuwan. Yes the pack used for mysql db schema is couple of days old and do not contain USER_DOMAIN field. We updated the database using latest build pack dbscripts and was able to solve the issue. Thanks, Suhan On Tue, Dec 8, 2015 at 3:26 PM, Nuwan Dias < nuw...@wso2.com > wrote: It

Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-08 Thread Roshan Wijesena
Hi Udani, I can see data if I add them via "Event Stream Simulator". If I upload data via CSV file, data can not be seen. -Roshan On Tue, Dec 8, 2015 at 6:22 AM, Udani Weeraratne wrote: > Hi Roshan, > > I followed the steps from the sample and was able to obtain the output as

[Dev] Using High Performance Collection Libraries To Gain Performance in MB (Interns Research)

2015-12-08 Thread Malaka Gangananda
Hi, As initial step of the $Subject I have tested performance of Javolution data structures against Java.util concurrent data structures.I have replaced SkipList with javolution fast map, it executes size() method which was a performance bottleneck of product, 50 times faster.Also I have

Re: [Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-08 Thread Shakila Sivagnanarajah
Hi Riyafa, This may be caused because of too many requests or due to network issue. Some of the rows are not updated and that calls return 429 unknown status code. The number of failing calls also change time to time. So try with thread sleep in script mediator like [1]. [1]

[Dev] [DAS] Exception when saving Summarised data into Oracle

2015-12-08 Thread Rukshan Premathunga
Hi, One user mentioned that when integrating APIM+DAS, saving summarised data into Oracle Database got following exception. Does anyone know the cause for this? [2015-12-08 13:00:00,022] INFO {org.wso2.carbon.analytics.spark.core.AnalyticsT ask} - Executing the schedule task for:

Re: [Dev] [VOTE] Release WSO2 Developer Studio 4.0.0 RC

2015-12-08 Thread Kavith Lokuhewage
Hi Devs, With the efforts for creating a lean kernel, we have identified a few more components that are not required to be a part of kernel but would make sense to be moved to the core-features section - reducing the size of kernel. Hence, we have done some restructuring to kernel p2

Re: [Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-08 Thread Riyafa Abdul Hameed
Hi Shakila, Thank you very much. It worked without any exceptions for 500 rows. Thanks again, Riyafa On Tue, Dec 8, 2015 at 9:09 PM, Shakila Sivagnanarajah wrote: > Hi Riyafa, > > This may be caused because of too many requests or due to network issue. > Some of the rows are

Re: [Dev] [DAS] Exception when saving Summarised data into Oracle

2015-12-08 Thread Niranda Perera
Hi Rukshan, Seems like a jar is missing in Spark classpath. as a workaround, can you add the following line in the repository/conf/analytics/spark/external-spark-classpath.conf file and see if it works? repository/components/plugins/org.xerial.snappy.snappy-java_1.1.1.7.jar rgds On Tue, Dec

Re: [Dev] Using High Performance Collection Libraries To Gain Performance in MB (Interns Research)

2015-12-08 Thread Asanka Abeyweera
Hi Malaka, Great news. Does FastMap support item ordering? Did you test using the thread safe view (using atomic() ) ? [1] http://javolution.org/apidocs/javolution/util/FastMap.html On Tue, Dec 8, 2015 at 8:46 PM, Malaka

Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Sinthuja Ragendran
Hi Roshan, This jar is basically used as custom UDF for spark to find the country name from the IP for that sample. Thanks, Sinthuja. On Wed, Dec 9, 2015 at 9:26 AM, Roshan Wijesena wrote: > This is the sample [1] > > [1]

[Dev] Error when embedding oauth apps to WSO2 DS

2015-12-08 Thread Lalanke Athauda
Hi Ruwan, Currently I'm in the process of embedding authentication features to DS. I added following lines of codes in modules/distribution/assembly/bin.xml file to include oauth2.war and authenticationendpoint.war apps.

[Dev] Securing HTTP event receiver

2015-12-08 Thread Udara Rathnayake
Hi, Can we do the $subject? After creating a HTTP event receiver[1] within DAS, anyone with the EP and the stream definition can publish events. Is there any possibility to accept events from a single authorized party? [1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver Regards,

[Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
Hi I am trying to understand why we use org.wso2.das.samples.geoip-3.0.0-SNAPSHOT.jar library in this example? What is the purpose of it? -Roshan -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94719154640* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com *

Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Rukshani Weerasinha
Thank you Sinthuja, I will mention this reason in the documentation as well. On Wed, Dec 9, 2015 at 10:42 AM, Roshan Wijesena wrote: > Thanks Sinthuja > > On Tue, Dec 8, 2015 at 11:01 PM, Sinthuja Ragendran > wrote: > >> Hi Roshan, >> >> This jar is

Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Maninda Edirisooriya
And also note that this is not using any online service to resolve IP addresses but uses a dataset resource included inside the sample to resolve them. On Wed, Dec 9, 2015 at 11:48 AM, Rukshani Weerasinha wrote: > Thank you Sinthuja, > > I will mention this reason in the

[Dev] SAML Signature Validation in "Configuring SSO with SAML 2.0" sample

2015-12-08 Thread Pulasthi Harasgama
Hi, I was following the Single Sign On with SAML 2.0 sample [1] to configure SSO for my web application, and I am having difficulty finding out where the signature in the SAML Token received by travelocity.com is validated. Once the user is authenticated at the identity Server, I think the SAML

[Dev] [ESB] Deprecated features in ESB 4.10

2015-12-08 Thread Kasun Indrasiri
Shall we deprecate following mediators in 4.10 release. *- Callout mediator :* All the callout functionality is supported with 'call' mediator with blocking=true. Having two similar mediators will be create a bit of a confusion. *- DBReport/DBLookup mediator* These mediators offer very limited

Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
Thanks Sinthuja On Tue, Dec 8, 2015 at 11:01 PM, Sinthuja Ragendran wrote: > Hi Roshan, > > This jar is basically used as custom UDF for spark to find the country > name from the IP for that sample. > > Thanks, > Sinthuja. > > On Wed, Dec 9, 2015 at 9:26 AM, Roshan Wijesena

Re: [Dev] SAML Signature Validation in "Configuring SSO with SAML 2.0" sample

2015-12-08 Thread Pushpalanka Jayawardhana
Hi Pulasthi, The validation happens in the sso agent jar which is used by the webapp as a library. Please find the code at [1]. [1] - https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.sso.agent/ [2] -

Re: [Dev] Securing HTTP event receiver

2015-12-08 Thread Lasantha Fernando
Hi Udara, To add to Tharik's reply above, the username, password supplied from the client side will be authenticated against the user store of the particular tenant where the event receiver is configured. i.e. any user in that tenant domain can authenticate using basic auth and send events to the

Re: [Dev] [DAS] Why we use an UDF library in Analyzing HTTPD Logs sample?

2015-12-08 Thread Roshan Wijesena
This is the sample [1] [1] https://docs.wso2.com/display/DAS300/Analyzing+HTTPD+Logs On Tue, Dec 8, 2015 at 9:55 PM, Roshan Wijesena wrote: > Hi > > I am trying to understand why we > use org.wso2.das.samples.geoip-3.0.0-SNAPSHOT.jar library in this example? > What is the

Re: [Dev] Securing HTTP event receiver

2015-12-08 Thread Tharik Kanaka
Hi Udara, I was mistaken in previous mail, it is possible to authenticate with HTTP receiver https mode via 9443 port. When you are creating the receiver make sure that you select https instead of all. Please refer following CEP producer sample [1].

Re: [Dev] Securing HTTP event receiver

2015-12-08 Thread Tharik Kanaka
Hi Udara, There is no authentication take place HTTP receiver as i know. You can achieve authentication if you could use wso2event receiver with thrift. Regards, On Wed, Dec 9, 2015 at 8:10 AM, Udara Rathnayake wrote: > Hi, > > Can we do the $subject? > After creating a HTTP

Re: [Dev] [DAS] Exception when saving Summarised data into Oracle

2015-12-08 Thread Rukshan Premathunga
Hi Niranda, user already fixed it using the same way, by copying the jar to lib folder and it worked. Thanks for the solution. On Wed, Dec 9, 2015 at 9:14 AM, Niranda Perera wrote: > Hi Rukshan, > > Seems like a jar is missing in Spark classpath. > > as a workaround, can you

[Dev] IdentityRuntimeException occurs when try to get information of Service-Provider using carbon-identity-5.0.3

2015-12-08 Thread Harshan Liyanage
Hi, I have configured EMM server to run on Postgres database (postgresql-9.4). I'm getting the below exception mentioning that "Cannot change transaction isolation level in the middle of a transaction" when I try to get the service-provider information using getServiceProvider method defined in

Re: [Dev] IdentityRuntimeException occurs when try to get information of Service-Provider using carbon-identity-5.0.3

2015-12-08 Thread Harshan Liyanage
Hi Maduranga, It worked. Thanks for the help. Thanks, Harshan Liyanage Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com * lean.enterprise.middleware. On Wed, Dec 9, 2015 at 12:15 PM,

Re: [Dev] IdentityRuntimeException occurs when try to get information of Service-Provider using carbon-identity-5.0.3

2015-12-08 Thread Maduranga Siriwardena
Hi Harshan, Same kind of issue reported in [1]. Reason for this and a workaround is provided in [2]. Can you please try the workaround provided in [2]. [1] https://wso2.org/jira/browse/REGISTRY-2276 [2]