Documente Academic
Documente Profesional
Documente Cultură
6)JavaEEApplication
ThisisthefifthinaseriesofpostsregardinginstallingBIApps11.1.1.10.2onOracleLinux7.2.Foryourreference,hereisalistofURLsforeachofthepoststhat
makeupthisseries:
OBIA11.1.1.10.2installationonOracleLinux7.2Preparation
OBIA11.1.1.10.2installationonOracleLinux7.2SoftwareAcquisition
OBIA11.1.1.10.2installationonOracleLinux7.2OSConfiguration
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOracleJDK
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationWebLogic
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOBIEE11.1.1.9RCU
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOBIEE11.1.1.9
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationODI11.1.1.9
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOPatch
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOBIA11.1.1.10.2RCU
OBIA11.1.1.10.2installationonOracleLinux7.2InstallationOBIA11.1.1.10.2
OBIA11.1.1.10.2installationonOracleLinux7.2ConfigurationOBIEE
OBIA11.1.1.10.2installationonOracleLinux7.2ConfigurationOBIA
OBIA11.1.1.10.2installationonOracleLinux7.2Finalizing/Wrapup
Inthispost,IwillbediscussinghowtoinstalltheWebLogic11gR1(10.3.6)JavaEEApplicationServer.AquicknoteforanyWebLogicveteransoutthere,this
processdoesnotcreateaWebLogicdomain.TheWebLogicdomainwillbeconfiguredlateronintheOBIAinstallationprocess.
GeneralAssumptionsandConventionsUsed
Iwillassumethatreadersofthisbloghavereadthepriorblogentriesinthisseriesbeforecontinuing.
Installation
EnsuringthesystemlocaleissettoUnicode
BeforewestartinstallingWebLogic,weneedtoensurethethelocaleoftheoperatingsystemissettoUnicode.AccordingtotheFusionMiddlewareRequirements,
Oracle"highlyrecommendsthatyouenableUnicodesupportbysettingtheLANGandLC_ALLenvironmentvariablestoalocalewiththeUTF8characterset.".So,
howdoesonegoaboutdoingthis?
It'simportanttonotethatlocalesettingscanbedifferentforeachuser.Inordertotellwhatthelocalesettingsarefortheobia11guser,logonasobia11gandissue
thefollowingcommandfromtheterminal:
$locale
HereisascreenshotoftheoutputofthiscommandwhenIissueitonmysystemastheobia11guser:
Inadditiontotheoutputofthiscommandwhichisuserspecific,weneedtoconfirmthelocaleofthesystem.Inordertodothis,issuethefollowingcommand:
$cat/etc/locale.conf
HereisascreenshotoftheoutputofthiscommandwhenIissueitonmysystem:
https://www.fusience.com/singlepost/2016/09/12/OracleBusinessIntelligenceApplicationsOBIA1111102InstallationonOracleLinux72InstallationWeb 1/4
5/16/2017 OracleBusinessIntelligenceApplications(OBIA)11.1.1.10.2InstallationonOracleLinux7.2InstallationWebLogic11gR1(10.3.6)JavaEEApplication
Fromthis,wecanderivethreekeypiecesofinformation:
1.Thelocaleofthesystemissettoen_CA.UTF8(note:todecipherthis,theenpartstandsforEnglish,theCApartstandsforCanadaandtheUTF8partstands
forUnicode).
2.TheLANGvariablefortheobia11guserisalsoen_CA.UTF8.Inotherwords,theobia11guserisusingthedefaultsystemlocale.
3.ThelocaleofboththeuserandthesystemisaUnicodebasedlocale(andthereforewesatisfyOracle'srequirementsthusfar).
YoumayalsonoticethattheLC_ALLvariableisnotset.Againaccordingtothedocumentation,Oraclerecommendssettingthisvariableaswell.Inordertodothat,
simplyaddthefollowingtwolinestotheobia11guser's~/.bashrcfile:
LC_ALL=en_CA.UTF8
exportLC_ALL
Thenlogoutandlogbackin,andwhenyouissuethelocalecommandagainfromyourterminalsessionyoushouldseethattheLC_ALLvariableisalsopopulated
asperthefollowingscreenshot:
Thereissomequestionastowhetherthislaststepisrequired.ThisisbecauseoneshouldnotneedtosettheLC_ALLvariableiftherestofthelocale(specifically
theLANGvariable)issetcorrectly.However,IpersonallychoosetoperformthisstepbecausethisiswhattheOracledocumentationsaystodo.Toprovideabitof
additionalcontext,myexperiencewithOBIA11ginstallations(andreally,thispointappliestoallenterprisesoftwareingeneral)isthattheytendtobeveryfinicky
andsoIhavelearnedthehardwayImightaddthatoneshouldstrayfromfollowingtheinstallationinstructionsatone'sownperil.Theoreticallythough,the
installationofOBIA11gcouldproceedandfinishsuccessfullywithoutthesettingofthisLC_ALLvariable,howeverIpersonallyhavejustnevertriedtodoit.
Lastly,itisimportanttonotethatifyoutryrunningthelocalecommandaftersettingtheLANGandLC_ALLvarialbesandyougeterrormessages,pleasecontact
yourLinuxsystemadministratorasthisismostlikelyasignthattheUnicodelocaleshavenotbeengeneratedforyoursystem,andyouwillneedtodothisbefore
continuing.
UnzippingtheWebLogic10.3.6genericinstaller
Nowthatthelocalehasbeenproperlyset,it'stimetobegintheinstallationofWebLogic10.3.6.Firstly,weneedtounzipthegenericinstaller.Asalreadydiscussed
inpreviousblogentries,IwillassumethattheV2985601.zipfilehasbeendownloadedfromeDeliveryandplacedinthe/u01/sw/weblogicdirectory.Tounzip,
issuethefollowingcommands:
$cd/u01/sw/weblogic
$unzipV2985601.zip
Oncedone,you'llseethatthezipfilecontainedonefile:wls1036_generic.jar:
Creating/AlteringtheSilentInstallationfile
InordertoperformasilentinstallationofWebLogic,you'llneedtoprepareasilentinstallationfile.IhavepreparedsuchafileandstoreditinmyGitHubAccount
here.Forthepurposesofthisblog,wewilldownloadthisfileandstoreitin/u01/sw/scripts.
Thisparticularfilehasalreadybeenalteredtosuittheinstallationinthisblog.Ifyouwanttochoosedifferentpathsorselectdifferentvalues,thisfileiswell
documented.However,pleasenotethatallsubsequentblogentriesinthisserieswillassumethattheWebLogicinstallationusesthisfileasiswithoutany
changes.
HereisascreenshotoftherelevantportionofthisfilewherethekeyvariablesofBEAHOME,WLS_INSTALL_DIR,OCP_INSTALL_DIR,NODEMGR_PORTand
LOCAL_JVMSareallset:
Runningtheinstaller
Nowthatthegenericinstallerjarfilehasbeenextractedto/u01/sw/weblogicandthesilentinstallationfilehasbeendownloadedto/u01/sw/scripts,wecanproceed
withthesilentinstallation.IssuethefollowingcommandstodoasilentinstallationofWebLogic:
$cd/u01/sw/weblogic
$umask027
$javad64jarwls1036_generic.jarmode=silentsilent_xml=/u01/sw/scripts/weblogic1036_silent_install.xml
log=/u01/app/obia11g/logs/weblogic/weblogic_server_install.log
Whenfinished,opentheweblogic_server_install.logfilelocatedin/u01/app/obia11g/logs/weblogicinyourtexteditorandchecktheverylastlineyoushouldsee
somethingresemblingthefollowing:
2016081515:33:28,893INFO[WizardController]com.bea.plateng.wizard.silent.tasks.LogTaskTheinstallationwas
successfull!
Pleasenotethatthislogfilecontainsmanywarnings(i.e.linesorgroupsoflinesthatcontainWARN)itissafetodisregardallofthem.Thesemessagesarenot
uniquetoasilentinstallandalsoappearwhenrunningaGUIbasedinstall.
https://www.fusience.com/singlepost/2016/09/12/OracleBusinessIntelligenceApplicationsOBIA1111102InstallationonOracleLinux72InstallationWeb 2/4
5/16/2017 OracleBusinessIntelligenceApplications(OBIA)11.1.1.10.2InstallationonOracleLinux7.2InstallationWebLogic11gR1(10.3.6)JavaEEApplication
RunningtheabovecommandwillinstallWebLogicintothefollowingdirectory:
/u01/app/obia11g/product/11.1.1/mwhome_1
Thislocationisalsoreferredtoasthe"MiddlewareHome"foryourinstallation.
Makingchangesto.bashrc
OnceinstallationiscompleteIrecommendcreatingafewvariablesin~/.bashrctomakethingseasiertoworkwithinfuturestagesofthisinstallationprocess(and
managementofthesystemaftertheinstallationhascompletedaswell).
Firstly,we'llcreateavariablecalledORACLE_BASEwhichwillpointtothe/u01/app/obia11gdirectory.Next,we'llcreateavariablenamedMW_HOME(for
MiddlewareHome)whichwillpointtothedirectorywhereWebLogicwasjustinstalled.Lastly,we'llcreateavariablenamedWL_HOME(forWebLogicHome)
whichwillpointtotheWebLogicsubdirectoryunderneaththeMiddlewareHome.
Todoallofthis,pleaseaddthefollowingtotheobia11guser's.bashrcfile(~/.bashrc):
ORACLE_BASE=/u01/app/obia11g
exportORACLE_BASE
MW_HOME=$ORACLE_BASE/product/11.1.1/mwhome_1
exportMW_HOME
WL_HOME=$MW_HOME/wlserver_10.3
exportWL_HOME
Thenlogoutandlogbackin.Ifyouechoeachoftheabove3variables,theyshouldresolveasshowninthefollowingscreenshot:
CopyingtheJREendorsedlibraries
Onceinstallationiscomplete,weneedtocopythreejarfilesfromtheweblogicfoldertoasubdirectoryunderneaththeJavaHome.Inordertodothis,wefirstneed
tocreatethenewendorseddirectory.Pleaseissuethefollowingcommandtodoso:
$mkdirp$JAVA_HOME/jre/lib/endorsed
Then,copythethreelibrariesbyissuingthefollowingthreecommands:
$cp$MW_HOME/modules/javax.annotation_1.0.0.0_10.jar$JAVA_HOME/jre/lib/endorsed
$cp$MW_HOME/modules/javax.xml.bind_2.1.1.jar$JAVA_HOME/jre/lib/endorsed
$cp$MW_HOME/modules/javax.xml.ws_2.1.1.jar$JAVA_HOME/jre/lib/endorsed
Increasememoryforbsu.sh
TheinstallationprocessforOBIAinvolvestheapplicationofalotofprepackagedpatchesacrossawidevarietyofcomponents.Inthepast,IhaverunintoJava
memoryissuesespeciallywhenusingJava7onWebLogic10.3.6.ThedetailsofthesefailuresareoutlinedinOracleSupportDocId2007492.1.Havingthe
OBIAinstallationfailcanbecomeverypainfulwhenyoutrytofigureoutwhatfailed,rollbacktothepointpriortofailure,andthenredoingtheinstallationfromthat
pointonward.Inordertoavoidthispain,Ialwaysincreasethememoryaspertheinstructionsconainedinthisdocument.
Inordertodoso,pleaseopen$MW_HOME/utils/bsu.shinyourtexteditor,commentoutthelinethatbeginswithMEM_ARGS,andaddanewMEM_ARGSlinelike
thefollowing:
MEM_ARGS="Xms1024mXmx1024m"
Hereisascreenshotofmybsu.shfileaftercompletingthischange:
Summary
Inthisblog,weinstalledWebLogic11gR1(10.3.6)silently,createdsomenewsystemenvironmentvariables,andessentiallyreadiedtheWebLogicinstallationto
layerontheadditionalcomponentsoftheOBIA11gsoftwaresuite.
Lookingahead
Inmynextblogentry,IwilldescribehowtodoasilentinstallationoftheOBIEE11.1.1.9RepositoryCreationUtility(RCU).
Tags: OracleBusinessIntelligenceApplications 11.1.1.10.2 Installation
0comments
Leaveamessage...
2016byFusienceCorporation
https://www.fusience.com/singlepost/2016/09/12/OracleBusinessIntelligenceApplicationsOBIA1111102InstallationonOracleLinux72InstallationWeb 3/4
5/16/2017 OracleBusinessIntelligenceApplications(OBIA)11.1.1.10.2InstallationonOracleLinux7.2InstallationWebLogic11gR1(10.3.6)JavaEEApplication
https://www.fusience.com/singlepost/2016/09/12/OracleBusinessIntelligenceApplicationsOBIA1111102InstallationonOracleLinux72InstallationWeb 4/4