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 | startWebLogic.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 | 195 |
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 | stopAll() | |||||
9 | { | |||||
10 | # We separat e the stop commands into a fun ction so w e are able to use th e trap com mand in Un ix (callin g a functi on) to sto p these se rvices | |||||
11 | if [ "X${ALR EADY_STOPP ED}" != "X " ] ; then | |||||
12 | exit | |||||
13 | fi | |||||
14 | # STOP DERBY (only if we started it) | |||||
15 | if [ "${DERB Y_FLAG}" = "true" ] ; then | |||||
16 | echo "Stopping Derby ser ver..." | |||||
17 | ${WL _HOME}/com mon/derby/ bin/stopNe tworkServe r.sh >"${ DOMAIN_HOM E}/derbySh utdown.log " 2>&1 | |||||
18 | ||||||
19 | echo "Derby se rver stopp ed." | |||||
20 | fi | |||||
21 | ||||||
22 | AL READY_STOP PED="true" | |||||
23 | } | |||||
24 | ||||||
25 | classCachi ng() | |||||
26 | { | |||||
27 | ec ho "Class caching en abled..." | |||||
28 | JA VA_OPTIONS ="${JAVA_O PTIONS} -D launch.mai n.class=${ SERVER_CLA SS} -Dlaun ch.class.p ath="${CLA SSPATH}" - Dlaunch.co mplete=web logic.stor e.internal .LockManag erImpl -cp ${WL_HOME }/server/l ib/pcl2.ja r" | |||||
29 | ex port JAVA_ OPTIONS | |||||
30 | SE RVER_CLASS ="com.orac le.classlo ader.launc h.Launcher " | |||||
31 | } | |||||
32 | ||||||
33 | # --- End Functions --- | |||||
34 | ||||||
35 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
36 | # This scr ipt is use d to start WebLogic Server for this doma in. | |||||
37 | # | |||||
38 | # To creat e your own start scr ipt for yo ur domain, you can i nitialize the | |||||
39 | # environm ent by cal ling @USER DOMAINHOME /setDomain Env. | |||||
40 | # | |||||
41 | # setDomai nEnv initi alizes or calls comm Env to ini tialize th e followin g variable s: | |||||
42 | # | |||||
43 | # BEA_HOME - T he BEA hom e director y of your WebLogic i nstallatio n. | |||||
44 | # JAVA_HOM E - L ocation of the versi on of Java used to s tart WebLo gic | |||||
45 | # S erver. | |||||
46 | # JAVA_VEN DOR - V endor of t he JVM (i. e. BEA, HP , IBM, Sun , etc.) | |||||
47 | # PATH - J DK and Web Logic dire ctories ar e added to system pa th. | |||||
48 | # WEBLOGIC _CLASSPATH | |||||
49 | # - C lasspath n eeded to s tart WebLo gic Server . | |||||
50 | # PATCH_CL ASSPATH - Classpath used for p atches | |||||
51 | # PATCH_LI BPATH - L ibrary pat h used for patches | |||||
52 | # PATCH_PA TH - P ath used f or patches | |||||
53 | # WEBLOGIC _EXTENSION _DIRS - Ex tension di rs for Web Logic clas spath patc h | |||||
54 | # JAVA_VM - T he java ar g specifyi ng the VM to run. ( i.e. | |||||
55 | # - s erver, -ho tspot, etc .) | |||||
56 | # USER_MEM _ARGS - T he variabl e to overr ide the st andard mem ory argume nts | |||||
57 | # p assed to j ava. | |||||
58 | # PRODUCTI ON_MODE - The variab le that de termines w hether Web logic Serv er is star ted in pro duction mo de. | |||||
59 | # DERBY_HO ME - Derby home dire ctory. | |||||
60 | # DERBY_CL ASSPATH | |||||
61 | # - C lasspath n eeded to s tart Derby . | |||||
62 | # | |||||
63 | # Other va riables us ed in this script in clude: | |||||
64 | # SERVER_N AME - N ame of the weblogic server. | |||||
65 | # JAVA_OPT IONS - J ava comman d-line opt ions for r unning the server. ( These | |||||
66 | # w ill be tag ged on to the end of the JAVA_ VM and | |||||
67 | # M EM_ARGS) | |||||
68 | # SAVE_MEM ORY - P ut server in a mode where it i s frugal w ith memory , potentia lly sacrif icing perf ormance to do so. | |||||
69 | # CLASS_CA CHE - E nable clas s caching of system classpath. | |||||
70 | # PROXY_SE TTINGS - T hese are t agged on t o the end of the JAV A_OPTIONS. This vari able is de precated a nd should not | |||||
71 | # b e used. In stead use JAVA_OPTIO NS | |||||
72 | # | |||||
73 | # For addi tional inf ormation, refer to " Administer ing Server Startup a nd Shutdow n for Orac le WebLogi c Server" | |||||
74 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
75 | ||||||
76 | umask 027 | |||||
77 | ||||||
78 | ||||||
79 | # Call set DomainEnv here. | |||||
80 | ||||||
81 | DOMAIN_HOM E="@DOMAIN _HOME" | |||||
82 | ||||||
83 | . ${DOMAIN _HOME}/bin /setDomain Env.sh $* | |||||
84 | ||||||
85 | SAVE_JAVA_ OPTIONS="$ {JAVA_OPTI ONS}" | |||||
86 | ||||||
87 | SAVE_CLASS PATH="${CL ASSPATH}" | |||||
88 | ||||||
89 | # Start De rby | |||||
90 | ||||||
91 | DERBY_DEBU G_LEVEL="0 " | |||||
92 | ||||||
93 | if [ "${DE RBY_FLAG}" = "true" ] ; then | |||||
94 | ${ WL_HOME}/c ommon/derb y/bin/star tNetworkSe rver.sh > "${DOMAIN_ HOME}/derb y.log" 2>& 1 | |||||
95 | ||||||
96 | fi | |||||
97 | ||||||
98 | JAVA_OPTIO NS="${SAVE _JAVA_OPTI ONS}" | |||||
99 | ||||||
100 | SAVE_JAVA_ OPTIONS="" | |||||
101 | ||||||
102 | CLASSPATH= "${SAVE_CL ASSPATH}" | |||||
103 | ||||||
104 | SAVE_CLASS PATH="" | |||||
105 | ||||||
106 | trap 'stop All' 1 2 3 15 | |||||
107 | ||||||
108 | ||||||
109 | if [ "${PR ODUCTION_M ODE}" = "t rue" ] ; t hen | |||||
110 | WL S_DISPLAY_ MODE="Prod uction" | |||||
111 | else | |||||
112 | WL S_DISPLAY_ MODE="Deve lopment" | |||||
113 | fi | |||||
114 | ||||||
115 | if [ "${WL S_USER}" ! = "" ] ; t hen | |||||
116 | JA VA_OPTIONS ="${JAVA_O PTIONS} -D weblogic.m anagement. username=$ {WLS_USER} " | |||||
117 | fi | |||||
118 | ||||||
119 | if [ "${WL S_PW}" != "" ] ; the n | |||||
120 | JA VA_OPTIONS ="${JAVA_O PTIONS} -D weblogic.m anagement. password=$ {WLS_PW}" | |||||
121 | fi | |||||
122 | ||||||
123 | if [ "${ME DREC_WEBLO GIC_CLASSP ATH}" != " " ] ; then | |||||
124 | if [ "${CLAS SPATH}" != "" ] ; th en | |||||
125 | CLAS SPATH="${C LASSPATH}$ {CLASSPATH SEP}${MEDR EC_WEBLOGI C_CLASSPAT H}" | |||||
126 | el se | |||||
127 | CLAS SPATH="${M EDREC_WEBL OGIC_CLASS PATH}" | |||||
128 | fi | |||||
129 | fi | |||||
130 | ||||||
131 | echo "." | |||||
132 | ||||||
133 | echo "." | |||||
134 | ||||||
135 | echo "JAVA Memory ar guments: $ {MEM_ARGS} " | |||||
136 | ||||||
137 | echo "." | |||||
138 | ||||||
139 | echo "CLAS SPATH=${CL ASSPATH}" | |||||
140 | ||||||
141 | echo "." | |||||
142 | ||||||
143 | echo "PATH =${PATH}" | |||||
144 | ||||||
145 | echo "." | |||||
146 | ||||||
147 | echo "**** ********** ********** ********** ********** *******" | |||||
148 | ||||||
149 | echo "* T o start We bLogic Ser ver, use a username and *" | |||||
150 | ||||||
151 | echo "* p assword as signed to an admin-l evel user. For *" | |||||
152 | ||||||
153 | echo "* s erver admi nistration , use the WebLogic S erver *" | |||||
154 | ||||||
155 | echo "* c onsole at http://hos tname:port /console *" | |||||
156 | ||||||
157 | echo "**** ********** ********** ********** ********** *******" | |||||
158 | ||||||
159 | # SAVE MEM ORY | |||||
160 | ||||||
161 | if [ -f ${ WL_HOME}/s erver/bin/ saveMemory .sh ] ; th en | |||||
162 | . ${WL_HOME} /server/bi n/saveMemo ry.sh | |||||
163 | fi | |||||
164 | ||||||
165 | # CLASS CA CHING | |||||
166 | ||||||
167 | if [ "${CL ASS_CACHE} " = "true" ] ; then | |||||
168 | cl assCaching | |||||
169 | fi | |||||
170 | ||||||
171 | # START WE BLOGIC | |||||
172 | ||||||
173 | echo "star ting weblo gic with J ava versio n:" | |||||
174 | ||||||
175 | ${JAVA_HOM E}/bin/jav a ${JAVA_V M} -versio n | |||||
176 | ||||||
177 | if [ "${WL S_REDIRECT _LOG}" = " " ] ; then | |||||
178 | ec ho "Starti ng WLS wit h line:" | |||||
179 | ec ho "${JAVA _HOME}/bin /java ${JA VA_VM} ${M EM_ARGS} - Dweblogic. Name=${SER VER_NAME} -Djava.sec urity.poli cy=${WLS_P OLICY_FILE } ${JAVA_O PTIONS} ${ PROXY_SETT INGS} ${SE RVER_CLASS }" | |||||
180 | ${ JAVA_HOME} /bin/java ${JAVA_VM} ${MEM_ARG S} -Dweblo gic.Name=$ {SERVER_NA ME} -Djava .security. policy=${W LS_POLICY_ FILE} ${JA VA_OPTIONS } ${PROXY_ SETTINGS} ${SERVER_C LASS} | |||||
181 | else | |||||
182 | ec ho "Redire cting outp ut from WL S window t o ${WLS_RE DIRECT_LOG }" | |||||
183 | ${ JAVA_HOME} /bin/java ${JAVA_VM} ${MEM_ARG S} -Dweblo gic.Name=$ {SERVER_NA ME} -Djava .security. policy=${W LS_POLICY_ FILE} ${JA VA_OPTIONS } ${PROXY_ SETTINGS} ${SERVER_C LASS} >"$ {WLS_REDIR ECT_LOG}" 2>&1 | |||||
184 | fi | |||||
185 | ||||||
186 | stopAll | |||||
187 | ||||||
188 | popd | |||||
189 | ||||||
190 | # Exit thi s script o nly if we have been told to ex it. | |||||
191 | ||||||
192 | if [ "${do ExitFlag}" = "true" ] ; then | |||||
193 | ex it | |||||
194 | fi | |||||
195 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.