HI,

I am trying to encrypt the database password and us that in DataSource. For 
that I have modified login-config.xml(LoginModule) and mysql-ds.xml for 
configuring datasource. It is accessed through hibernate session. I am getting 
the following exception. Please help me:


anonymous wrote :  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
  | org.jboss.resource.JBossResourceException: No matching credentials in 
Subject!
  |  at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.getConnectionProperties(BaseWrapperManagedConnectionFactory.java:381)
  |  at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
  |  at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
  |  at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
  |  at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
  |  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
  |  at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
  |  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
  |  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151043#4151043

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151043
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to