Deployment plan to override values in web.xml and ejb-jar.xml
Kalai Selvi
Ranch Hand
Joined: Jan 08, 2007
Posts: 45
posted
0
All,
Could someone tell me if it is possible to use plan.xml to override <env-entry> values in web.xml and ejb-jar.xml.
I have an entry like,. in web.xml and ejb-jar.xml(one entry for each of my EJBs). In my application, I lookup the value using JNDI like, ic.lookup("java:comp/env/my_env"). If I have hardcoded values in web.xml and ejb-jar.xml, everything works fine. Now I need to use deployment plan to override the value to staging and production. My plan.xml looks like this