Benjamin, I think I have it now. I am able to connect using Pax JDBC Config. I am working on a proof of concept project and I am fairly new to Karaf. I was trying to merge several resources I found on the web and I was getting confused.
Here are the resources I used: http://www.liquid-reality.de/display/liquid/2012/01/13/Apache+Karaf+Tutorial+Part+6+-+Database+Access http://blog.nanthrax.net/2014/10/encrypt-configadmin-properties-values-in-apache-karaf/ For others interested, here is what I did to make it all work. 1. I installed Jasypt into Karaf ==> feature:install jasypt-encryption 2. I added a jasypt_encryption.xml file to the deploy directory of the Karaf installation. 3. I created a datasource_.cfg file with an encoded password signified by using the ENC() specification. The jasypt_encryption.xml is what created the service using the encryption options that I selected. The datasource_.cfg file defined the datasource that I needed. Note: other features are needed when using Pax datasources. These are specified in the links above. I hope this helps others new to Pax JDBC in Karaf. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Datasource-Passwords-tp4048219p4048263.html Sent from the Karaf - User mailing list archive at Nabble.com.
