Tomcat Many contexts

N

newbie29

Hi,

I fixed the problem of my previous post by inserting the following
into server.xml:
<Context path="" docBase="c:\crs570\website" reloadable="true" />

My new question is how can you add two <Context>s with the same path.
I get an error when I have more than one <Context> of the same path. I
would like to add the following <Context>s:
<Context path="" docBase="crs570server" debug="0" privileged="true"
/>
<Context path="" docBase="c:\crs570\website" reloadable="true" />

Thanks,
N29
 
J

Juha Laiho

(e-mail address removed) (newbie29) said:
I fixed the problem of my previous post by inserting the following
into server.xml:
<Context path="" docBase="c:\crs570\website" reloadable="true" />

My new question is how can you add two <Context>s with the same path.

You can't. Contexts are separated by their context paths.

For what use would you need several contexts with the same path?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top