tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mast" <>
Subject Re: problem with getcontext and context.xml
Date Sun, 29 Oct 2006 20:02:22 GMT
Well there is nothing on the log.
Here is my server.xml :
<Server port="8005" shutdown="SHUTDOWN">
 <!-- Global JNDI resources -->

    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource name="UserDatabase" auth="Container"
       description="User database that can be updated and saved"
          pathname="conf/tomcat-users.xml" />


  <Service name="Catalina">

    <Connector port="9570"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" 
    <Engine name="Catalina" defaultHost="" 

      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"

 <Host name="" appBase="webapps/mydomain2" 
unpackWARs="true"  autoDeploy="true" />



the context.xml :
<Context reloadable="true" />

<Context reloadable="true" />

for myvhost2 i get error 404
for myvhost1 i get  No Host matches server name

----- Original Message ----- 
From: "Caldarale, Charles R" <>
To: "Tomcat Users List" <>
Sent: Sunday, October 29, 2006 8:29 PM
Subject: RE: problem with getcontext and context.xml

> From: mast []
> Subject: Re: problem with getcontext and context.xml
> when i say myfile i mean file like index.jsp it their i
> should put them no ?

Yes, that's where the public .jsp files should go.

> but that don t work

What do you mean by "don't work"?  What happens when you enter or in a browser?
What's in the Tomcat logs?  Post your server.xml and each ROOT's
context.xml if the logs don't help.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message