Jump to content
  • Configuring JVM parameters on Windows with TIBCO JasperReports® Server v4.x


    cstallins
    • Version: v4.8 Product: JasperReports® Server

    Since v4.0 Tomcat now runs as a service. JConsole, JvisualVM and similar JVM monitoring tools apparently won't start and/or run properly unless you configure the JVM parameters through the tomcat6w.exe Properties window instead of in setenv.bat.

    Follow these steps to properly configure the JVM parameters on Windows when running TIBCO JasperReports® Server v4 :

    On Windows 7/XP open a command line.

    1. Navigate to the /tomcat/bin directory

    2. Enter: tomcat6w //ES//jasperreportsTomcat  to open the tomcat6w Properties window.

    3. After the Properties window opens, click the Java tab and scroll to the bottom of the Java Options pane.

    4. Enter these four options (or the ones you need) to prepare JConsole for monitoring:

       -Dcom.sun.management.jmxremote
       -Dcom.sun.management.jmxremote.ssl=false
       -Dcom.sun.management.jmxremote.port=8888
       -Dcom.sun.management.jmxremote.authenticate=false
      

      ...and any other parameters you need.

      You also can enter your Heap and PermGen settings.

      For example:

       –Xms1024m
       –Xmx1024m
       –XX:PermSize=128m
       –XX:MaxPermSize=128m
      
    5. Press OK or Apply to save the edits.

    6. Stop and restart Tomcat.

    7. Use Windows Explorer to find javabin

    8. Right-click jconsole.exe and select Open.

    9. In the New Connection window, select Remote Process and enter:

      • localhost:8888  (or whatever port value you entered above).
      • Click the Connect button to start JConsole.

    User Feedback

    Recommended Comments

    There are no comments to display.



    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...