Tomcat 4.1.30 and Cookie problems (HTTP 1.1 spec)

2004-11-18 Thread Kilic, Hakan
Hi all, When using Tomcat 4.1.30, I haven't been able to determine from the documentation if it uses Netscape style cookies, or HTTP 1.1 style cookies. With Netscape style cookies, you get the EXPIRES attribute, and with HTTP 1.1 style, you get the MAXAGE attribute instead. Also, I'm seeing the

Tomcat and Apache with TCP TIME_WAIT state

2004-08-19 Thread Kilic, Hakan
Hi everyone, I'm seeing Tomcat and Apache show many tcp TIME_WAIT connections when running netstat under a load test. I was wondering, is this because the web browser client is not closing the connection properly, or is this the normal behavior of apache/tomcat under load, and the connections

charset error still on Tomcat 4.1.30

2004-05-12 Thread Kilic, Hakan
I've searched the mailing list and bugzilla, and it looks like this was addressed in Tomcat 4.1.30, but I still see a problem with 4.1.30. Remy in his comments mentioned it's probably a configuration issue (and hinted some actual test/data would be useful). Here is what I did: 1) Clean

Tomcat vs Resin - Tag Libraries

2004-03-22 Thread Kilic, Hakan
Hi all, I'm working on making sure an application I've written works on Tomcat, Resin and a few others, and I've come across a very interesting problem. The application is working with tag libraries, and runs on Apache/Tomcat 4.1.12, and Resin 2.1.6. My tag library is IfSet. In the

RE: Tomcat vs Resin - Tag Libraries

2004-03-22 Thread Kilic, Hakan
,VariableInfo.NESTED) }; } } } ++ Why is value being declared for Tomcat but differently for Resin? And below, replace key1 with value in the snippet. Typo there. -Hakan -Original Message- From: Kilic, Hakan [mailto:[EMAIL PROTECTED] Sent: Monday, March 22

RE: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread Kilic, Hakan
Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter(someparameter) for a multipart/form-data POST. Try checking out various file upload libraries (oreilly.com has

request.getremoteAddr() returning 127.0.0.1 (localhost)

2003-11-28 Thread Kilic, Hakan
Hi all, I've searched the email archive and bugzilla, and come across bug 20041: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20041 back from June 2003. I'm using Tomcat 4.1.24 Standalone, and I've attached the server.xml file I'm using (I'm using the Catalina connector). Does anyone know

RE: request.getremoteAddr() returning 127.0.0.1 (localhost)

2003-11-28 Thread Kilic, Hakan
context -- !-- Context path= docBase=ROOT debug=0/ -- /Host /Engine /Service /Server -Original Message- From: Kilic, Hakan [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 6:07 PM To: 'Tomcat Users List' Subject: request.getremoteAddr() returning 127.0.0.1

RE: Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-26 Thread Kilic, Hakan
could handle (my application uses a lot of jsp pages). Just wanted to post a follow up. -Hakan -Original Message- From: Kilic, Hakan [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:53 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1.24 Standalone max requests serviced java

RE: Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-21 Thread Kilic, Hakan
your application, btw? -Yan -Original Message- From: Kilic, Hakan [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 7:47 AM To: 'Tomcat Users List' Subject: Tomcat 4.1.24 Standalone max requests serviced java exception Hi all, I'm running into this java exception only when

Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-19 Thread Kilic, Hakan
Hi all, I'm running into this java exception only when increasing my traffic to my Tomcat web server. I'm running Tomcat 4.1.24 Standalone, and my traffic is about 100 concurrent connections when this happens. I'm just wondering if a) This error is really related to reaching the max number of

RE: Removing extra white spaces in source

2003-10-24 Thread Kilic, Hakan
I actually see this a lot, and the amount of out.write(\r\n); varies a great deal depending on the servlet container. For example a jsp that compiles fine with Tomcat failed to compile (at run time) using Resin. This was only because Resin wrote out so many out.write(\r\n); that the generated

[OT] RE: web.xml editor

2003-10-23 Thread Kilic, Hakan
A bit off topic, but where would you suggest getting a handle on how to build Eclipse plug-ins? There's lots of great XML editors for Eclipse (personally I use Netbeans but it's a much slower response time using Swing/AWT), but what about JSP compiler plug-ins? Thanks! -Hakan Kilic

RE: Can JSP track users in a basic authentication protected realm ?

2003-09-23 Thread Kilic, Hakan
Your best bet when dealing with authentication and users not logging off is to also include a session expiry for your page. This handles the case where a user leaves without logging off. -Hakan -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Monday, September 22,

RE: Benefits of increasing bufferSize in server.xml

2003-09-18 Thread Kilic, Hakan
Thanks for your help! -Hakan Kilic [EMAIL PROTECTED] + Check out PDF Converter for Microsoft® Word which lets you open PDF files right from within Microsoft Word, automatically converting them into formatted Word documents you can edit. PDF Converter is an inexpensive and simple

Benefits of increasing bufferSize in server.xml

2003-09-17 Thread Kilic, Hakan
Hi all, I've been tunning my Tomcat server and just wondering about the effects of increasing the bufferSize in the server.xml. From the tomcat documentation bufferSize is The size (in bytes) of the buffer to be provided for input streams created by this connector. By default, buffers of 2048