1 Reply Latest reply on Dec 13, 2006 2:13 PM by starksm64

    context.xml environment entries

    crnflke

      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?