Jump to content

Recommended Posts

Posted

I installed the community edition jasperserver 5.5.0 from the war distribution onto Glassfish 4 using MySQL.  The installation script ran without errors, and after fixing a missing jdbcDataSourceClass entry in default_master.properties, the deployment also succeeded with no further errors.  However when accessing the url http://servername:8080/jasperserver, I got multiple "internal server errors".  The server log pointed back to null pointer errors in the java files for login.jsp, container_jsp, and controlsearchLockup.jsp (so far).  I tracked down several of these in sequence, which were all caused by undefined object parameters referenced in these jsp pages.  I stuffed definitions for these parameters into the jsp files:

isAwsMpProduct
isProductEditionFreeOrLimited
isReportRunsLimitReached
isRunsAboveWarningThreshold
swipeScroll
isIPad
 
and now the webpage comes up and I'm able to log in as jasperadmin.  However it appears there are still many places where more errors of this type will occur as I access other parts of the application.  I'm guessing there's a common cause; can anyone clarify where these values get set initially and what might be missing in my setup?
 
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Your issues are very likely caused by a conflict in Glassfish 4.  Glassfish is not certified for the community edition and only for versions 2.1, 3.0, and 3.1.2 for the commercial edition.  http://www.jaspersoft.com/sites/default/files/Jaspersoft%20Platform%20Support%20V5.5.pdf

Posted

Thanks, I did try installing to Glassfish 3.1.2 and got exactly the same errors.  I didn't realize that no versions of Glassfish are supported on the community edition, the document you pointed me to doesn't appear to be referenced anywhere on the website or inside other server documentation.

I also tried using the .exe install with Postgres and tomcat.  I got through login on that without any hitches but then hit many errors when I tried to exercise any part of the app.  I'll try that path again...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...