Installing and Confguring WebLogic 12c (v12.1.3) Hands-On Workshop Guide Copyright © 2014, Oracle. ll rights !eser"ed
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
#able o$ Contents Cont ents #a$ 1% &nstalling Oracle We$#ogic We$#ogic 'er"er 12c ("12.1.)*............................. ("12.1.)*........................................... ................) ..) 1.1* &nstallin &nstalling g We$#og We$#ogic ic 12.1.) using using O++ &nstaller &nstaller on Windos..... Windos.......... .......... ........... ..........) ....) 1.2* &nstallin &nstalling g We$# We$#ogic ogic 12.1.) 12.1.) and and Coherence Coherence using using Generic Generic &nstal &nstaller ler on Windos............... Windos................................... ........................................ ........................................ ....................................... ....................................... .................... #a$ 2 - Con/guring and 'oke-esting a We$#ogic e"elopent oain..............13 2.1* Con/guri Con/guring ng a e"elope e"eloperr We$#ogic e$#ogic oain..... oain.......... .......... .......... .......... .......... ........... ................ .............13 ...13 2.2* 'oke- 'oke-est the e We$#ogic oain%........................... oain%............................................... ............................21 ........21 2.2.1* 2.2.1*
'tarting 'tarting the We$#ogic e$#ogic 'er"er...... 'er"er........... .......... .......... .......... .......... .......... .......... ................ ..................... ............21 ..21
2.2.2* 2.2.2*
Checking Checking We$#ogic e$#ogic 'er"er% 'er"er%..... .......... .......... .......... .......... .......... .......... ............ ................. ..................... ...............21 ....21
!e"ision !e"ision History........................ History............................................ ........................................ ........................................ ........................................ .................... 24
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 2
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
Lab 1% Installing Oracle WebLogic &erver 12c (v12.1.3) 'stiated #ie to Co!lete% * inutes &uar+%
his e6ercise ill alk you through the installation o7 We$#ogic 'er"er 12c ("12.1.)* ith Coherence and O++ (Oracle +nterprise ack 7or +clipse*. ote that starting ith the "12.1.2 release o7 We$#ogic ser"er the Oracle 8ni"ersal &nstaller (O8&* is no used ("ersus the old 9+ installer*. his la$ assues that a Windos plat7or ill $e used 7or the installation. here are 2 parts to this la$ : the /rst uses the O++ installer and the 2nd uses the ;Generic< installer. here are soe su$tle di=erences so $oth types o7 installations are shon here 7or re7erence. When you ork through the orkshop, only one installer type needs to $e used. ,elevant Links% •
•
•
•
•
We$#ogic 'er"er ocuentation #i$rary : ote the ne 7orat o7 the docuentation 7or 12c http%>>docs.oracle.co>iddleare>121)>ls>inde6.htl O?cial We$#ogic 12.1.) &nstallation Guide http%>>docs.oracle.co>iddleare>121)>core>W#'&G>planning.ht@W# '&G2)A Bouu$e resentation a$out installing We$#ogic 12.1.2 $y a"e Ca$elus https%>>.youtu$e.co>atch"D')8EF'c he donload 7or We$#ogic can $e 7ound here% http%>>.oracle.co>technetork>iddleare>7usioniddleare>donloads>inde6.htl he donload 7or a I 7or running We$#ogic can $e 7ound here% http%>>.oracle.co>technetork>Ja"a>Ja"ase>donloads>inde6.htl
ctivit+ &te!s%
1.1) Installing WebLogic 12.1.3 using O'' Installer on Windo/s his set o7 instructions is pro"ided to contrast the Generic installer shon in the ne6t section. he O++ installer only has K total steps so is 7aster to con/gure $ut doesnLt gi"e the a$ility to install the We$#ogic or Coherence +6aples. he ;Generic &nstaller< has M steps and pro"ides ore control o7 hat to install. he O++ installer does install the 7olloing doain teplates hich arenLt a"aila$le ith the Generic installer% +nterprise Eanager, Oracle We$ 'er"ices
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 )
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
Eanager, a"a !eNuired iles (!* 7or sync We$ 'er"ices, 'O o"er E', and the application li$raries. 1.2.1*
Go to the download link shown above and donload ;Free Oracle WebLogic Server 12c (12.1.3) and Installers for evelo!ers < - ;Windo/s 32 installer including O'' (20) <
he generic installer includes We$#ogic 'er"er and Coherence and is patcha$le "ia Oatch (used to $e ;9'8<, a.k.a% ;'art8pdate<*. he Windos, #inu6 and Eac O' F installers add Oracle +nterprise ack 7or +clipse. ote that this is a !++ "ersion o7 We$#ogic 'er"er 7or de"elopent 1.1.2)
#aunch the Oracle We$#ogic 12.1.) installer $y dou$le-clicking on
oe!e"12.1.3.1"ke!ler"installer"win32
1.1.3)
Wait 7or the install iPard to prepare 7or the installation
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 4
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
coand indo ill pop-up and start the installation iPard
On the Welcoe &creen, click $e%t 1.1.#) ote the ne le7t-hand na"igation to sho progress through the installation steps.
1.2.&) On the Installation Location screen% +nter the location 7or the ne ; Oracle Hoe%< ,ecoended value $or tis lab% C:\Oracle\WLS_12.1.3_oepe Click $e%t
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 K
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
9y de7ault, this installer ill install $oth We$#ogic 'er"er and Coherence. he generic installer 7ound in the donloads directory $eha"es a little di=erently in the 7act that it allos you to choose hether or not you ant to install Coherence and the We$#ogic saples. On the Installation &uar+ screen, click the Install $utton to 1.2.') $egin the installation process%
1.2.)
Qie the &nstallation rogress and ait 7or the installation to $e
copleted
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 3
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
ote that during the ;Generating #i$raries< step, the installer generates soe li$raries that helps ser"er startup ties : it also generates client li$raries. 'elect ;Next< hen the installation is coplete
On the Installation Co!lete screen, select Finish 1.2.) ote that there is no longer any check$o6 to ; Run QuickStart < in this installer - this is pro"ided as a separate e6ecuta$le to $e launched independently i7 desired. &7 you are using the generic installer, there is a Nuickstart check$o6 used to con/gure the saple doains.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 A
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2.*)
#ook at the directory structure that as laid-don 7or We$#ogic 12.1.)
in your /le e6plorer
When you copare this to a W#' 10.).3 installation, youLll notice that there are 4 ne directories% • • •
inventory , intall and oui are 7or the Oracle 8ni"ersal &nstaller O!atc" 7or patching he old ;#o$ule< directory has $een nested under ; oracle_co##on <
HereLs a screenshot o7 a W#' 10.).3 directory structure 7or coparison purposes%
otice the patch directories as ell as the "ersion nu$ers o7 the speci/c products on the directory naes : these ere eliinated in We$#ogic 12c.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 M
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2)
Installing WebLogic 12.1.3 and Coerence using 0eneric Installer on Windo/s his set o7 instructions is pro"ided to contrast the O++ installer shon in the pre"ious section. he ;Generic &nstaller< has M steps and pro"ides ore control o7 hat to install. he O++ installer only has K total steps so is 7aster to con/gure $ut doesnLt gi"e the a$ility to install the We$#ogic or Coherence +6aples. he generic installer does not install the 7olloing doain teplates% +nterprise Eanager, Oracle We$ 'er"ices Eanager, a"a !eNuired iles (!* 7or sync We$ 'er"ices, 'O o"er E', and the application li$raries.
1.2.1*
Go to the donload link shon a$o"e and donload ;Free Oracle WebLogic Server 12c (12.1.3) and Installers for evelo!ers < - ;0eneric WebLogic &erver and Coerence installer (1) <
he generic installer includes We$#ogic 'er"er and Coherence and is patcha$le "ia Oatch (used to $e ;9'8<, a.k.a% ;'art8pdate<*. ote that this is also a !++ "ersion o7 We$#ogic 'er"er 7or de"elopent 1.2.2)
9e7ore you can install any Oracle usion Eiddleare product using a
generic installer, you ust donload and install a supported I on your syste $e7ore attepting to run the installer. We$#ogic 12.1.) is supported ith the a"a M I "1.M.0R20 and a$o"e.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
or ore in7oration a$out supported Is ith We$#ogic 12.1.), see the 7olloing spreadsheet% ;'yste !eNuireents and 'upported lat7ors 7or Oracle usion Eiddleare 12c (12.1.)*<% #aunch the Oracle We$#ogic 12.1.) installer $y opening an 1.2.3) dinistrator coand-indo in the directory here the generic donload as sa"ed to. +ither 7ull-path the Ja"a coand-line or set the QRHOE+ and H en"ironent "aria$les to reSect the a"a I. &n this e6aple, the "1.M.0R20 I is $eing used. et %&'&_(O)*+C:\!RO,R&-1\%ava\$k_1./.0_20 et !&(+%&'&_(O)*\in4!&( !un the coand% ;ava 5ar 6#7_12.1.3.0.0_7l.ar < and ait 7or the
installation /les to get e6tracted and the pre-checks to take place
1.2.#)
Wait 7or the install iPard to prepare 7or the installation
1.2.&) On the Welcoe &creen, click $e%t ote the ne le7t-hand na"igation to sho progress through the installation
steps.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 10
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2.3* On the Installation Location screen% +nter the location 7or the ne ; Oracle Hoe%< ,ecoended value $or tis lab% C:\Oracle\WLS12.1.3 Click $e%t
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 11
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2.A* On the &nstallation ype screen, select ;Coplete ith +6aples< to install We$#ogic, Coherence, and the e6aples 7or each. 'elect ;Next < to continue%
1.2.M* 'elect ;Next< on the rereNuisite Checks screen i7 all checks are success7ul, otherise correct and re-launch the installer. supported a"aA or a"aM I is reNuired (ie% I 1.A.0R1KT, or I 1.M.0R20T*
1.2.* On the &!eci$+ &ecurit+ 4!dates screen, either de-select ; 8 7i" to receive ecurity up$ate via )y Oracle Support < or /ll in your eail and
support passord and select the ;Next< $utton
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 12
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
&7 you de-select the check$o6, select ;9e< $utton in the ;)y Oracle Support erna#e;*#ail &$$re Not Speci6ie$ < dialog that pops up%
1.2.10*
On the Installation &uar+ screen, click the Install $utton to
$egin the installation process%
1.2.11*
!e"ie the coponents that ha"e $een selected to $e installed in the
&nstallation 'uary screen then select the ; 8ntall < $utton.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 1)
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2.12*
Qie the &nstallation rogress and ait 7or the installation to $e
copleted
ote that during the ;Generating #i$raries< step, the installer generates soe li$raries that helps ser"er startup ties : it also generates client li$raries. 1.2.1)* 'elect ;inish< hen the installation is coplete to disiss the installation iPard. We$#ogic 12.1.) is no installed.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 14
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
1.2.14*
#ook at the directory structure that as laid-don $y the Generic
installer 7or We$#ogic 12.1.) in your /le e6plorer. ote ho this is di=erent 7ro the directory that as installed $y the O++ installer as ell as that o7 a W#' 10.).3 install%
WL& 12.1.3 0eneric
O'' Installer
WL& 16.3.7
Installer 5irectories
5irectories
5irectories
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 1K
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
Lab 2 - Confguring and &oke-#esting a WebLogic 5evelo!ent 5oain 'stiated #ie to Co!lete% 1* inutes &uar+%
his la$ ill alk the participants through the con/guration and "alidation o7 a We$#ogic de"elopent doain. his la$ assues that the generic installer as used and ill reSect the pathnaes 7ro that part o7 #a$ 2. ctivit+ &te!s%
2.1)
Confguring a 5evelo!er WebLogic 5oain
!un the con/g iPard : this can $e started $y running the ; con6i<.c#$< progra in the directory% C:\Oracle\WLS_12.1.3\oracle_co##on\co##on\in
dialog $o6 coes up hile the con/guration iPard starts up%
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 13
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
ote that Just like the ne installer, the con/guration iPard no also uses the Oracle 8ni"ersal &nstaller so has the sae look-and-7eel as other Oracle products like 'O 'uite. 'elect the option to =Create a ne7 $o#ain> and o"erride the $ase doain directory to soething like =WLS_12.1.3_?ev?o#ain> in the de7ault directory @ hen select =Next>.
he 7olloing option is autoatically selected% •
;Aaic WeLo
Bou donLt need to select any additional eplates 7or a plain old We$#ogic de"elopent doain - Just select ; Next<. or ore in7oration on the use o7 eplates, look here.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 1A
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
'et 7elo
Bou ay use the de7ault a"a I that as used hen We$#ogic 12.1.) as installed or select ;Ot"er %?D Location < and select a 34-$it QE 7or the doain. &n the 7uture, i7 this We$#ogic doain is e6tended 7or use ith 'O, O'9, and>or 9E, a 34-$it QE ill $e needed $ecause the heapsiPe 7or all those applications together is larger than the a6 7or a )2-$it QE. +nsure that the ;?evelop#ent < oain Eode is selected so the doain is easier to start>stop ithout ha"ing to pro"ide user>passord each tie. e"elopent ode is also easier to deploy applications to $ecause We$#ogic ill poll an application directory 7or ne arti7acts to deploy.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 1M
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
he de7ault doain is set to listen on port A001 : i7 you ant to o"erride that port nu$er you can odi7y the adinistration ser"er settings or odi7y it a7ter the doain is created $y editing the con/guration /les or changing the port nu$er in the We$#ogic adinistration console. hese steps arenLt co"ered in this orkshop so select the ;Next< $utton%
!e"ie the con/guration suary, then select the ; Create < $utton.
Eonitor the con/guration progress until the doain is created then select ; Next<.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 1
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
7ter the doain is created, take note o7 the doain location and adin ser"er 8!# then select ;Eini" < (donLt select the ;Start &$#in Server < check$o6 as eLll start the ser"er anually in the soke-test ne6t*.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 20
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
2.2) &oke-#est te 8e/ WebLogic 5oain% 2.2.1) &tarting te WebLogic &erver 'tart the We$#ogic adinistration ser"er $y running the script ; tartWeLo
o coand-indos ill launch starting the doainLs din'er"er as ell as the in-eory ;er$y ata$ase 7or the +6aples 'er"er< : this ill take 10 : 20 seconds depending on the speed o7 your achine. BouLll kno the doain is ready hen the line ;'er"er started in !8&G ode< essage appears in the console%
2.2.2) Cecking WebLogic &erver% Bou can test to $e sure that We$#ogic is up $y going to the adinistration console at% http%>>localhost%A001>console
he /rst tie this 8!# is hit, the console application ill $e deployed onto the ne We$#ogic doain. &n any su$seNuent console access, the console app ill already $e there so this delay only happens once.
login as ;7elo<7elco#e1< (or hate"er you set the e$logic passord to $e*.
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 21
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
Bou should no see the We$#ogic console as 7ollos%
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 22
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
Open the ;*nviron#ent < - ;Server< - ;&$#inServer < and $rose through this We$#ogic anaged ser"er con/guration.
Bou ha"e success7ully copleted the Hands-On Workshop ;&nstalling and Con/guring We$#ogic 12.1.)<
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 2)
Hands-On Workso! " Installing and Confguring WebLogic 12c (v12.1.3)
,evision Histor+ File Name
WebLogic_12.1.3_Install_and_Config_Workshop_v1..doc
!riginal "#thor$s%
&ohn 'an(ant
C#rrent )evision "#thor$s% 'ersion
*ate
"#thor$s%
)evision Notes
1.
&an#ar+ ,- 21,
&ohn 'an(ant
!riginal
Copyright © 2014, Oracle. ll rights reser"ed. a g e 5 24