glassfish
  1. glassfish
  2. GLASSFISH-13213

failed commands should not be listed as pending changes.

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: future release
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Sun

    • Issuezilla Id:
      13,213

      Description

      Build 18 08/31

      I've generated two failed deployments: first deployment failed because of JNDI
      name conflict. In second case a directory deployment failed for second instance
      because this directory was presented on the remote machine. So in both cases
      either _deploy or _instanceValidateRemoteDirDeployment commands failed. But then
      these commands were listed between pending changes. I don't think that the
      failed commands have to be listed as pending changes.
      ==========================================================
      asadmin deploy --target c2 --name stateless-simple:1
      archives_nodb/stateless-simple.ear
      Application deployed successfully with name stateless-simple:1.
      WARNING : Command _deploy did not complete successfully on server instance in3 :
      remote failure: Failed to load the application on instance in3. The application
      will not run properly. Please fix your application and redeploy.
      Exception while loading the app : java.lang.RuntimeException: EJB Container
      initialization error. Please see server.log for more details.
      EJB Container initialization errorException while invoking class
      org.glassfish.ejb.startup.EjbDeployer load method : java.lang.RuntimeException:
      EJB Container initialization error
      EJB Container initialization error

      WARNING : Command _deploy did not complete successfully on server instance in4 :
      remote failure: Failed to load the application on instance in4. The application
      will not run properly. Please fix your application and redeploy.
      Exception while loading the app : java.lang.RuntimeException: EJB Container
      initialization error. Please see server.log for more details.
      EJB Container initialization errorException while invoking class
      org.glassfish.ejb.startup.EjbDeployer load method : java.lang.RuntimeException:
      EJB Container initialization error
      EJB Container initialization error

      Command deploy executed successfully.

      asadmin deploy --target c1 --name webapp:1 webapps-caching
      remote failure: A supplemental command failed; cannot proceed further
      Command _instanceValidateRemoteDirDeployment failed on server instance in2 :
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

      Command deploy failed.
      asadmin list-instances
      in1 running
      in2 running; requires restart [pending config changes are :
      _instanceValidateRemoteDirDeployment
      /opt/appserver-sqe/pe/deployment_v3/webapps-caching/; ]
      in3 running; requires restart [pending config changes are : _deploy
      /opt/glassfishv3/glassfish/domains/domain1/applications/__internal/stateless-simple~1/stateless-simple.ear;
      ]
      in4 running; requires restart [pending config changes are : _deploy
      /opt/glassfishv3/glassfish/domains/domain1/applications/__internal/stateless-simple~1/stateless-simple.ear;
      ]
      a1 running
      a2 running

      Command list-instances executed successfully.

        Activity

        easarina created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 13213 44817
        Tom Mueller made changes -
        Fix Version/s future release [ 11148 ]
        Fix Version/s 3.2 [ 10969 ]
        Tom Mueller made changes -
        Assignee Tom Mueller [ tmueller ] kumara [ kumara ]

          People

          • Assignee:
            kumara
            Reporter:
            easarina
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: