Skip to content

Update Domain Tool: can not deploy with SourcePath as relative path in WLST online mode #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rjnkmr opened this issue Jul 1, 2021 · 2 comments · Fixed by #976
Closed
Assignees

Comments

@rjnkmr
Copy link

rjnkmr commented Jul 1, 2021

I am using the Create Domain Tool to create the domain (WLST offline) and Update Domain Tool (WLST online) to update the domain (and also for appDeployments update)
In both the cases without "archive_file" option (as I am copying the war or ear files to the necessary location myself).

I have noticed that createDomain.sh (WLST offline) works but updateDomain.sh (WLST online) does not.
e.g. with

appDeployments:
  Application:
    testapp:
      SourcePath: "pf-appl/dist/test.war"
      Target: "CLUWDT"

after runnging updateDomain (WLST online, without "archive_file" option), I get this error

SEVERE Messages:

    1. WLSDPLY-09015: updateDomain deployment failed: Failed to get hash for file pf-appl/dist/test.war because the entry did not point into the archive and was not an absolute path

although "pf-appl/dist/test.war" exists (relative to the domain directory).
With absolute path it works.

With "archive_file" option also it works if "SourcePath" is subdirectory of wlsdeploy

e.g.

appDeployments:
  Application:
    testapp:
      SourcePath: "wlsdeploy/applications/test.war"
      Target: "CLUWDT"
@CarolynRountree
Copy link
Contributor

for those addresses relative to domain, prefix with @@DOMAIN_HOME@@/

@rjnkmr
Copy link
Author

rjnkmr commented Jul 30, 2021

Thanks
I assume that otherwise (with relative path), it is not supposed to work with updateDomain .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants