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 | startManagedWebLogic.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 | 108 |
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 "Need t o set SERV ER_NAME an d ADMIN_UR L environm ent variab les or spe cify" | |||||
11 | ec ho "them i n command line:" | |||||
12 | ec ho "Usage: $1 SERVER _NAME {ADM IN_URL}" | |||||
13 | ec ho "for ex ample:" | |||||
14 | ec ho "$1 man agedserver 1 http://l ocalhost.l ocaldomain :7001" | |||||
15 | } | |||||
16 | ||||||
17 | # --- End Functions --- | |||||
18 | ||||||
19 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
20 | # This scr ipt is use d to start a managed WebLogic Server for the domai n in | |||||
21 | # the curr ent workin g director y. This s cript can either rea d in the S ERVER_NAME and | |||||
22 | # ADMIN_UR L as posit ional para meters or will read them from environmen t variable s that are | |||||
23 | # 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 | |||||
24 | # as an en vironment variable t he script will EXIT. If the AD MIN_URL va lue cannot be determ ined | |||||
25 | # by readi ng a param eter or fr om the env ironment a default v alue will be used. | |||||
26 | # | |||||
27 | # For add itional in formation, refer to "Administe ring Serve r Startup and Shutdo wn for Ora cle WebLog ic Server" | |||||
28 | # ******** ********** ********** ********** ********** ********** ********** ***** | |||||
29 | ||||||
30 | # Set SER VER_NAME t o the name of the se rver you w ish to sta rt up. | |||||
31 | ||||||
32 | DOMAIN_NAM E="@DOMAIN _NAME" | |||||
33 | ||||||
34 | ADMIN_URL= "http://@S ERVER_HOST :@SERVER_P ORT" | |||||
35 | ||||||
36 | # Set WLS _USER equa l to your system use rname and WLS_PW equ al | |||||
37 | ||||||
38 | # to your system pa ssword for no userna me and pas sword prom pt | |||||
39 | ||||||
40 | # during server sta rtup. Bot h are requ ired to by pass the s tartup | |||||
41 | ||||||
42 | # prompt. | |||||
43 | ||||||
44 | WLS_USER=" " | |||||
45 | export WLS _USER | |||||
46 | ||||||
47 | WLS_PW="" | |||||
48 | export WLS _PW | |||||
49 | ||||||
50 | # Set JAV A_OPTIONS to the jav a flags yo u want to pass to th e vm. i.e. : | |||||
51 | ||||||
52 | # set JAV A_OPTIONS= -Dweblogic .attribute =value -Dj ava.attrib ute=value | |||||
53 | ||||||
54 | JAVA_OPTIO NS="-Dwebl ogic.secur ity.SSL.tr ustedCAKey Store="@Ge nerated_wl server_0.0 .0.0_ORACL E_HOME/ser ver/lib/ca certs" ${J AVA_OPTION S}" | |||||
55 | export JAV A_OPTIONS | |||||
56 | ||||||
57 | # Set JAV A_VM to th e java vir tual machi ne you wan t to run. For insta nce: | |||||
58 | ||||||
59 | # set JAV A_VM=-serv er | |||||
60 | ||||||
61 | JAVA_VM="" | |||||
62 | ||||||
63 | # Set SER VER_NAME a nd ADMIN_U RL, they m ust be spe cified bef ore starti ng | |||||
64 | ||||||
65 | # a manag ed server, detailed informatio n can be f ound in | |||||
66 | ||||||
67 | # Adminis tering Ser ver Startu p and Shut down for O racle WebL ogic Serve r | |||||
68 | ||||||
69 | if [ "$1" = "" ] ; t hen | |||||
70 | if [ "${SERV ER_NAME}" = "" ] ; t hen | |||||
71 | usag e $0 | |||||
72 | exit | |||||
73 | fi | |||||
74 | else | |||||
75 | SE RVER_NAME= "$1" | |||||
76 | sh ift | |||||
77 | fi | |||||
78 | ||||||
79 | if [ "$1" = "" ] ; t hen | |||||
80 | if [ "${ADMI N_URL}" = "" ] ; the n | |||||
81 | usag e $0 | |||||
82 | exit | |||||
83 | fi | |||||
84 | else | |||||
85 | AD MIN_URL="$ 1" | |||||
86 | sh ift | |||||
87 | fi | |||||
88 | ||||||
89 | # Export t he admin_u rl whether the user specified it OR it w as sent on the comma nd-line | |||||
90 | ||||||
91 | ADMIN_URL= "${ADMIN_U RL}" | |||||
92 | export ADM IN_URL | |||||
93 | ||||||
94 | SERVER_NAM E="${SERVE R_NAME}" | |||||
95 | export SER VER_NAME | |||||
96 | ||||||
97 | DOMAIN_HOM E="@DOMAIN _HOME" | |||||
98 | ||||||
99 | if [ "$1" = "" ] ; t hen | |||||
100 | # Call Webl ogic Serve r with our default p arams sinc e the user did not s pecify any other one s | |||||
101 | ${ DOMAIN_HOM E}/bin/sta rtWebLogic .sh nodebu g noderby | |||||
102 | else | |||||
103 | # Call Webl ogic Serve r with the params th e user sen t in INSTE AD of the defaults | |||||
104 | ||||||
105 | ${ DOMAIN_HOM E}/bin/sta rtWebLogic .sh $* | |||||
106 | ||||||
107 | fi | |||||
108 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.