Hello All,
Few months ago, I was able to setup my eclipse/tomcat6 to pull datasource. Now it is failing with "Name
jdbc is not bound in this Context error".
I recently reconfigured my project, which did not involve removing/adding any jar files. I googled this issue and applied numerous solution without
success.
Below is what I did then:
WEB-INF/context.xml
WEB-INF/web.xml
java code:
CATALINE_HOME=C:\Tomcat 6.0
What I have? I have configured eclipse to start/stop
tomcat from within eclipse so I don't have to deploy/undeploy using
ant etc.
This configuration created a Servers as eclipse project with its own set of server.xml, web.xml & context.xml. So now:
1. I have these 3 files in tomcat 6.0/conf/ folder
2. I have these 3 files in .../Servers/Tomcat v6.0 Server at localhost-config/ folder (in eclipse)
3. I have context.xml and web.xml in WEB-INF folder
4. I have context.xml in META-INF folder
Can anybody guide me through? When tomcat is started from within eclipse what xml files take precedence over others (listed from 1 - 4 above).
How can I find what context.xml file is being used?
Thanks in advance.
T.