Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Encrypting Datasource Password for JBoss AS 6.0 M2

 
Tim Mercer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tim Mercer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran:

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

Kind regards,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic