Have you tried deleting all of the chaff and just going with the basics?
Have you checked catalina.out when Tomcat starts?
Try it with just the bare minimum of parameters, as specified in the docs. It is very possible that there is something in there that works in 4.1.24 only.
John
Jay Garala wrote:
I get the" HTTP Status 404
type Status report
message /software
description The requested resource (/software) is not available.
This is what i copied from 4.1.24 that was saved from manager-web-admin-tool and place into 4.0.6 server.xml:
<Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Software" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="H:\" cookies="true" path="/software" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
Jay
-----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:10 PM To: Tomcat Users List Subject: Re: (Symbolic) Links in Windows
According to the docs, it should work just fine:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html
"The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host."
You're saying an absolute pathname for a docBase that is outside the CATALINA_HOME/webapps directory doesn't work? What's the error message?
John
Jay Garala wrote:
This only works on 4.1.24 not 4.0.6
-----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 2:45 PM To: Tomcat Users List Subject: Re: (Symbolic) Links in Windows
There are no such things as symbolic links on Windows.
The solution for you is to simply change your docBase:
<Context path="/software" docBase="some_other_drive:/some_other_dir"> </Context>
Jay Garala wrote:
Good Afternoon,
I am using Win2k with Tomcat 4.0.6. How can I make the contextPath '/software' point to a folder on a different drive (and/or directory).
How
would i go by doing this?
I got this so far in my server.xml
<Context path="/software" docBase="c:/software" debug="1"> <Resources
className="org.apache.naming.resources.FileDirContext"
caseSensitive="false" allowLinking="true" /> </Context>
Thanks
Jay
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
