[jboss-user] [Datasource Configuration] - Re: Encrypting Datasource Password

Larry Honeywood do-not-reply at jboss.com
Thu Feb 9 14:55:41 EST 2012


Larry Honeywood [https://community.jboss.org/people/lhoneywood] created the discussion

"Re: Encrypting Datasource Password"

To view the discussion, visit: https://community.jboss.org/message/715654#715654

--------------------------------------------------------------
Also, Make sure the service type in your login-config.xml file matches the transaction type in your "-ds.xml" file. EX:

if your "-ds.xml" entry tooks like: 
<*xa-datasource*>
    <jndi-name>SomeDS</jndi-name>
        <security-domain>SomeDomain</security-domain>
  *</xa-datasource*>

Then the service type in the login-config.xml for the corresponding domain should look like :


 <module-option name = "managedConnectionFactoryName">jboss.jca:name=SomeDS,*service=XATxCM*</module-option>

But,

if your "-ds.xml" entry tooks like: 
<*local-tx-datasource*>
    <jndi-name>SomeDS</jndi-name>
        <security-domain>SomeDomain</security-domain>
  *</local-tx-datasource*>

Then the service type in the login-config.xml for the corresponding domain should look like :


<module-option name = "managedConnectionFactoryName">jboss.jca:name=SomeDS,*service=LocalTxCM*</module-option>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/715654#715654]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120209/1aa26e7b/attachment.html 


More information about the jboss-user mailing list