我们在产品中使用OpenAM 9.5.3版本。为了将新用户存储在OpenAM数据存储中,将调用AMIdentity的存储方法。
但是我们经常处于例外之下。碰巧的是系统将正常运行几天,突然有一天出现此问题。重新启动服务是唯一的解决方法。
com.my.company.security.auth.server.AuthClass::handlePostAuthSuccess() - ::handlePostAuthSuccess() - An exception occurred during Post Authentication Processing: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key -1
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Bundle.getString(LDAPv3Bundle.java:48)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.handleLDAPException(LDAPv3Repo.java:6027)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.setAttributes(LDAPv3Repo.java:4065)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.setAttributes(LDAPv3Repo.java:3845)
at com.sun.identity.idm.server.IdServicesImpl.setAttributes(IdServicesImpl.java:1698)
at com.sun.identity.idm.server.IdCachedServicesImpl.setAttributes(IdCachedServicesImpl.java:522)
at com.sun.identity.idm.AMIdentity.store(AMIdentity.java:586)
at com.my.company.security.auth.server.AuthClass.handlePostAuthSuccess(AuthClass.java:1810)
用于访问
store
方法的代码为:我无法弄清楚是什么原因导致了此异常?如果你们中的任何人遇到了这个问题,并且知道如何解决这个问题。
请注意,OpenAM升级对我们不开放。
最佳答案
我认为直接原因是OPENAM-1123,但这可能不是根本原因。
首先,您应该在消息级别检查调试日志。