The agent is configured for local configuration by setting the bootstrap property com.sun.identity.agents.config.repository.location=local. This is probably not a common setting, but we don't know much about its usage.
This setting will always cause the agent to crash at version 5.8.
The problem was caused by changes for connection pooling. This is a simple one to fix.
The problem was first mentioned in a comment on