Release Automation

Expand all | Collapse all

Javascript unexpected failure?

  • 1.  Javascript unexpected failure?

    Posted Jul 12, 2016 11:46 AM

    This is the simplest script i could come up with, and have NEVER seen this error before.

     

    using CARA 6.1.

     

    Any ideas?

     



  • 2.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 11:55 AM

    Did the agent installed using V6.1 binary?

    If yes,  the agent probably using java 8 and we saw similar issues when using execute java script code action.

    As I know fix should be release soon.



  • 3.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 12:13 PM

    How do i fix this?  My customer project is DOA without it?



  • 4.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 12:22 PM

    If you need it for single agent try to install the agent with v5.5.2  binary as temp solution.



  • 5.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 12:57 PM

    Unfortunately, using the 5.5.2 agent is not an acceptable solution, since this is running on a CARA/CDE 6.1 server.



  • 6.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 01:04 PM

    5.5.2 agent can work with RA 6.1.



  • 7.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 01:08 PM

    One more thing

    If you want you to use only agents running v6.1 you  can upgarde the agent to 6.1. The agent jre version will not be upgarde to jre 8. Only new agent installation will use jre 8



  • 8.  Re: Javascript unexpected failure?

    Posted Jul 12, 2016 04:40 PM

    But i need the 6.1 agent to work with CDE 6.1......sigh.

     

    Can i downgrade the JRE in the agent installation?



  • 9.  Re: Javascript unexpected failure?

    Broadcom Employee
    Posted Jul 12, 2016 04:46 PM

    Hi chip,

     

          As jackie mentioned RA 6.1 no longer requires you to upgrade the agents, so if you uninstall the agent and then install a 5.5.2 agent using the install media this agent can be registered and used with a RA 6.1 manager

     

          Hope this helps.

     

    keith



  • 10.  Re: Javascript unexpected failure?
    Best Answer

    Broadcom Employee
    Posted Jul 14, 2016 11:34 AM

    Hi Chip,

     

         As an FYI we are posting a Hotfix update for RA 6.1 in the next few days and this will be 6.1.0.1051 which will include the following fix

        Execute javascript action fails on RA agents’  version 6.1 that runs JRE8

     

         This should address this issue.

     

        We are also working on a new notification service which you will be able to subscribe to so you will get email notifications when patches and updates are posted, i will post more details on this soon.

     

    Regards

    Keith



  • 11.  Re: Javascript unexpected failure?

    Posted Jul 14, 2016 02:12 PM

    The cumulative fix  6.1.0-1051 is available on CA Release Automation Solutions & Patches - CA Technologies

    Thanks

    Jacky



  • 12.  Re: Javascript unexpected failure?

    Posted Jul 14, 2016 03:14 PM

    Thanks for sharing, Keith!

     

    ChipRab  - I'm going to go ahead and mark Keith's response as correct so other users can easily see there's a fix. If, for any reason, you'd like to unmark it, please feel free to do so. Thanks!



  • 13.  Re: Javascript unexpected failure?

    Posted Aug 25, 2017 08:55 AM

    Hi, we do meet the exact same error on RA 6.5 with agent in 6.5 too, see here : Java error on "Execute JavaScript code" action