Release Automation

 View Only
  • 1.  JBoss Action pack: error executing actions

    Posted Apr 05, 2017 10:23 PM
      |   view attached

    Hello community:

     

    I´m using the #jboss action pack (disable deploy, undeploy and deploy actions) but when I test any of those (the action itself or within a process or flow) it fails showing in that the action failed to execute, but when I check the JBoss administration console (version 6.2 under OS RHEL), the action performed successfully. Any ideas or thoughts what might be wrong?

    The CA RA version is 6.2

     

    Regards



  • 2.  Re: JBoss Action pack: error executing actions

    Posted Apr 06, 2017 01:53 AM

    Can you check the agent nolio_all.log file and see if there are any errors?



  • 3.  Re: JBoss Action pack: error executing actions
    Best Answer

    Posted Apr 06, 2017 10:53 AM

    I ran into the same problem and have a support ticket open for it:

     

    SAP Portal Services 

     

    The agent logs show the exact commands that the action is running and you can run those using the Run Command Line action.

     

    You may also be able to revert to an older version of the action pack like 10.9.1505.1, but I don't know the process for installing an older version of an action pack over a newer one.



  • 4.  Re: JBoss Action pack: error executing actions

    Broadcom Employee
    Posted Apr 06, 2017 12:40 PM

    What version of JBoss are you using?

     

    Also check the nolio_all.log to see what exact command the action executed and share it here, if you don't mind.

     

    For example, if you're running the "enable or disable" action, you'd find it logged with the actual command called, like this:

     

    2017-02-28 18:06:42,832 [job-10453190-jobServer-10453378-8:JBoss - Disable Depolyment(P5809.F125609.E125629.E125620):JBoss - Enable Or Disable Depolyment] DEBUG (com.nolio.platform.shared.datamodel.Action:962) - Execute cmd: cmd.exe /C C:\jboss-eap-6.2\bin\jboss-cli.bat --connect --user=admin --password=***** --controller=localhost:9999 --command="undeploy --name=something.war --keep-content --server-groups=Dev"



  • 5.  Re: JBoss Action pack: error executing actions

    Posted Apr 06, 2017 02:01 PM

    This is the message of the nolio_all.log when I execute the undeploy action from the JBoss Action pack:

     

    JBoss Admin Command-line Interface
    JBOSS_HOME:/jboss/JBossWebDEX/jboss-eap-6.3
    JBoss AS release:7.4.0.Final-redhat-19 "Janus"
    JBoss AS product:EAP 6.3.0.GA
    JAVA_HOME:/usr/java/jdk1.7.0_65
    java.version:1.7.0_65
    java.vm.vendor:Oracle Corporation
    java.vm.version:24.65-b04
    os.name:Linux
    os.version:3.10.0-123.el7.x86_64

    2017-04-06 11:55:31,119 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:786) - The controller is avaliable [true]

    2017-04-06 11:55:31,120 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:41) - Going to undeploy the package [WEBLegalesMoviDEX_modificado.war] parameters [null]

    2017-04-06 11:55:31,120 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:949) - Going to execute command [undeploy WEBLegalesMoviDEX_modificado.war ]
    2017-04-06 11:55:31,120 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:892) - /jboss/JBossWebDEX/jboss-eap-6.3/bin/jboss-cli.sh exists.

    2017-04-06 11:55:31,120 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:969) - Execute cmd: /bin/bash -c sh /jboss/JBossWebDEX/jboss-eap-6.3/bin/jboss-cli.sh --connect --user=admin --password=***** --controller=10.50.115.81:10019 --command="undeploy WEBLegalesMoviDEX_modificado.war "
    2017-04-06 11:55:32,369 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:1021) - converted result:

    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] ERROR (com.nolio.platform.shared.datamodel.Action:333) - Failed to execute the command <br/><br/>
    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] ERROR (com.nolio.platform.shared.datamodel.Action:157) - Failed to execute the command <br/><br/>

    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] INFO (com.nolio.platform.shared.datamodel.Action:334) - ------------------------Finished action [JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] result [false, Failed to execute the command <br/><br/>]------------------------
    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:409) - Next Action Execution State ResolveOutParameters
    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Action:409) - Next Action Execution State Finished

    2017-04-06 11:55:32,372 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121):JBoss - Undeploy] DEBUG (com.nolio.platform.shared.datamodel.Step:573) - Queued at [3] JBoss - Undeploy(P269.F1120.E1121)
    2017-04-06 11:55:32,373 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121)] DEBUG (com.nolio.platform.shared.flowcontrol.logic.StepExecutionState:35) - StepActionExecutionLogic of "JBoss - Undeploy"
    2017-04-06 11:55:32,373 [job-32774-jobServer-32774-2:JBoss - Undeploy(P269.F1120.E1121)] DEBUG (com.nolio.platform.shared.flowcontrol.logic.StepExecutionState:48) - StepActionExecutionLogic of "JBoss - Undeploy" returning PostEvaluation

     

    Any ideas where I can find more details about the error?



  • 6.  Re: JBoss Action pack: error executing actions

    Posted Apr 06, 2017 03:29 PM

    I get the same error; and without increasing the agent logging level (not sure how to do that), I don't think there is any additional information.

     

    BTW, I have the older JBoss Action Pack (10.9.1505.1) if you need it.



  • 7.  Re: JBoss Action pack: error executing actions

    Posted Apr 07, 2017 12:53 AM

    If you can share it that would be great, I have nothing to loose trying with that version. 

    Thanks in advance.