*
The moose likes Tomcat and the fly likes Invalid method in request in - - - -  Tomcat+Apache+Mod_jk Problem .... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Invalid method in request in - - - -  Tomcat+Apache+Mod_jk Problem ...." Watch "Invalid method in request in - - - -  Tomcat+Apache+Mod_jk Problem ...." New topic
Author

Invalid method in request in - - - - Tomcat+Apache+Mod_jk Problem ....

Shridhar. Blr.
Ranch Hand

Joined: Nov 23, 2000
Posts: 45
Hi All,
I have configured Tomcat+Apache+mod_jk, i tested it works fine for html pages, but when i try to invoke a Servlet ( is in package com.tele.comm.*) i am getteing the following error on screen
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, Shridhar.N@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/2.0.49 (Win32) mod_jk/1.2.4 Server at localhost Port 8888
and the following error in apaches/log file.
[Mon Apr 26 17:44:53 2004] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Apr 26 17:44:53 2004] [notice] Child 4236: Exit event signaled. Child process is ending.
[Mon Apr 26 17:44:53 2004] [notice] Parent: Created child process 3740
[Mon Apr 26 17:44:53 2004] [warn] module jk_module is already loaded, skipping
[Mon Apr 26 17:44:53 2004] [notice] Child 3740: Child process is running
[Mon Apr 26 17:44:54 2004] [notice] Child 3740: Acquired the start mutex.
[Mon Apr 26 17:44:54 2004] [notice] Child 4236: Released the start mutex
[Mon Apr 26 17:44:54 2004] [notice] Child 3740: Starting 250 worker threads.
[Mon Apr 26 17:44:55 2004] [notice] Child 4236: Waiting for 250 worker threads to exit.
[Mon Apr 26 17:44:56 2004] [notice] Child 4236: All worker threads have exited.
[Mon Apr 26 17:44:57 2004] [notice] Child 4236: Child process is exiting
[Mon Apr 26 17:45:18 2004] [error] [client 127.0.0.1] Invalid method in request \x124\x01\xf2\x02\x04
[Mon Apr 26 17:45:18 2004] [error] [client 127.0.0.1] Invalid method in request \x124\x01\xf2\x02\x04
[Mon Apr 26 17:45:18 2004] [error] [client 127.0.0.1] Invalid method in request \x124\x01\xf2\x02\x04
Can anyone tell me whats the problem and fix for the same..
Any help would be highly appreciated..
Thanks in Advance..
Regards,
Shridhar..
[ April 26, 2004: Message edited by: Mike Curwen ]
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
It is wierd that the html files can be accessed while the jsps cannot. On my machine both are accessible.
Post the contents of httpd.conf,server.xml and web.xml that are related to this architecture.
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invalid method in request in - - - - Tomcat+Apache+Mod_jk Problem ....