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:
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
In the index.jsp file, search for the following string:
com.sun.org.apache.xml.security.utils.XMLUtils.outputDOM
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();
Re-run the sample. (You do not need to restart Access Manager.)