Jump to content
We've recently updated our Privacy Statement, available here ×
  • Changing Java options on Windows bundled version of JasperReports Server


    kcollins
    • Features: JasperReports Server Version: v5.0.1 Product: JasperReports® Server

    When running Tomcat (standalone) on windows, Java options can typically be set in either service.bat or setenv.bat.  However, if Tomcat is installed as a service (which it is if you've used the bundled installer to install JasperReports Server), you should follow these steps to modify the JVM settings:

    1. Navigate to

      <jrs_install>/jasperreports-server-<version>/apache-tomcat/bin/
      

    2. Locate the 'tomcat6w.exe' file and rename it to jasperreportsTomcat.exe.  This needs to match the name of the service.

    3. Now simply double click and run the file (you may need to right-click > 'Run as administrator').  This will bring up the Tomcat properties page.

    4. Java options can be added/modified/removed in the 'Java' tab.  Once done, restart the service and the settings should take effect.

    In versions 5.0.1 and later, you can log in as superuser and run the diagnostic report in /Public/Diagnostic as a quick way to see the current java options and confirm they've taken effect.

    NOTE:  The 32 bit JVM is limited to 2GB total memory.  If you are running the 32 bit version, you will have to be sure your heap and permgen memory do not exceed 2GB.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...