Issue with Windows IIS server and webgate integration
- Get link
- X
- Other Apps
Issue with Windows IIS server and webgate integration
11g Webgate Installation and Configuration on IIS server 7.x
Webgate is a web server plug-in for Oracle Access Manager (OAM) which intercepts http requests and forwards to the Access Server for Authentication/Authorization and policy decisions. Webgate plug-in is available for Oracle HTTP Server, OHS server and IIS server.
This post is about issues with the Microsoft IIS server and webgate integration. ISAPI is an Internet Web server extension that the Webgate uses to interact with the IIS server. (ISAPI extensions are true applications that run on IIS and have access to all of the functionality provided by IIS. Extensions and filters are the two types of applications that can be developed using ISAPI.)
ISAPI extensions are implemented as DLLs that are loaded into a process that is controlled by IIS. Like ASP and HTML pages, IIS uses the virtual location of the DLL file in the file system to map the ISAPI extension into the URL namespace that is served by IIS.
The installation of the IIS Webgate should go smoothly, make sure you are using 32-bit or 64-bit version as required by your OS. However, there may be issues in installing and configuring the IIS webgate, refer below post from Oracle support/blog for a similar issue. The main thing is after the IIS webgate is instaled on the IIS server, the ISAPI filter will now be used by the webgate. This means that any user requests sent to the IIS server will now be intercepted by the webgate, since webgate is now using the isapi filter.
11g Webgate Installation and Configuration on IIS server 7.x
Webgate is a web server plug-in for Oracle Access Manager (OAM) which intercepts http requests and forwards to the Access Server for Authentication/Authorization and policy decisions. Webgate plug-in is available for Oracle HTTP Server, OHS server and IIS server.
This post is about issues with the Microsoft IIS server and webgate integration. ISAPI is an Internet Web server extension that the Webgate uses to interact with the IIS server. (ISAPI extensions are true applications that run on IIS and have access to all of the functionality provided by IIS. Extensions and filters are the two types of applications that can be developed using ISAPI.)
ISAPI extensions are implemented as DLLs that are loaded into a process that is controlled by IIS. Like ASP and HTML pages, IIS uses the virtual location of the DLL file in the file system to map the ISAPI extension into the URL namespace that is served by IIS.
The installation of the IIS Webgate should go smoothly, make sure you are using 32-bit or 64-bit version as required by your OS. However, there may be issues in installing and configuring the IIS webgate, refer below post from Oracle support/blog for a similar issue. The main thing is after the IIS webgate is instaled on the IIS server, the ISAPI filter will now be used by the webgate. This means that any user requests sent to the IIS server will now be intercepted by the webgate, since webgate is now using the isapi filter.
11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
This question is Not Answered.
Rizwan Joo OCP11g Oct 4, 2016 11:34 AM
Hey, I have the task to perform:
1) install Windows server 2012R2 Datacenter edition
2) configure IIS Server with maximum options.
3) install C++ redistribution 2012R4
4) install JRE/JDK
5) Install Webgate 11g (11.1.2.2.0)
6) After Configuring i created a site named "ECC"
7) Than I run:
deployWebGateInstance.bat -w home\wg_instance4iis\ -oh \home\Oracle_OAMWebGate1\ -ws iisConfigureIISWebGate.bat
-oh WebGate_Home -w Webgate_Instancedir -Site ecc
8) Registered a webgate to OAM and copied to config folder in webgate instance.
Than restarted the IIS Server.
9) when i browse the site http://localhost:8080
10) Webgate doesn't redirect it to OAM but directly opens the site.
There is no errors in the Event viewer or in the IIS Server Logs.
I am unable to understand this situation. I have followed the oracle Documentation link:
Average User Rating: No ratings (0 ratings)
Average User Rating
No ratings
(0 ratings)
1. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
handat Oct 5, 2016 3:51 AM (in response to Rizwan Joo OCP11g)What is the hostname associated with the ecc site? It won't be localhost.
2. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 5, 2016 7:48 AM (in response to handat)the hostname is "iis".
3. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 6, 2016 10:22 AM (in response to Rizwan Joo OCP11g)Please also check your version numbers.I have followed the oracle Documentation link:However your 5) step is refers to webgate 11.1.2.2 version. And second thing, what is your OAM version?
4. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 8, 2016 12:02 AM (in response to IdmSk)Dear IdmSK,Thanks alot for your response. The webgate i am using is the only one available on oracle site. link: Oracle Access Manager WebGates and Agents DownloadsOAM version is 11.1.2.3 which is the latest one. It has metrix for the IIS 7 or above.IdmSk
5. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 8, 2016 12:59 AM (in response to Rizwan Joo OCP11g)Refer to below links. For IIS server webgate the main thing is that the isapi filter for IIS will now use the webgate. You need to make sure this step has been completed. In your case since there is no redirection happening, it means that the webgate and isapi integration is not there. Here is screenshot from IIS as an example for your reference. The screenshot is from an older version of webgate, so in your case the Executable path may be different. But important thing is that the ISAPI filter will clearly show the webgate (as shown in yellow highlight). Only after this step has been completed the redirection will work.Check your IIS server settings, most probably this step is missing.Here are few more references for IIS and webgate integration.Completing Webgate Installation with IIS LINKHere is link to webgate installation on IIS 8.5Also check this link, it should be similar for your version. Lastly make sure you are downloading the Oracle Access Manager IIS 7.5/8.5 WebGates 11.1.2.2.0 from downloads.Please mark as helpful/answered if this helps your issue.
7. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 12, 2016 1:11 AM (in response to Rizwan Joo OCP11g)503 is server error. Make sure the IIS service is up and running. You can check webgate logs to check the actual error to make sure the webgate install works fine.
8. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 12, 2016 1:52 AM (in response to IdmSk)Thank you for you prompt reply.the oblog.log webgate log file is reporting these errors:2016/10/05@08:00:00.017000 UTC - WebGate Multi-Process File Logger****************************************************** BANNER INFORMATION ***************************************************WebgateId=eccwebgateWebgateInstallDir=c:\oracle\product\11.1.1\as_1\webgate\iisWebgateInstanceDir=c:\instanceAgentType=WebGateWebgateVersion=11.1.2.2.0WebServer=IIS 7.x/8WebServerStartTime=2016/10/05@07:59:59 UTCWebServerVersionMode=Version 7.5HostName=iisOsInfo=Server 4.0 Service Pack 1 (Build 7601)32 bit*****************************************************************************************************************************<Year/Mon/Day@Hour:Min:Sec.Milsec> <Process_Id> <Thread_Id> <Module> <Level> <Code> <File:Line> "<Message>" <Named_Values...>=============================================================================================================================2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/en-us/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/fr-fr/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/de-de/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/es-es/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/it-it/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/ja-jp/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/ko-kr/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/zh-cn/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/zh-tw/globalmsg.xml2016/10/05@08:00:00.017000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/oblix/lang/pt-br/globalmsg.xml2016/10/05@08:00:00.080000 760 1852 INIT ERROR 0x000003B6 base\oblistrwutil.cpp:225 "Could not read file" filename^c:\oracle\product\11.1.1\as_1\webgate\iis/config/oblog_config.xml2016/10/05@08:00:18.020000 760 1852 CONFIG ERROR 0x00000505 ..\src\obconfig.cpp:747 "ObAccess exception thrown" raw_code^02016/10/05@08:00:18.020000 760 1852 ACCESS_GATE FATAL 0x00001520 ..\src\iisentry_web_gate.cpp:619 "Exception thrown during WebGate initialization"2016/10/05@08:00:18.020000 760 1852 ACCESS_GATE FATAL 0x0000182C ..\src\iisentry_web_gate.cpp:620 "The AccessGate is unable to contact any Access Servers." raw_code^3012016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^2042016/10/05@08:00:18.020000 760 1852 CONFIG FATAL 0x0000181C ..\src\obconfig.cpp:863 "Oracle AccessGate API is not initialized." raw_code^204I am stuck here, can't understand this situation.If i see the Event Viewer logs, it shows this error:Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c78cException code: 0xe06d7363Fault offset: 0x000000000000a49dFaulting process id: 0x8b4Faulting application start time: 0x01d220f25caf617eFaulting application path: c:\windows\system32\inetsrv\w3wp.exeFaulting module path: C:\Windows\system32\KERNELBASE.dllReport Id: cff6c96a-8ce5-11e6-bf03-000c29f81cb7Faulting package full name: %14Faulting package-relative application ID: %15
9. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 13, 2016 12:50 AM (in response to Rizwan Joo OCP11g)kernelbase.dll fault is IIS/windows related. Make sure 32 or 64 bit compatibility- IIS version, webgate version.
10. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 13, 2016 7:53 PM (in response to IdmSk)Dear IdmSk,IF i go to IIS Server Aplication pool---> my application pool---> advance settings---> 32 bit Application compatibility set to ENABLE.Than i get this error as attached.
11. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 14, 2016 12:04 AM (in response to Rizwan Joo OCP11g)First ensure compatibility between 32 bit and 64 bit versions. Meaning if your IIS/windows is 32 bit then webgate version also has to be 32 bit.So first check the bit versions. You will have to uninstall webgate first, then ensure IIS is working fine. If IIS is having issues then need to uninstall/reinstall IIS. Then proceed with a fresh install on IIS making sure bit version compatibility.
12. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 14, 2016 6:29 AM (in response to IdmSk)I am using windows server 2008R2 64 bits so the IIS Server is also 64 bits as it is built-in with the windows, i have just configured it.secondly, the webgate is also 64 bits.
13. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 15, 2016 12:54 PM (in response to Rizwan Joo OCP11g)Make sure IIS server is working fine. You can do this by disabling the webgate via the IIS Admin console. Once webgate is disabled you should be able to get to the IIS main page fine. If this works fine you are sure IIS is working fine. Next, enable the webgate and then try again.
14. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 19, 2016 12:46 AM (in response to Rizwan Joo OCP11g)Just fyi, to make sure IIS server is working fine, you may temporarily disable the webgate so that you can test basic IIS functionality. ie you should be able to access the home page and other web pages in IIS without any issues. Once you have confirmed IIS is working fine, now re-enable webgate and check if you get redirection to OAM. If not then you at least isolated that the issue is with webgate install. And as discussed please check versions and bits (32 or 64).
15. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
Rizwan Joo OCP11g Oct 18, 2016 7:08 AM (in response to IdmSk)Dear IdmSk,Thank you so much for your constant replies.What do you mean by disabling the Webgate?
The Event Logs i have shared clearly mentioning the W3... a process of webgate is crushing, which is the actual reason. The Oracle Support also identified this ERROR and looking for resolution.
16. Re: 11g Webgate Installation and Configuration on IIS Server 7.x windows server 2012
IdmSk Oct 19, 2016 12:47 AM (in response to Rizwan Joo OCP11g)Disabling webgate means to stop the functionality of the webgate. Its effect is similar to uninstalling the webgate. This can help during troubleshooting. Via IIS admin console you can disable the webgate module so an admin may not require to take the step of uninstalling webgate. Once webgate functionality is disabled you get back your normal IIS web server behavior which you can test to make sure basic IIS server functionality is ok. This way you can isolate the issue- whether it is due to IIS or it is due to webgate. Once webgate is installed it integrates with IIS server for authentication purposes. In your case since webgate module is causing the issue, then if you disable the webgate (via the IIS admin console, it is mere button clicks actually instead of having to uninstall the whole webgate), IIS webpages should be accessible fine to prove that the issue was in fact with the webgate module and there is no corruption to IIS server... However in your scenario the webgate is the issue, confirmed by the logs and Support.I hope it is clear what is meant by disabling webgate. Enabling and disabling webgate are helpful for quick troubleshooting when there are issues with webgate, IIS, OAM setup, instead of having to uninstall the full webgate.
- Get link
- X
- Other Apps
0ciedaQria-do Jamie Jackson https://marketplace.visualstudio.com/items?itemName=cicoldege.Descargar-Lost-In-The-Dungeon-gratuita
ReplyDeletegiftfittiti
0lisriamaechi Diana Claborn https://www.photographybyjes.com/profile/BEST-SELECTION-2010zip-NEW/profile
ReplyDeleteacveluawest