EAP 6 のセキュリティードメインの共有で "No matching credentials in Subject!" メッセージが表示される

Solution Verified - Updated -

Issue

  • 設定した複数のデータソースが 1 つのセキュリティードメインを共有します。
  • No matching credentials in Subject! エラーと IJ000456: Unchecked throwable ... エラーが発生します。
... javax.resource.ResourceException:IJ000456:Unchecked throwable in ManagedConnection.getConnection() ...
  at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:533)
  at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:143)
  ...
Caused by: javax.resource.ResourceException:No matching credentials in Subject!
  at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.getConnectionProperties(BaseWrapperManagedConnectionFactory.java:965)
  at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkIdentity(BaseWrapperManagedConnection.java:845)
  at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.getConnection(BaseWrapperManagedConnection.java:466)
  at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:519)
  ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.