Documente Academic
Documente Profesional
Documente Cultură
Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server
ThisdocumentdescribeshowtoconfigureApacheHTTPServerasareverseproxyservertoa WebLogicserverthatishostingSAS9.3Webapplications.Inparticular,thisdocumenthighlights stepsspecifictoSASthatarerequiredwhenyousetupanHTTPserverforSASEnterpriseBIServer Webapplications.YoucansetupanHTTPserverinmanyways,dependingonyourindividual operatingenvironmentandbusinessneeds.However,thisdocumentfocusesononepossible configurationasanexample. Note:TheinformationinthisdocumentsupplementstheOraclesWebLogicServerdocumentation thatdescribeshowtoconfigureApacheHTTPServerwiththeWebLogicserverplugin.The WebLogicServerdocumentationisprovidedinUsingWebServerPlugInswithOracleWebLogic Server.
1 02 MAY 2012
Afterlocatingthecorrectdirectory,choosethecorrectfile: ApacheHTTPServerVersion StandardApacheVersion2.0.x (NotethatOraclehas deprecatedthe2.0.xApache pluginasofWLS10.0.Itisstill availableandsupportedwith WLS10.3,but2.2.xis recommended.) StandardApacheVersion2.2.x 2. 3. mod_wl_22.so mod_wl128_22.so RegularEncryption mod_wl_20.so 128bitEncryption mod_wl128_20.so
AddtheLoadModule,IfModule,andLocationdirectivestothehttpd.conffile.Seethe followingexample: LoadModule weblogic_module modules/mod_wl_22.so <IfModule mod_weblogic.c> Include conf/weblogic.conf </IfModule> 4. CreatetheAPACHE_HOME/conf/weblogic.conffile.Thefollowinglinkcontainsa configurationfileandinstructionsthatcanbecopiedandpasted: support.sas.com/resources/thirdpartysupport/v93/appservers/ApacheWeblogicConfig.txt.
Deploy SAS Web Application Themes and SAS Flex Application Themes to an HTTP Server
SASWebApplicationThemes(SASThemes)enableyoutoapplyuniformvisualcustomizationtoyour SASWebapplications.Similarly,SASFlexApplicationThemes(SASFlexThemes)providemorevisual customizationandinteractivityforFlexapplications.Thesethemesets,whicharecollectionsof HTMLresourcessuchasimagesandcascadingstylesheets,resideonthesameWebapplication server.SASrecommendsthatyoudeploySASThemesandSASFlexThemescontenttoanHTTP serverinordertoshifttheprocessingloadofservingstaticHTMLfilesfromtheWebapplication servertotheHTTPserver. ThefollowingstepsexplainhowtodeploySASThemesandSASFlexThemestotheopensource ApacheHTTPServer.TheprocessfordeployingthethemestootherHTTPserversissimilar.
2 02 MAY 2012
3. ClicktheConnectiontab,setHostNameandPortNumbertothehostnameandportnumber oftheloadbalancingHTTPserver,andthenclickOK.
ToreconfiguretheWebDAVURLfortheapplications,followthesestepsinSASManagement Console: 1. 2. 3. 4. 5. 6. 7. 8. 9. SelectEnvironmentManagementFoundationServicesManager. SelecttheapplicationandthenselectCoreInformationService. RightclickInformationServiceandselectProperties. IntheInformationServicePropertiesdialogbox,clicktheServiceConfigurationtab andthenclickConfiguration. IntheInformationServiceConfigurationdialogbox,clicktheRepositoriestab. SelectWebDAVandthenclickEdit. ChangetheHostandPortvaluestothehostnameandportoftheHTTPserver. ClickOKtoclosetheInformationServiceConfigurationdialogbox. ClickOKtoclosetheInformationServicePropertiesdialogbox.
4 02 MAY 2012
Troubleshooting
Thefollowinglistidentifiesthehighlevelstepsusedtotroubleshootthisconfiguration: 1. ConfirmthatApacheHTTPServerisrunningandthatyourWebbrowserisconnectingto ApacheHTTPServerbyviewingtheAPACHE_HOME/logs/access.logfileasyoumakea request. UncommenttheDebugandDebugConfigInfooptionsinthehttpd.conffileandrestart ApacheHTTPServer. TheDebugoptionenablesloggingfromtheWebLogicServerplugintorecorddebugging informationto/tmp/wlproxy.loginUNIXoperatingenvironmentsand c:\TEMP\wlproxy.loginWindowsoperatingenvironments. TheDebugConfigInfooptionenablesviewingtheconfigurationparametersfortheplug in.WhenthisoptionisON,itenablesaspecialqueryparameter, __WebLogicBridgeConfig. Inyourbrowser,navigatetoyour-httpserver/SASPortal?__WebLogicBridgeConfig. IftheWebpagedoesnotdisplayatall,theneitherApacheHTTPServerortheWebLogic Serverpluginisnotinstalledcorrectly.IftheWebpagedoesdisplay,thenconfirmthathost, port,andstatusisOKfortheserversintheGeneralServerList. 3. ViewtheWebLogicServerlog.IfthereisnoactivityinthelogwhenaURLforaSASWeb applicationisaccessed,thencheckthefollowingitems: UseSASManagementConsoletoreviewthepropertiesfortheSASWebapplication andconfirmthatthehostandportvaluesaresettotheApacheHTTPServer.Usethe informationinsectionError!Referencesourcenotfound.forinstructionsonhow toaccessthemetadata. UsetheWebLogicServerAdministrationConsoletochecktheserverstartup parameters.ConfirmthattheDsas.auto.publish.port=parameteridentifies theportthattheWebLogicServerislisteningon.ForasingleWebLogicServer topology,theSASDeploymentWizardsetstheportto7001.
5 02 MAY 2012
2.
Recommended Reading
ThefollowingURLsarecurrentasofJuly2011. OracleCorporation.2011.OracleFusionMiddlewareUsingWebServerPlugInswithOracleWebLogic Server.Availableat download.oracle.com/docs/cd/E21764_01/web.1111/e14395/toc.htm.
SAS and all other SAS Institute product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. Other brand and product names are registered trademarks or trademarks of their respective companies. indicates USA registration. Copyright 2012 SAS Institute Inc., Cary, NC, USA. All rights reserved. 6 02 MAY 2012