hanasaki wrote:
oops.. had the wrong server version (it is 6.0.13) not .14hanasaki wrote:I have an unpacked WAR at the "docBase" in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that "host" doesnt seem to be found... tomcat links like http://localhost:8080/examples work fine. == telnet to the server / by hand == telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /index.html HTTP/1.0 HTTP/1.1 400 No Host matches server name localhost Server: Apache-Coyote/1.1 Date: Mon, 11 Jun 2007 17:34:30 GMT Connection: close Connection closed by foreign host. == java version == java -version java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) == ROOT.xml == <Context cookies="true" crossContext="false" debug="0" docBase="/project"
Ignore the docBase attribute, it doesn't work when the context is configured like this.
<!-- docBase="${catalina.home}/ROOT" --> path="/app1"
Ignore the path attribute, it doesn't work when the context is configured like this.
Set the appBase in the Host definition in server.xml to the location where you're putting the 'project' folder. Now rename the 'project' folder 'ROOT'.
p
privileged="false" reloadable="true" --------------------------------------------------------------------- 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]
smime.p7s
Description: S/MIME Cryptographic Signature