You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by davide semprini <se...@hotmail.com> on 2001/10/29 13:19:41 UTC

Help Please

Hi at everybody,

I'm new user of TC 4.0 and Apache.
I have successfull installed TC 4.0 and Apache 1.3.22
Standalone each of it work fine, the problem start when
I try to work with together!
I use W2K like s.o.
In my httpd.conf I have successfull added the directive:
LoadModule webapp_module modules/mod_webapp.so
AddModule   mod_webapp.c
and I have copy the file mod_webapp.so and libapr.dll
in modules/ subdirectory in apache_home.
To estabilish a connection with TC 4.0 and Apache
I have added a virtualhost directive such as:
(xxx.yyy.zzz.www is a IP of my LAN instead of localhost)
<VirtualHost xxx.yyy.zzz.www >
    ServerAdmin d.semprini@cineca.it
    ServerName ******
    DocumentRoot "c:\jakarta-tomcat-4.0\webapps"
    WebAppConnection conn      warp  localhost:8008
     WebAppDeploy     esse3     conn  /esse3/
    WebAppInfo /webapp-info
</VirtualHost>
Okay, I have to set any directive to access at my DocumentRoot like
<Directory c:\jakarta-tomcat-4.0\webapps>
......
</Directory> ????????
Because It seems that i don't do this I can't access at the content
of my DocRoot!!!!!!!!
There is other config that I have to include in my httpd.conf ???????

In file server.xml I have:

<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="0"/>
<!-- ======         ATTENTION ======================== -->
What i have to put in name?
   <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="xxx.yyy.zzz.www " debug="0" appBase="webapps">

   <Host name="xxx.yyy.zzz.www " debug="0" appBase="webapps" 
unpackWARs="true">

<!-- It is enought this directive for my webapps?????????? --->
<Context path="/esse3" docBase="esse3" debug="0" reloadable="true">
                 <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="localhost_esse3_log." suffix=".txt"
           timestamp="true"/>
</Context>
      </Host>
    </Engine>
  </Service>
</Server>
When I try to connect to my webapps
using the url: http://xxx.yyy.zzz.www/esse3
I access with difficult to my webapps
and sometimes I receive in error.log of apache (null value)
and sometimes tomcat cannot load images
and sometimes the connection is lost!!!!

CAN somebody help me in configuration?????????


Tanks a lot

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Help Please

Posted by Chase <ch...@osdev.org>.
----- Original Message -----
From: "Lassie" <la...@altavista.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, October 29, 2001 6:29 AM
Subject: Re: Help Please


> davide semprini wrote:
> > When I try to connect to my webapps
> > using the url: http://xxx.yyy.zzz.www/esse3
> > I access with difficult to my webapps
> > and sometimes I receive in error.log of apache (null value)
> > and sometimes tomcat cannot load images
> > and sometimes the connection is lost!!!!
> Same behavior on my Win2000 system...
> Did anyone manage to make Tomcat 4 and Apache work together on Win2000
with the
> Warp connector ?

Work? yes, Stay working after refreshing a servlet twice in a row, no :)

The warp thing seems to die and I have to restart apache to make it work.

-Chase


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Help Please

Posted by Lassie <la...@altavista.net>.
davide semprini wrote:

> (snip)
> When I try to connect to my webapps
> using the url: http://xxx.yyy.zzz.www/esse3
> I access with difficult to my webapps
> and sometimes I receive in error.log of apache (null value)
> and sometimes tomcat cannot load images
> and sometimes the connection is lost!!!!

Same behavior on my Win2000 system...
Did anyone manage to make Tomcat 4 and Apache work together on Win2000 with the
Warp connector ?

> CAN somebody help me in configuration?????????
>
> Tanks a lot


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>