tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: building JServ
Date Wed, 26 Apr 2000 14:10:40 GMT
In fact I tried to use the same Apache Installation with both Tomcat and
JServ "concurrently" and it works.
At least on NT the apache side  .dll module is the same
ApacheModuleJServ.dll (64KB) so i am using the existing "jserv.conf" file of
JServ and i just added some zones for Tomcat. The only trick is to  use a
different connector port for tomcat (8009) and keep 8007 for JServ. Of
course JServ should be configured for Manual Mode.
I found this very useful since i don't want to redeploy the existing
applications running on JServ to Tomcat but at the same time i want to use
Tomcat for the new projects.

This is how "jserv.conf" file is :

LoadModule jserv_module "/program files/apache group/apache jserv
1.1/ApacheModuleJServ.dll"
ApJServManual on
ApJServDefaultPort 8007

############################################################################
########
#                           J S e r v 1.1   listening to 8007 (default)
#

  ApJServMount    /zone1/servlet  /zone1
  ApJServMount    /zone2          /zone2
  ApJServMount    /zone3          /zone3



############################################################################
#########
##                             T o m c a t 3.1
##
##
##
##               T o m c a t   is listening to port 8009   !!
##

# ----------------------------
 /examples   ---------------------------------------

Alias /examples C:\usr\local\tomcat-3.1\webapps\examples
<Directory "C:\usr\local\tomcat-3.1\webapps\examples">
    Options Indexes FollowSymLinks
</Directory>

     ApJServMount /examples/servlet ajpv12://localhost:8009/examples

<Location /examples/WEB-INF/ >
    AllowOverride None
    deny from all
</Location>

##
##
##
##
############################################################################
########



-----Original Message-----
From: Don Vaillancourt [mailto:don@avaterra.com]
Sent: Tuesday, April 25, 2000 5:09 PM
To: tomcat-user@jakarta.apache.org
Cc: Jan Labanowski
Subject: Re: building JServ


> JServ is Jserv, and Jserv ain't Tomcat. You either have JServ
> or you have Tomcat, but you cannot have both talking to the same
> Apache,  unless you really want to hack Apache code.
> JServ is based on Servlet Spec 2.0
> Tomcat is based on Servlet Spec 2.2
> They are different, incompatible, period...

Thank you sooooo very much.  You just cleared up a big thing for me.

Yes, Tomcat is VERY SHAKY.  So I'm trying to compile JServ within Apache.
But
obviously I am using the wrong JServ.

So can the other JServ be compiled within Apache?  The only problem I am
getting is
having Tomcat crashing on me once a day or every couple of days for no
obvious
reasons.

I just started working at this company where they were smart enough to use
an
unsupported product.  So now I must stabalize Tomcat, and with my limited
knowledge
of Apache and Tomcat I am having a wonderful time figuring this stuff out.

My next step is to compile Apache with DSO and recompile the JServ which
comes with
Tomcat.

Thank you for your responce.

Don



Mime
View raw message