# JasperReport

**URL:** <https://forum.servoy.com/t/jasperreport/9526>\
**Category:** Classic Servoy\
**Created:** [September 2, 2008, 4:46pm UTC](https://forum.servoy.com/t/jasperreport/9526 "2008-09-02T16:46:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://forum.servoy.com/u/pcm)\
**Post date:** [September 2, 2008, 4:46pm UTC](https://forum.servoy.com/t/jasperreport/9526/1 "2008-09-02T16:46:02Z")

</div>

Hi All,

How can i set Report Directory for JasperReport plugin in servoy 4.0.1?

Thanks  
Prem

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [September 2, 2008, 6:15pm UTC](https://forum.servoy.com/t/jasperreport/9526/2 "2008-09-02T18:15:42Z")

</div>

In 4.0 you can acces the properties of plugins through the admin pages

Paul

---

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://forum.servoy.com/u/pcm)\
**Post date:** [September 3, 2008, 10:38am UTC](https://forum.servoy.com/t/jasperreport/9526/3 "2008-09-03T10:38:31Z")

</div>

Thanks Paul, it works in developer… ![:D]( "Very Happy")

How jasperReport work on the servoy smart client? i have to read report from the server…???

Thanks  
Prem

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [September 3, 2008, 2:24pm UTC](https://forum.servoy.com/t/jasperreport/9526/4 "2008-09-03T14:24:21Z")

</div>

Reports need to be located on the server in the directory you configured and then you just call the jasperReport function in a method and it’ll just work ![:-)]( "Smile")

Paul

---

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://forum.servoy.com/u/pcm)\
**Post date:** [September 3, 2008, 2:30pm UTC](https://forum.servoy.com/t/jasperreport/9526/5 "2008-09-03T14:30:21Z")

</div>

> pbakker:  
> Reports need to be located on the server in the directory you configured and then you just call the jasperReport function in a method and it’ll just work

i did the same thing… but when i lunching smart client on other system or the same system… the JaperReport is not showing on client…

here it is my method

> function btn\_runJasperReport()  
> {  
> plugins.jasperPluginRMI.jasperReport(‘udm’,‘report.jrxml’, null, ‘view’, null);
> 
> }

Thanks  
Prem

---

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [September 17, 2008, 9:51pm UTC](https://forum.servoy.com/t/jasperreport/9526/6 "2008-09-17T21:51:18Z")

</div>

I think I’m experiencing the same issues as the original poster. My Jasper report is working fine when run from the Developer debug client, but does not work when run from the Smart Client launched from the Servoy app server. No errors are logged anywhere so it is very difficult to troubleshoot. The the debug client launched from Developer will generate a PDF in the location specified as expected, but the Smart Client will not work. Any other Jasper users experiencing anything like this?

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [September 18, 2008, 4:35am UTC](https://forum.servoy.com/t/jasperreport/9526/7 "2008-09-18T04:35:51Z")

</div>

Is your Reports directory set? And the file is not created in that directory on the Client machine?

Paul

---

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://forum.servoy.com/u/pcm)\
**Post date:** [September 18, 2008, 6:04am UTC](https://forum.servoy.com/t/jasperreport/9526/8 "2008-09-18T06:04:46Z")

</div>

Hi Pual,

> pbakker:  
> Is your Reports directory set?

Ya Report directory is set.

> pbakker:  
> And the file is not created in that directory on the Client machine?

Yes, file is not creating in same directory on the Client machine.

Thanks  
Prem

---

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [September 18, 2008, 2:43pm UTC](https://forum.servoy.com/t/jasperreport/9526/9 "2008-09-18T14:43:41Z")

</div>

Paul,

In my situation, I have the reports directory configured via the server admin page.

I am attempting to create the file in another location on the client machine, not to the reports directory. When testing this on the server machine, using the debug client in Servoy Developer, it all works fine. When testing in the regular Smart Client, again from the server, it doesn’t create the PDF. It also does not work in Smart Client from another machine hitting my server.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [September 19, 2008, 9:41am UTC](https://forum.servoy.com/t/jasperreport/9526/10 "2008-09-19T09:41:34Z")

</div>

Can you please create a case of this at the google code site for the plugin, with as much detail as possible?

Then we can check it out.

Paul

---

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [September 22, 2008, 6:32pm UTC](https://forum.servoy.com/t/jasperreport/9526/11 "2008-09-22T18:32:41Z")

</div>

Paul,

> Can you please create a case of this at the google code site for the plugin, with as much detail as possible?

Just posted it: [http://code.google.com/p/servoy-jasperr … etail?id=5](http://code.google.com/p/servoy-jasperreports-plugin/issues/detail?id=5)
