• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem Encrypting Datasource Password for JBoss AS 6.0 M2

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
reply
    Bookmark Topic Watch Topic
  • New Topic