tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <...@osc.edu>
Subject Is JServ and Tomcat mod_jserv the same? Was: building JServ
Date Fri, 28 Apr 2000 05:31:43 GMT
Again,

I am confused...
You say that JServ's mod_jserv and Tomcat's mod_jserv are the same.

Below is the "ls -l *.c" on source files for JServ 1.1
and on the stable relase of Tomcat 3.1. 

I did not run diff on the files. But without diff, 
everyone sees that files are different SIZE, i.e., different.

And I see all these people asking questions why it does not work,
and the answers -- because you have JServ's mod_jserv, and you need
Tomcat's mod_jserv. I may be wrong, but I would really like
this issue put to the grave. 

I wish someone did the experiment buy copying over the JServ1.1
C sources over Tomcat C sources, and recompiling, and proving that
nothing is broken.

The question is simple...
=========================
You have a working installtion of JServ 1.1, which is the last stable
release from http://java.apache.org/jserv/
Then you get the Tomcat from http://jakarta.apache.org.
You unpack the tomcat binaries, without overwriting the
mod_jserv.so module in <APACHE_HOME>/libexec

Will the Tomcat work correctly?
Can you mount the Tomcat and Jserv servlet engines/contexts at the
same time with, say port 8007 (Tomcat3.1), and  8008 (JServ1.1)?

Anybody did this and everything works? Read the question carefully
before answering, please...


=========== C sources from JServ 1.1 distribution =================
/usr/local/apache_JServ1.1/sources/ApacheJServ-1.1/src/c
JServ1.1
# ls -l *.c
-rw-r--r--   1 root     bin         19406 Oct 27  1999 jserv_ajpv11.c
-rw-r--r--   1 root     bin         24918 Jan 13 14:12 jserv_ajpv12.c
-rw-r--r--   1 root     bin         19942 Oct 27  1999 jserv_balance.c
-rw-r--r--   1 root     bin         14373 Sep 28  1999 jserv_image.c
-rw-r--r--   1 root     bin         14833 Nov  8 14:51 jserv_mmap.c
-rw-r--r--   1 root     bin         11282 Oct 27  1999 jserv_protocols.c
-rw-r--r--   1 root     bin         38196 Jan 11 20:36 jserv_status.c
-rw-r--r--   1 root     bin         13950 Dec  1 17:59 jserv_utils.c
-rw-r--r--   1 root     bin         10152 Oct 29  1999 jserv_watchdog.c
-rw-r--r--   1 root     bin         33090 Jan 11 20:37 jserv_wrapper.c
-rwxr-xr-x   1 root     bin         19385 Oct 27  1999 jserv_wrapper_unix.c
-rw-r--r--   1 root     bin         61494 Dec  1 17:59 mod_jserv.c


=========== C sources from Tomcat 3.1 stable distribution =================
/usr/local/apache_t3.1/sources/jakarta-tomcat/src/native/apache/jserv
$ ls -l *.c
-rw-rw-r--    1 500      500          5270 Nov 24 20:29 autochange.c
-rw-rw-r--    1 500      500         17555 Apr  4 15:58 jserv_ajpv11.c
-rw-rw-r--    1 500      500         24207 Apr  4 15:58 jserv_ajpv12.c
-rw-rw-r--    1 500      500         18783 Apr  4 15:18 jserv_balance.c
-rw-rw-r--    1 500      500         14373 Nov 24 20:29 jserv_image.c
-rw-rw-r--    1 500      500         13736 Nov 24 20:29 jserv_mmap.c
-rw-rw-r--    1 500      500         10329 Nov 24 20:29 jserv_protocols.c
-rw-rw-r--    1 500      500         32839 Apr  4 15:58 jserv_status.c
-rw-rw-r--    1 500      500         13104 Apr  4 15:26 jserv_utils.c
-rw-rw-r--    1 500      500          9431 Mar 30 04:26 jserv_watchdog.c
-rw-rw-r--    1 500      500         30757 Mar 30 04:26 jserv_wrapper.c
-rw-rw-r--    1 500      500         19153 Apr  1 12:37 jserv_wrapper_unix.c
-rw-rw-r--    1 500      500         18562 Nov 24 20:29 jserv_wrapper_win.c
-rw-rw-r--    1 500      500         56478 Mar 30 04:26 mod_jserv.c


On Thu, 27 Apr 2000, Alex Chaffee wrote:

> > 
> > Not sure if this will help, but I just submitted that as a bug :-)
> > 
> > http://jakarta.apache.org/bugs/show_bug.cgi?id=303
> > 
> > 
> 
> ------- Additional Comments From costin@eng.sun.com  04/27/00 08:59 -------
> 
> First, mod_jserv is the same - we tried as much as possible to keep it
> in sync with the "stable" releases. AJP11 is identical, AJP12 had
> various variations.  The main difference is in load balancing, where
> we are forced by the spec to use a different cookie and encoding.
> 
> For 3.2 release - I don't think we can change the name, for 3.3 we
> plan to move to a different code base, the jk_ modules ( that also
> support IIS and Netscape, but we will still use AJP12 as mod_jserv
> ). It will have a different name.
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


Mime
View raw message