Skip to content

Commit 4131709

Browse files
committed
Merge branch 'wdt-944' into 'main'
Adding tool exit code documentation See merge request weblogic-cloud/weblogic-deploy-tooling!1837
2 parents 4bc8f66 + 1fd9032 commit 4131709

File tree

157 files changed

+171968
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+171968
-4
lines changed

documentation/4.0/config.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@ publishDir = "docs"
2020
[params]
2121
# disable the copy to clipboard links
2222
disableInlineCopyToClipBoard = true
23+
24+
[markup]
25+
[markup.goldmark]
26+
[markup.goldmark.extensions]
27+
[markup.goldmark.extensions.extras]
28+
[markup.goldmark.extensions.extras.superscript]
29+
enable = true
30+
[markup.goldmark.renderer]
31+
# Allow the <sup> tags omitted by the superscript extension.
32+
unsafe = true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: "Tool Exit Codes"
3+
date: 2019-02-23T17:19:24-05:00
4+
draft: false
5+
weight: 2
6+
description: "Helps you create and modify archive files."
7+
---
8+
9+
WebLogic Deploy Tooling uses operating system exit codes to determine whether the command succeeded or not. WDT
10+
follows the normal conventions exiting with a zero exit code when the tool completes successfully. When various
11+
situations are encountered, non-zero exit codes are used to communicate what happened to the user. The exit codes
12+
and their meanings are as shown in the table below. Unless otherwise noted, all tools use these exit codes.
13+
14+
### Exit code table
15+
16+
| Exit Code | Meaning |
17+
|------------|---------------------------------------------------------------------------------------|
18+
| 0 | The tool exited successfully. |
19+
| 1 | The tool ran to completion but encountered 1 or more warnings. |
20+
| 2 | The tool did not complete its execution and encountered 1 or more errors. |
21+
| 98 | The tool did not complete its execution due to 1 or more parameter validation errors. |
22+
| 99 | The tool did not complete its execution due to 1 or more usage errors. |
23+
| 100 | The user ran the tool with the -help argument so the tool echoed the help message. |
24+
| 101 | The tool completed successfully but with 1 or more deprecation messages^1^. |
25+
| 103 | The tool completed successfully but the online changes require server restarts^2^. |
26+
| 104 | The tool completed successfully but the online changes were cancelled^3^. |
27+
28+
##### Footnotes
29+
1. By default, WDT tools do not exit with a 101 exit code for deprecation messages unless explicitly configured by
30+
setting `use.deprecation.exit.code=true` in `${WDT_HOME}/lib/tool.properties` or the equivalent Java
31+
System Property `-Dwdt.config.use.deprecation.exit.code=true` passed using the `WLSDEPLOY_PROPERTIES` environment
32+
variable.
33+
2. This is primarily applicable to the Update Domain Tool when invoked in online mode. Certain WebLogic Server MBean
34+
changes require a server or even a complete domain restart. See the WebLogic Server documentation for the version
35+
you are using for more information.
36+
3. This is primarily applicable to the Update Domain Tool when invoked in online mode with the
37+
`-cancel_changes_if_restart_required` command-line argument. The exit code simply indicates that a server or domain
38+
restart would have been required so the execution was cancelled.

documentation/4.0/docs/404.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<!DOCTYPE html>
2+
<html lang="en" class="js csstransforms3d">
3+
4+
<head><script src="/weblogic-deploy-tooling/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=weblogic-deploy-tooling/livereload" data-no-instant defer></script>
5+
<meta charset="utf-8"> <meta name="description" content="">
6+
7+
<link rel="icon" href="/weblogic-deploy-tooling/images/favicon.png" type="image/png">
8+
9+
<title>404 Page not found</title>
10+
11+
12+
<link href="/weblogic-deploy-tooling/css/nucleus.css?1762890099" rel="stylesheet">
13+
<link href="/weblogic-deploy-tooling/css/fontawesome-all.min.css?1762890099" rel="stylesheet">
14+
<link href="/weblogic-deploy-tooling/css/hybrid.css?1762890099" rel="stylesheet">
15+
<link href="/weblogic-deploy-tooling/css/featherlight.min.css?1762890099" rel="stylesheet">
16+
<link href="/weblogic-deploy-tooling/css/perfect-scrollbar.min.css?1762890099" rel="stylesheet">
17+
<link href="/weblogic-deploy-tooling/css/theme.css?1762890099" rel="stylesheet">
18+
<link href="/weblogic-deploy-tooling/css/hugo-theme.css?1762890099" rel="stylesheet">
19+
20+
<style>
21+
:root #header + #content > #left > #rlblock_left {
22+
display: none !important;
23+
}
24+
25+
p,
26+
li,
27+
ul {
28+
text-align: center
29+
}
30+
31+
ul {
32+
list-style-type: none;
33+
}
34+
</style>
35+
36+
</head>
37+
38+
<body class="" data-url="/">
39+
40+
<section id="body" style="margin-left:0px;">
41+
<div id="overlay"></div>
42+
<div id="chapter">
43+
<div id="body-inner">
44+
<h1>Error</h1>
45+
<p>
46+
</p>
47+
<p>Woops. Looks like this page doesn&#39;t exist ¯\_(ツ)_/¯.</p>
48+
<p></p>
49+
<p><a href='/weblogic-deploy-tooling/'>Go to homepage</a></p>
50+
<p><img src='/images/gopher-404.jpg' style="width:50%" alt="Page not found!"></p>
51+
</div>
52+
</div>
53+
54+
</section>
55+
</body>
56+
57+
</html>

0 commit comments

Comments
 (0)