Can Not Find Server Name For Server ID

(Doc ID 1466736.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle OpenSSO - Version 8.0.2 and later
Information in this document applies to any platform.


We have found errors in Policy Agent (Opensso PA 3.0) debug logs when an HTTP 500 error is returned to to final end-user.

On IIS7 PA 3.0-02 amAgent logs, we find:

2011-12-21 14:08:38.124   Error 9428:29aafd0 PolicyEngine: am_policy_evaluate: InternalException in Service::update_policy with error message:Naming query failed. and code:4
2011-12-21 14:08:38.124 Warning 9428:29aafd0 all: am_web_is_access_allowed()(http://<agent_host>:<port>/path/to_url, GET) denying access: status = OpenSSO naming service failure
2011-12-21 14:08:38.124   Error 9428:29aafd0 all: ProcessRequest: status: OpenSSO naming service failure (4)
2011-12-21 14:08:38.124 Warning 9428:29aafd0 all: send_error(): Agent sent a "500 Internal Server Error" message

On CoreSystem debug logs on OpenSSO, we find:

amNaming:12/21/2011 02:08:05:069 PM CET: Thread[httpSSLWorkerThread-1443-7,10,Grizzly]
ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 10 Cannot find server.

On Session debug logs on OpenSSO, we find:

amSession:12/21/2011 02:08:05:070 PM CET: Thread[httpSSLWorkerThread-1443-7,10,Grizzly]
ERROR: Could not get server info from sessionid Cannot find server.
amSession:12/21/2011 02:08:05:071 PM CET: Thread[httpSSLWorkerThread-1443-7,10,Grizzly]
ERROR: Invalid sessionid format
java.lang.IllegalArgumentException: Invalid server id in session id Cannot find server.

It seems this a naming service related error. We can't figure out why PA/OpenSSO looks for a SERVER with ID = 10, but it doesn't exists.
This is the configuration for servers in the environment, for example:

https://<opensso_host_1>:<ssl_port>/opensso => serverid=01
https://<opensso_host_2>:<ssl_port>/opensso => serverid=03
https://<opensso_host_3>:<ssl_port>/opensso => serverid=04
https://<opensso_host_4>:<ssl_port>/opensso => serverid=05


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms