<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html" ><![CDATA[Latest Topics]]></title>
<link href="http://jasperforge.org/" ></link>
<id>urn:uuid:97470fdc-49c0-6856-7500-71cdf2cc3c28</id>
<updated>2012-02-12T05:36:10+00:00</updated>
<author><name></name>
</author>
<entry>
<title type="html" ><![CDATA[mysql connection]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95501" ></link>
<id>urn:uuid:e4d3a477-2a33-c346-dea7-fa62a8d9e496</id>
<updated>2012-02-11T17:44:30+00:00</updated>
<summary type="html" ><![CDATA[<p>Hi</p>
<p>I think/hope this must be an easy question.</p>
<p>I try to have a simple connection to a mysql database.</p>
<p>Creating one for postgres was easy. But I just don't get why mysql doesn't work.</p>
<p>Maybe its a bug. I use xammp</p>
<p>Here're some detail:</p>
<p>com.mysql.jdbc.Driver</p>
<p>jdbc:mysql://localhost:3306/praxisboersesauber</p>
<p>name: root</p>
<p>pw:</p>
<p>&nbsp;</p>
<p>there is no password, maybe thats the problem?</p>
<p>with same config it works well wit dbvusualizer and ireport and so on.</p>
<p>It's a project an it has to be finished in a few days, so I am a little bit desperate :/</p>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[LDAP authentication with sub organization]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95492" ></link>
<id>urn:uuid:c32c6efe-88bf-29a8-0384-237f745ec893</id>
<updated>2012-02-10T16:30:05+00:00</updated>
<summary type="html" ><![CDATA[<p>We have Jasper-pro. In Jasper, we have created the following org structure:</p>
<p>Our_Org (single organizatin)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; SubA</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubA1</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubA2&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; SubB</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubB1</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubB2</p>
<p>In stead of getting Org structure info from LDAP and synchronize, we want the user to type-in the predefined org_name (i.e. SubA, or SubA1)&nbsp; and authenticate the user&nbsp;into that&nbsp;org directly.</p>
<p>Anyone has done this or something similar? My thinking is to&nbsp;pass the org_id from login page&nbsp;to <span lang="EN">defaultOrganizationIfNotDetected in applicationContext-multiTenancy-security.xml... </span>&nbsp;Is it possible? How can it be done? Am I heading down the wrong path? Could someone point me to the right direction, please?&nbsp; Thanks.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[RESTful api support in jasper reports 4.5.0 community version]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95488" ></link>
<id>urn:uuid:043ed920-492f-6bc0-ef98-f31df4143f63</id>
<updated>2012-02-10T14:43:10+00:00</updated>
<summary type="html" ><![CDATA[<p>&nbsp;I was going through the examples in&nbsp;JasperReports-Server-Web-Services-Guide.pdf and all was working until I got to the example on page 24. &nbsp;</p>
<p><span style="font-size: 9.000000pt; font-family: 'CourierNewPSMT'">GET /jasperserver-pro/rest/resource/images/JRLogo?file=attachment HTTP/1.1</span></p>
<p>I entered into my browser:</p>
<p><span style="font-size: 9pt; font-family: CourierNewPSMT; "><a href="http://jasperadmin:jasperadmin@localhost:8080/" target="_blank">http://jasperadmin:jasperadmin@localhost:8080/</a></span><span style="font-family: CourierNewPSMT; ">jasperserver/rest/resource/images/JRLogo?file=attachment</span><span style="font-family: CourierNewPSMT; font-size: 9pt; ">&nbsp; &nbsp;</span></p>
<p>as the example described, but instead of downloading the JRLogo file I was displayed the error message:&nbsp;</p>
<p>
<pre style="word-wrap: break-word; white-space: pre-wrap; ">
request contains unsupported parameters
<br type="_moz" /></pre>
<p><span style="font-family: Arial, Verdana, sans-serif; white-space: normal; ">The only parameter I'm passing is <b>file</b>&nbsp;and the documentation specifically says that it is a parameter that can be passed here.&nbsp; Is this functionality supported in the community version?<br type="_moz" />
</span></p>
<p>Any help would be appreciated, Thanks in advance.</p>
</p>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[why jasper report is running immidiately instead of specified time]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=107&topicid=95483" ></link>
<id>urn:uuid:0ffdd1d3-436f-0411-bb27-0fc996abd123</id>
<updated>2012-02-10T11:24:40+00:00</updated>
<summary type="html" ><![CDATA[<p>Hi,</p>
<p>check the below code. I am making webservice call to schedule a report to run after 5 mins. but this report is running immidiately. how to avoid that??</p>
<p>Thanks.</p><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><b>Code:</b></td></tr><tr><td><pre>JobSimpleTrigger trigger = new JobSimpleTrigger();
            trigger.setOccurrenceCount(1);
            Calendar calendar = Calendar.getInstance();
            System.out.println("current calendar --->" + calendar) ;
            calendar.add(Calendar.MINUTE,5);
             System.out.println("After calendar --->" + calendar) ;
            trigger.setStartDate(calendar);
            trigger.setRecurrenceIntervalUnit(IntervalUnit.fromString(jr.getIntervalUnit()));
            job.setSimpleTrigger(trigger);</td></tr></tbody></table>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[jasper server is running report immidiately instead of specified time]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95482" ></link>
<id>urn:uuid:072c0d72-3caf-3cb9-0c1a-d4899802b293</id>
<updated>2012-02-10T11:23:46+00:00</updated>
<summary type="html" ><![CDATA[<p>Hi,</p>
<p>check the below code. I am making webservice call to schedule a report to run after 5 mins. but this report is running immidiately. how to avoid that??</p>
<p>Thanks.</p><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr><td><b>Code:</b></td></tr><tr><td><pre>JobSimpleTrigger trigger = new JobSimpleTrigger();
            trigger.setOccurrenceCount(1);
            Calendar calendar = Calendar.getInstance();
            System.out.println("current calendar --->" + calendar) ;
            calendar.add(Calendar.MINUTE,5);
             System.out.println("After calendar --->" + calendar) ;
            trigger.setStartDate(calendar);
            trigger.setRecurrenceIntervalUnit(IntervalUnit.fromString(jr.getIntervalUnit()));
            job.setSimpleTrigger(trigger);</td></tr></tbody></table>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Domain Template issue]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95475" ></link>
<id>urn:uuid:3d644908-c986-7044-d251-a47d079e7b9a</id>
<updated>2012-02-10T07:13:58+00:00</updated>
<summary type="html" ><![CDATA[<p>I have created a template for one of my adhoc report domains. Later I changed one database field in the domain.Field A was initially taken from Table A , I changed it to be from table B.</p>
<p>when I tried to re-run the existing template , I got the below error in the jasperserver log.</p>
<p>2012-02-10 06:22:41,236 ERROR ViewAdhocReportAction,[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)':186 - error setting up repo<br />
rt<br />
java.lang.NullPointerException<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.jaspersoft.ji.semantic.service.SemanticDataService.rdq(SemanticDataService.java:832)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.jaspersoft.commons.semantic.impl.SchemaImpl.getResourceObjectById(SchemaImpl.java:365)<br />
&nbsp;</p>
<p>&nbsp;</p>
<p>Please help to resolve the issue.</p>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Converting Collection parameter value to SQL-IN clause]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95466" ></link>
<id>urn:uuid:a0b71cb3-d71d-ccbc-f9e8-bf6f3bcf5579</id>
<updated>2012-02-09T21:28:08+00:00</updated>
<summary type="html" ><![CDATA[<p>This is really a postgres question but I thought I'd post it here because it starts with a Collection object in a report parameter. If I take that collection and say if my collection contains values 1,2,3 and 4 and I do this:</p>
<p>$P{myCollection}.toString()</p>
<p>The string output from that looks like [1, 2, 3, 4]</p>
<p>I'd like to take that and convert it to something like:</p>
<p>WHERE myTableField IN ('1', '2', '3', '4')</p>
<p>This is similar to what Jasper seems to do in the report query anyway but I have a use case where I need to do this myself. I have this select for postgres that gets me close but it doesn't quite work:</p>
<p>select translate(translate(translate('[1, 2, 3, 4]', '[', ''''), ']', ''''), ', ', ',''') as value</p>
<p>Which outputs this in Postgres 9.1:</p>
<p>'1,'2,'3,'4'</p>
<p>I'm still missing the second quote on the inner numbers and I don't understand why because the last translate function should handle this correctly. I think anyway. Has anyone else done this?</p>
<p>&nbsp;</p>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Java Server Postgresql JDBC]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95462" ></link>
<id>urn:uuid:a4936665-e3d6-d1b4-2d4e-cf488b8b82d9</id>
<updated>2012-02-09T19:34:04+00:00</updated>
<summary type="html" ><![CDATA[<table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
        <tr>
            <td align="left"><span class="msgtitle">Jasper server </span> <span title="02/08/2012 20:22" class="msgdate">02/08/2012 20:22</span></td>
            <td align="right"><span class="msgkarma"> 				                             &nbsp;                             </span></td>
        </tr>
        <tr>
            <td valign="top" colspan="2">
            <div class="msgtext">
            <p>Hi all</p>
            <p>&nbsp;</p>
            <p>I publish a report to the Jasper Server and it is not working as expected</p>
            <p>The report uses a jdbc connection against a Postgresql DB.</p>
            <p>The error message on the server log is this one:</p>
            <p>Error Message<br />
            <br />
            com.jaspersoft.jasperserver.api.JSExceptionWrapper: Error executing SQL statement for : report1<br />
            Error Trace<br />
            <br />
            com.jaspersoft.jasperserver.api.JSExceptionWrapper:  net.sf.jasperreports.engine.JRException: Error executing SQL statement  for : report1 at  net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:229)  at  com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuter.createDatasource(JRTimezoneJdbcQueryExecuter.java:167)  at  com.jaspersoft.commons.util.JSControlledJdbcQueryExecuter.createDatasource(JSControlledJdbcQueryExecuter.java:113)  at  net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:</p>
            <p>So I double checked&nbsp; the postgresql logs and I foud that the jasper server is sending this statement to the postgresql DB inf front of our function call</p>
            <p>SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY (this creates a lock on the tables involved in the function)</p>
            <p>The function is dropping and creating some tables</p>
            <p>&nbsp;</p>
            <p>So that makes the function we are calling to fail.</p>
            <p>How can we disable it ?</p>
            <p>It is something in the jdbc driver?</p>
            <p>The reports works ok in the Ireport designer.</p>
            <p>Thanks</p>
            <p>&nbsp;</p>
            </div>
            </td>
        </tr>
    </tbody>
</table>]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Jar files on server]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95457" ></link>
<id>urn:uuid:332a9524-3c53-4949-58c6-120dfc9b85d0</id>
<updated>2012-02-09T18:24:30+00:00</updated>
<summary type="html" ><![CDATA[<p>Hello all, </p>
<p>I have a report with parameters using customized class. Report is working fine in i-report and jasper server reporsitory plugin too.&nbsp; </p>
<p>I have added my .jar file that contains the class in "Add resources" section of server. But when I am running its throwing me an error saying "Error evaluating expression $P{dateUtils}.getEndDate( $P{DateChoice}, $P{Time_Interval}, $P{InputDate})". In the parameter I have specified the class which is com.redhat.eng.JasperDateUtils.</p>
<p><parameter name="dateUtils" class="com.redhat.eng.JasperDateUtils" isForPrompting="false"><br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <defaultValueExpression><![CDATA[com.redhat.eng.JasperDateUtils.getInstance()]]></defaultValueExpression><br />
&nbsp;&nbsp;&nbsp; </parameter><br />
&nbsp;&nbsp;&nbsp; <parameter name="endDate" class="java.util.Date" isForPrompting="false"><br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <defaultValueExpression><![CDATA[$P{dateUtils}.getEndDate( $P{DateChoice}, $P{Time_Interval}, $P{InputDate})]]></defaultValueExpression><br />
&nbsp;&nbsp;&nbsp; </parameter></p>
<p>I am wondering why is it not working in japser server. Most probably, it is not able to get the classpath. </p>
<p>&nbsp;</p>
<p>Please help... </p>
<br />]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Need some serious help with iReport and jasper.]]></title>
<link href="http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=95443" ></link>
<id>urn:uuid:fd453f61-2fda-1ca3-abbc-2b1981a05e53</id>
<updated>2012-02-09T14:25:50+00:00</updated>
<summary type="html" ><![CDATA[<p>Hi Guys</p>
<p>I have a huge problem, when I run my report in iReport it works fine but when I run it in jasper it says the report is empty.</p>
<p>&nbsp;</p>
<p>Any suggetions? Please Guys.</p>
<p>&nbsp;</p>
<p>Thanks</p>]]></summary>
</entry>
</feed>
