Clarity

  • 1.  Jaspersoft IIS compatibility

    Posted May 05, 2016 04:54 AM

    Hi all,

     

    this isn't strictly speaking a jaspersoft issue but I would welcome any feedback if others have experienced similar.

    We have configured data warehouse and jaspersoft correctly. Both have an 'Available' status in the NSA. We also successfully ran the post install jobs (time slicing, create and update jaspersoft users, load dwh, load dwh access rights)

     

    So we restarted the application services and the Tomcat running jaspersoft.

    Then I tested via: http://application_server:8080/niku/nu#action:nmc.advancedReporting

    all reports run fine,

     

    However, when I use the actual URL we have configured for this environment: https://clarity.test.business.com/

    I get an error '400 Bad Request'

     

    We use IIS on the application server.

     

    Has anyone else experienced difficulty when running through IIS?



  • 2.  Re: Jaspersoft IIS compatibility
    Best Answer

    Posted May 05, 2016 07:53 AM

    Managed to work this out.

     

    I used Fiddler trace to see what was happening and saw the following error:

    POST https//clarity-sandbox.business.com/reportservice...ces;includeInactiveInvestments,showGraphs/values 400 Bad request

     

    So I did a bit of digging on this and discovered that it was down to an IIS setting.

    The problem is because, the default character limit of each parameter in url is 260 which is defined in the registry.

    So, you have to update the registry to increase this size limit where the IIS Server is running.

    Registry location

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters

     

    Then you need to add the value name UrlSegmentMaxLength. If it is not there, create one with Type of REG_DWORD. And specify a higher value for value data such as 1000 in hexadecimal or 4096 in decimal.

    Restart http on your app server using net stop http followed by net start http and the problem was resolved.



  • 3.  Re: Jaspersoft IIS compatibility

    Posted Jun 10, 2016 05:04 PM

    Hello,

    We are facing the same issue.  So is your Web Agent (SSO) is configured on IIS as application server.

     

    Kind Regards,

    Abhijit