Friday, February 26, 2010

Make Access Server debug log (oblog.log) more readable

tail -f oblog.log | sed 's/\%25253d/=/g' | sed 's/\%253d/=/g' | sed 's/\%20/ /g' | sed 's/\%3d/=/g' | sed 's/\%2520/ /g' | sed 's/\%2525253/=/g' | tr ' ' '\n'


Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

Thursday, February 4, 2010

After CPU patch OC4J containers will not start anymore

We applied a CPU patch an Oracle Infrastructure 10.1.2.3 and after that the OC4J containers did not start anymore.

In de $ORACLE_HOME/ldap/log/oidldapd01.log the following error:


Bind failed on communication endpoint (13)


With an opmnctl status the OID seems to be up.

When this problem occurs you need to execute root.sh.

Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

Wednesday, February 3, 2010

The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up

In the browser we got an 401 Unauthorized error when we tried to start an application behind Oracle Access manager.

In the log.xml in $ORACLE_HOME/j2ee/[OC4J_CONTAINER]/log/[OC4J_CONTAINER/oc4j/ the error:


[CoreIDLoginModule]: Could not authentication user using ObSSOCookie token. Exception: [CoreIDLoginModule]: Could not fetch groups from Access Server. Exception: The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up.


In the SDK log directory $SDK_HOME/oblix/logs

2010/01/29@07:24:43.738335 7278 7278 ACCESS_SDK ERROR 0x00001830 /usr/abuild/Oblix/10142hf/palantir/access_api/src/obresource_request.cpp:715 "The requested resource could not be mapped to a policy domain in the Policy database. Check if the corresponding directory service is up." raw_code^305


I forgot to create the policy for /myresourceurl in the policy manager.



Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.