Jump to content
We've recently updated our Privacy Statement, available here ×

sushobhan.b

Members
  • Posts

    24
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by sushobhan.b

  1. Hi All, I am using jrs-rest-java-client in my project. i am using jasperclient suthenticate to authenticate my jasperserver. JasperserverRestClient client = new JasperserverRestClient(configuration);Session session = client.authenticate(System.getProperty(ReportConstants.REPORT_USER), password) while using authenticate its conflicting with jboss resteasy client as few classes are similar , please help how to resolve this.
  2. Hi I am not able to get specific request-id by passing reportURI. below is my uri /jasperserver/rest_v2/reportExecutions?reportURI="/PID/Size_Details_Report" I am getting below error <?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorDescriptor><errorCode>generic.error.message</errorCode><errorUid>f3c1f18d-e917-4a28-bfcf-12f860c8a5c6</errorUid><message>There was an error on the server. Try again or contact site administrators. (Error UID: f3c1f18d-e917-4a28-bfcf-12f860c8a5c6)</message></errorDescriptor> If i use only /reportExecutions, it is listing all running reports, i want specific requst id. Please, someone, provide me the solution
  3. How can i get specific request id from excution details if i am running same report at same time with different users. My requiremnt is i need to store request id for each running reports and need to stop if rewuired by provining that request id. Please some one help me.
  4. @vchiem Yes I know about those formats, but when I am trying to get the report executions using this URI i am not getting anything. http://:/jasperserver[-pro]/rest_v2/reportExecutions Is anything i have to mention in XML properties?
  5. Hi All, I am getting values for jasper server like http://<host>:<port>/jasperserver[-pro]/rest_v2/resources but i am not geting running reports using below commands. http://<host>:<port>/jasperserver[-pro]/rest_v2/reports http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions Do i need to modify anything in server to work those coomand ?please help. Thanks
  6. Hi All, I am running reports from the application side, some reports are taking time, i am not able to see those running reports in jasperserver if i open the url , do i need to enable some configuration to check those report running status? Any help will be appreciated. version 6.4 Thanks
  7. Hi All, I am getting below data from my json and showing in report. the first field is size code and second one is the price. My requirement is to print the data with ranges: expected o/p should be XXS-XL 9.24 that's it.how I can achieve this in jasper please help.
  8. Hi , i have below json data "sizePrices": [ { "createUser": "", "createDate": "2019-01-15T04:40:24.478Z", "updateUser": "", "updateDate": "2019-01-15T04:43:50.754Z", "cargoHandoverPrice": 1.66, "sizeCode": "Adult", "sizeNumber": 120, "keySizeScaleCode": "INT" }, { "createUser": "", "createDate": "2019-01-15T04:40:24.478Z", "updateUser": "", "updateDate": "2019-01-15T04:43:50.755Z", "cargoHandoverPrice": 0.00, "sizeCode": "Youth", "sizeNumber": 110, "keySizeScaleCode": "INT" } i need to print like this below: cargo price 1 cargo price 2 1.66 0.00 its only printing first value, any help would be appreciable
  9. Hi All, I have a subreport which is populating data using json url. for json URL i am using a data adapter and subreport is also sing same. Below is my data adaapter file. <?xml version="1.0" encoding="UTF-8" ?><jsonDataAdapter class="net.sf.jasperreports.data.json.JsonDataAdapterImpl"> <name>Remote_JSON_Data_Adapter </name> <dataFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="httpDataLocation"> <method>GET</method> <url>http://xxx.com/api/v1/pricelists/</url> <username>techUser</username> <password>mDNWqaff7sRmbwqQ8m</password> </dataFile> <language>json</language> <useConnection>true</useConnection> <timeZone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://java.sun.com" xsi:type="java:java.lang.String"> Asia/Calcutta </timeZone> <locale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://java.sun.com" xsi:type="java:java.lang.String"> en_IN </locale> <selectExpression></selectExpression></jsonDataAdapter>[/code]and in subreport using data dapter property: <property name="net.sf.jasperreports.data.adapter" value="repo:/PID/Remote_JSON_Data_Adapter"/[/code]My question is. how i can pass a ID to data adapter from subreport like below: so that url can be formed like : http://xxx.com/api/v1/pricelists/{ID}. Please help
  10. How to pass username and password along with json datasource URL in jasper if i am using json datasource in subreport to get some json data using that URL. In main report. <subreport> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JsonDataSource("http://172.16.94.11:8081/api/v1/colorways/32a71f8d-15d67699834-UFXQ1MzCfpneWo1Vnqn-nQ/", "")]]></dataSourceExpression> to access URL we need to give username password,if i pass username password like below directly in browser it works, but through jasperserver it guves HTTP 201 error. http://username:pasword@172.16.94.11:8081/api/v1/colorways/32a71f8d-15d67699834-UFXQ1MzCfpneWo1Vnqn-nQ Please help ASAP
  11. My main report is taking data from Database, in that need one column data from remote-json-data-source,How to achieve this in jasper.
  12. how to reduce pdf with images report size? pdf.compressed properties in jasper not working. i have few images in the pdf.if image size is more than 1 mb.pdf size also getting huge.
  13. Hi All, I have a main report which is password protected net.sf.jasperreports.export.xls.password. i have subreport in that.but its editable even though in subreport also i mentioned the property net.sf.jasperreports.export.xls.password. anyone can help would be appreciated.
  14. I have a main report .in detail band i have adde 3 subreport. subreport 1 subreport 2 subreport 3 subreport executes only 1 time subreport 2 can generate multiple times(multiple pages) subreport 3 generates after subreport 2 generates if i have to pass subreport 2 last page number to subreport 3 to print page number in subreport 3 how to possible?
  15. Suppose i have to show a shoe with more than 10 colors printed in that shoe material. so for first page all shoes will come with 3 colors next page again shoe name will be repeated but with remaining 7 colors.so on image sample is given above
  16. I dont see any properties like org.quartz.threadPool.threadCount in jasper6.4.3
  17. Description: Suppose i want to restrict maximum 5 users to run a specific report at a time.If 6th user tries same report then it should wait till one(from first five) execution ends. Please suggest any configuration is therre in jasper server to handle this.
  18. How to print currency symbol if i pass locale in report and i am getting currency code in sql
×
×
  • Create New...