Jump to content
We've recently updated our Privacy Statement, available here ×
  • Getting HTTP-403 Popup - on clicking - any main menu button (Home/Library/View/Create...), while report is running.


    Jim W
    • Features: JasperReports Server Product: JasperReports® Server

    Problem Statement:

    Encountering  HTTP 403 pop on clicking any main menu button (Home, Manage, Create etc.) right after viewing a report when CORS filter is implemented.

    Solution:

    Instead of using the Apache CORS filter, use the third party CORS filter that is currently known to work.

    http://software.dzhuvinov.com/cors-filter-installation.html

    The CORS filter is a component outside of the JasperReports Server product and is not supplied by JasperSoft out-of-the-box. You will need to investigate and determine what the legal and other ramifications are for including the third party jars in your installation. The website referrred to above states:

    The CORS Filter is offered as free open source software under an integration friendly Apache 2.0 license.

    You can still follow the Apache CORS filter directions for the parameters:

    http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter

    but with the following changes:

    Replace

    <filter>
        <filter-name>CorsFilter</filter-name>
        <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>CorsFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    

    With

    <filter>
        <filter-name>CORS</filter-name>
        <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>CORS</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    

    Add the 2 jars provided in the third party link to WEB-INF/lib and restart JasperReports Server.


    Ref. Case 00057515

    solution.txt

    solution_0.txt

    solution_1.txt

    solution_2.txt

    solution_3.txt


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...