Re: System.out, System.err redirecting request

2000-12-06 Thread N.Rajesh Babu
I have been using tomcat for half an year till now. I wanted 2 servlets to ( not in the same server) to communicate and they should keeep track of the session. I have tried every possibility using cookies the servlet at the other end does not keep the session. It creates a new session on each req

Clarification for ServletRequest.getServerName()

2000-12-06 Thread Pier P. Fumagalli
Finishing up the last few glitches of the webapp_module and I found a couple of inconsistencies between Apache, the servlet spec and Tomcat. I have a couple of virtual hosts on the same IP address on two ports under apache: www.betaversion.org And kali.betaversion.org They use both ports

doPost() and concurreny issue/question

2000-12-06 Thread Heinemann, Andreas
Hi, i've got a question/problem concerning the doPost() method. As far as I know, whenever there is a new request, tomcat creates a new thread running through the doPost() method. Inside this method, my code does nothing special. But is passes the request and response objects to a queue. this q

Re: Clarification for ServletRequest.getServerName()

2000-12-06 Thread Palle Girgensohn
"Pier P. Fumagalli" wrote: > > Finishing up the last few glitches of the webapp_module and I found a couple > of inconsistencies between Apache, the servlet spec and Tomcat. > > I have a couple of virtual hosts on the same IP address on two ports under > apache: > www.betaversion.org > And >

Re: Clarification for ServletRequest.getServerName()

2000-12-06 Thread Pier P. Fumagalli
Palle Girgensohn <[EMAIL PROTECTED]> wrote: > >> So, something is wrong, since the spec says that calling >> ServletRequest.getServerName() is equal to the SERVER_NAME CGI variable >> And >> ServletRequest.getServerPort() is equal to the SERVER_PORT CGI variable >> > > As you see, this d

cvs commit: jakarta-tomcat-4.0/connectors/webapplib Makefile wa.c wa.h wa_callback.c wa_callback.h wa_connection.c wa_connection.h wa_host.c wa_provider.c wa_provider.h wa_provider_info.c wa_provider_warp.c wa_request.c wa_request.h

2000-12-06 Thread pier
pier00/12/06 03:21:14 Modified:connectors Makedefs.orig Makefile connectors/apache-1.3 Makefile mod_webapp.c connectors/webapplib Makefile wa.c wa.h wa_callback.c wa_callback.h wa_connection.c wa_connection.h

BugRat Report #536 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #536 has just been filed. You can view the report at the following URL: REPORT #536 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C

Re: Proposal: new commiter

2000-12-06 Thread Gomez Henri
+1 Good to see another player on the apache/tomcat link arena

RE: Proposal: new commiter

2000-12-06 Thread Larry Isaacs
+1 Larry

Re: Modifying the Ajp13 Protocol

2000-12-06 Thread cmanolache
> To fix these major issues will require modifying the protocol. I have > some ideas on how to do so, but I want to get some feedback on the best > way to go about making these changes. I could just modify the protocol > itself, and change the mod_jk code and Ajp13 code in the tomcat-3.3 > branc

Re: Proposal: new commiter

2000-12-06 Thread Mike Anderson
>>> [EMAIL PROTECTED] 12/05/00 03:48PM Hi,>Please vote for Dan Milstein as a new commiter for tomcat. +1 >Dan did an excelent review of the connector code, documented the protocol,>proposed many enhancements and re-factored the Ajp13 adapter. >We are very lucky to have someone who is int

Want to get involved

2000-12-06 Thread Sean Blaes
I would like to get involved in the Tomcat or related development effort. Could somebody here help me to get up to speed and let me know what groups have the most need? The majority of my experience is in middle-tier and back-end C++, and I have been writing java code for about 4 months now.

Re: Proposal: new commiter

2000-12-06 Thread Pierre Delisle
> Please vote for Dan Milstein as a new commiter for tomcat. Great! +1 -- Pierre

RE: Modifying the Ajp13 Protocol - Borland Free C Compiler

2000-12-06 Thread Paulo Gaspar
Hi Gomez, I played last weekend with the free Borland C Compiler after an exchange of posts with Pier and I got a good a good feeling about it. It sure looks much easier to port make files to this one than to Visual C++. I also red about its use in a report by the Interbase/Firebird guys an

Patches

2000-12-06 Thread Shahed Ali
Hello,   Where can I get hold of patches to Tomcat and their descriptions ?   Also, how can I find out which patches are applied to my installed version of tomcat ? I have downloaded a binary version.   Thanks Shahed.

Re: cvs commit: jakarta-tomcat-4.0/connectors/webapplib Makefilewa.c wa.h wa_callback.c wa_callback.h wa_connection.c wa_connection.hwa_host.c wa_provider.c wa_provider.h wa_provider_info.cwa_provider_warp.c wa_request.c wa_request.h

2000-12-06 Thread Pier P. Fumagalli
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > pier00/12/06 03:21:14 > > Modified:connectors Makedefs.orig Makefile > connectors/apache-1.3 Makefile mod_webapp.c > connectors/webapplib Makefile wa.c wa.h wa_callback.c > wa_callback.h wa

a little WebDAV with JSP HOWTO

2000-12-06 Thread Nick Bauman
Hello Jakarta Horde, A little HOWTO for Apache webDAV users with Tomcat. I found that I was unable to edit JSP files over webdav until I factored the DAV functionailty into a directive. The problem lies in the fact that in your Apache config has a mapping of ".jsp" to go to Tomcat, like so: Ad

BugRat Report #538 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #538 has just been filed. You can view the report at the following URL: REPORT #538 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: non-crit

RE: Class loading & classloader visibility test results

2000-12-06 Thread Aron Kramlik
Rob, I am really greatful for your help and I am starting to understand more how Tomcat works. However, if I could bother you once more so that I might be able to make complete sense of all this. I have all my classes under my context, $TOMCAT/webapps//WEB-INF/lib/*.jar. All of the Tomcat supp

bug report #536

2000-12-06 Thread Schuell Hans
Hi, I added a bug report for tomcat 3.2 (#536). The "How to reproduce" field wasn't added to the report from the form and I haven't found a way to add it from the browser. So here are some additional hints: The error occurs, cause I'm using ServletInputStream.read(byte[] b, int off, int len), no

BugRat Report #539 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #539 has just been filed. You can view the report at the following URL: REPORT #539 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: serious

Re: Kudos to Jason and his benchmarking report

2000-12-06 Thread Craig R. McClanahan
Jason Brittain wrote: Hi Roy. Roy Wilson wrote: > Jason, > > This is an impressive piece of work: very systematic and very > well-documented. I wrote it to be similar to the Volano Java benchmarks.  (I really enjoy those! :) > I have several questions. I ran some similar tests > (without adjustin

Re: Class loading & classloader visibility test results

2000-12-06 Thread Craig R. McClanahan
Rob Shaw wrote: > Tomcat 3.1 and 3.2. I haven't run the tests for 4.0. > You will see the same results in 4.0, for the same reasons, on your simple test cases. However, there is a behavior difference in 4.0 related to the order in which class loaders are searched for classes -- see my upcoming

Re: Class loading & classloader visibility test results

2000-12-06 Thread Craig R. McClanahan
Aron Kramlik wrote: > Rob, > > This is great information. I wonder if you could explain > why it is that I need to put xml4j.jar file under the $CLASSPATH > (i.e. $TOMCAT_HOME/lib) that is loaded by an init() method of > a servlet? > Which version of Tomcat? There are different issues in each

BugRat Report #540 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #540 has just been filed. You can view the report at the following URL: REPORT #540 Details. Project: Jasper Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C

Re: multiple cookies, PR 371, any news?

2000-12-06 Thread Dan Milstein
Costin, Right after I submitted that patch, I looked more carefully into the MimeHeaders code and came to exactly the conclusion you did (and also figured I would fix it as soon as I got commit access ;-). There's some nice code in Http10.java which will work much better (no extra creation of

Re: startup for jakarta-tomcat-4.0-m4

2000-12-06 Thread Craig R. McClanahan
Patrick McFarlane wrote: > I've been using tomcat 3.2 and would like to upgrade to 4.0 for it's > support of XML compliant JSP (i.e. ) but am having trouble > finding docs. What I would like to do is startup up Tomcat similarly to the > way I've been starting it in 3.2 which is org.apache.tomcat

[BUG] 538 - causes stack overflow when is an HTML file

2000-12-06 Thread Catherine Jung
Hi, no-one on the user list could help, and I've tried enough ways around this to make me decide it's a bug, rather than something I'm doing wrong (unless someone can correct me :) ) Specifying an HTML file as the of an causes tomcat to go into a loop of webpage requests, until it hits a Stack

Re: building mod_jk on freebsd 4.0

2000-12-06 Thread Jeremy Hopkins
Hello there, I am currently tasked with upgrading our current tomcat 3.1 deployment to tomcat 3.2. So far I am pleased with both versions of tomcat. Although, while attempting to switch over to the recomended mod_jk.so from the older mod_jserv.so I run into errors loading mod_jk.so into

Re: doPost() and concurreny issue/question

2000-12-06 Thread Craig R. McClanahan
"Heinemann, Andreas" wrote: > Hi, > > i've got a question/problem concerning the doPost() method. > > As far as I know, whenever there is a new request, tomcat creates > a new thread running through the doPost() method. This is not precisely correct in all circumstances. In both Tomcat 3.2 and

Re: Patches

2000-12-06 Thread Craig R. McClanahan
Shahed Ali wrote:  Hello, Where can I get hold of patches to Tomcat and their descriptions ? Also, how can I find out which patches are applied to my installed version of tomcat ?I have downloaded a binary version. ThanksShahed. You can find out about changes to the Tomcat source code as they ha

BugRat Report #541 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #541 has just been filed. You can view the report at the following URL: REPORT #541 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C

BugRat Report #542 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #542 has just been filed. You can view the report at the following URL: REPORT #542 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C

RE: Class loading & classloader visibility test results

2000-12-06 Thread cmanolache
The problem in your case is that the ParserFactory will be loaded by the tomcat's classloader, and that classloader doesn't know about the child class loader. What you can do is: Class c=Class.forName( parserClass ); sXMLParser=c.newInstance(); That will load the parserClass using the servlet

BugRat Report #543 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #543 has just been filed. You can view the report at the following URL: REPORT #543 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C

What is the status of BugRat?

2000-12-06 Thread Dan Milstein
Is browsing of Bugs on BugRat working? I can't seem to see anything more recent than Bug #59 for project Tomcat, and yet Bug #540 is being posted to the list. -Dan -- Dan Milstein // [EMAIL PROTECTED]

Re: multiple cookies, PR 371, any news?

2000-12-06 Thread cmanolache
> Yeah, MimeHeaders could use some work (it's got a disturbingly high > rate of 'XXX' comments). A first step toward that is in util.collections and util.http: I Split the MimeHeaders in: 1. the general-purpose org.apache.tomcat.util.collections.MultiMap: - a specialized map that has MessageBy

BugRat Report #546 has been filed.

2000-12-06 Thread BugRat Mail System
Bug report #546 has just been filed. You can view the report at the following URL: REPORT #546 Details. Project: Tomcat Category: Feature Requests SubCategory: Enhancement Class: suggest State: received Priority: high Severity: non-c

Re: building mod_jk on freebsd 4.0

2000-12-06 Thread Palle Girgensohn
Hi Jeremy! I have exactly the same setup as you, and it works fine after som tweaking. Here's what I had to do to Makefile.freebsd to make it work. Maybe it will help? --- Makefile.freebsd.orig Tue Dec 5 18:51:22 2000 +++ Makefile.freebsdTue Dec 5 19:24:07 2000 @@ -1,18 +1,18 @@ ##

Re: What is the status of BugRat?

2000-12-06 Thread Hans Bergsten
Dan Milstein wrote: > > Is browsing of Bugs on BugRat working? I can't seem to see anything more > recent than Bug #59 for project Tomcat, and yet Bug #540 is being posted to the list. There's a difference between Bugs and Bug Reports. I've been bitten by this as well ;-) I have not tested to

SImplePool doesn't pool?

2000-12-06 Thread James Cook
I suppose if this is true, it could be a huge benefit to Tomcat 3.X since it seems to use the SimplePool class in a few critical sections of code such as JspFactoryImpl, AdapterHandler, and PoolTCPEndpoint. Tomcat 4.X only uses it in the JspFactoryImpl. I am assuming that my analysis is flawed sin

Re: doPost() and concurreny issue/question

2000-12-06 Thread James Cook
If the POST request is simply a signal for the server to perform some task without sending any pending output to the client, he could make an object that contains all of the important information from the request object, and put this "logical clone" into the queue. jim - Original Message ---

BugRat Report #483 was closed (apparently by: Ignacio Ortega)

2000-12-06 Thread BugRat Mail System
Report #483 was closed by Person #0 Synopsis: session.invalidate() method. sendRedirect (logged in as: Ignacio Ortega)

BugRat Report #484 was closed (apparently by: Ignacio Ortega)

2000-12-06 Thread BugRat Mail System
Report #484 was closed by Person #0 Synopsis: session.invalidate() sendRedirect and tomcat 3.1 (logged in as: Ignacio Ortega)

BugRat Report #485 was closed (apparently by: Ignacio Ortega)

2000-12-06 Thread BugRat Mail System
Report #485 was closed by Person #0 Synopsis: session.invalidate() sendRedirect tomcat 3.1 (logged in as: Ignacio Ortega)

Re: Tomcat, JSP and Cache

2000-12-06 Thread Jon Stevens
on 12/6/2000 6:05 PM, "Pilho Kim" <[EMAIL PROTECTED]> wrote: > Hi, > > Tomcat 3.x and 4.0 have a Cache-Control Bug. > But, none of Tomcat commiters know that. > Because I am not a commiter, I cannot fix the Bug of Tomcat. > > Try to check my page: > > http://www.javaclue.org/tomcat/patch32/dop

Re: My patches for Tomcat 3.2 wrt mutlibyte characters

2000-12-06 Thread Pilho Kim
On Tue, 5 Dec 2000, Kazuhiro Kazama wrote: > From: Pilho Kim <[EMAIL PROTECTED]> > Subject: My patches for Tomcat 3.2 wrt mutlibyte characters > Date: Tue, 5 Dec 2000 09:47:38 +0900 (KST) > Message-ID: <[EMAIL PROTECTED]> > > Try to visit > > > > http://www.javaclue.org/tomcat/patch32/dopa

I see reference to a start up file here.

2000-12-06 Thread Jason Brenton
I Need help on the basic begins here. I am doing this in win2k prof, but I need help making sure these batch files start. I haven't dealt with batch files deeply in a few years. I need extremely basic help, and the faq appears to be down at the moment.

Tomcat sessions and load balancing

2000-12-06 Thread Bohm, Matt
> I am a programmer in an environment that features load balancing on 3 > production machines. Typically, requests to a given URL will be routed to > any of the three machines, depending on which is the least busy. Can > Tomcat session management work correctly in this environment? In other > word

Re: Class loading & classloader visibility test results

2000-12-06 Thread Aron Kramlik
Thanks Craig, more great info. I am using Tomcat 3.2 Final Release. I do not see whereI might have the xml.jar file and so I don't think I am loading the DOM classes from a different .jar file. Acrtually, this makes sense since I need to put xml4j.jar in $TOMCAT/lib (under the CLASSPATH) for my w

Re: Class loading & classloader visibility test results

2000-12-06 Thread Aron Kramlik
Craig, I have changed the way that the init() method loads the parser and parses our XML files and this has fixed the problem. This is back to using Tomcat 3.2. Before we were doing this: private static Parser sXMLParser; Element root = null; Document doc; sXMLParser = ParserFactory.m

RE: Tomcat, JSP and Cache

2000-12-06 Thread Pilho Kim
Hi, Tomcat 3.x and 4.0 have a Cache-Control Bug. But, none of Tomcat commiters know that. Because I am not a commiter, I cannot fix the Bug of Tomcat. Try to check my page: http://www.javaclue.org/tomcat/patch32/dopatch.html Kim On Wed, 6 Dec 2000, Paulo Gaspar wrote: > That looks mor

RE: Tomcat, JSP and Cache

2000-12-06 Thread Paulo Gaspar
That looks more like a browser/proxy issue. Notice that: - Internet Explorer often caches pages when it should NOT do it; - Internet Explorer sometimes even uses a cache copy when you refresh; - Some browsers ignore those meta tags. - Proxies (usualy) ignore those meta tags. Solutions I use:

Re: My patches for Tomcat 3.2 wrt mutlibyte characters

2000-12-06 Thread Kazuhiro Kazama
From: Pilho Kim <[EMAIL PROTECTED]> Subject: Re: My patches for Tomcat 3.2 wrt mutlibyte characters Date: Thu, 7 Dec 2000 11:30:42 +0900 (KST) Message-ID: <[EMAIL PROTECTED]> > This is your big fault. > You should know the real meaning of default in API. > What is the default encoding in JVM? The

NullPoint error in getRequestDispatcher(nextPage).forward

2000-12-06 Thread Haizheng Zhang
request.setAttribute(str,xx); ServletContext sc = getServletConfig().getServletContext(); sc.getRequestDispatcher(nextPage).forward(request, response); it seems that it could not find the Nextpage, but how should I config the path Thanks

Re: Tomcat sessions and load balancing

2000-12-06 Thread Paul Frieden
I take your message to mean that you have an external load balancing device. We're doing the same thing. We're using mod_jk, and the lbworker. You'll need to define all your servers in workers.properties. We set the weight much higher on the local server because we have IP based sticky session in

Re: My patches for Tomcat 3.2 wrt mutlibyte characters

2000-12-06 Thread Costin Manolache
One problem I have with the patches ( and I sent a reply to Pilho Kim the first time he posted the patches) is the impact on performances. The least we can do is to detect if the encoding is compatible with ASCII ( or UNICODE ) and use the getBytes() only if it isn't. The method has a big impac

cvs commit: jakarta-tomcat-4.0/catalina build.xml STATUS.html

2000-12-06 Thread remm
remm00/12/06 21:15:09 Modified:catalina build.xml STATUS.html Log: - Status update. - Warp connector is now packaged in a separate ./server/warp.jar file (as per Pier's request). Revision ChangesPath 1.26 +8 -2 jakarta-tomcat-4.0/catalina/build.xml

More Ajp13 Work Completed

2000-12-06 Thread Dan Milstein
All, First off, I want to thank you for nominating me to be a committer. I'm very much looking forward to working on the project. What are the next steps? I just completed another good-sized chunk of work: I believe that I've fixed the multipart form bug (reports #536 and #542), and I rewrot

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/xml PathMatch.java

2000-12-06 Thread remm
remm00/12/06 23:23:06 Modified:catalina/src/share/org/apache/catalina/util/xml PathMatch.java Log: - Increased the maximum tree depth from 6 to 10. Revision ChangesPath 1.2 +1 -1 jakarta-tomcat-4.0/catalina/src/share/org/apache/cat

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/deploy ResourceParams.java

2000-12-06 Thread remm
remm00/12/06 23:23:31 Added: catalina/src/share/org/apache/catalina/deploy ResourceParams.java Log: - Add new ResourceParams bean. Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/deploy/Re

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Catalina.java

2000-12-06 Thread remm
remm00/12/06 23:25:52 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java catalina/src/share/org/apache/catalina/startup Catalina.java Log: - Change the way resource-env (and the others) parameters are specified. T

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

2000-12-06 Thread remm
remm00/12/06 23:28:00 Modified:catalina/src/conf server.xml Log: - Added a sample on how to use the new ResourceParams element in the default config. Revision ChangesPath 1.14 +8 -0 jakarta-tomcat-4.0/catalina/src/conf/server.xml Index: server.xml