Hello all: I am trying to write a small web application using openejb. I am trying to avoid using spring. The application is based on wicket. Basicly when the application starts it initialize the InitialContext() and loads openejb. Things work fine when I run the server (jetty) from a test file that came with wicket maven archetype. In this case jndi.properties is read properly.
Problem starts when deployed to a tomcat or ran the application with mvn jetty:run. In both cases a war file is created. I read somewhere that jndi.properties in never read in a web application. I don't know what would other do, to get jndi.properties read by the application. I appretiate any help.
