oracle / weblogic-deploy-tooling

WebLogic Deploy Tooling
https://oracle.github.io/weblogic-deploy-tooling/
Universal Permissive License v1.0
152 stars 90 forks source link

Deprecated deployment script 4.0 forces me to use update script. But this one is more selective. It is complaining about unrelated errors. #1589

Closed alansenairj closed 3 weeks ago

alansenairj commented 1 month ago

Well. I really don't know how to deal with it because deployment was more straight forward. I read documentation and I am not finding if there is a way to create my ansible playbook to iterate deployments. This is my goal and I achieve it encapsulating old deploymen.sh script from WDT.

This Playbook by itself is working. I can do deployments using WDT script without crash.

    - name: Update application using WDT (without restart)
      shell: |
        {{ wdt_home }}/bin/deployApps.sh -oracle_home /opt/oracle/wls12c \
          -domain_home {{ domain_home }} \
          -model_file {{ wdt_home }}/models/{{ item | basename | regex_replace('.war', '') }}-model.yaml
      with_fileglob:
        - "{{ local_war_folder }}/*.war"

But to use update script I am finding a lot of issues without relationship with my app deployment. I think it must not crash my application workflow for deployments. It is breaking my playbook. I need to automate it. Update script is more selective and check a lot of things before deploy and app.

Are there a way to avoid it and do it more basic and straight to the point? I just need to deploy an app. If my weblogic has an issue I fix it later. I am using on-line update mode to do it.

LOG:

<Oct 23, 2024 4:28:41 PM> <> <THROW

oracle.weblogic.deploy.deploy.DeployException: WLSDPLY-00058: deployApplication(vistoria, (), {'targets': 'SATE_CAD', 'timeout': 180000L, 'path': '/opt/oracle/deploys/20 24-10-23/vistoria.war'} Error occurred while performing deploy : Deployment Failed.) failed: Deploying application from /opt/oracle/deploys/2024-10-23/vistoria.war to ta rgets SATE_CAD (upload=false) ... weblogic.management.ManagementException: [J2EE:160257]Application with name "vistoria" cannot be deployed because the name is already in use in Domain named "satedsvdoma in". Failed to deploy the application with status failed Current Status of your Deployment: Deployment command type: deploy Deployment State : failed Deployment Message : weblogic.management.ManagementException: [J2EE:160257]Application with name "vistoria" cannot be deployed because the name is already in use in Doma in named "satedsvdomain".

Ansible Task:

    - name: Update application using WDT (without restart)
      shell: |
        export {{ admin_pass_env }}="{{ admin_password }}"
        {{ wdt_home }}/bin/updateDomain.sh \
          -oracle_home /opt/oracle/wls12c \
          -model_file {{ wdt_home }}/models/{{ item | basename | regex_replace('.war', '') }}-model.yaml \
          -admin_url {{ admin_url }} \
          -admin_user {{ admin_user }} \
          -admin_pass_env {{ admin_pass_env }}
          -discard_current_edit
      with_fileglob:
        - "{{ local_war_folder }}/*.war"
      tags:
        - update

yaml model file:

domainInfo:
  AdminUserName: 'nooo'
  AdminPassword: 'noooooo'
topology:
  Server:
    AdminServer:
      ListenPort: 7001
      ListenAddress: 'localhost'
appDeployments:
  Application:
    vistoria:
      SourcePath: '/opt/oracle/deploys/2024-10-23/vistoria.war'
      Target: 'SATE_CAD'
      ModuleType: war

OBS- I am deploying another app. I don't care about this one showed in log error.

ealier log gave me:

<Oct 23, 2024 3:28:43 PM>
<updateDomain encountered an unexpected runtime exception. Please file an issue on GitHub and attach the log file and stdout. Exception: java.lang.IllegalArgumentException

java.lang.IllegalArgumentException: File /opt/oracle/domains/satedsvdomain/servers/AdminServer/upload/ecops-geocod.war/app/ecops-geocod.war does not exist

I need to upload this file again to pass throught this error. I even not using this app anymore. Are there more productive way to do this single app deployment? Now I am fixing a lot of problems unrelated to deploy a new app by itself.

alansenairj commented 1 month ago

Ok, I got this error. It is working but this app already exists there and this WDT tool cannot undeploy existing app and redeploy it again.

alansenairj commented 1 month ago

Ok. the problem is online mode. not deploy or update scripts.

####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__get_existing_library_references> <> <RETURN []>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__build_library_deploy_strategy> <> <ENTRY model_folders = ['Library'],  'name_tokens' = {}>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__build_library_deploy_strategy> <> <RETURN>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__build_app_deploy_strategy> <> <ENTRY model_folders = ['Application'],  'name_tokens' = {} []>
####<Oct 23, 2024 5:53:29 PM> <FINER> <ApplicationsVersionHelper> <get_application_versioned_name> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war vistoria null>
####<Oct 23, 2024 5:53:29 PM> <FINER> <deployer_utils> <is_path_into_archive> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <WLSDeployArchive> <isPathIntoArchive> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <WLSDeployArchive> <isPathIntoArchive> <> <RETURN false>
####<Oct 23, 2024 5:53:29 PM> <FINER> <deployer_utils> <is_path_into_archive> <> <RETURN 0>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <is_relative_local_path> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <_is_absolute_path_internal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <_is_absolute_path_internal> <> <RETURN 1>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <is_relative_local_path> <> <RETURN 0>
####<Oct 23, 2024 5:53:29 PM> <FINER> <ApplicationsVersionHelper> <get_application_versioned_name> <> <RETURN vistoria>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__remove_delete_targets> <> <ENTRY {'sourcePath': '/opt/oracle/deploys/20240603/CAD/vistoria.war', 'hash': 'Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==', 'planPath': None, 'planHash': None, 'target': [SATE_CAD]}>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__remove_delete_targets> <> <RETURN>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__update_app_build_strategy_based_on_hashes> <> <ENTRY vistoria {'SourcePath': '/opt/oracle/deploys/2024-10-23/vistoria.war', 'Target': 'SATE_CAD', 'ModuleType': 'war'} Set(['SATE_CAD']) /opt/oracle/deploys/2024-10-23/vistoria.war null /opt/oracle/deploys/20240603/CAD/vistoria.war [] vistoria>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <_get_combined_model_plan_path> <> <ENTRY {'SourcePath': '/opt/oracle/deploys/2024-10-23/vistoria.war', 'Target': 'SATE_CAD', 'ModuleType': 'war'}>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <_get_combined_model_plan_path> <> <RETURN>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__get_hash> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <is_absolute_local_path> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <_is_absolute_path_internal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <_is_absolute_path_internal> <> <RETURN 1>
####<Oct 23, 2024 5:53:29 PM> <FINER> <PathHelper> <is_absolute_local_path> <> <RETURN 1>
####<Oct 23, 2024 5:53:29 PM> <FINER> <OnlineApplicationsDeployer> <__get_file_hash> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <computeHash> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <computeHash> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:29 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <computeHash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <computeHash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:30 PM> <FINER> <OnlineApplicationsDeployer> <__get_file_hash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:30 PM> <FINER> <OnlineApplicationsDeployer> <__get_hash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:30 PM> <FINER> <OnlineApplicationsDeployer> <__get_hash> <> <ENTRY null>
####<Oct 23, 2024 5:53:30 PM> <FINER> <OnlineApplicationsDeployer> <__get_hash> <> <RETURN>
####<Oct 23, 2024 5:53:30 PM> <FINER> <OnlineApplicationsDeployer> <__get_file_hash> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <computeHash> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <computeHash> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war WLSDPLY-01108>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validatePathyNameInternal> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateFileName> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:30 PM> <FINER> <FileUtils> <validateExistingFile> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <FileUtils> <computeHash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:31 PM> <FINER> <FileUtils> <computeHash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__get_file_hash> <> <RETURN Xpw+cA7fp1uSaURE1s8diAXT7+qtgZfbqXwme+ZLToPQtEZ3b02sWdKoFUQNRlpMauwNQWAL5lKOgqARGCYOwQ==>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__get_file_hash> <> <ENTRY null>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__should_check_for_target_change> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_canonical_path> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war null>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_remote_canonical_path> <> <ENTRY /opt/oracle/deploys/20240603/CAD/vistoria.war null>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_remote_canonical_path> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_canonical_path> <> <RETURN /opt/oracle/deploys/20240603/CAD/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_canonical_path> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war /opt/oracle/domains/satedsvdomain>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_remote_canonical_path> <> <ENTRY /opt/oracle/deploys/2024-10-23/vistoria.war /opt/oracle/domains/satedsvdomain>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_remote_canonical_path> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <PathHelper> <get_canonical_path> <> <RETURN /opt/oracle/deploys/2024-10-23/vistoria.war>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__should_check_for_target_change> <> <RETURN 0>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__append_to_stop_and_undeploy_apps> <> <ENTRY vistoria [] Set(['SATE_CAD'])>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__append_to_stop_and_undeploy_apps> <> <RETURN>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__update_app_build_strategy_based_on_hashes> <> <RETURN>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__build_app_deploy_strategy> <> <RETURN>
####<Oct 23, 2024 5:53:31 PM> <FINER> <OnlineApplicationsDeployer> <__stop_app> <> <ENTRY vistoria null>
####<Oct 23, 2024 5:53:31 PM> <INFO> <OnlineApplicationsDeployer> <__stop_app> <WLSDPLY-09312> <Stopping application vistoria for update>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <ENTRY stop.application.timeout 180000>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <RETURN 180000>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WlstHelper> <stop_application> <> <ENTRY vistoria () {'partition': None, 'timeout': 180000L}>
####<Oct 23, 2024 5:53:31 PM> <SEVERE> <deploy> <main> <WLSDPLY-20035> <deployApps encountered an unexpected runtime exception.  Please file an issue on GitHub and attach the log file and stdout. Exception: weblogic.management.scripting.ScriptException
weblogic.management.scripting.ScriptException: Error occurred while performing stopApplication : Failed to stop the application with status failed
    at weblogic.management.scripting.core.ExceptionCoreHandler.handleException(ExceptionCoreHandler.java:63)
    at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:338)
    at weblogic.management.scripting.JSR88DeployHandler.stopApplication(JSR88DeployHandler.java:991)
    at weblogic.management.scripting.WLScriptContext.stopApplication(WLScriptContext.java:1042)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx111.stopApplication$17(<iostream>:321)
    at org.python.pycode._pyx111.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject._callextra(Unknown Source)
    at wlsdeploy.tool.util.wlst_helper$py.stop_application$52(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:1075)
    at wlsdeploy.tool.util.wlst_helper$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at wlsdeploy.tool.deploy.applications_online_deployer$py._OnlineApplicationsDeployer__stop_app$42(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:1206)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.deploy$3(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:112)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at wlsdeploy.tool.deploy.model_deployer$py.deploy_applications$5(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py:59)
    at wlsdeploy.tool.deploy.model_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx99.__deploy_online$3(/opt/oracle/weblogic-deploy/lib/python/deploy.py:179)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx99.__deploy$2(/opt/oracle/weblogic-deploy/lib/python/deploy.py:120)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx99.main$6(/opt/oracle/weblogic-deploy/lib/python/deploy.py:261)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at wlsdeploy.util.tool_main$py.run_tool$1(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py:78)
    at wlsdeploy.util.tool_main$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx99.f$0(/opt/oracle/weblogic-deploy/lib/python/deploy.py:272)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Py.java:1224)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at weblogic.WLST.main(WLST.java:47)

>
####<Oct 23, 2024 5:53:31 PM> <FINE> <deploy> <main> <WLSDPLY-20036> <deployApps encountered an unexpected runtime exception.  Stacktrace: array(java.lang.StackTraceElement,[weblogic.management.scripting.core.ExceptionCoreHandler.handleException(ExceptionCoreHandler.java:63), weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:338), weblogic.management.scripting.JSR88DeployHandler.stopApplication(JSR88DeployHandler.java:991), weblogic.management.scripting.WLScriptContext.stopApplication(WLScriptContext.java:1042), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), org.python.core.PyReflectedFunction.__call__(Unknown Source), org.python.core.PyMethod.__call__(Unknown Source), org.python.core.PyObject.__call__(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx111.stopApplication$17(<iostream>:321), org.python.pycode._pyx111.call_function(<iostream>), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyObject._callextra(Unknown Source), wlsdeploy.tool.util.wlst_helper$py.stop_application$52(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:1075), wlsdeploy.tool.util.wlst_helper$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyMethod.__call__(Unknown Source), wlsdeploy.tool.deploy.applications_online_deployer$py._OnlineApplicationsDeployer__stop_app$42(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:1206), wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyMethod.__call__(Unknown Source), org.python.core.PyObject.__call__(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), wlsdeploy.tool.deploy.applications_online_deployer$py.deploy$3(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:112), wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyMethod.__call__(Unknown Source), org.python.core.PyObject.__call__(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), wlsdeploy.tool.deploy.model_deployer$py.deploy_applications$5(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py:59), wlsdeploy.tool.deploy.model_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyMethod.__call__(Unknown Source), org.python.core.PyObject.__call__(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx99.__deploy_online$3(/opt/oracle/weblogic-deploy/lib/python/deploy.py:179), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.pycode._pyx99.__deploy$2(/opt/oracle/weblogic-deploy/lib/python/deploy.py:120), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.pycode._pyx99.main$6(/opt/oracle/weblogic-deploy/lib/python/deploy.py:261), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), wlsdeploy.util.tool_main$py.run_tool$1(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py:78), wlsdeploy.util.tool_main$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.__call__(Unknown Source), org.python.core.PyObject.__call__(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx99.f$0(/opt/oracle/weblogic-deploy/lib/python/deploy.py:272), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyCode.call(Unknown Source), org.python.core.Py.runCode(Py.java:1224), org.python.util.PythonInterpreter.execfile(Unknown Source), weblogic.management.scripting.WLST.main(WLST.java:181), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), weblogic.WLST.main(WLST.java:47)]) 
weblogic.management.scripting.ScriptException: Error occurred while performing stopApplication : Failed to stop the application with status failed
    at weblogic.management.scripting.core.ExceptionCoreHandler.handleException(ExceptionCoreHandler.java:63)
    at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:338)
    at weblogic.management.scripting.JSR88DeployHandler.stopApplication(JSR88DeployHandler.java:991)
    at weblogic.management.scripting.WLScriptContext.stopApplication(WLScriptContext.java:1042)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx111.stopApplication$17(<iostream>:321)
    at org.python.pycode._pyx111.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject._callextra(Unknown Source)
    at wlsdeploy.tool.util.wlst_helper$py.stop_application$52(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:1075)
    at wlsdeploy.tool.util.wlst_helper$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at wlsdeploy.tool.deploy.applications_online_deployer$py._OnlineApplicationsDeployer__stop_app$42(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:1206)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.deploy$3(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:112)
    at wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at wlsdeploy.tool.deploy.model_deployer$py.deploy_applications$5(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py:59)
    at wlsdeploy.tool.deploy.model_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx99.__deploy_online$3(/opt/oracle/weblogic-deploy/lib/python/deploy.py:179)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx99.__deploy$2(/opt/oracle/weblogic-deploy/lib/python/deploy.py:120)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx99.main$6(/opt/oracle/weblogic-deploy/lib/python/deploy.py:261)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at wlsdeploy.util.tool_main$py.run_tool$1(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py:78)
    at wlsdeploy.util.tool_main$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx99.f$0(/opt/oracle/weblogic-deploy/lib/python/deploy.py:272)
    at org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Py.java:1224)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at weblogic.WLST.main(WLST.java:47)

>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <ENTRY use.deprecation.exit.code false>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <RETURN false>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WLSDeployExit> <exit> <> <ENTRY 2 oracle.weblogic.deploy.util.WLSDeployExit exit>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WLSDeployExit> <logCleanup> <> <ENTRY oracle.weblogic.deploy.util.WLSDeployContext@6833730d>
####<Oct 23, 2024 5:53:31 PM> <FINER> <SummaryHandler> <logEnd> <> <ENTRY oracle.weblogic.deploy.util.WLSDeployContext@6833730d oracle.weblogic.deploy.logging.SummaryHandler logEnd>
####<Oct 23, 2024 5:53:31 PM> <FINER> <SummaryHandler> <logEnd> <> <RETURN>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WLSDeployExit> <logCleanup> <> <RETURN>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WLSDeployExit> <exit> <> <RETURN>

There is no app here to stop.

alansenairj commented 1 month ago

Filtered log:

####<Oct 23, 2024 5:53:31 PM> <INFO> <OnlineApplicationsDeployer> <__stop_app> <WLSDPLY-09312> <Stopping application vistoria for update>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <ENTRY stop.application.timeout 180000>
####<Oct 23, 2024 5:53:31 PM> <FINER> <ModelConfig> <_get_from_dict> <> <RETURN 180000>
####<Oct 23, 2024 5:53:31 PM> <FINER> <WlstHelper> <stop_application> <> <ENTRY vistoria () {'partition': None, 'timeout': 180000L}>
####<Oct 23, 2024 5:53:31 PM> <SEVERE> <deploy> <main> <WLSDPLY-20035> <deployApps encountered an unexpected runtime exception.  Please file an issue on GitHub and attach the log file and stdout. Exception: weblogic.management.scripting.ScriptException
weblogic.management.scripting.ScriptException: Error occurred while performing stopApplication : Failed to stop the application with status failed
alansenairj commented 1 month ago

Sorry. The problem was in config.xml file. My friend changed IP of Admin to localhost and it is not working.

I really don't know why but I restarted Admin and it works. Maybe it was hanging some old deployment files and it is crashing Admin operation.

Now Admin has correct IP and it can reboot and clear garbage. My playbook can do updates using online mode.

Thanx, this tool is great.

alansenairj commented 4 weeks ago

<Oct 23, 2024 5:53:31 PM>
<deployApps encountered an unexpected runtime exception. Stacktrace: array(java.lang.StackTraceElement,[weblogic.management.scripting.core.ExceptionCoreHandler.handleException(ExceptionCoreHandler.java:63), weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:338), weblogic.management.scripting.JSR88DeployHandler.stopApplication(JSR88DeployHandler.java:991), weblogic.management.scripting.WLScriptContext.stopApplication(WLScriptContext.java:1042), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), org.python.core.PyReflectedFunction.call(Unknown Source), org.python.core.PyMethod.call(Unknown Source), org.python.core.PyObject.call(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx111.stopApplication$17(:321), org.python.pycode._pyx111.call_function(), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyObject._callextra(Unknown Source), wlsdeploy.tool.util.wlst_helper$py.stop_application$52(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:1075), wlsdeploy.tool.util.wlst_helper$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyMethod.call(Unknown Source), wlsdeploy.tool.deploy.applications_online_deployer$py._OnlineApplicationsDeployerstop_app$42(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:1206), wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyMethod.call(Unknown Source), org.python.core.PyObject.call(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), wlsdeploy.tool.deploy.applications_online_deployer$py.deploy$3(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py:112), wlsdeploy.tool.deploy.applications_online_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/applications_online_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyMethod.call(Unknown Source), org.python.core.PyObject.call(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), wlsdeploy.tool.deploy.model_deployer$py.deploy_applications$5(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py:59), wlsdeploy.tool.deploy.model_deployer$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/tool/deploy/model_deployer.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyMethod.call(Unknown Source), org.python.core.PyObject.call(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx99.deploy_online$3(/opt/oracle/weblogic-deploy/lib/python/deploy.py:179), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.pycode._pyx99.deploy$2(/opt/oracle/weblogic-deploy/lib/python/deploy.py:120), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call__(Unknown Source), org.python.pycode._pyx99.main$6(/opt/oracle/weblogic-deploy/lib/python/deploy.py:261), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), wlsdeploy.util.tool_main$py.run_tool$1(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py:78), wlsdeploy.util.tool_main$py.call_function(/opt/oracle/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyFunction.call(Unknown Source), org.python.core.PyObject.call(Unknown Source), org.python.core.PyObject.invoke(Unknown Source), org.python.pycode._pyx99.f$0(/opt/oracle/weblogic-deploy/lib/python/deploy.py:272), org.python.pycode._pyx99.call_function(/opt/oracle/weblogic-deploy/lib/python/deploy.py), org.python.core.PyTableCode.call(Unknown Source), org.python.core.PyCode.call(Unknown Source), org.python.core.Py.runCode(Py.java:1224), org.python.util.PythonInterpreter.execfile(Unknown Source), weblogic.management.scripting.WLST.main(WLST.java:181), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), weblogic.WLST.main(WLST.java:47)])

weblogic.management.scripting.ScriptException: Error occurred while performing stopApplication : Failed to stop the application with status failed at weblogic.management.scripting.core.ExceptionCoreHandler.handleException(ExceptionCoreHandler.java:63)

This error is related to not existing deployment file.

rakillen commented 3 weeks ago

Hi alansenairj -

I'm not sure why this issue was reopened, possibly the stack trace was intended for #1590 ?