Top "Context.xml" questions

The context.

How to set the context path of a web application in Tomcat 7.0

I know that I can rename my webapp (or it's WAR file) to ROOT but this is a terrible way …

tomcat tomcat7 root context.xml
How can I specify system properties in Tomcat configuration on startup?

I understand that I can specify system properties to Tomcat by passing arguments with the -D parameter, for example "-Dmy.…

tomcat properties system-properties context.xml
How to get resource from the context.xml file in tomcat webapp?

This is my context.xml file: ... <Resource auth="Container" driverClass="net.sourceforge.jtds.jdbc.Driver" type="com.jolbox.bonecp.…

java tomcat web-applications jndi context.xml
javax.naming.NameNotFoundException: Name [jdbc/rhwebDB] is not bound in this Context. Unable to find [jdbc]

I know there's many questions regarding this exception, however, I believe I've tried everything for many days, without any luck …

java tomcat jdbc context.xml meta-inf
Understanding context.xml in tomcat 6

I created a mainly empty dynamic web project in eclipse. It has no servlets no jsp files The web.xml …

java tomcat6 context.xml
Replace spring bean in one context with mock version from another context

I'm writing an integration test where an application context xml is initialized during startup. There are several test methods in …

spring testing mocking javabeans context.xml
How to store string values in context.xml

I'd like to store connection URLs in a JNDI binding for my Tomcat application. Since Tomcat uses context.xml for …

java string tomcat jndi context.xml
tomcat 7 ignoring my context.xml

I hope this is something stupid. But I've been staring at it way too long. I am upgrading to Tomcat 7 (…

tomcat tomcat7 server.xml context.xml
Deploying a servlet programmatically with Jetty

I've got a servlet that I wish to deploy programmatically using Jetty. The servlet uses Spring and it's web.xml …

spring servlets jetty context.xml