You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by ru...@us.ibm.com on 2000/04/19 06:03:45 UTC

Announcing release 3.1 of Tomcat!


Download it at http://jakarta.apache.org/builds/tomcat/release/v3.1/

In addition to continuing to supporting the latest Java Servlet and
JavaServer Pages Specifications, this release contains a number of
improvements over the Tomcat 3.0 release:

 * Thread pooling and JVM load balancing
 * ISAPI and NSAPI integration
 * A Command line JSP to Servlet Code tool
 * Automatic generation of Apache configuration files
 * Automatic deployment of Web ARchive (WAR) files
 * Logging
 * Substantially improved documentation
 * Experimental servlet reloading
 * Experimental security implementation
 * Minimal Admin/Deployment Tool
 * Internal APIs were changed for flexibility and integration
 * The source code was cleaned and reorganized
 * Most non-essential code was moved out of tomcat.core
 * Greater platform / JVM level coverage
 * Many, many bugs were fixed.

- Sam Ruby



Admin for Tomcat 3.1

Posted by Roy Truelove <ro...@binghamton.edu>.
I've got a question about the admin for tomcat 3.1..  When you add a context
using the Context Administration, it seems to add it to memory *only*, and
not to the servlet .xml file. In which case, if you restart the server,
those contexts which you added are lost.  Is that the case?

Thanks,
Roy

----- Original Message -----
From: John Thorhauer <jt...@phoenixcolor.com>
To: <ge...@jakarta.apache.org>
Sent: Wednesday, April 19, 2000 11:11 AM
Subject: Re: Announcing release 3.1 of Tomcat!


> rubys@us.ibm.com wrote:
> >
> > Download it at http://jakarta.apache.org/builds/tomcat/release/v3.1/
> >
>
> Looks great!! Kudos to everyone who put so much work into this.  Great
> job on the documentation too.  Tomcat is definitely on its way to ruling
> the roost of servlet engines.
>
> Thanks again to everyone for all the hard work,
>
> John Thorhauer
> --
> ********************************
> ** John Thorhauer
> ** Web Developer
> ** jthorhauer@phoenixcolor.com
> ********************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>


Re: Announcing release 3.1 of Tomcat!

Posted by John Thorhauer <jt...@phoenixcolor.com>.
rubys@us.ibm.com wrote:
> 
> Download it at http://jakarta.apache.org/builds/tomcat/release/v3.1/
> 

Looks great!! Kudos to everyone who put so much work into this.  Great
job on the documentation too.  Tomcat is definitely on its way to ruling
the roost of servlet engines.  

Thanks again to everyone for all the hard work,

John Thorhauer
-- 
********************************
** John Thorhauer
** Web Developer
** jthorhauer@phoenixcolor.com
********************************

Re: Release 3.1 of Tomcat rejects webcrawler

Posted by Ed Smierciak <es...@enduden.com>.
Web servers will (typically) interpret a series of requests over a short period
of time from the same IP address as coming from a "robot" or web crawler.  In
that sense, Tomcat appears typical, in that (at least for my network setup) some
requests per unit time threshold is apparently being exceeded after 60 or so
requests and Tomcat starts rejecting page requests from my client.

Most/All web servers have a configuration parameter that controls whether or not
the site should allow itself to be crawled.  I can't find that parameter in the
Tomcat documentation and was wondering if anyone knew how to get a Tomcat server
to permit itself to be crawled.

Sorry I wasn't particularly clear with my original note.

Ed Smierciak


John Pappin wrote:

> I'm not clear on what you are saying... who accepts/rejects what part of the
> 60-70 requests?
>
> Does Tomcat reject *all* requests? or just the ones after 60-70??
>
> - Brill Pappin
>
> > -----Original Message-----
> > From: Ed Smierciak [mailto:esmierciak@enduden.com]
> > Sent: May 4, 2000 12:47 AM
> > To: general@jakarta.apache.org
> > Subject: Release 3.1 of Tomcat rejects webcrawler
> >
> >
> > I'm running Tomcat and I'm experimenting with some crawling software.
> > After the crawler collects 60 or 70 pages without any problem, Tomcat
> > start's rejecting its requests.
> >
> > I know how to "allow robots" with Apache.  Where do I set the
> > corresponding parameter for Tomcat?
> >
> > Thanks.
> >
> > Ed Smierciak
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org


RE: Release 3.1 of Tomcat rejects webcrawler

Posted by John Pappin <jo...@jmonkey.com>.
I'm not clear on what you are saying... who accepts/rejects what part of the
60-70 requests?

Does Tomcat reject *all* requests? or just the ones after 60-70??

- Brill Pappin


> -----Original Message-----
> From: Ed Smierciak [mailto:esmierciak@enduden.com]
> Sent: May 4, 2000 12:47 AM
> To: general@jakarta.apache.org
> Subject: Release 3.1 of Tomcat rejects webcrawler
>
>
> I'm running Tomcat and I'm experimenting with some crawling software.
> After the crawler collects 60 or 70 pages without any problem, Tomcat
> start's rejecting its requests.
>
> I know how to "allow robots" with Apache.  Where do I set the
> corresponding parameter for Tomcat?
>
> Thanks.
>
> Ed Smierciak
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>


Release 3.1 of Tomcat rejects webcrawler

Posted by Ed Smierciak <es...@enduden.com>.
I'm running Tomcat and I'm experimenting with some crawling software.
After the crawler collects 60 or 70 pages without any problem, Tomcat
start's rejecting its requests.

I know how to "allow robots" with Apache.  Where do I set the
corresponding parameter for Tomcat?

Thanks.

Ed Smierciak



Re: Announcing release 3.1 of Tomcat!

Posted by Gerard van Enk <ge...@eo.nl>.
rubys@us.ibm.com wrote:

> 
> Download it at http://jakarta.apache.org/builds/tomcat/release/v3.1/
> 
> In addition to continuing to supporting the latest Java Servlet and
> JavaServer Pages Specifications, this release contains a number of
> improvements over the Tomcat 3.0 release:
> 
>  * Thread pooling and JVM load balancing
>  * ISAPI and NSAPI integration
>  * A Command line JSP to Servlet Code tool
>  * Automatic generation of Apache configuration files
>  * Automatic deployment of Web ARchive (WAR) files
>  * Logging
>  * Substantially improved documentation
>  * Experimental servlet reloading
>  * Experimental security implementation
>  * Minimal Admin/Deployment Tool
>  * Internal APIs were changed for flexibility and integration
>  * The source code was cleaned and reorganized
>  * Most non-essential code was moved out of tomcat.core
>  * Greater platform / JVM level coverage
>  * Many, many bugs were fixed.
> 

A litle late reply......

Is there a list of features of Jserv that are still missing in Tomcat 3.1?

Gerard




Re: Tomcat 3.1 (release): can't get it to work with Apache

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
I'm gonna have to plead a bit of ignorance on that one - previously I uses 
a binary mod_jserv.so pulled from the jakarta site (on or about 22 Feb)

Is the binary avaiable anywhere?

I didn't know how to get the makefile to work so I tried the equivalent of

         $ for file in *.c ; do gcc -fPIC -c $file -I/opt/apache/include ; done
         $ ld -G -o mod_jserv.so *.o

(actually I wrote a makefile for this - see below)

Will that do?

Fergus

====== Makefile ================
CC = gcc

SRCS = jserv_ajpv11.c jserv_ajpv12.c jserv_balance.c \
         jserv_image.c jserv_mmap.c jserv_protocols.c \
         jserv_status.c jserv_utils.c jserv_watchdog.c \
         jserv_wrapper.c jserv_wrapper_unix.c mod_jserv.c

OBJS = ${SRCS:.c=.o}

APACHE = /opt/apache

INCS = -I$(APACHE)/include

libjserv.so : $(OBJS)
         ld -G -o $@ $?

mod_jserv.so : libjserv.so
         cp $? $@

%.o : %.c
         $(CC) -c -fPIC -o $@ $? $(INCS)


At 13:27 19/04/00 +0300, you wrote:

>  There was a change in ajp12 a while back, maybe your mod_jserv.so is just
>not updated... Try to build mod_jserv from the CVS.
>
>         Gal Shachor
>
>On Wed, 19 Apr 2000, Fergus Gallagher wrote:
>
> > I have been installing the updates of Tomcat on Apache for quite a while
> > but I can't get the 3.1 release to work - no servlets respond.
> >
> > Pointing at the Tomcat server on port 8080 works
> >
> >       http://host:8080/myapp/servlet/myapp
> >
> > but the same on Apache
> >
> >       http://host/myapp/servlet/myapp
> >
> > hangs "indefinitely".
> >
> > 1.  [tomcat]/conf/tomcat.conf same as earlier versions (e.g., RC1) with
> > correct ApJServMount entries
> > 2. apache restarted (several times) & working
> > 3. Nothing appears in either the [apache]/logs/mod_jserv.log nor the 
> output
> > of "tomcat.sh start" until the connection attempt is cancelled (but the
> > presence of errors at least indicated that something is occurring).
> > 4. When I swap back in an older version, things work again.
> >
> > Any thoughts?  Has the mod_jserv.so dependency changed recently?
> >
> > Fergus
> >
> > P.S. mod_jserv.log error on cancel is:
> > [19/04/2000 10:34:31:665] (EMERGENCY) ajp12[1]: cannot scan servlet
> > headers  (500)
> > --
> > Fergus Gallagher
> > Orbis
> > http://www.orbisuk.com/
> > +44-(0)20-8987 0717
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: general-help@jakarta.apache.org

--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717


Re: Tomcat 3.1 (release): can't get it to work with Apache

Posted by Paul McKean <mc...@humility.maf.nasa.gov>.
Fergus Gallagher wrote:

> I have been installing the updates of Tomcat on Apache for quite a while
> but I can't get the 3.1 release to work - no servlets respond.
>
> Pointing at the Tomcat server on port 8080 works
>
>         http://host:8080/myapp/servlet/myapp
>
> but the same on Apache
>
>         http://host/myapp/servlet/myapp
>
> hangs "indefinitely".
>
> 1.  [tomcat]/conf/tomcat.conf same as earlier versions (e.g., RC1) with
> correct ApJServMount entries
> 2. apache restarted (several times) & working
> 3. Nothing appears in either the [apache]/logs/mod_jserv.log nor the output
> of "tomcat.sh start" until the connection attempt is cancelled (but the
> presence of errors at least indicated that something is occurring).
> 4. When I swap back in an older version, things work again.
>
> Any thoughts?  Has the mod_jserv.so dependency changed recently?
>
> Fergus
>
> P.S. mod_jserv.log error on cancel is:
> [19/04/2000 10:34:31:665] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> --
> Fergus Gallagher
> Orbis
> http://www.orbisuk.com/
> +44-(0)20-8987 0717
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org

The same thing happened to us on Solaris.  We had to re-build mod_jserv.so
from sources.

--
Paul C. McKean Jr.
 Technical Audit & Systems Compliance
Lockheed Martin Space Systems Company - Michoud Operations
phone: (504) 257-1213




Re: Tomcat 3.1 (release): can't get it to work with Apache

Posted by Shachor Gal <sh...@techunix.technion.ac.il>.
 There was a change in ajp12 a while back, maybe your mod_jserv.so is just
not updated... Try to build mod_jserv from the CVS.

	Gal Shachor

On Wed, 19 Apr 2000, Fergus Gallagher wrote:

> I have been installing the updates of Tomcat on Apache for quite a while 
> but I can't get the 3.1 release to work - no servlets respond.
> 
> Pointing at the Tomcat server on port 8080 works
> 
> 	http://host:8080/myapp/servlet/myapp
> 
> but the same on Apache
> 
> 	http://host/myapp/servlet/myapp
> 
> hangs "indefinitely".
> 
> 1.  [tomcat]/conf/tomcat.conf same as earlier versions (e.g., RC1) with 
> correct ApJServMount entries
> 2. apache restarted (several times) & working
> 3. Nothing appears in either the [apache]/logs/mod_jserv.log nor the output 
> of "tomcat.sh start" until the connection attempt is cancelled (but the 
> presence of errors at least indicated that something is occurring).
> 4. When I swap back in an older version, things work again.
> 
> Any thoughts?  Has the mod_jserv.so dependency changed recently?
> 
> Fergus
> 
> P.S. mod_jserv.log error on cancel is:
> [19/04/2000 10:34:31:665] (EMERGENCY) ajp12[1]: cannot scan servlet 
> headers  (500)
> --
> Fergus Gallagher
> Orbis
> http://www.orbisuk.com/
> +44-(0)20-8987 0717
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
> 
> 


Tomcat 3.1 (release): can't get it to work with Apache

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
I have been installing the updates of Tomcat on Apache for quite a while 
but I can't get the 3.1 release to work - no servlets respond.

Pointing at the Tomcat server on port 8080 works

	http://host:8080/myapp/servlet/myapp

but the same on Apache

	http://host/myapp/servlet/myapp

hangs "indefinitely".

1.  [tomcat]/conf/tomcat.conf same as earlier versions (e.g., RC1) with 
correct ApJServMount entries
2. apache restarted (several times) & working
3. Nothing appears in either the [apache]/logs/mod_jserv.log nor the output 
of "tomcat.sh start" until the connection attempt is cancelled (but the 
presence of errors at least indicated that something is occurring).
4. When I swap back in an older version, things work again.

Any thoughts?  Has the mod_jserv.so dependency changed recently?

Fergus

P.S. mod_jserv.log error on cancel is:
[19/04/2000 10:34:31:665] (EMERGENCY) ajp12[1]: cannot scan servlet 
headers  (500)
--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717