RE: Connection aborted by peer: socket write error

2001-02-26 Thread Szegedi, Attila
The client (most notably, the browser) closed the socket. Maybe the user hit the "Stop" button. Maybe the browser crashed. You can pretty much ignore this, however you must be aware that writing to servlet's output stream can result in this exception at any time (as users are free to hit "Stop" at

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Container.java

2001-02-26 Thread costin
costin 01/02/26 22:59:15 Modified:src/share/org/apache/tomcat/core Container.java Log: Added the shortcuts for getNote/setNote ( as in all other core objects that support notes ) ( notes are similar with a Hashtable, but you can also do indexed access - for better speed )

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server Ajp13.java

2001-02-26 Thread costin
costin 01/02/26 21:28:08 Modified:src/share/org/apache/tomcat/modules/server Ajp13.java Log: Fix the buffer problem ( need 2 input, one output - not 2 output on input). Thanks again Dan. Revision ChangesPath 1.16 +20 -17 jakarta-tomcat/src/share/org/apache

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/serverAjp13.java

2001-02-26 Thread cmanolache
Hi Dan, > I do see something which seems like a major gotcha, though -- you remove a > lot of String creation by creating MessageBytes objects which point directly > into the underlying input buffer. *However*, if there is any data posted as > part of the request, that will immediately overwrite

cvs commit: jakarta-tomcat/src/native/mod_jk/common jk_connect.c

2001-02-26 Thread danmil
danmil 01/02/26 20:20:41 Modified:src/native/mod_jk/common jk_connect.c Log: Fixed bug which was bombing if a socket descriptor numbered 0 was created. Submitted by: Kevin Seguin ([EMAIL PROTECTED]) Revision ChangesPath 1.3 +2 -2 jakarta-tomcat/src/nativ

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server Ajp13.java

2001-02-26 Thread Dan Milstein
Costin, It's great to see you cleaning up Ajp13, performance-wise (and I'm glad the comments/code cleanup have helped). I do see something which seems like a major gotcha, though -- you remove a lot of String creation by creating MessageBytes objects which point directly into the underlying inpu

cvs commit: jakarta-tomcat-4.0/catalina/src/conf catalina.policy

2001-02-26 Thread glenn
glenn 01/02/26 19:18:15 Modified:catalina/src/conf catalina.policy Log: Update policy for new lib/class file locations Revision ChangesPath 1.5 +15 -10jakarta-tomcat-4.0/catalina/src/conf/catalina.policy Index: catalina.policy =

Tomcat 3.2.1 mod_jk binaries for Solaris 8/SPARC and Linux (non-EAPI)

2001-02-26 Thread Jones, Stephen
Okay, I can't zip the non-EAPI ones small enough... (the group only takes 100k mesgs) Email me if you actually want them and don't find me annoying... Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Some benchmarks

2001-02-26 Thread cmanolache
> Hi all. > > Here are the results of some measurements made with ab on Tomcat > versions 3.2.1, 3.3.m1 and 4.0.b1 with different JDKs. Hi, Could you try again to run the test with 3.3 ( the next nightly build ) and Ajp13 ? > 3.3.m1 Ajp13 (952/488) I did few changes and at least on my ma

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server Ajp13.java

2001-02-26 Thread costin
costin 01/02/26 19:02:47 Modified:src/share/org/apache/tomcat/modules/server Ajp13.java Log: Apply the same recycling as in Http connector. - no Strings ( use MessageBytes ) - use OutputBuffer instead of getBytes ( getBytes creates a stream and few buffers ) Nothing else

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server JNIConnectionHandler.java Ajp12.java

2001-02-26 Thread costin
costin 01/02/26 18:55:42 Modified:src/share/org/apache/tomcat/modules/server JNIConnectionHandler.java Ajp12.java Log: String->MessageBytes Revision ChangesPath 1.9 +5 -5 jakarta-tomcat/src/share/org/apache/tomcat/modules/server/JNICo

Tomcat 3.2.1 mod_jk binaries for Solaris 8/SPARC and Linux (EAPI)

2001-02-26 Thread Jones, Stephen
Since my company is attempting to redistribute mod_jk in binary format to simplify installing our web product, I compiled these versions of mod_jk for SSL-enabled (EAPI) Apache 1.3.17. The attached tarball includes: mod_jk_bin/mod_ssl/linux-i386/mod_jk.so mod_jk_bin/mod_ssl/solaris8-sparc/mod_jk

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java

2001-02-26 Thread costin
costin 01/02/26 18:49:27 Modified:src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java Log: Update for the 2 fields converted to MessageBytes ( Request shouldn't have any String field that is changed per request, but so far only those that

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Request.java

2001-02-26 Thread costin
costin 01/02/26 18:47:39 Modified:src/share/org/apache/tomcat/core Request.java Log: 2 more fields converted to MessageBytes ( Ajp13 is setting them on every request - they were implemented as callbacks in standalone so the change was not absolutely needed - and it got postpone

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core OutputBuffer.java

2001-02-26 Thread costin
costin 01/02/26 18:45:02 Modified:src/share/org/apache/tomcat/core OutputBuffer.java Log: Added few more checks for null and few more accessor methods. Revision ChangesPath 1.13 +31 -2 jakarta-tomcat/src/share/org/apache/tomcat/core/OutputBuffer.java Inde

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java ServletWriterFacade.java

2001-02-26 Thread costin
costin 01/02/26 18:42:38 Modified:src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java ServletWriterFacade.java Log: Another fix for the writer bug ( fixed by Nacho and Henri before M1 ). The new fix is reusing th

Re: [TOMCAT 4.x] SSI - Servlet Provided Functionality

2001-02-26 Thread Craig R. McClanahan
Bip Thelin wrote: > I've started working on the SSI implementation for Tomcat 4.x. I don't know if > anyone else is working on that since I didn't see anyone volunteered. However > I've come a bit on the way and should have a beta due next week. Let you know > further when I have code to present.

mod_jk and FreeBSD

2001-02-26 Thread Oskar Œwida
Hi, Has anyone tried to build mod_jk for FreeBSD ? Oskar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

[ANNOUNCEMENT] Tomcat 3.2.2 beta 1 released

2001-02-26 Thread Marc Saegesser
I am pleased to announce that the Tomcat 3.2.2 beta 1 release is now available for download at http://jakarta.apache.org/builds/tomcat/release/v3.2.2-beta-1 Tomcat 3.2.2 contains bug fixes collected since the release of Tomcat 3.2.1. The bugs known to be fixed in this release are listed in the R

RE: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Jones, Stephen
Is it assumed that most people (and I don't mean just Redhat) are using a mod_ssl-enabled (EAPI) version of Apache? The distribution should either document this fact or distribute a non-EAPI version of the binaries as well. Steve > -Original Message- > From: Marc Saegesser [mailto:[EMAIL

RE: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Marc Saegesser
Oops. I forgot that we ship with the JAXP files in the binary distribution. They're there now. The PRNG initialization is *much* faster in 3.2.2 which greatly speeds up the creates of the first HttpSession object. I'll look into the tomcat-apache-howto.html problem. Thanks for building mod_jk.

Connection aborted by peer: socket write error

2001-02-26 Thread William_Diano
Whats causing tis error, and how can I get rid of it ? Ctx( /Phase2 ): IOException in: R( /Phase2 + /img/MapInfo.gif + null) Connection aborted by peer: socket write error Billy Ciano MapInfo Internet Engineer 1 Global View Troy,NY 12180 Main

Bug Report #813 fix

2001-02-26 Thread Brent R. Matzelle
Hello, I have a bug fix for the above problem. I got the same error that this person did. This error is with ANT specifically. The JAR file tools.jar must be in the CLASSPATH or in $JAVA_HOME/jre/lib/ext, which it is not in Sun's Java 1.3 (it is in $JAVA_HOME/lib). Also, I was getting se

Re: anyway to watch what tomcat is doing?

2001-02-26 Thread Michael Mealling
On Mon, Feb 26, 2001 at 03:10:24PM -0800, [EMAIL PROTECTED] wrote: > What protocol do you use? Ajp13 > What OS? Solaris 2.6... > It's a serious problem, but hard to > reproduce ( it never happened to me, and I'm doing all kind of requests ). It never happened to me until I upgraded... > Can

[TOMCAT 4.x] SSI - Servlet Provided Functionality

2001-02-26 Thread Bip Thelin
I've started working on the SSI implementation for Tomcat 4.x. I don't know if anyone else is working on that since I didn't see anyone volunteered. However I've come a bit on the way and should have a beta due next week. Let you know further when I have code to present. Regards, Bip /*

Re: mod_jk.so build problems with SunOS 5.6

2001-02-26 Thread Steve Spicer
I had the exact same problem, opening apxs up in vi noticed it was just a perl script.. after installing mod_ssl, the script had been "recompiled" and needed the linker name and parameters (-G) putting back in! (Lines 78 & 79) my $CFG_LD_SHLIB = q(); # substituted via Makefile.tmpl

Problem in Jakarta-Tomcat running in WinNT with multiple NICs

2001-02-26 Thread aneogi
Hi, I'm using Jakarta-Tomcat as the servlet container and also as the default web server listening to 8080 port for a Servlet-Jsp based application. The Servlet has a background thread running that communicates asynchrnously (asynchronous to the HTTP requests) with an external process.

[PATCH] patch for jk_connect.c

2001-02-26 Thread Kevin Seguin
environment: --- solaris 2.6 apache 1.3.14 tomcat 3.2 the problem: --- intermittent failures in function jk_open_socket in file jk_connect.c. example log messages: [jk_ajp12_worker.c (129)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (1

Re: anyway to watch what tomcat is doing?

2001-02-26 Thread cmanolache
Hi Michael, What protocol do you use ? What OS ? It's a serious problem, but hard to reproduce ( it never happened to me, and I'm doing all kind of requests ). Can you start tomcat in a debugger, and see what happens ? Does it happens all the time ( i.e. start apache,tomcat, send <100 requests a

Re: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Dave Oxley
Stupid question. Sorry! >From: "Dave Oxley" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Tomcat 3.2.2 beta 1 Release Native components >Date: Mon, 26 Feb 2001 22:46:03 - > >I've build mod_jk.dll for Windows. Where should I EMail it. > >Just tested 3.2.

anyway to watch what tomcat is doing?

2001-02-26 Thread Michael Mealling
I have a fairly simple setup: apache 1.3.17 talking to tomcat 3.3-m1 with just one fairly simple servlet. After only a handful of requests have been processed the java process takes up nearly all of the CPU in what looks like an infinite loop. I did a truss -p on the proces which gave me this: pol

Re: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Dave Oxley
I've build mod_jk.dll for Windows. Where should I EMail it. Just tested 3.2.2 with my servlet, and the first request seems to be substantially faster (Creating HttpSession??). There used to be about a 1 second delayish. Nice one. Couple of bugs: 1. jaxp.jar and parser.jar aren't distributed w

RE: PROPOSAL: new commiter ( Mel Martinez )

2001-02-26 Thread Marc Saegesser
+1 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Hi, > > Please vote to add Mel Martinez <[EMAIL PROTECTED]> to the list of > commiters. > > Mel already made important contributions in desciphering and fixing the > buffering issues, and will be a great add

RE: PROPOSAL: new commiter ( Mel Martinez )

2001-02-26 Thread Ignacio J. Ortega
+1 Saludos , Ignacio J. Ortega > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Enviado el: lunes 26 de febrero de 2001 21:45 > Para: [EMAIL PROTECTED] > Asunto: PROPOSAL: new commiter ( Mel Martinez ) > > > Hi, > > Please vote to add Mel Martinez <[EMAIL PR

RE: jsvc_unix.c broken under linux ?

2001-02-26 Thread GOMEZ Henri
I wonder what is jsvc ? ie when using it and from what ? > After all, on my linux machine I had to specify the location > of libjvm.so and other JRE .so files via LD_LIBRARY_PATH anyway > (otherwise I would receive a JVM init error while the >VM was trying to > load othe

Re: Help! Servlets and JSP

2001-02-26 Thread Adam Jenkins
ServletContext.getRequestDispatcher("myjsp.jsp").forward(ServletRequest, ServletResponse)  can't do this with your resultset though 'cause result sets aren't serializableyou'll need to implement your own serializable result set that pulls the values out, then store them in the session object..

RE: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread GOMEZ Henri
I'll do >Linux > mod_jk.so > mod_jserv_tomcat.so Both binary and RPMs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: PROPOSAL: new commiter ( Mel Martinez )

2001-02-26 Thread GOMEZ Henri
>Please vote to add Mel Martinez <[EMAIL PROTECTED]> to the list of >commiters. > >Mel already made important contributions in desciphering and fixing the >buffering issues, and will be a great addition to the community. +1 - T

PROPOSAL: new commiter ( Mel Martinez )

2001-02-26 Thread cmanolache
Hi, Please vote to add Mel Martinez <[EMAIL PROTECTED]> to the list of commiters. Mel already made important contributions in desciphering and fixing the buffering issues, and will be a great addition to the community. Thanks, Costin -

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup Main.java

2001-02-26 Thread William Barker
This is a very nice feature. Just for cleanliness, you might want to remove the "tomcat.cp" property logic at line #426. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 1:42 AM Subject: cvs commit: jakarta-tomcat/src/share/org/apache/

Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Marc Saegesser
The Tomcat 3.2.2 beta 1 release is ready to go with the exception of some of the native components. Volunteers to build the following items (plus any others) would appreciated. You can send the binaries to me and I'll add them to the binary distribution site. Thanks. Win32 nsapi_redirect.dl

Re: jsvc_unix.c broken under linux ?

2001-02-26 Thread Marcus Crafter
Hi Jean-Frederic, I like your patch. Thanks for your help. :-) I'm also wondering why we dlopen libjvm.so in the first place ? After all, on my linux machine I had to specify the location of libjvm.so and other JRE .so files via LD_LIBRARY_PATH anyway

Few commits

2001-02-26 Thread cmanolache
Hi, I'll start doing a number of commits that implement part of what was proposed so far. Please review. ( the tree may be unstable - I'll try to send individual commits instead of a big one ). One of the changes that wasn't discussed so far - in Ajp13.java I reproduced some of the changes from

Re: FW: [advanced-servlets] Session Load Balancing (was: To avoid

2001-02-26 Thread Jason Brittain
Nick Bauman wrote: > Pier, > >>> If the next request from that client is routed to server Y, then >>> server Y will get a request with that same composite ID of >>> "serverX:sessionPPP". This tells server Y that the first thing it >>> needs to do is get the canonical version of Session sessionP

Re: TC3.2.1 - response commit on included JSPs

2001-02-26 Thread cmanolache
> > " if that destination is another character or > > byte stream, flush it." > > > > In this case, the destination is the servlet output > > stream - and it has to be flushed. > > That is only because the particular servlet engine > implementation implements the ServletOutputStream of > the Re

cvs commit: jakarta-tomcat/src/webpages index.html

2001-02-26 Thread marcsaeg
marcsaeg01/02/26 09:20:37 Modified:src/share/org/apache/tomcat/core Tag: tomcat_32 Constants.java src/webpages Tag: tomcat_32 index.html Log: Changing version numbers to 3.2.2 beta 1 Revision ChangesPath No revisio

Re: jsvc_unix.c broken under linux ?

2001-02-26 Thread jean-frederic clere
"Pier P. Fumagalli" wrote: > > Marcus Crafter <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > I've been trying to build the service code from the Tomcat 4.0b1 source base > > under my Linux system. Unfortunately there seems to be a problem with the > > systeminfo.h (and underlying sysinfo syste

JSPC scripts broken

2001-02-26 Thread Steve Downey
The JSPC scripts are broken. They need to pick up the new jasper-compiler.jar from the jasper directory. Also, although the catalina.sh script supports cygwin, the jasper script does not. <><><><><><><><><><><><><><><><><><><><><>This electronic mail transmission may contain confidential informat

Re: FW: [advanced-servlets] Session Load Balancing (was: To avoid

2001-02-26 Thread Nick Bauman
Pier, >> If the next request from that client is routed to server Y, then >> server Y will get a request with that same composite ID of >> "serverX:sessionPPP". This tells server Y that the first thing it >> needs to do is get the canonical version of Session sessionPPP from >> server X. (The ex

Re: jsvc_unix.c broken under linux ?

2001-02-26 Thread Pier P. Fumagalli
Marcus Crafter <[EMAIL PROTECTED]> wrote: > Hi All, > > I've been trying to build the service code from the Tomcat 4.0b1 source base > under my Linux system. Unfortunately there seems to be a problem with the > systeminfo.h (and underlying sysinfo system call) header file. > > systeminfo.h does

Re: [patch] jsvc signal handling code

2001-02-26 Thread Pier P. Fumagalli
Marcus Crafter <[EMAIL PROTECTED]> wrote: > Hi All, > > I've added some code to the native service source to test restarting and > stopping jsvc via SIGHUP and SIGTERM respectively, and also to fix a small > compile error when the DEBUG define is set. Please let me know if the changes > are appr

FW: [advanced-servlets] Session Load Balancing (was: To avoid Duplicate Login)

2001-02-26 Thread Pier P. Fumagalli
Really interesting, when thinking about load balancing... Pier -- Pier Fumagalli -- Forwarded Message > From: Charles Forsythe <[EMAIL PROTECTED]> > O

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup Main.java

2001-02-26 Thread nacho
nacho 01/02/26 01:42:30 Modified:src/share/org/apache/tomcat/startup Main.java Log: Added : org.apache.tomcat.common.classpath org.apache.tomcat.shared.classpath System properties to set the shared and common classpath, this are added prior to adding the internal lib

RE: [PATCH]TC3.3 - org.apache.tomcat.startup.Main

2001-02-26 Thread Ignacio J. Ortega
> > Some comments on format and condign conventions ( in > > not the most > > appropiate for this :) : A i said, I'm not the right one to say that :), because I love your job, and is my failure to not follow ALL the guidelines.. this was my point .. The Rest of the message, is devoted to the ver