This is a discussion on mod_jk2 problem? Apache 2, JBoss 4 within the Apache Web Server forums, part of the Web Server and Related Forums category; Frustrating problem. Apache runs for a few hours before timing out with mod_jk2 error. Please see error log appended. This ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Frustrating problem. Apache runs for a few hours before timing out with
mod_jk2 error. Please see error log appended. This setup - Apache 2.0.58, mod_jk2 and JBoss 4.0.4 - has been happily running at home for a good while until I upgraded to a wireless router a couple of weeks ago. Now, whenever I try to browse my sites locally I get the BT Voyager 2500 router config page! My single machine is local ip 192.168.1.1 - with the router on 192.168.1.4. To view my java webapp locally I browse http://localhost/webapp. After a few hours, said error stops Apache from working altogether! Then a server restart is necessary! 1) What is causing the Apache problem and how do I fix it? 2) Why is the BT router config page defaulting when I browse locally for my sites? I am a developer so feel free to point me to any tools that could help me debug/analyse these results. TIA. markieD httpd.conf .................................................. .................. ........ LoadModule jk_module modules/mod_jk.so JkLogFile "/Apache2/logs/mod_jk.log" JkLogLevel info # Root context mounts for Tomcat # Format: JkMount URL_PREFIX WORKER_NAME JkMount /houseparts* ajp13 # add index.jsp as an acceptable default file for Apache DirectoryIndex houseparts/index.jsp # # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. <VirtualHost *:80> ServerName www.dathorne.com ServerAlias dathorne.com *.dathorne.com ServerAdmin mark.dathorne@ukonline.co.uk DocumentRoot c:/Dathorne_new </VirtualHost> <VirtualHost *:80> ServerName www.house-parts.com ServerAlias house-parts.com *.house-parts.com ServerAdmin mark.dathorne@ukonline.co.uk DocumentRoot c:/houseparts </VirtualHost> .......... .................................................. .................. workers2.properties .................................................. .................. [shm] file=c:\Apache2\logs\jk2.shm size=1048576 [channel.socket:localhost:8009] port=8009 host=192.168.1.4 [ajp13:localhost:8009] channel=channel.socket:192.168.1.4:8009 [status:status] [uri:/jsp-examples/*] worker=ajp13:localhost:8009 [uri:/servlets-examples/*] worker=ajp13:localhost:8009 [uri:*house-parts*] worker=ajp13:localhost:8009 [uri:/houseparts/*] worker=ajp13:localhost:8009 [uri:*canyoucome*] worker=ajp13:localhost:8009 [uri:/canyoucome/*] worker=ajp13:localhost:8009 [uri:/status/*] worker=status:status .................................................. .................. error.log: .................................................. .................. Thu Jun 22 22:49:29 2006] [notice] Apache/2.0.58 (Win32) mod_jk2/2.0.4 mod_jk/1.2.14 configured -- resuming normal operations [Thu Jun 22 22:49:29 2006] [notice] Server built: Apr 29 2006 17:47:10 [Thu Jun 22 22:49:29 2006] [notice] Parent: Created child process 508 [Thu Jun 22 22:49:30 2006] [notice] Child 508: Child process is running [Thu Jun 22 22:49:30 2006] [notice] Child 508: Acquired the start mutex. [Thu Jun 22 22:49:30 2006] [notice] Child 508: Starting 250 worker threads. [Thu Jun 22 22:51:29 2006] [error] channelApr.open() attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed 730061 [Thu Jun 22 22:51:29 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Thu Jun 22 22:51:29 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Thu Jun 22 22:51:29 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Thu Jun 22 22:51:29 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Thu Jun 22 22:56:50 2006] [error] [client 86.106.16.231] request failed: error reading the headers [Thu Jun 22 22:57:55 2006] [error] channelApr.open() attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed 730061 [Thu Jun 22 22:57:55 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Thu Jun 22 22:57:55 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Thu Jun 22 22:57:55 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Thu Jun 22 22:57:55 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Thu Jun 22 22:58:33 2006] [error] channelApr.open() attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed 730061 [Thu Jun 22 22:58:33 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Thu Jun 22 22:58:33 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Thu Jun 22 22:58:33 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Thu Jun 22 22:58:33 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Thu Jun 22 23:03:32 2006] [error] [client 192.168.1.4] File does not exist: C:/Dathorne_new/favicon.ico [Thu Jun 22 23:05:34 2006] [error] [client 86.112.250.7] request failed: error reading the headers [Thu Jun 22 23:49:02 2006] [error] [client 192.168.1.4] File does not exist: C:/Dathorne_new/cookie.js, referer: http://mark-paa8261/ [Thu Jun 22 23:49:02 2006] [error] [client 192.168.1.4] File does not exist: C:/Dathorne_new/favicon.ico [Thu Jun 22 23:49:12 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/cookie.js, referer: http://localhost/ [Thu Jun 22 23:49:13 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Thu Jun 22 23:51:42 2006] [notice] Parent: Received restart signal -- Restarting the server. [Thu Jun 22 23:51:42 2006] [notice] Child 508: Exit event signaled. Child process is ending. [Thu Jun 22 23:51:42 2006] [notice] Apache/2.0.58 (Win32) mod_jk2/2.0.4 mod_jk/1.2.14 configured -- resuming normal operations [Thu Jun 22 23:51:42 2006] [notice] Server built: Apr 29 2006 17:47:10 [Thu Jun 22 23:51:42 2006] [notice] Parent: Created child process 5388 [Thu Jun 22 23:51:43 2006] [notice] Child 5388: Child process is running [Thu Jun 22 23:51:43 2006] [notice] Child 508: Released the start mutex [Thu Jun 22 23:51:43 2006] [notice] Child 5388: Acquired the start mutex. [Thu Jun 22 23:51:43 2006] [notice] Child 5388: Starting 250 worker threads. [Thu Jun 22 23:51:44 2006] [notice] Child 508: Waiting for 250 worker threads to exit. [Thu Jun 22 23:51:44 2006] [notice] Child 508: All worker threads have exited. [Thu Jun 22 23:51:44 2006] [notice] Child 508: Child process is exiting [Thu Jun 22 23:52:33 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Fri Jun 23 00:07:28 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 00:22:28 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Fri Jun 23 00:26:21 2006] [error] ajp13.service() ajpGetReply recoverable error 3 [Fri Jun 23 00:26:33 2006] [error] ajp13.service() ajpGetReply recoverable error 3 [Fri Jun 23 00:26:33 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Fri Jun 23 00:26:33 2006] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 [Fri Jun 23 00:34:57 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 00:34:57 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 00:34:58 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Fri Jun 23 00:34:58 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Fri Jun 23 00:34:58 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Fri Jun 23 00:34:58 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Fri Jun 23 00:34:58 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Fri Jun 23 00:40:13 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 00:40:13 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 01:11:49 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Fri Jun 23 01:13:40 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 01:13:40 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 01:13:41 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Fri Jun 23 01:13:41 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Fri Jun 23 01:13:41 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Fri Jun 23 01:13:41 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Fri Jun 23 01:13:41 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Fri Jun 23 01:18:50 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 01:18:50 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 01:50:40 2006] [error] [client 72.30.252.99] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 01:52:08 2006] [error] [client 72.30.132.217] File does not exist: C:/houseparts/robots.txt [Fri Jun 23 01:52:10 2006] [error] [client 72.30.131.220] File does not exist: C:/houseparts/splash.asp [Fri Jun 23 01:53:02 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 02:31:26 2006] [error] [client 66.249.72.108] File does not exist: C:/houseparts/robots.txt [Fri Jun 23 03:05:09 2006] [error] [client 72.30.132.217] File does not exist: C:/houseparts/robots.txt [Fri Jun 23 05:04:08 2006] [error] [client 65.214.45.100] File does not exist: C:/houseparts/robots.txt [Fri Jun 23 05:16:46 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 06:26:09 2006] [error] [client 68.142.251.168] File does not exist: C:/houseparts/robots.txt [Fri Jun 23 06:51:22 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 06:51:22 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 06:51:23 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Fri Jun 23 06:51:23 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Fri Jun 23 06:51:23 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Fri Jun 23 06:51:23 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Fri Jun 23 06:51:23 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Fri Jun 23 06:56:41 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 06:56:41 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 07:29:18 2006] [error] [client 72.30.252.99] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 07:30:59 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 07:41:09 2006] [error] [client 86.127.17.246] request failed: error reading the headers [Fri Jun 23 08:26:05 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 08:44:33 2006] [error] [client 217.20.17.23] File does not exist: C:/Dathorne_new/cookie.js, referer: http://www.dathorne.com/ [Fri Jun 23 08:45:01 2006] [error] jk2_channel_apr_send send failed 730054 An existing connection was forcibly closed by the remote host. [Fri Jun 23 08:45:01 2006] [error] ajp13.service() error sending, reconnect channel.socket:192.168.1.4:8009 -3 0 No error [Fri Jun 23 11:29:17 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 11:37:33 2006] [error] [client 72.30.252.99] File does not exist: C:/Dathorne_new/robots.txt [Fri Jun 23 23:58:40 2006] [notice] Parent: Received shutdown signal -- Shutting down the server. [Fri Jun 23 23:58:40 2006] [notice] Child 5388: Exit event signaled. Child process is ending. [Fri Jun 23 23:58:41 2006] [notice] Child 5388: Released the start mutex [Fri Jun 23 23:58:45 2006] [notice] Child 5388: Waiting for 250 worker threads to exit. [Fri Jun 23 23:58:46 2006] [notice] Child 5388: All worker threads have exited. [Fri Jun 23 23:58:46 2006] [notice] Child 5388: Child process is exiting [Fri Jun 23 23:59:10 2006] [notice] Parent: Forcing termination of child process 340 [Sat Jun 24 00:08:44 2006] [notice] Apache/2.0.58 (Win32) mod_jk2/2.0.4 mod_jk/1.2.14 configured -- resuming normal operations [Sat Jun 24 00:08:44 2006] [notice] Server built: Apr 29 2006 17:47:10 [Sat Jun 24 00:08:44 2006] [notice] Parent: Created child process 308 [Sat Jun 24 00:08:45 2006] [notice] Child 308: Child process is running [Sat Jun 24 00:08:45 2006] [notice] Child 308: Acquired the start mutex. [Sat Jun 24 00:08:45 2006] [notice] Child 308: Starting 250 worker threads. [Sat Jun 24 00:12:01 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Sat Jun 24 00:12:01 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Sat Jun 24 00:12:01 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Sat Jun 24 00:12:01 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Sat Jun 24 00:12:01 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Sat Jun 24 00:14:10 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Sat Jun 24 00:14:10 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Sat Jun 24 00:14:10 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Sat Jun 24 00:14:10 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Sat Jun 24 00:14:10 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Sat Jun 24 00:16:31 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Sat Jun 24 00:16:31 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Sat Jun 24 00:16:31 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Sat Jun 24 00:16:31 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Sat Jun 24 00:16:31 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Sat Jun 24 00:18:51 2006] [error] channelApr.open() attempt to connect to 192.168.1.4:8009 (192.168.1.4) failed 730061 [Sat Jun 24 00:18:51 2006] [error] ajp13.connect() failed ajp13:localhost:8009 [Sat Jun 24 00:18:51 2006] [error] ajp13.service() failed to connect endpoint errno=0 No error [Sat Jun 24 00:18:51 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Sat Jun 24 00:18:51 2006] [error] mod_jk2.handler() Error connecting to tomcat 120000, status 0 [Sat Jun 24 00:21:34 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:21:49 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:21:58 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:22:10 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:22:36 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:22:49 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:43:56 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:48:59 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:49:20 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 00:49:26 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 01:07:52 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 01:54:25 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 02:28:26 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 02:28:39 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 02:29:49 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 02:32:13 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 03:31:44 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 03:59:08 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 04:41:47 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 05:33:23 2006] [error] [client 68.142.212.167] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 06:00:06 2006] [error] [client 72.30.132.217] File does not exist: C:/houseparts/robots.txt [Sat Jun 24 06:32:46 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 07:05:29 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 07:22:52 2006] [error] [client 86.106.58.63] request failed: error reading the headers [Sat Jun 24 07:48:49 2006] [error] [client 72.30.132.208] File does not exist: C:/houseparts/robots.txt [Sat Jun 24 08:06:29 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 09:45:02 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 10:24:32 2006] [error] [client 68.142.251.73] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 10:31:47 2006] [error] ajp13.service() ajpGetReply recoverable error 3 [Sat Jun 24 10:32:03 2006] [error] ajp13.service() ajpGetReply recoverable error 3 [Sat Jun 24 10:32:03 2006] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Sat Jun 24 10:32:03 2006] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 [Sat Jun 24 10:44:16 2006] [error] [client 127.0.0.1] File does not exist: C:/Dathorne_new/favicon.ico [Sat Jun 24 12:05:52 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt [Sat Jun 24 12:39:26 2006] [error] [client 68.142.251.97] File does not exist: C:/Dathorne_new/robots.txt |
|
|||
|
Thanks, Davide.
I have already googled the router BT Voyager 2500 without much joy. Last night I upgraded to the latest mod_jk (JK2 is no longer supported) So far it's holding up ... any further problems and I will have to revert to old modem as you said. Regards, Mark Davide Bianchi wrote: > On 2006-06-24, markied <mark.dathorne@ukonline.co.uk> wrote: > > This setup - Apache 2.0.58, mod_jk2 and JBoss 4.0.4 - has been happily > > running at home for a good while until I upgraded to a wireless router > > a couple of weeks ago. > > Then it's probably not a problem in your configuration, more a problem > in your router. Switch back to the old router and ask the support > desk for the company that produce such thing. Google the router's brand > and model, maybe someone else has the same problem. > > Davide > > -- > Windows NT: Vaporware of the desperate and scared. |