Well there is nothing on the log.
Here is my server.xml :
<Server port="8005" shutdown="SHUTDOWN">
<!-- Global JNDI resources -->
 <GlobalNamingResources>

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

 </GlobalNamingResources>

 <Service name="Catalina">

   <Connector port="9570"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" /> <Engine name="Catalina" defaultHost="myvhost1.althosting.net" appBase="webapps/mydomain1">

     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
            resourceName="UserDatabase"/>

<Host name="myvhost2.mydomain.com" appBase="webapps/mydomain2" unpackWARs="true" autoDeploy="true" />
   </Engine>

 </Service>

</Server>



the context.xml :
/usr/local/tomcat/webapps/ROOT/META-INF/context.xml
<Context reloadable="true" />
<WatchedResource>WEB-INF/web.xml</WatchedResource>



/usr/local/tomcat/webapps1/ROOT/META-INF/context.xml
<Context reloadable="true" />
<WatchedResource>WEB-INF/web.xml</WatchedResource>


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

----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Sunday, October 29, 2006 8:29 PM
Subject: RE: problem with getcontext and context.xml


From: mast [mailto:[EMAIL PROTECTED]
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
http://vhost1.mydomain.com or http://vhost2.mydomain.com 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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to