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 | stopManagedWebLogic.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 | 74 |
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 "You mu st have a value for SERVER_NAM E either s et as an e nvironment variable or the fir st paramet er on the command-li ne." | |||||
11 | ec ho "ADMIN_ URL defaul ts to t3:/ /localhost .localdoma in:7001 if not set a s an envir onment var iable or t he second command-li ne paramet er." | |||||
12 | ec ho "USER_N AME and PA SSWORD are required for shutti ng the ser ver down w hen runnin g in produ ction mode :" | |||||
13 | ec ho "Usage: $1 {SERVE R_NAME} {A DMIN_URL} {USER_NAME } {PASSWOR D}" | |||||
14 | ec ho "for ex ample:" | |||||
15 | ec ho "$1 man agedserver 1 t3://loc alhost.loc aldomain:7 001 weblog ic weblogi c" | |||||
16 | } | |||||
17 | ||||||
18 | # --- End Functions --- | |||||
19 | ||||||
20 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
21 | # This scr ipt is use d to stop a managed WebLogic S erver for the domain in | |||||
22 | # the curr ent workin g director y. This s cript read s in the S ERVER_NAME and | |||||
23 | # ADMIN_UR L as posit ional para meters or will read them from environmen t variable s that are | |||||
24 | # set befo re calling this scri pt. If SER VER_NAME i s not sent as a para meter or e xists with a value | |||||
25 | # as an en vironment variable t he script will EXIT. If the AD MIN_URL va lue cannot be determ ined | |||||
26 | # by readi ng a param eter or fr om the env ironment a default v alue will be used. | |||||
27 | # | |||||
28 | # Then thi s script c alls the s topWebLogi c script u nder ${WL_ HOME}/serv er/bin. | |||||
29 | # | |||||
30 | # Other va riables th at stopWeb Logic take s are: | |||||
31 | # | |||||
32 | # WLS_USER - c leartext u ser for se rver shutd own | |||||
33 | # WLS_PW - c leartext p assword fo r server s hutdown | |||||
34 | # JAVA_OPT IONS - J ava comman d-line opt ions for r unning the server. ( These | |||||
35 | # w ill be tag ged on to the end of the JAVA_ VM) | |||||
36 | # JAVA_VM - T he java ar g specifyi ng the VM to run. ( i.e. -serv er, | |||||
37 | # - hotspot, e tc.) | |||||
38 | # | |||||
39 | # For addi tional inf ormation, refer to " Administer ing Server Startup a nd Shutdow n for Orac le WebLogi c Server" | |||||
40 | # | |||||
41 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
42 | ||||||
43 | # Set SER VER_NAME a nd ADMIN_U RL, they m ust be spe cified bef ore stoppi ng | |||||
44 | ||||||
45 | # a manag ed server, detailed informatio n can be f ound in | |||||
46 | ||||||
47 | # Adminis tering Ser ver Startu p and Shut down for O racle WebL ogic Serve r | |||||
48 | ||||||
49 | if [ "$1" = "" ] ; t hen | |||||
50 | if [ "${SERV ER_NAME}" = "" ] ; t hen | |||||
51 | usag e $0 | |||||
52 | exit | |||||
53 | fi | |||||
54 | else | |||||
55 | SE RVER_NAME= "$1" | |||||
56 | ex port SERVE R_NAME | |||||
57 | sh ift | |||||
58 | fi | |||||
59 | ||||||
60 | if [ "$1" = "" ] ; t hen | |||||
61 | if [ "${ADMI N_URL}" = "" ] ; the n | |||||
62 | ADMIN_URL= "t3://@SER VER_HOST:@ SERVER_POR T" | |||||
63 | expo rt ADMIN_U RL | |||||
64 | fi | |||||
65 | else | |||||
66 | AD MIN_URL="$ 1" | |||||
67 | ex port ADMIN _URL | |||||
68 | sh ift | |||||
69 | fi | |||||
70 | ||||||
71 | DOMAIN_HOM E="@DOMAIN _HOME" | |||||
72 | ||||||
73 | ${DOMAIN_H OME}/bin/s topWebLogi c.sh $1 $2 | |||||
74 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.