tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Sarunac" <ma...@sarunac.com>
Subject Problem with Apache1.3 & Tomcat 4.0.1
Date Thu, 01 Nov 2001 20:07:24 GMT
Hello

Here is an intro to my system and description of the problem.
Any suggestions/tips are greatelly appreciated

I am running Apache 1.3 on Debian (Woody) and Tomcat 4.0.1 downloaded 
separatelly from jakarta


I have installed and configure Tomcat standalone succesfully.
However please note that my application is moved from webapps to the 
users home directory

server.xml
<Host name="mywebsite.com" debug="0" appBase="">
<Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"  prefix="site_access_log." suffix=".txt"
    pattern="common"/>
    <Logger className="org.apache.catalina.logger.FileLogger" 
    directory="logs"  prefix="site_log."
    suffix=".txt" timestamp="true"/>
<Context path="" docBase="/home/username/www/mywebsite.com.war" 
debug="0" privileged="true"/>
</Host>

Note how the site is running from the war file (not extracted) and it 
is NOT under webapps folder.

This all work fine until i get to

httpd.conf
<VirtualHost *>
ServerName mywebsite.com
DocumentRoot /home/username/www/mywebsite.com

DirectoryIndex index.jsp index.html index.htm
ErrorLog /var/log/apache/mywebsite.com-error.log

WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/  <- **************
</VirtualHost>

What i need to figure out is the WebAppDeploy line.
I notice that it by default points to the webapps folder under tomcat
how can i specify my war file in here?

Also, 
Do i need to specify my <host> under <Service name="Tomcat-Apache"> as 
well?

Eventually i will not be running anything on :8080


Once again, thanks in advance for all your help!!!!

-- 
Marko Sarunac
marko@sarunac.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message