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,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top