You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jan Labanowski <jk...@osc.edu> on 2000/04/28 07:31:43 UTC
Is JServ and Tomcat mod_jserv the same? Was: building JServ
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/
Re: Is JServ and Tomcat mod_jserv the same? Was: building JServ
Posted by jon * <jo...@clearink.com>.
on 4/28/00 12:03 AM, Jan Labanowski <jk...@osc.edu> wrote:
> Thank you for the CLEAR answer...
:-)
You are welcome.
:-)
> Frankly, I did not know that such a beast as JServ1.1.1b1 exists.
> There is no detectable mention on this release on the java.apache.org site.
> However, indeed, in the:
> http://java.apache.org/jserv/dist/
>
> there is:
> ApacheJServ-1.1.1b1.tar.gz 11-Apr-2000 19:41 748k
> ApacheJServ-1.1.1b1.tar.gz.md5 11-Apr-2000 19:41 1k
:-)
Correct. I never got around to making an announcement outside of the
java-apache@list.working-dogs.com list.
:-)
Sorry, I have been spending the other 16 hours a day working on Scarab and
Turbine and ECS and Village and Jyve and and and and and...
:-)
> So...
> Is it right to say that I can run both Tomcat 3.1-stable and
> JServ-1.1.1b1 using the mod_jserv from ApacheJServ-1.1.1b1.tar.gz ?
:-)
I have no clue. I have never used Tomcat, JServ works just fine for me. :-)
:-)
You should be able to, but why are you trying to be so difficult?
:-)
Why don't you just be smart and use the mod_jserv.c that comes with Tomcat
and Tomcat itself and quit complaining? Or, even better run Apache/JServ on
one set of ports/IP's and Apache/Tomcat on another set of ports/ip's?
:-)
> I.e., I compile/Install JServ1.1.1b1 (with its mod_jserv), and
> install/compile Tomcat3.1 pure Java stuff, but without the:
> apxs -c -o mod_jserv.so *.c
> in the native/apache directory?
:-)
Sure. Go ahead and try it.
:-)
> And then run them both under the same Apache by mounting
> JServ and Tomcat contexts on different ports using the full blown form of:
>
> ApJServMount /JServContext ajpv12://localhost:8007/JServContext
> ApJServMount /TomcatContext ajpv12://localhost:8008/TomcatContext
>
> for example
>
> And then starting Tomcat3.1/Jserv1.1.1b1 manually?
:-)
Try it.
:-)
> Sorry for being a pest
:-)
Yes you are! :-)
:-)
>, but THIS IS IMPORTANT for people who
> want to have Servlet 2.0 and 2.2 environments working together...
:-)
So then just use Tomcat's built in httpd.
:-)
-jon
--
Scarab -
Java Servlet Based - Open Source
Bug/Issue Tracking System
<http://scarab.tigris.org/>
Re: Is JServ and Tomcat mod_jserv the same? Was: building JServ
Posted by Jan Labanowski <jk...@osc.edu>.
Thank you for the CLEAR answer...
Frankly, I did not know that such a beast as JServ1.1.1b1 exists.
There is no detectable mention on this release on the java.apache.org site.
However, indeed, in the:
http://java.apache.org/jserv/dist/
there is:
ApacheJServ-1.1.1b1.tar.gz 11-Apr-2000 19:41 748k
ApacheJServ-1.1.1b1.tar.gz.md5 11-Apr-2000 19:41 1k
So...
Is it right to say that I can run both Tomcat 3.1-stable and
JServ-1.1.1b1 using the mod_jserv from ApacheJServ-1.1.1b1.tar.gz ?
I.e., I compile/Install JServ1.1.1b1 (with its mod_jserv), and
install/compile Tomcat3.1 pure Java stuff, but without the:
apxs -c -o mod_jserv.so *.c
in the native/apache directory?
And then run them both under the same Apache by mounting
JServ and Tomcat contexts on different ports using the full blown form of:
ApJServMount /JServContext ajpv12://localhost:8007/JServContext
ApJServMount /TomcatContext ajpv12://localhost:8008/TomcatContext
for example
And then starting Tomcat3.1/Jserv1.1.1b1 manually?
Sorry for being a pest, but THIS IS IMPORTANT for people who
want to have Servlet 2.0 and 2.2 environments working together...
Jan
jkl@osc.edu
On Thu, 27 Apr 2000, jon * wrote:
> on 4/27/00 10:31 PM, Jan Labanowski <jk...@osc.edu> wrote:
>
> > Below is the "ls -l *.c" on source files for JServ 1.1
> > and on the stable relase of Tomcat 3.1.
>
> They are the same, but not based on the versions that you are comparing to.
>
> JServ 1.1 is not the latest version of JServ. JServ 1.1.1b1 is the latest
> version.
>
> -jon
>
> --
> Scarab -
> Java Servlet Based - Open Source
> Bug/Issue Tracking System
> <http://scarab.tigris.org/>
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
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/
Re: Is JServ and Tomcat mod_jserv the same? Was: building JServ
Posted by jon * <jo...@clearink.com>.
on 4/27/00 10:31 PM, Jan Labanowski <jk...@osc.edu> wrote:
> Below is the "ls -l *.c" on source files for JServ 1.1
> and on the stable relase of Tomcat 3.1.
They are the same, but not based on the versions that you are comparing to.
JServ 1.1 is not the latest version of JServ. JServ 1.1.1b1 is the latest
version.
-jon
--
Scarab -
Java Servlet Based - Open Source
Bug/Issue Tracking System
<http://scarab.tigris.org/>