You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Br...@REMYAMERIQUE.COM on 2002/09/20 20:34:57 UTC

Identical configs on two machines - yet one won't run my servlet

I have two machines, one Windows 2000 Server, and one Windows 2000 Pro.
The server has Tomcat 3.3.1 using the jk module with Apache 2.0.40.  I need
to upgrade to Tomcat 4.1.10  So I installed Tomcat & Apache on a windows
2000 box and made sure everything worked.  I installed Tomcat 4.1 on the
server, copied over my servlet and all my config changes, started up Tomcat
then Apache, went to access the servlet, and get nothing.  The page just
sits there loading.  On the Win 2000 Pro box, the page comes up instantly.

I've spent the last couple days combing the web trying to find a solution,
but haven't seen anyone with the same problem.  I've looked at the logs,
and I don't see anything wrong.  Maybe I am just missing something.

Can somebody take a look at the logs and see if anything is wrong?  If so,
can you then point me in the right direction?

Here are my logs:

[Catalina Log]
2002-09-20 09:46:42 Ajp13Connector[28019] accepted socket, assigning to
processor.
2002-09-20 09:46:42 Ajp13Connector[28019] about to create a processor,
available=4, created=5, maxProcessors=75
2002-09-20 09:46:42 Ajp13Processor[28019][3]  An incoming request is being
assigned
2002-09-20 09:46:42 Ajp13Connector[28019] accepting socket...
2002-09-20 09:46:42 Ajp13Processor[28019][3]   The incoming request has
been awaited
2002-09-20 09:46:42 Ajp13Processor[28019][3] socket assigned.
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] setSocket()
2002-09-20 09:46:42 Ajp13Processor[28019][3] waiting on next request...
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] receiveNextRequest()
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] receive()
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] Received 4 560 18
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] receive:  total read
= 560
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] Received 2
JK_AJP13_FORWARD_REQUEST
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] [RequestHandler]
decodeRequest()
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] receive()
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] Received 4 9 18
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] receive:  total read
= 9
2002-09-20 09:46:42 Ajp13Processor[28019][3] [Ajp13] [RequestHandler] ===
BaseRequest ===
method          = POST
protocol        = HTTP/1.1
requestURI      = /pcs/SearchItem1
remoteAddr      = 192.168.1.1
remoteHost      = null
serverName      = server.mydomain.com
serverPort      = 80
remoteUser      = null
authType        = null
queryString     = null
scheme          = http
secure          = false
contentLength   = 7
contentType     = application/x-www-form-urlencoded
attributes      = {}
headers         = === MimeHeaders ===
accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, */*
referer = http://server.mydomain.com/pcs/index1.html
accept-language = en-us
content-type = application/x-www-form-urlencoded
accept-encoding = gzip, deflate
user-agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
host = server.mydomain.com
content-length = 7
connection = Keep-Alive
cache-control = no-cache

cookies         = === Cookies ===

jvmRoute        = null

2002-09-20 09:46:42 Ajp13Processor[28019][3] received next request,
status=200
2002-09-20 09:46:42 Ajp13Processor[28019][3] invoking...
2002-09-20 09:46:48 Ajp13Connector[28019] active threads=6

[pcs (my app) log]
2002-09-20 09:46:42 StandardContext[/pcs]: Mapping contextPath='/pcs' with
requestURI='/pcs/SearchItem1' and relativeURI='/SearchItem1'
2002-09-20 09:46:42 StandardContext[/pcs]:   Trying exact match
2002-09-20 09:46:42 StandardContext[/pcs]:  Mapped to servlet 'SearchItem1'
with servlet path '/SearchItem1' and path info 'null' and update=true

[modjk log]
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/pcs/index1.html'
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/pcs/terraescape04.jpg'
[Fri Sep 20 09:46:38 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/pcs/index1.html'
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/pcs/terraescape04.jpg'
[Fri Sep 20 09:46:40 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Sep 20 09:46:42 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 20 09:46:42 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/pcs/SearchItem1'
[Fri Sep 20 09:46:42 2002]  [jk_uri_worker_map.c (491)]:
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 ->
/pcs/SearchItem1
[Fri Sep 20 09:46:42 2002]  [mod_jk.c (1238)]: Into handler r->proxyreq=0
r->handler=jakarta-servlet r->notes=5773040 worker=ajp13
[Fri Sep 20 09:46:42 2002]  [jk_worker.c (132)]: Into
wc_get_worker_for_name ajp13
[Fri Sep 20 09:46:42 2002]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Fri Sep 20 09:46:42 2002]  [mod_jk.c (437)]: agsp=80
agsn=server.mydomain.com hostn=server.mydomain.com
shostn=server.mydomain.com cbsport=0 sport=0
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (1378)]: Into
jk_worker_t::get_endpoint
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (1094)]: Into
jk_endpoint_t::service
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (292)]: Into
ajp_marshal_into_msgb
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (425)]: ajp_marshal_into_msgb
- Done
[Fri Sep 20 09:46:42 2002]  [jk_connect.c (117)]: Into jk_open_socket
[Fri Sep 20 09:46:42 2002]  [jk_connect.c (124)]: jk_open_socket, try to
connect socket = 1440
[Fri Sep 20 09:46:42 2002]  [jk_connect.c (133)]: jk_open_socket, after
connect ret = 0
[Fri Sep 20 09:46:42 2002]  [jk_connect.c (142)]: jk_open_socket, set
TCP_NODELAY to on
[Fri Sep 20 09:46:42 2002]  [jk_connect.c (159)]: jk_open_socket, return,
sd = 1440
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (601)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 1440
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (627)]: sending to ajp13 #564
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (869)]: ajp_send_request 2:
request body to send 7 - request body to resend 0
[Fri Sep 20 09:46:42 2002]  [jk_ajp_common.c (627)]: sending to ajp13 #13




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>