d.taillade
Members-
Posts
10 -
Joined
-
Last visited
d.taillade's Achievements
-
Hello, thanks for your help. With your message I understand that Jasper create files in different directory ... So I copy my workspace and I delete all Jasper directories. After uninstall and install, Jasper launch !!! :D Many thanks !
- 1 comment
-
- feeds
- article
-
(and 76 more)
Tagged with:
- feeds
- article
- require login
- ad hoc
- require login
- require login
- excel
- custom excel layout
- dashboard designer
- dashboard
- require login
- jasperreports library
- variables
- require login
- jasperreports server
- require login
- localization
- jasperreports server
- timezones
- require login
- ireport designer
- pagebreak
- require login
- jasperreports server
- v5.6
- scheduler
- restrict editing to staff
- jaspersoft studio
- logging
- troubleshooting
- ireport designer
- jrxml
- jasperreports library
- faq
- tomcat
- tutorials
- jasperreports server
- configuration
- scheduler
- restrict editing to staff
- html
- web services
- how to
- exporting
- jasperreports server
- faq
- rest api
- how to
- ad hoc
- jasperreports server
- date
- restrict editing to staff
- jaspersoft studio
- jasperreports server
- tutorials
- xml
- how to
- datasource
- jasperreports server
- jaspersoft studio
- variables
- expressions
- tutorials
- restrict editing to staff
- installation
- crosstab
- getting started
- tomcat
- ireport designer
- postgresql
- installation
- jasperreports server
- restrict editing to staff
- aws
- dashboards
- domains
- aws
- calc
-
Hello, In recent days, I can not run Jasper Studio anymore. I precise that Jasper has already worked on my computer without problems. I thought it was a problem between the Jasper version and the Java version (8). So I installed the new version of Jasper. But it's the same, it's freezing! Can anyone help me ? Many thanks in advance. Delphine
-
TJasperServerExec : run report in Talend with parameter
d.taillade replied to d.taillade's topic in Products
Hello, it doesn't work with "http://localhost:8080/jasperserver/rest_v2/reports/reports/TestFactures/facture.pdf?j_username=myusername&j_password=mypassword&WITH_NUMFACT=1&IN_NOTIN=0&NUMFACT=161102523&output=pdf" I tested with API Chrome : Advanced Rest Client this URL and the status is OK In response Header : In raw, I have lots of text (perhaps the pdf contains ?) When I tested with Talend, I remove checkbox "Convert Response to DOM Document" and I get the same result in the field "String" If it's the PDF, how can I save in a file ? Thanks in advance for your help ! -
TJasperServerExec : run report in Talend with parameter
d.taillade replied to d.taillade's topic in Products
Thanks for your answer. But in my uri, I allready add authentication : http://localhost:8080/jasperserver/rest_v2/reports/reports/TestFactures/facture.pdf?j_username=myusername&j_password=mypassword (I tested without I got an error of authentication) Any other idea ? -
TJasperServerExec : run report in Talend with parameter
d.taillade replied to d.taillade's topic in Products
Thanks for your answer. So I tested tRestClient but it doesn't work (I don't know how to set it ...) My report is published on server, in Reports/TestFactures, and it's called "facture". When I want to execute it via URL to generate a PDF, I do : http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&ParentFolderUri=/reports/TestFactures&reportUnit=/reports/TestFactures/facture&decorate=no&WITH_NUMFACT=1&IN_NOTIN=0&NUMFACT=161102523&output=pdf and it's worked ! In Talend, I use tRestClient. In parameter I do : URL : "http://localhost:8080/jasperserver/rest_v2/reports/reports/TestFactures/facture.pdf?j_username=myusername&j_password=mypassword" Parameters : I write the parameters of my URL with values (WITH_NUMFACT, IN_NOTIN and NUMFACT) I don't know if to write other marameters. When I execute this, I get the error : "No message body reader has been found for class org.dom4j.Document, ContentType: text/html;charset=UTF-8" I read lots of forums and the "JasperReports Server Web Service Guide" but I don't manage to do it ... and I don't understand how generate the PDF and save it on server or anywhere. Do you have some examples, tutorials, ... ? Thanks in advance for your help ! -
Hello, I need to run a report with parameters calculated in Talend. I found the plugin tJasperServerExec and I read the tutorial http://community.jaspersoft.com/wiki/tjasperserverexec-tutorial But I get this error : [iNFO ]: org.apache.commons.httpclient.HttpMethodDirector - Redirect requested but followRedirects is disabledAxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (302)D�plac� Temporairement faultActor: faultNode: faultDetail: {}:return code: 302{http://xml.apache.org/axis/}HttpErrorCode:302(302)D�plac� Temporairement at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366)[WARN ]: org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. at org.apache.axis.client.Call.invoke(Call.java:1812) at com.jaspersoft.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:193) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:390) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:311) at test1.jasper_0_1.jasper.tFileInputDelimited_2Process(jasper.java:577) at test1.jasper_0_1.jasper.runJobInTOS(jasper.java:975) at test1.jasper_0_1.jasper.main(jasper.java:832)Exception in component tJasperServerExec_1AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (302)D�plac� Temporairement faultActor: faultNode: faultDetail: {}:return code: 302{http://xml.apache.org/axis/}HttpErrorCode:302(302)D�plac� Temporairement at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.jaspersoft.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:193)[statistics] disconnected at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:390) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:311) at test1.jasper_0_1.jasper.tFileInputDelimited_2Process(jasper.java:577) at test1.jasper_0_1.jasper.runJobInTOS(jasper.java:975) at test1.jasper_0_1.jasper.main(jasper.java:832)[/code]Is anyone can help me ? Thanks in advance !
-
Thanks for your answer ! So I'll try with nested conditionals.
- 3 replies
-
- query
- parameters
-
(and 1 more)
Tagged with:
-
Hello, I need to mix parameter $P and $P! in query to do a single report. But I don't manage, I have an errror in query. I have a first parameter "WITH_NUMFACT" and according to it I do : if 1 then numfact = param_numfactelse tri = param_tri and another substitutionHere the query parameter (Q_WITH_NUMFACT) : ($P{WITH_NUMFACT} == 1) ? " AND FACTUR_MAITRE.NUMFACT = $P{NUMFACT} " : " AND FACTUR_MAITRE.FLAG_TRI >= nvl( $P{TRI} ,1) $P!{Q_IN_NOTIN}"[/code]And in my query I do : SELECT my_columns FROM my_table WHERE 1=1 $P!{Q_WITH_NUMFACT}[/code]If I show the parameter Q_WITH_NUMFACT, the result is : AND FACTUR_MAITRE.FLAG_TRI >= ((java.lang.Integer)parameter_TRI.getValue()),1)$P!{Q_IN_NOTIN}[/code]The system doesn't translate the parameters. How do it ? Many thanks in advance for your help !!
- 3 replies
-
- query
- parameters
-
(and 1 more)
Tagged with:
-
I try a last pilot : jconn4.jar and it's OK !! (on Jasper Server and Jasper Studio) In Jasper Studio, it's not possible to see tables of database but I can create query ...
-
Hello, I try to connect to my Sybase database in Jasper Studio and I can not. I put the jtds.jar in classpath (I test also with jconn3) but I have the same error : net.sf.jasperreports.engine.JRRuntimeException: java.lang.ClassNotFoundException: com.sybase.jdbc4.jdbc.SybDriver cannot be found by net.sf.jasperreports_6.3.1.final I try also with Jasper Server. I copy the .jar in C:JaspersoftServerjasperreports-server-cp-6.3.0apache-tomcatwebappsjasperserverWEB-INFlib, I restart my server. Then I create a new datasource using the Sybase pilot, but I have this error : Has anyone an idea ? Many thanks in advance !