OAM WebGate Registration RREG – Resource URL format is not valid

WebGate: is a Policy Enforcement Point, which is installed as WebServer plug-in. Before you can use WebGate, an instance of WebGate must be created in Oracle Access Manager (OAM) and then WebGate should be installed with WebServer.

  • In 10g OAM, only way to create an WebGate instance is via Access System Console (GUI).
  • In 11g OAM, there are two waysto create an instance of WebGate, a) using OAM Console or b) using Remote Registration tool (RREG) .RREG and OAM Console both are covered in chapter 5 & 8 in my book OAM/OIM 11g for Administrators   (This book is now available from Packtpub Website)

I also discussed about OAM 11g WebGate (10g or 11g) registration using RREG here

After creating WebGate instance in OAM 11g, you can see it via OAM Console under “System Configuration” tab

I registered 10g Webgate with OAM 11g for EBS R12 integration   and faced below issue while running RREG  (oamreg.sh inband input/ebswebgate.xml)

Error Message
03-Jun-2011 11:23:32

oracle.security.am.engines.rreg.client.RegController processRegistration                                 
SEVERE: Server side error occurred. Specific error messages are:Resource URL format is not valid.                 
  in main program…  The remote registration process did not succeed!
Please find the specific error message below.

Error message passed from server is:Resource URL format is not valid.                                   
_____________

From error message it was clear that issue is with Resource definition in input file (xml) used with oamreg.sh . My input file ebswebgate.xml looks like

.
___________
<OAMRegRequest>
    <serverAddress>http://oamserver.domain:7001</serverAddress>
    <hostIdentifier>ebsdev_HostId</hostIdentifier>
    <agentName>ebsdev_Agent</agentName>
    <agentBaseUrl>http://ohsserver.domain:7777</agentBaseUrl>
    <logOutUrls>
      <url>/logout</url>
    </logOutUrls>
    <protectedResourcesList>
        <resource>/ebsauth_dev/</resource>
        <resource>/ebsauth_dev/../*</resource>
    </protectedResourcesList>
    <publicResourcesList>
        <resource>/ebsauth_dev/OAMLogin.jsp</resource>
        <resource>/ebsauth_dev/style/</resource>
        <resource>/ebsauth_dev/style/../*</resource>
        <resource>/public/oacleanup.html</resource>
    </publicResourcesList>
</OAMRegRequest>
____________

.
On closer look and comparing resource with other pre-conifgured resources in OAM,  I realised culprit resources are

<resource>/ebsauth_dev/../*</resource>
<resource>/ebsauth_dev/../*</resource>

.

I would now like to hear from your view as why above two resources are not correct and what should be correct value ?
 

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

4 comments
Mahendra says June 12, 2011

Hi Atul,

Though I have not worked on OAM 11g, I would still believe that URL format to be : /ebsauth_dev/…/*

Is that right?

Reply
Atul Kumar says June 14, 2011

@ Mahendra,
Yes /ebsauth_dev/…/* is correcy entry which signifies anything after /ebsauth_dev/

Reply
prasanna8681 says June 15, 2011

Atul,
I followed this post for registering 10g webgate in OAM 11g. But I got a failure message

Jun 14, 2011 2:14:38 PM oracle.security.am.engines.rreg.common.HTTPProtocolHandler sendRequest SEVERE: HTTP Post Method failed.HTTP/1.1 500 Internal Server Error in main program… The remote registration process did not succeed! Please find the specific error message below.
HTTP Post Method failed: HTTP/1.1 500 Internal Server Error
Jun 14, 2011 2:14:38 PM oracle.security.am.engines.rreg.client.RegClient main
SEVERE: Exception encountered: RemoteAgentRegistrationException. Specific exception:
HTTP Post Method failed: HTTP/1.1 500 Internal Server Errororacle.security.am.engines.rreg.common.RemoteAgentRegistrationException:
HTTP Post Method failed: HTTP/1.1 500 Internal Server Error

Then I realised that I am not able to see anything under OAM server’s Policy Configuration tab.
Actually I tried to reorder the providers. I put the DefaultAuthenticator and DefaultIdentityAsserter after OAMIdentityAsserter in the OAM server due to which the server could not start. Then I realized that we need them in the beginning so I changed it accordingly in the config.xml and started the server. It started fine. I am not sure if this is due to that change. Can you help me ?

Reply
ramannji says June 23, 2014

Hi,
I followed this post for registering 11g webgate in OAM 11g. But I got a failure message

HTTP Post Method failed: HTTP/1.1 500 Internal Server Error
Jun 23, 2014 8:02:01 PM oracle.security.am.engines.rreg.client.RegClient main
SEVERE: Exception encountered: RemoteAgentRegistrationException. Specific except
ion:HTTP Post Method failed: HTTP/1.1 500 Internal Server Errororacle.security.a
m.engines.rreg.common.RemoteAgentRegistrationException: HTTP Post Method failed:
HTTP/1.1 500 Internal Server Error

In the OAM Console I didn’t get any DefaultAuthenticator. Please help me.

Reply
Add Your Reply

Not found