linvicch Posted November 24, 2009 Share Posted November 24, 2009 Hi, I have 3 custom jar file which I have added to jasperserver-pro in the directoryjasperserver-pro-3.5\apache-tomcat\webapps\jasperserver-pro\WEB-INF\libThis works fine on development but on production when I add the 3 custom jar lib into the same directory, i receive an error as JS is not picking up the jar lib.Production is on HP-unix and developement is on windows but this can't be the reason right? which script sets JS to look at jasperserver-pro\WEB-INF\lib on start up? Please advice . Link to comment Share on other sites More sharing options...
swood Posted November 25, 2009 Share Posted November 25, 2009 Can you show us the error log? What are the custom JARs doing? If they are for JasperReports scriplets, you can add them to the repository and have them as resources attached to the report units. ShermanJaspersoft Link to comment Share on other sites More sharing options...
linvicch Posted November 25, 2009 Author Share Posted November 25, 2009 this is the error throwngroovy.lang.MissingPropertyException: No such property: VersionHandler for classI would like these methods exposed to all reports thats why I added into the library The report runs fine on ireport and on my local JS prowhat is the best way for me to troubleshoot this? I do not have access to production JS and would like to be able to provide some tips for the administrator to be able to debug this problemThanks you Sherman Post Edited by linvicch at 11/25/2009 00:39Post Edited by linvicch at 11/25/2009 00:49Post Edited by linvicch at 11/25/2009 00:49 Link to comment Share on other sites More sharing options...
swood Posted November 25, 2009 Share Posted November 25, 2009 can you show the stack trace? Sherman Link to comment Share on other sites More sharing options...
linvicch Posted November 25, 2009 Author Share Posted November 25, 2009 Post Edited by linvicch at 11/25/2009 01:27 Link to comment Share on other sites More sharing options...
swood Posted November 25, 2009 Share Posted November 25, 2009 What version of Java are you running on HP-UX? Could be a class loading difference between your Windows and HP-UX environments. Can you show the JRXML? Have you defined an import for VersionManager class? The expression language is set to Groovy, which I think is the default now. It looks like you are using Java as the expression language, though. Can you try setting the expression language to Java in your JRXML and re-deploying the report? ShermanJaspersoft supporting the JasperServer community from Sydney today..... Link to comment Share on other sites More sharing options...
linvicch Posted November 25, 2009 Author Share Posted November 25, 2009 Thank you very much sherman, I will work along these points.I think you are right about the expression language, I have not work with groovy and had always thought it was part of Java :DThank you again :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now