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 Masroof Ahmad

Leave a Comment:

4 comments
Add Your Reply