Produced by Araxis Merge on 4/11/2017 10:47:23 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | Tue Apr 11 15:47:23 2017 UTC | ||
2 | PS_PPS_Weblogic_Domain\install\domain_template.jar\bin | startComponent.sh | Fri Oct 7 07:11:04 2016 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 117 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | #!/bin/sh | |||||
2 | ||||||
3 | # WARNING: This file is create d by the C onfigurati on Wizard. | |||||
4 | # Any chan ges to thi s script m ay be lost when addi ng extensi ons to thi s configur ation. | |||||
5 | ||||||
6 | # --- Star t Function s --- | |||||
7 | ||||||
8 | usage() | |||||
9 | { | |||||
10 | ec ho "Usage: $1 {help} COMPONENT _NAME {sto reUserConf ig} {showE rrorStack} " | |||||
11 | ec ho "Where: " | |||||
12 | ec ho " help - Option al. Show t his usage. " | |||||
13 | ec ho " COMP ONENT_NAME - Requir ed. System Component name, onl y one name allowed" | |||||
14 | ec ho " stor eUserConfi g - Option al. If pro vided, sav e the user config in to a file if the fil e does not exist. " | |||||
15 | ec ho " show ErrorStack - Option al. Show e rror stack if provid ed." | |||||
16 | } | |||||
17 | ||||||
18 | # --- End Functions --- | |||||
19 | ||||||
20 | if [ "$1" = "" ] ; t hen | |||||
21 | us age $0 | |||||
22 | ex it | |||||
23 | fi | |||||
24 | param="$(e cho $1 | t r -s '')" | |||||
25 | if [ "${pa ram}" = "" ] ; then | |||||
26 | us age $0 | |||||
27 | ex it | |||||
28 | fi | |||||
29 | ||||||
30 | ||||||
31 | if [ "$1" = "storeUs erConfig" ] ; then | |||||
32 | us age $0 | |||||
33 | ex it | |||||
34 | fi | |||||
35 | ||||||
36 | if [ "$1" = "showErr orStack" ] ; then | |||||
37 | us age $0 | |||||
38 | ex it | |||||
39 | fi | |||||
40 | ||||||
41 | storeUserC onfig="fal se" | |||||
42 | showErrorS tack="fals e" | |||||
43 | doUsage="f alse" | |||||
44 | while [ $# -gt 0 ] | |||||
45 | do | |||||
46 | ca se $1 in | |||||
47 | st oreUserCon fig) | |||||
48 | stor eUserConfi g="true" | |||||
49 | expo rt storeUs erConfig | |||||
50 | ;; | |||||
51 | sh owErrorSta ck) | |||||
52 | show ErrorStack ="true" | |||||
53 | expo rt showErr orStack | |||||
54 | ;; | |||||
55 | he lp) | |||||
56 | doUs age="true" | |||||
57 | ;; | |||||
58 | *) | |||||
59 | if [ "${compon entName}" != "" ] ; then | |||||
60 | usage $0 | |||||
61 | exit | |||||
62 | fi | |||||
63 | comp onentName= "$1" | |||||
64 | expo rt compone ntName | |||||
65 | ;; | |||||
66 | es ac | |||||
67 | sh ift | |||||
68 | done | |||||
69 | ||||||
70 | ||||||
71 | if [ "${do Usage}" = "true" ] ; then | |||||
72 | us age $0 | |||||
73 | ex it | |||||
74 | fi | |||||
75 | ||||||
76 | WL_HOME="@ WL_HOME" | |||||
77 | ||||||
78 | DOMAIN_HOM E="@DOMAIN _HOME" | |||||
79 | ||||||
80 | if [ "${TM PDIR}" != "" ] ; the n | |||||
81 | PY _LOC="${TM PDIR}/star tComponent .py" | |||||
82 | else | |||||
83 | PY _LOC="/tmp /startComp onent.py" | |||||
84 | fi | |||||
85 | ||||||
86 | ||||||
87 | umask 027 | |||||
88 | ||||||
89 | ||||||
90 | if [ "${sh owErrorSta ck}" = "fa lse" ] ; t hen | |||||
91 | ec ho "try:" >"${PY_LOC }" | |||||
92 | ec ho " star tComponent Internal(' ${componen tName}', r '${DOMAIN_ HOME}', '$ {storeUser Config}')" >>"${PY_L OC}" | |||||
93 | ec ho " exit ()" >>"${P Y_LOC}" | |||||
94 | ec ho "except Exception ,e:" >>"${ PY_LOC}" | |||||
95 | ec ho " prin t 'Error:' , sys.exc_ info()[1]" >>"${PY_L OC}" | |||||
96 | ec ho " exit ()" >>"${P Y_LOC}" | |||||
97 | else | |||||
98 | ec ho "startC omponentIn ternal('${ componentN ame}', r'$ {DOMAIN_HO ME}', '${s toreUserCo nfig}')" > "${PY_LOC} " | |||||
99 | ec ho "exit() " >>"${PY_ LOC}" | |||||
100 | fi | |||||
101 | ||||||
102 | echo "Star ting syste m Componen t ${compon entName} . .." | |||||
103 | ||||||
104 | # Start WL ST. | |||||
105 | ||||||
106 | ${WL_HOME} /../oracle _common/co mmon/bin/w lst.sh -i ${PY_LOC} 2>&1 | |||||
107 | ||||||
108 | if [ -f ${ PY_LOC} ] ; then | |||||
109 | ||||||
110 | rm -f ${PY_L OC} | |||||
111 | ||||||
112 | fi | |||||
113 | ||||||
114 | echo "Done " | |||||
115 | ||||||
116 | exit | |||||
117 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.