RE: Mod_jk : increase maxfilesize for download

2006-09-24 Thread Jean-Bernard BRIAND
Hello, Thanks for your respawn but my problem is the size of file to download and not the numbers of simultanous download. bye, Jean-Bernard BRIAND mailto:[EMAIL PROTECTED]

Tomcat 5.5.17 with windows xp

2006-09-24 Thread Oliver Wagner
Hello, the last years I developed my webapps with tomcat and Linux. Because of my new employer I have to use windows now. But there occurs a problem. At the moment I debug my webapp. With Tomcat and Linux I just have to restart the server and the container is completely erased. After the

Re: Mod_jk : increase maxfilesize for download

2006-09-24 Thread Rainer Jung
This is not an expected behaviour. Any errors on the mod_jk or the tomcat side? What are your mod_jk settings (Jk* ind httpd.conf and workers.properties), what are your AJP13 connector settings on the tomcat side? Regards, Rainer Jean-Bernard BRIAND wrote: Hello, Thanks for your respawn

AW: Tomcat 5.5.17 with windows xp

2006-09-24 Thread Oliver Wagner
Hello, now I noticed, that it is enough to restart my browser. The browser restart is needed by IE and Firefox. With Linux I don't need to restart the Firefox to see the changes from the restarted web server. What is the reason for that behaviour? I use the session-mechanism from the tomcat -

tomcat seems slowing down, need help

2006-09-24 Thread jankitten
In single linux machine, after running Apache, per each account each tomcat is running for web hosting service. In a while after, although running just one or two tomcats, the websites which were properly running on the explorer no longer respond. I think tomcat process is still on but the

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-24 Thread Mladen Adamovic
Leon Rosenberg wrote: I use WordNetProcessor in many JSP files and it seems if I use it in static way using %! static WordNetProcessor wordNetProcessor=new WordNetProcessor(); % it won't lock many files. then your WordNetProcessor class is probably buggy. Maybe you should show us your code to

Re: Mod_jk : increase maxfilesize for download

2006-09-24 Thread Martin Gainty
You misunderstand the answer If you're not using a DB to handle the storage of these large units AND If you're not using any type of CompressionFilter then you will have to break up your transmission to individual fragments inside threads and then reassemble the individual these fragments at

ASP.NET HttpHandler in Tomcat?!

2006-09-24 Thread nubie
Hi, I'm sorry to bother you all, but I need to know is there a way to setup an ASP.NET HttpHandler-like servlet or something similar on Tomcat 5.x?! I'd basically just like to have all of the same file extension requests to be processed with just one servlet?! Is that at all possible!? I

Re: ASP.NET HttpHandler in Tomcat?!

2006-09-24 Thread Lung Chan
There's a lot of framework that do just that. Try spring framework www.springframework.org, there's a tutorial in the site that introduced spring MVC You will be very happy after On 9/24/06, nubie [EMAIL PROTECTED] wrote: Hi, I'm sorry to bother you all, but I need to know is there a way

Re: Mod_jk : increase maxfilesize for download

2006-09-24 Thread Mark Thomas
Martin Gainty wrote: Umm no. If you're not using a DB to handle the storage of these large units AND How data is stored has no impact on how it is transmitted. If you're not using any type of CompressionFilter then you will have to break up your transmission to individual fragments

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-24 Thread Leon Rosenberg
Hi Mladen, On 9/24/06, Mladen Adamovic [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: I use WordNetProcessor in many JSP files and it seems if I use it in static way using %! static WordNetProcessor wordNetProcessor=new WordNetProcessor(); % it won't lock many files. then your

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-24 Thread Mladen Adamovic
I've put System.gc() in one place in the code and I'm seeing that lsof | wc -l shows that my web application uses less file descriptors as time go on :) I hope the server won't run out of available file descriptors in the future. Also, I've put in /etc/profile.local the line ulimit -n 8192,

Re: Struggling with basic database connection

2006-09-24 Thread Alan Chandler
On Saturday 23 September 2006 15:23, David Smith wrote: Correction: context.xml belongs in META-INF of the war archive. I have just conducted experiments with Tomcat 5.0 putting a context.xml file in META-INF doesn't appear to work I have not been having success with putting in

Re: Problem with Tomcat 5.5.15, [173 javajni.c] [error] %1 is not a valid Win32 application

2006-09-24 Thread joon yoo
Mr. Lau, Thank you very much for this batch file, it was a great help in getting tomcat 5.5.17 running on my 64bit win2k3 install. May I ask if you would possibly add some java memory management options to the batch file so that it may take advantage of the 64bit jvm? With great appreciation

RE: ASP.NET HttpHandler in Tomcat?!

2006-09-24 Thread Tim Lucia
Or you can simply map all the file extension URLs to the servlet of your choice. A framework is *not* required. Google for servlet-mapping. Tim -Original Message- From: Lung Chan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 24, 2006 10:09 AM To: Tomcat Users List Subject: Re:

Re: ASP.NET HttpHandler in Tomcat?!

2006-09-24 Thread Lung Chan
You are Right tim much easier, but how do you know from which url that the request have been send? which object give you this kinda information? On 9/24/06, Tim Lucia [EMAIL PROTECTED] wrote: Or you can simply map all the file extension URLs to the servlet of your choice. A framework is *not*

RE: ASP.NET HttpHandler in Tomcat?!

2006-09-24 Thread Tim Lucia
getPathInfo() http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServl etRequest.html#getPathInfo() getRequestURI() http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServl etRequest.html#getRequestURI() -Original Message- From: Lung Chan

RE: Upload Exception - Time out error

2006-09-24 Thread Sandeep Darvekar
Hi Mark, Thanks for refereeing to this link. However when I looked at server.xml that I have on my tamcat installation it does not show any attribute with name maxPostSize. Here is my server.xml attached. Please let me know how to configure it. Thanks Sandeep Darvekar -Original Message-

RE: Upload Exception - Time out error

2006-09-24 Thread Caldarale, Charles R
From: Sandeep Darvekar [mailto:[EMAIL PROTECTED] Subject: RE: Upload Exception - Time out error Thanks for refereeing to this link. However when I looked at server.xml that I have on my tamcat installation it does not show any attribute with name maxPostSize. Read the doc, not your

RE: Upload Exception - Time out error

2006-09-24 Thread Sandeep Darvekar
Just to reconfirm, my server.xml should have connector element as Connector port=8085 maxPostSize=10485760 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100

Re: Upload Exception - Time out error

2006-09-24 Thread David Smith
The connector element you posted has it correctly. I wouldn't try the short form 10MB though -- the docs don't mention that as a valid way of expressing the value. As far as updating a production service, it's always best to try it in a parallel test environment. If that's not an option,

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-24 Thread Darryl Miles
Mladen Adamovic wrote: Also, I've put in /etc/profile.local the line ulimit -n 8192, hoping it will help. WARNING: If you are unix the JVM uses the select() then increasing the ulimit above the default 1024 maybe dangerous. This is because the default select() usage set only allocates