[Re-posted because I wasnt sure if it would be clear that it follows on from this issue]
I've followed the advice from Romain about trying to use place holders in the <Resource> section of resources.xml, and set up a LifecycleListener (see here <http://openejb.979440.n4.nabble.com/Question-on-DataSources-Encryption-td4668111.html> ). However, whenever I try to load a context.xml for my application with my listener in, it is apparently ignored. So I am guessing that context.xml for my app is not being loaded. I've attached a simple project which should print out stuff when constructing or using my Listener. Currently the context.xml ends up in WEB-INF/classes/M OpenEjbDemoProject.zip <http://openejb.979440.n4.nabble.com/file/n4668188/OpenEjbDemoProject.zip> ETA-INF which I *think* is the correct place. Can some one please take a look? Many Thanks Ian -- View this message in context: http://openejb.979440.n4.nabble.com/Problems-loading-context-xml-with-a-LifecycleListener-tp4668188.html Sent from the OpenEJB User mailing list archive at Nabble.com.