Web Hosting Talk







View Full Version : strange tomcat problem


mpkapadia
11-08-2001, 03:59 AM
My TOmcat standalone works when i give http://209.217.52.60:8080
Also my virtualhosts are working proper
But what happens is after some time probably around 24 hours the servlets and Jsp files on virtual hosts give 500 error or page nout found.

When this error comes the Standalone still works and i can see the samples.

If i just stop the tomcat engine and start it again, the virtualhosts start working again,

What can be the reason for this behaviour.

Regards

bitserve
11-08-2001, 08:55 PM
Did you look in the log file for mod_jk or mod_jserv? If the answer's not there, maybe you can provide more information?

Are you using the newer mod_jk or the older mod_jserv?

Did you install binaries, or did you compile it?

What version of the JDK and tomcat are you using?

jolly
11-10-2001, 03:34 AM
I think there is bug is Tomcat. Which version are you ?

mpkapadia
11-10-2001, 03:42 AM
Bitserve

Some details

I am using mod_jk and not mod jserv
the tomcat version is 3.2.1
Jdk is 1.3

It was installed by myhost but most likely compiled, Jdk was installed from RPM

When the tomcat goes down the logs show like this

[jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111
[jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process.
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters

-------------------------------------------------------
Jolly.

I dont think there would be a bug in tomcat, There are several thousands who use it , I would be either a configuarion error or incompatible on my machine one of the two


Regards