This *MIGHT* not be EJB3 specific, but in case it is, I thought I'd better put it in here.
I've got a web application which requires external environment entries. These tell it where to look for certain resources and will differ between our live sites and developer test environments.
When we use Tomcat directly, we use entries in the individual contexts in server.xml. This didn't seem to work in JBoss, so I defined the Environment entries in context.xml
Annoyingly, these don't show up at all in the web application.
Is this a supported use? Do I need to define specific imports in the jboss-web.xml? Or am I merely doing it wrong by defining it for every web context? Is this related to EJB3?
Nothing to do with ejb3, and we don't read env entries from the context.xml. The web.xml/jboss-web.xml have to be used.