I have following configuration... Resin-3 on centos-4.
I am using virtual hosting on my server. Now problwm is that some time my server do not redirect to my actuall location as per host name but goes directly to root folder of resin. when i see the lof it shows me that the exception thrown file not found exception. and reason was written that TOO MANY FILES OPEN.
Please help me out.....
Thanx in advance...
[ June 06, 2006: Message edited by: Nims H. ] [ June 07, 2006: Message edited by: Bear Bibeault ]
Somewhere in your code you are opening files without closing them. Do not forget to close your files. Either that, or you have so many concurrent users during the instant in time that a specific code block is running, that you have exceeded the systems open file limit. If this is the case, you need to extend the systems open file limit. On Solaris you can do this using the ulimit command, or even better, in the /etc/system file. On other systems I am not sure how. I am, however, almost certain, that your problem lies in the first sentence of this reply.
One: We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Two: In an effort to help you get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular, please see UseAMeaningfulSubjectLine and EaseUp.
Many people will make a point of skipping by questions with the word 'URGENT' in the subject line. Also, typing in all caps is the equivalent to yelling in a web forum and is considered to be rude. You will stand a better chance of getting your question answered if you fix your subject line.
Again, welcome to JavaRanch and good luck with your question. -Ben