Clarity

  • 1.  Jaspersoft Content installation Failed

    Posted Oct 29, 2015 01:18 PM

    Dear all,

     

    I am faced a problem during the installation of JAspersoft with CA Clarity 14.2

    When i Launch the installation of the Jaspersoft Content, i get this error :

     

    SYS   29-10 18:08:12,566 - Content imported

    SYS   2015-10-29 18:08:12,566 [main] jaspersoft.ClarityJasperAdmin Content imported

    SYS   29-10 18:08:12,611 - Updating user profile attributes..

    SYS   2015-10-29 18:08:12,611 [main] jaspersoft.ClarityJasperAdmin Updating user profile attributes..

    java.lang.NullPointerException

            at java.util.Hashtable.put(Hashtable.java:514)

            at com.niku.union.reporting.jaspersoft.ClarityJasperAdmin.populateDBProperties(ClarityJasperAdmin.java:1456)

            at com.niku.union.reporting.jaspersoft.ClarityJasperAdmin.updateDWHAttrsForBeanDS(ClarityJasperAdmin.java:1190)

            at com.niku.union.reporting.jaspersoft.ClarityJasperAdmin.updateUserProfileAttrsForBeanDS(ClarityJasperAdmin.java:1379)

            at com.niku.union.reporting.jaspersoft.ClarityJasperAdmin.jasperContent(ClarityJasperAdmin.java:712)

            at com.niku.nsa.service.AdminManager.doJasperReports(AdminManager.java:648)

            at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:288)

            at com.niku.nsa.service.AdminManager.execute(AdminManager.java:187)

            at com.niku.nsa.service.Admin.main(Admin.java:77)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at com.werken.forehead.Forehead.run(Forehead.java:551)

            at com.werken.forehead.Forehead.main(Forehead.java:581)

    Internal error. See output above for more info.

     

    All the requested steps on the installation guide are done ::

     

    Could you help me to solve this issue ?

     

    Regards



  • 2.  Re: Jaspersoft Content installation Failed

    Posted Oct 29, 2015 01:53 PM

    Mohammed,

    Can we get the exact command you are running to install the Jaspersoft content?

    Is this the first time you have installed the content?

    Can we get the admin.log file?

     

    Thank you,

     

    Steve Wood



  • 3.  Re: Jaspersoft Content installation Failed

    Posted Oct 29, 2015 02:03 PM

    Thanks Steve for your reply !!

    YEs It is a new installation

    The First time, i tried with this command:

    ./admin content-jaspersoft csk -userName superuser -password superuser -fileName jaspersoft_csk.zip

     

    and after getting the error, i used :

     

    ./admin content-jaspersoft csk -userName superuser -password superuser -fileName jaspersoft_csk.zip upgrade –retryCount 50

    admin.log :

     

     

     

    10/29/15 5:51 PM (niku) execute: remote = false

    10/29/15 5:51 PM (niku) execute: hosts.xml out of date

    10/29/15 5:51 PM (niku) execute: Config Mgr setup

    10/29/15 5:51 PM (niku) execute: read hosts.xml

    10/29/15 5:51 PM (niku) execute: remote = false

    10/29/15 5:51 PM (niku) execute: hosts.xml out of date

    10/29/15 5:51 PM (niku) execute: Config Mgr setup

    10/29/15 5:51 PM (niku) execute: read hosts.xml

    10/29/15 5:52 PM (niku) execute: remote = false

    10/29/15 5:52 PM (niku) execute: hosts.xml out of date

    10/29/15 5:52 PM (niku) execute: Config Mgr setup

    10/29/15 5:52 PM (niku) execute: read hosts.xml

    10/29/15 5:52 PM (niku) Adding service(s)...

    10/29/15 5:52 PM (niku) Done.

    10/29/15 5:52 PM (niku) execute: remote = false

    10/29/15 5:52 PM (niku) execute: hosts.xml out of date

    10/29/15 5:52 PM (niku) execute: Config Mgr setup

    10/29/15 5:52 PM (niku) execute: read hosts.xml

    10/29/15 5:52 PM (niku) Deploying service(s)...

    10/29/15 5:52 PM (niku) Initialized...

    10/29/15 5:52 PM (niku) Executing ant script

    10/29/15 5:52 PM (niku) Executed ant script

    10/29/15 5:52 PM (niku) Updating service: nsa

    10/29/15 5:52 PM (niku) Done.

    10/29/15 5:52 PM (niku) execute: remote = false

    10/29/15 5:52 PM (niku) execute: hosts.xml out of date

    10/29/15 5:52 PM (niku) execute: Config Mgr setup

    10/29/15 5:52 PM (niku) execute: read hosts.xml

    10/29/15 5:52 PM (niku) execute: remote = false

    10/29/15 5:52 PM (niku) execute: hosts.xml out of date

    10/29/15 5:52 PM (niku) execute: Config Mgr setup

    10/29/15 5:52 PM (niku) execute: read hosts.xml

    10/29/15 5:52 PM (niku) Deploying service(s)...

    10/29/15 5:52 PM (niku) Initialized...

    10/29/15 5:52 PM (niku) Executing ant script

    10/29/15 5:52 PM (niku) Executed ant script

    10/29/15 5:52 PM (niku) Updating service: nsa

    10/29/15 5:52 PM (niku) Done.

    10/29/15 5:59 PM (admin) Generated keystore and its information for organization : CNP in the following location : /projets/gpp/home/gppadm/clarity/config/ , Make them available in Jaspersoft installation in the following directory : <Jaspersoft Tomcat>\webapps\reportservice\WEB-INF\config\

    10/29/15 6:10 PM (niku) execute: remote = true

    10/29/15 6:10 PM (niku) execute: hosts.xml out of date

    10/29/15 6:10 PM (niku) execute: Config Mgr setup

    10/29/15 6:10 PM (niku) execute: read hosts.xml

    10/29/15 6:10 PM (niku) Adding service(s)...

    10/29/15 6:10 PM (niku) Done.

    10/29/15 6:10 PM (niku) execute: remote = true

    10/29/15 6:10 PM (niku) execute: hosts.xml out of date

    10/29/15 6:10 PM (niku) execute: Config Mgr setup

    10/29/15 6:10 PM (niku) execute: read hosts.xml

    10/29/15 6:10 PM (niku) Adding service(s)...

    10/29/15 6:10 PM (niku) Done.

    10/29/15 6:10 PM (niku) execute: remote = true

    10/29/15 6:10 PM (niku) execute: hosts.xml out of date

    10/29/15 6:10 PM (niku) execute: remote = true

    10/29/15 6:10 PM (niku) execute: hosts.xml out of date

    10/29/15 6:10 PM (niku) execute: Config Mgr setup

    10/29/15 6:10 PM (niku) execute: read hosts.xml

    10/29/15 6:10 PM (niku) Deploying service(s)...

    10/29/15 6:10 PM (niku) Initialized...

    10/29/15 6:10 PM (niku) Executing ant script

    10/29/15 6:10 PM (niku) execute: Config Mgr setup

    10/29/15 6:10 PM (niku) execute: read hosts.xml

    10/29/15 6:10 PM (niku) Deploying service(s)...

    10/29/15 6:10 PM (niku) Initialized...

    10/29/15 6:10 PM (niku) Executing ant script

    10/29/15 6:10 PM (niku) Executed ant script

    10/29/15 6:10 PM (niku) Updating service: bg

    10/29/15 6:10 PM (niku) Done.

    10/29/15 6:10 PM (niku) Executed ant script

    10/29/15 6:10 PM (niku) Updating service: app

    10/29/15 6:10 PM (niku) Done.

    10/29/15 6:11 PM (niku) execute: remote = true

    10/29/15 6:11 PM (niku) execute: hosts.xml out of date

    10/29/15 6:11 PM (niku) execute: remote = true

    10/29/15 6:11 PM (niku) execute: hosts.xml out of date

    10/29/15 6:11 PM (niku) execute: Config Mgr setup

    10/29/15 6:11 PM (niku) execute: Config Mgr setup

    10/29/15 6:11 PM (niku) execute: read hosts.xml

    10/29/15 6:11 PM (niku) execute: read hosts.xml

    10/29/15 6:11 PM (niku) execute: remote = false

    10/29/15 6:11 PM (niku) execute: hosts.xml out of date

    10/29/15 6:11 PM (niku) execute: remote = false

    10/29/15 6:11 PM (niku) execute: hosts.xml out of date

    10/29/15 6:11 PM (niku) execute: Config Mgr setup

    10/29/15 6:11 PM (niku) execute: read hosts.xml

    10/29/15 6:11 PM (niku) Deploying service(s)...

    10/29/15 6:11 PM (niku) Initialized...

    10/29/15 6:11 PM (niku) Executing ant script

    10/29/15 6:11 PM (niku) execute: Config Mgr setup

    10/29/15 6:11 PM (niku) execute: read hosts.xml

    10/29/15 6:11 PM (niku) Deploying service(s)...

    10/29/15 6:11 PM (niku) Initialized...

    10/29/15 6:11 PM (niku) Executing ant script

    10/29/15 6:11 PM (niku) Executed ant script

    10/29/15 6:11 PM (niku) Updating service: bg

    10/29/15 6:11 PM (niku) Done.

    10/29/15 6:11 PM (niku) Executed ant script

    10/29/15 6:11 PM (niku) Updating service: app

    10/29/15 6:11 PM (niku) Done.



  • 4.  Re: Jaspersoft Content installation Failed

    Broadcom Employee
    Posted Oct 29, 2015 03:58 PM

     

    Hi Mohammed,

     

     

    It looks like there is an issue to import attributes to ppmjasperadmin user. Could you please try the following:

     

    1. Connect to JS Console as superuser, and delete your organization
    2. Now go to CSA, ensure details are correct on Reporting page, hit Save
    3. Now run the command :
    admin content-jaspersoft csk -userName superuser -password superuser -retryCount 50
    4. See if your content import completes correctly.

    I will be looking forward to hearing from you.

     


    Kind Regards

     

    Nika Hadzhikidi
    CA Technologies
    Principal Support Engineer



  • 5.  Re: Jaspersoft Content installation Failed

    Posted Oct 29, 2015 04:17 PM

    Hello Nika,

     

    Thanks a lot for your answer

     

    I have already done a lot of checks like what you propose !

     

    I have already installed CA Clarity 14.2 with Jaspersoft for others clients without any problem !

     

    To give you more informations :

    After getting the errors

    1. I created the key store files for ppmjasperadmin using this command

    admin jasper keystore -key ppmjasperadmin -password ppmjasperadmin

    2. I launched the create Jasperssoft users job and it works properly --> the clarity users are created on Jaspersoft, I found the data sources, domains and reports but nothing is working ! The bean data sources are failed to connect to database

     

    There is some prerequisites for the server properties ?; because my customer has everything in French except the database server

     

    I raised a case for my problem !

     

    Regards

    Mohammed



  • 6.  Re: Jaspersoft Content installation Failed
    Best Answer

    Broadcom Employee
    Posted Oct 29, 2015 04:26 PM

    Hi Mohammed,

     


    As far I know we do not have any mandatory requirement for language/region parameters on Jaspersoft server.

     

    When you said what you try: did you already try deleting the organization from JS UI and then reimporting the content from scratch? If not, please do, as this might solve your issue.

     

    Also, as a second test : if datasources are not working, please try connecting to JS console and creating a new datasource connection. Then specify the correct database settings and see if it tests successfully.

     

    You can see more on how to do this here:
    https://communities.ca.com/thread/241737361

     

    Please let me know how it goes.

     

    Kind Regards

    Nika Hadzhikidi
    CA Technologies
    Principal Support Engineer



  • 7.  Re: Jaspersoft Content installation Failed

    Posted Oct 29, 2015 05:11 PM

    Hi,

    Thanks Nika, I ll follow your recommandations and let you know if it solves my problem



  • 8.  Re: Jaspersoft Content installation Failed

    Posted Oct 31, 2015 05:16 AM

    Hi all

    Finaly, my problem has been fixed by importing a Jaspersoft dadabase Dump including PMO content and modifying manually the datasources and the domains directly in Jaspersoft

     

    Thanks to Nika for your participation !

     

    Regards