Clarity

 View Only
  • 1.  Tomcat 8 as an automatic window service

    Posted May 11, 2020 05:21 PM
    Hello,
    I am trying to add jaspersoft tomcat 8 as a window service following this threadhttps://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=757792, it went ok and running when I went on services list. 
    But we cannot access our jaspersoft 7i got the http error 404 not find.

    Any help to fix this will be appreciated.

    Thank you.
    Karim


  • 2.  RE: Tomcat 8 as an automatic window service

    Posted May 13, 2020 09:12 AM
    ​Hello,
    Any help with this question ?
    Many thanks in advance.
    Karim


  • 3.  RE: Tomcat 8 as an automatic window service

    Broadcom Employee
    Posted May 13, 2020 10:53 AM
    Hi Karim

    Are yo using the same user who installed Jaspersoft and you are installing as service.

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 4.  RE: Tomcat 8 as an automatic window service

    Posted May 14, 2020 05:56 AM
    Hi Suman,
    No, I am using ​the user Admin of the server.

    Thanks.
    Karim


  • 5.  RE: Tomcat 8 as an automatic window service

    Broadcom Employee
    Posted May 14, 2020 08:37 AM
    and who installed Jaspersoft, was it done by user or admin?

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 6.  RE: Tomcat 8 as an automatic window service

    Posted May 14, 2020 08:49 AM
    The jaspersoft installation was done by a user but I have copied the ​.jrsks and the license in the Admin user.
    Thanks and regards,
    Karim


  • 7.  RE: Tomcat 8 as an automatic window service

    Broadcom Employee
    Posted May 14, 2020 08:57 AM
    Thanks for the additional information, was the user who installed was running as service, what error you see in the tomcat logs

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 8.  RE: Tomcat 8 as an automatic window service

    Posted May 14, 2020 10:15 AM
    I am trying to start it with the user who installed jaspersoft.
    the is the error that I see in the logs .
    [2020-05-14 13:58:38] [info]  [ 4656] Apache Commons Daemon procrun (1.2.0.0 64-bit) started.
    [2020-05-14 13:58:38] [info]  [ 4656] Running Service 'JasperReportsUAT'...
    [2020-05-14 13:58:38] [info]  [ 5844] Starting service...
    [2020-05-14 13:58:38] [error] [ 6880] CreateJavaVM Failed with error [-6]
    [2020-05-14 13:58:38] [error] [ 6880] The system could not find the environment option that was entered.
    [2020-05-14 13:58:38] [error] [ 5844] Failed to start Java
    [2020-05-14 13:58:38] [error] [ 5844] ServiceStart returned 4.
    [2020-05-14 13:58:38] [info]  [ 4656] Run service finished.
    [2020-05-14 13:58:38] [info]  [ 4656] Apache Commons Daemon procrun finished.
    [2020-05-14 13:59:37] [info]  [ 7156] Apache Commons Daemon procrun (1.2.0.0 64-bit) started.
    [2020-05-14 13:59:37] [info]  [ 7156] Installing service 'JaspersoftRepUat' name ''.
    [2020-05-14 13:59:37] [info]  [ 7156] Service 'JaspersoftRepUat' installed.
    [2020-05-14 13:59:37] [info]  [ 7156] Apache Commons Daemon procrun finished.
    [2020-05-14 16:11:53] [info]  [ 7812] Apache Commons Daemon procrun (1.2.0.0 64-bit) started.
    [2020-05-14 16:11:53] [info]  [ 7812] Running Service 'JaspersoftRepUat'...
    [2020-05-14 16:11:53] [info]  [ 5644] Starting service...
    [2020-05-14 16:11:53] [error] [ 6664] CreateJavaVM Failed with error [-6]
    [2020-05-14 16:11:53] [error] [ 6664] The system could not find the environment option that was entered.
    [2020-05-14 16:11:53] [error] [ 5644] Failed to start Java
    [2020-05-14 16:11:53] [error] [ 5644] ServiceStart returned 4.
    [2020-05-14 16:11:53] [info]  [ 7812] Run service finished.
    [2020-05-14 16:11:53] [info]  [ 7812] Apache Commons Daemon procrun finished.​


  • 9.  RE: Tomcat 8 as an automatic window service
    Best Answer

    Broadcom Employee
    Posted May 14, 2020 10:34 AM
    here is the error [2020-05-14 13:58:38] [error] [ 6880] CreateJavaVM Failed with error [-6]
    [2020-05-14 13:58:38] [error] [ 6880] The system could not find the environment option that was entered.

    So looks like environment variable has issue 


    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------