sysautomation
asked on
Tomcat Problem
Hi
I am running Tomcat 7.0.35 on CentOS 5.6 64bit. java version "1.6.0_29". I am primarily running a Jasper report integration application to integrate Jasper reports with Oracle Apex.
The issue is almost daily the application stops running and tomcat throws error Apache Tomcat/7.0.35 HTTP - 404 Error.
I know very little about Java/tomcat and will be really thankful if someone can help. I have attached catalina.out of the relevant time.
Regards,
Zulqarnain
catalina-out.txt
I am running Tomcat 7.0.35 on CentOS 5.6 64bit. java version "1.6.0_29". I am primarily running a Jasper report integration application to integrate Jasper reports with Oracle Apex.
The issue is almost daily the application stops running and tomcat throws error Apache Tomcat/7.0.35 HTTP - 404 Error.
I know very little about Java/tomcat and will be really thankful if someone can help. I have attached catalina.out of the relevant time.
Regards,
Zulqarnain
catalina-out.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is no "correct" value
System can handle few millions of open files, but defaults to 1024 per process...
Since files are present but you get 404 error only possibility is that you cannot open them because of no resouces.
System can handle few millions of open files, but defaults to 1024 per process...
Since files are present but you get 404 error only possibility is that you cannot open them because of no resouces.
ASKER
Thanks. I have increased the value and rebooted the machine. Will monitor it and let you know.
Now you have more space for resource leaks too. Try to monitor number of connections on backend databases. If they leak etc.
Current Java6 on CentOS is
java version "1.6.0_32"
OpenJDK Runtime Environment (IcedTea6 1.13.4) (rhel-6.1.13.4.el5_10-x86_ 64)
I suggest that you also upgrade (yum upgrade) whole system to get current security patches.
It may fix some of resource leaks (the bad one is single packet that consumes 1K of RAM if RHEL5 receives it etc)
Current Oracle/Sun Java6 is 1.6.0 U81 and hidden behind paywall from general public.
Check if you can get your tomcat up to Java7 to stay with more mainstream release (and get a performance fix or two)
java version "1.6.0_32"
OpenJDK Runtime Environment (IcedTea6 1.13.4) (rhel-6.1.13.4.el5_10-x86_
I suggest that you also upgrade (yum upgrade) whole system to get current security patches.
It may fix some of resource leaks (the bad one is single packet that consumes 1K of RAM if RHEL5 receives it etc)
Current Oracle/Sun Java6 is 1.6.0 U81 and hidden behind paywall from general public.
Check if you can get your tomcat up to Java7 to stay with more mainstream release (and get a performance fix or two)
ASKER