Re: Some benchmarks

2001-03-05 Thread Rick Knowles
I know some guys at probably the biggest dot com in Japan (fill in the blanks), who tried out servlet engines looking for the elusive "next-generation" engine. They said they tried Weblogic, JRun and another one I can't remember as well as tomcat. they found that with the same code, they were

Re: ajp13 file upload bug

2001-03-07 Thread Rick Knowles
I also had this problem, although I was using my own Multipart Handler class based on Javamail. The upload works correctly using ajp12, but puts jibberish in the logs when ajp13 is substituted in. R - Original Message - From: "Stefan Busse" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Embedding Jasper / JSP compiling

2004-05-14 Thread Rick Knowles
Dennis, I'm not a tomcat dev, but hopefully I can help anyway - having done what I think it is you're trying to do. I did mine for the Winstone servlet container (http://winstone.sourceforge.net) For Nos 1 and 2, I can't help. But for No 3 it involves setting context attributes: 1)

Re: Tomcat 5.0.25 does not honor error-page directive?

2004-05-27 Thread Rick Knowles
What does the rest of the web.xml look like ... could it be an order thing (DTDs impose ordering on the elements) ? Which DTD/XSD did you use ? Rick Knowles Detlef Pleiß wrote: In a freshly unzipped jakarta-tomcat-5.0.25 installation I added error-page error-code404/error-code location/404

Re: Tomcat 5.0.25 does not honor error-page directive?

2004-05-27 Thread Rick Knowles
Sorry - just checked the file. There's only servlet and servlet-mapping elements. My bad Rick Knowles Detlef Pleiß wrote: In a freshly unzipped jakarta-tomcat-5.0.25 installation I added error-page error-code404/error-code location/404.html/location /error-page (copied from servlet-2_4-fr

Hypothetical

2004-06-03 Thread Rick Knowles
be a bad idea ? Any comments would be appreciated. Thanks in advance, Rick Knowles - Servlet v2.4 container in a single 140KB jar file ? Try Winstone (http://winstone.sf.net/) http://winstone.sourceforge.net/ - To unsubscribe, e

Re: Hypothetical

2004-06-03 Thread Rick Knowles
) /quote from p104 section 13.1 I wasn't planning for Winstone to be a full J2EE compliant container, so I took this to mean resource-ref, et al were optional. Did I read it wrong ? Rick Knowles - Servlet v2.4 container in a single 140KB jar file ? Try Winstone (http://winstone.sf.net

Re: Hypothetical

2004-06-03 Thread Rick Knowles
Yoav, I think you read it correctly, and interpreted it correctly. It's a distinction between the Servlet and JSP specifications. You just have to be careful to mention those sort of things up front, as people might expect those features from a Servlet v2.4 container (because all other servlet

Re: Embedding Jasper / JSP compiling

2004-06-06 Thread Rick Knowles
Remy, So now that you have learnt, are you more ineterested in using the TC connectors ? Casually looking at the HTTP code, I can say it is not especially efficient (and really optimizing this part is rather long and painful). If you want to join this project, your servlet API implementation

Re: Hypothetical

2004-06-06 Thread Rick Knowles
As for the orininal question: you cannot support scriplets without compiling. I know Kin-Man has entertained the idea of using straight code generation for tags-only pages, but assuming the super-duper-compiler from the JCP shows up, the incentive isn't very big. Rémy Thanks - this is exactly

Re: port number at runtime

2004-07-20 Thread Rick Knowles
Having this as a requirement makes an awful lot of assumptions about the architecture of the container, none of which are helpful in the larger scale. For example, what if you have 2 (or 50) http connectors and the same for https ? And then what about ajp13 ? Or mod_caucho's protocol (I think

Request dispatching question

2004-08-04 Thread Rick Knowles
and I'll disappear. My question is this (sorry I took so long to get to it) - what is the correct behaviour here ? Should it unwrap all the way, or only one step ? Is the behaviour I'm seeing expected or is something wrong ? Thanks in advance, Rick Knowles -- Servlet v2.4 container in a single

Re: AW: DefaultServlet and getOutputStream() / getWriter()

2004-10-09 Thread Rick Knowles
as in the including servlet. Calling getOutputStream after getWriter results in an exception being thrown in Tomcat, hence the try/catch. Rick Knowles PS And for the record, I thought Remy's response was pretty harsh too. Steffen Heil wrote: Hi That's definitely why I am not interested by code cleanups

Jasper TCKing

2005-09-07 Thread Rick Knowles
All, Not sure how to go about this, but I wanted to offer my services with TCK compliance testing of tomcat/jasper. I have been granted JSR 152 and 154 TCK karma for my own container (winstone), and I figured since TCK karma is so hard to get, you guys might appreciate having someone else who

Re: Jasper TCKing

2005-09-07 Thread Rick Knowles
Yoav, Thank you for the offer. It's certainly welcome. We have TCK grants for these APIs at Apache, and have had them for years. (In fact, the ASF has TCK rights from Sun for virtually every API out there ;)) But as you've noted, it's a time-consuming task, and in general we gladly welcome

Re: Problems Parsing Request Paramers

2005-09-27 Thread Rick Knowles
Yoav Shapira wrote: Hi, Could it be the referer URL is too long, causing the query string to be ignored or dropped? There's a limit (2048 characters, I think?) on GET requests in some browsers. But actually, you're seeing this on the server, so I'm not sure. Can you try testing with less

Re: Embedded Tomcat

2005-09-30 Thread Rick Knowles
Eric Holk wrote: I'm working on a project where I would like to run a simple web front end for it. To save the time of implementing my own HTTP server I'd like to embed Tomcat. I've read several documents on how to do this, and I've managed to get Tomcat running inside my program. However, all