Groups > Weblogic > WebLogic general discussion > META-INF/context.xml used by Weblogic?




META-INF/context.xml used by Weblogic?

META-INF/context.xml used by Weblogic?
Thu, 6 Dec 2007 03:58:49 -0800
Hi, 

I'm working on a project which requires deploying a web app to both Tomcat and
Weblogic using Eclipse WTP. I want to use JNDI to define the Data source. This
is relatively easy in my Weblogic environment (except java:/comp/env doesn't
work). To get it to work in Tomcat, I need to create a file META-INF/context.xml
and add in the JNDI settings there. Will settings I add to META-INF/context.xml
be picked up by WebLogic and so potentially override settings in my domain 

Tomcat is a development environment (due to issues with eclipse + maven +
weblogic and deploying dependent projects with a web app) - so
META-INF/context.xml is development only.

Does META-INF/context.xml have significance in J2EE apps?

Post Reply
about | contact