Translated message

A translation of this page exists in English.

IDM で例外が発生すると JPP 6.0 にログインできない

Solution Unverified - Updated -

Issue

  • Organization API を使用して、JPP 6 のユーザーを操作しています。以下のログが示すように、データベースの制御違反のために操作が失敗する場合があります。
ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ORA-00001: unique constraint (PORTAL_IDM_
OWNER.JBID_IO_ATTR_UK999) violated
: org.hibernate.exception.ConstraintViolationException:ORA-00001: unique constraint (PORTAL_IDM_OWNER.JBID_IO_ATTR_UK999) violated

    at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:74) [hibernate-core-4.1.6.Final-redhat-3.jar:4.
1.6.Final-redhat-3]
...
    at org.picketlink.idm.impl.repository.RepositoryIdentityStoreSessionImpl.save(RepositoryIdentityStoreSessionImpl.java:75) [picketlink-idm-core-1.4
.1.Final-redhat-1.jar:1.4.1.Final-redhat-1]
    at org.picketlink.idm.impl.api.session.IdentitySessionImpl.save(IdentitySessionImpl.java:213) [picketlink-idm-core-1.4.1.Final-redhat-1.jar:1.4.1.
Final-redhat-1]
    at org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.flush(PicketLinkIDMOrganizationServiceImpl.java:164) [exo.portal
.component.identity-3.5.2.Final-redhat-4.jar:3.5.2.Final-redhat-4]
    at org.exoplatform.services.organization.idm.UserDAOImpl.persistUserInfo(UserDAOImpl.java:483) [exo.portal.component.identity-3.5.2.Final-redhat-4
.jar:3.5.2.Final-redhat-4]
    at org.exoplatform.services.organization.idm.UserDAOImpl.createUser(UserDAOImpl.java:142) [exo.portal.component.identity-3.5.2.Final-redhat-4.jar:
3.5.2.Final-redhat-4]

この例外自体は問題ではありません。ただし、ポータルにログインできなくなったため、JPP 6 で適切に処理されていないようです。この問題を解決するには、サーバーの再起動が必要です。

Environment

  • JBoss Enterprise Portal Platform (EPP)
    • 5.2.x
  • JBoss Portal Platform (JPP)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content