Jump to content
  • Adding a new time zone (UTC) for user selection in the JasperReports Server login


    vchiem
    • Features: JasperReports Server Version: v7 Product: JasperReports® Server

    Issue:

    How to add a new "UTC" time zone so that this time zone appears in the "Time Zone" drop down list of the TIBCO JasperReports® Server login page :

    jrlogin.jpg.28e9532aac42c260731b63143365774b.jpg

    and also appear in the "Time Zone" dropdown list of the "New Data Source" page :

    dspage.jpg.41c264abb9fa6f6b152ba96cd6e6a193.jpg 

     


     

    Solution:

    Adding a new time zone can be configured in the server's applicationContext.xml file. 

    Steps:

    1. Navigate to the directory ../webapps/jasperserver-pro/WEB-INF and open the file applicationContext.xml file for editing

    2. Add <value>UTC</value> to the list of values under the bean id="userTimeZonesList"

     applicationcontext.jpg.92ffe8d289e177e4b788eb80e4e8d60c.jpg

    3. Save the file and restart the application server.

    The new entry will be added to the Time Zone drop down lists as shown:

    utclogin.jpg.493cedcb89314aa2e8dbd76f8dd7a4d3.jpg

    utcds.jpg.bc408189f90aade1d0fe54a92f60d2ea.jpg

    Note: If the "UTC - Coordinated Universal Time" does not appear in the "Time Zone" of the "New Data Source" page when using Chrome browser, then the Chrome browser's cache needs to be first be cleared. This issue can occur despite the new time zone entry appearing in the TIBCO JasperReports® Server login page.

     


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