aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem Encrypting Datasource Password for JBoss AS 6.0 M2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem Encrypting Datasource Password for JBoss AS 6.0 M2" Watch "Problem Encrypting Datasource Password for JBoss AS 6.0 M2" New topic
Author

Problem Encrypting Datasource Password for JBoss AS 6.0 M2

Tim Mercer
Greenhorn

Joined: Apr 05, 2010
Posts: 3
This issue has been brought up within the community.jboss.org forums at https://community.jboss.org/message/535641. I wanted to reach out to this community to see if anyone has any insight. The issue:

Server: jboss-6.0.0.20100216-M2

login-config.xml snipit



local-tx-datasource



1) If I deploy an EJB with a persistence.xml that references the data source which references a security domain, I get the following type of error message:



2) If I do not deploy anything but bring up the JBOSS AS admin console, and try to complete a test connection under Local Tx Datasources, I get the following type of error - this is for the MySQL datasource.



Another person experiencing the same issue has tried this type of configuration in JBOSS AS 4 and 5 and the problem do not happen.

The outstanding question is: Is this a bug in 6.0 M2 or is there something within the way the configuration files have been set up that does not seem to allow the security principal to flow appropriately.

Thanks in advance.

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Tim Mercer wrote:
2) If I do not deploy anything but bring up the JBOSS AS admin console, and try to complete a test connection under Local Tx Datasources, I get the following type of error - this is for the MySQL datasource.



Ignore that #2 WARN message for now. As I replied in the other thread, it appears to be specific to admin-console. You can try out a simple test using the code, I posted in that other thread.

As for the #1 error, can you provide more details including the entire exception stacktrace?


[My Blog] [JavaRanch Journal]
Tim Mercer
Greenhorn

Joined: Apr 05, 2010
Posts: 3
Jaikiran:

Thank you for your reply. I have replied with details in the other thread: https://community.jboss.org/message/535778.

Kind regards,
 
Consider Paul's rocket mass heater.
 
subject: Problem Encrypting Datasource Password for JBoss AS 6.0 M2