Clarity PPM1

Expand all | Collapse all

Error at importing Advanced Reporting Content

  • 1.  Error at importing Advanced Reporting Content

    Posted 05-25-2017 08:54 AM

    Hi,

     

    I've come to the last step of installation of JasperSoft, executing the command:

     

    admin content-jaspersoft csk -userName superuser -password <password>

     

    But I encounter this error: 

    Content File Name jaspersoft_csk.zip
    Logging into server ... http://tspetro503908:8081/reportservice
    Getting tenant information... 1
    Initiating importing on 1 with file name jaspersoft_csk.zip
    Preparing content to be deployed on 1 using file /opt/niku/clarity/reporting/content/csk/jaspersoft/package/jaspersoft_csk.zip
    Importing prepared content.../tmp/jaasreports_7096625647570488931/export_8041678551210436116.zip
    ERROR 25-05 12:45:13,348 - sendRequest Error: Connection reset
    ERROR 2017-05-25 12:45:13,348 [main] restAdapter.JasperRestAdapter sendRequest Error: Connection reset
    Content import failed.Connection reset
    Failed to import content for tenant : Connection reset
    Error occurred: com.ca.jasper.restAdapter.JasperException: Connection reset
    Check admin.log or use -verbose for more information.

     

    Every step before it is succesfull.

    Also, the key is generated and copied on JasperSoft Server.

     

    Can you please guide me in the right direction in solving this?

     

    Thanks,

    Liviu



  • 2.  Re: Error at importing Advanced Reporting Content

    Posted 05-25-2017 11:24 AM

    Hi Liviu

     

     

    Looks like the connection is reset during the import. To workaround this please add retryCount to your command. Example:

    admin content-jaspersoft csk -userName superuser -password <password> -retryCount 50

    This should help. Please let me know how it goes.

     

    Kind Regards -Nika



  • 3.  Re: Error at importing Advanced Reporting Content

    Posted 05-25-2017 11:33 AM

    Hi Nika, 

     

    Already tried multiple times but with no efect.

     

    BR, 

    Liviu



  • 4.  Re: Error at importing Advanced Reporting Content

    Posted 05-26-2017 05:24 AM

    Hi,


    May it be happening due to some ports not beeing open?

    If so, what ports are needed for succesfully runing the command?

     

    Our Clarity Server has communication between Jaspersoft only on port 8081 which was configured for JasperSoft reporting service. Maybe there are some others that need to be opened.

     

    Thanks,

    Liviu



  • 5.  Re: Error at importing Advanced Reporting Content

    Posted 06-08-2017 02:28 PM

    Hi LiviuIonescu@,

     

    Can you please try to execute the below command :

    admin update jasperParameters

     

    Once it will complete then re-execute the command :

    admin content-jaspersoft csk -userName superuser -password superuser

     

    I hope this will resolve the issue.

     

    Best Regards

    Shubham Bhatia



  • 6.  Re: Error at importing Advanced Reporting Content

    Posted 06-09-2017 02:45 AM

    admin update jasperParameters command updated the profile attributes, the problem here is there is a connection reset happening when the import is going on 

    Content File Name jaspersoft_csk.zip
    Logging into server ... http://tspetro503908:8081/reportservice
    Getting tenant information... 1
    Initiating importing on 1 with file name jaspersoft_csk.zip
    Preparing content to be deployed on 1 using file /opt/niku/clarity/reporting/content/csk/jaspersoft/package/jaspersoft_csk.zip
    Importing prepared content.../tmp/jaasreports_7096625647570488931/export_8041678551210436116.zip
    ERROR 25-05 12:45:13,348 - sendRequest Error: Connection reset
    ERROR 2017-05-25 12:45:13,348 [main] restAdapter.JasperRestAdapter sendRequest Error: Connection reset

     

    There could be 2 issues here

     

    1. The connectivity between the PPM and Jaspersoft there is some connectivity issues 

    2. Or the problem could be due to Java entropy 

     

    The 1st point needs to be looked at network layer and for the 2nd point you can change the Java entropy from random to  urandom JAVA_OPTIONS=-Djava.security.egd=file:/dev/../dev/urandom

     

    Ref: https://community.oracle.com/thread/943911 

     

    Let me know how it goes.

     

    Regards

    Suman Pramanik