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

npickard

Members
  • Posts

    6
  • 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 npickard

  1. Elizam, thanks, I'll check that. I had restarted the server, but with no luck -I didn't realize I had to edit that xml and properties file (I have a test community server that I'd just copied the jar file over, restarted, and it worked which is where my confusion came from for the pro version). Again, thanks, I'll give that a go!
  2. OK, created a custom expression function, and I have a test version of JasperReports Server 5.2. I copied my jar file to /usr/local/tomcat/webapps/ROOT/WEB-INF/lib and all is good. Now to move to production, we have JasperReports Pro server 5.1 -I copied my jar file to the same location on prod, but now my custom expressions cannot be resolved -is there another place I should be copying my custom expresssion jar to? Or does (gulp) 5.1 not support custom expressions? Thanks
  3. Hozawa, thanks for the response. I've actually got the same versions now -I assume you can't copy that jar using the server web gui interface or Jasper Studio?
  4. Massimo, thanks so much for the reply. So pretty much it looks like I have to have compatible versions of Jasper Reports Server and Jasper Studio.
  5. I'm using Jaspersoft Studio 5.5 and Jasper Reports server 5.2 . In studio, I've created a custom function (http://community.jaspersoft.com/wiki/jaspersoft-studio-expression-editor-how-extend-it-and-contribute-your-own-functions-part-2-0) that shows up in the expression editor. I've created a jar file from this, added it to the classpath of Jaspersoft Studio -and bingo! -I see my custom function in the expression editor. I think it's fine; using preview, it works in studio and I can confirm the custom expression function is correct. I have then populated my report to the server, and of course, the report doesn't work as it does not know about this custom function. So, I uploaded my jar file as a resource and created a link to this jar file in the report using the server web gui, as well as adding this as a resource to the report (again from the web gui). However, it still does not work..... So I have some questions: i. Is this the appropriate way to add custom functionality using a jar file for custom functions referenced in a text field of a report? ii. Can I do all this via Studio to update the server (couldn't find anything about it), or do I need to explicity do this at the server side? iii. Assuming my jar file is correct (and I assume it is as it works in studio) where do I need to put this? Can I use the server web gui to do this? Or do I need to copy it via a command line? Is there a directory on the server I should be copying this jar to? Any suggestions and advice would be welcome!
×
×
  • Create New...