Are you talking about a Tomcat context file? I believe it should be located at /META-INF/context.xml and not /WEB-INF/classes/META-INF/context.xml.
Trevor Stevens tstev...@me.com On Mar 13, 2014, at 10:26 AM, ihunter <ihun...@hotmail.com> wrote: > I've followed the advice from Romain about trying to use place holders, and > set up a LifecycleListener (see 2 posts down). > > However, whenever I try to load context.xml with my listener in, it is > either getting ClassNotFoundException (I assume because its in the wrong > place for the right ClassLoader), or 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/META-INF whichI *think* is the correct place. > > Can some one please take a look? > > Many Thanks > Ian > OpenEjbDemoProject.zip > <http://openejb.979440.n4.nabble.com/file/n4668187/OpenEjbDemoProject.zip> > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Question-on-DataSources-Encryption-tp4668111p4668187.html > Sent from the OpenEJB User mailing list archive at Nabble.com.