Sun Java System Access Manager 7 2005Q4 Release Notes

Running the web services sample returns “Resource offering not found” (6359900)

When Access Manager is configured to access the web services samples under the AccessManager-base/SUNWam/samples/phase2/wsc directory on Solaris systems or the AccessManager-base/identity/samples/phase2/wsc directory on Linux systems, querying the Discovery Service or modifying the Resource Offering returns the error message: “Resource offering not found”.

AccessManager-base is the base installation directory. The default base installation directory is /opt on Solaris systems and /opt/sun on Linux systems.

Workaround:

  1. Go to the following samples directory: AccessManager-base/SUNWam/samples/phase2/wsc) directory on Solaris systems or the AccessManager-base/identity/samples/phase2/wsc directory on Linux systems

  2. In the index.jsp file, search for the following string:

    com.sun.org.apache.xml.security.utils.XMLUtils.outputDOM
  3. Immediately before the line that contains the string you found in the previous step, insert the following new line:

    com.sun.org.apache.xml.security.Init.init();
  4. Re-run the sample. (You do not need to restart Access Manager.)