Dear all,
I developed a mapserver client application that embeds a Flash object within a 
JSP page using a taglib to trigger a JSP database query to create a new map for 
the viewer. All of this works perfectly in Firefox but Internet Explorer exits 
with the error "Site [mysite] cannot be loaded. Process terminated." (my 
translation of the German error message: "Die Internetseite [mysite] kann nicht 
geöffnet werden. Vorgang abgebrochen"). The page loads the first part of the  
HTML content of the JSP (I can see the heading of the page) and tries to 
display  the Flash part (I can see the grey box of the container) but then IE 
exits (btw: the page also loads perfectly well when I just use plain HTML - but 
then I loose the JSP functionality, of course). This is my mod_jk log in debug 
mode:

[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_send_request::jk_ajp_common.c (1560): (worker1) request body to send 0 - 
request body to resend 0
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13 
pos=0 len=41 max=8192
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    04 01 30 00 0C 
4E 6F 74 20 4D 6F 64 69 66 69 65  - ..0..Not.Modifie
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0010    64 00 00 01 00 
0E 43 6F 6E 74 65 6E 74 2D 4C 65  - d.....Content-Le
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0020    6E 67 74 68 00 
00 01 30 00 00 00 00 00 00 00 00  - ngth...0........
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (660): status = 304
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (667): Number of headers is = 1
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_unmarshal_response::jk_ajp_common.c (723): Header[0] [Content-Length] = [0]
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): received from ajp13 
pos=0 len=2 max=8192
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_connection_tcp_get_message::jk_ajp_common.c (1259): 0000    05 01 00 00 00 
00 00 00 00 00 00 00 00 00 00 00  - ................
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_process_callback::jk_ajp_common.c (1846): AJP13 protocol: Reuse is OK
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] 
ajp_reset_endpoint::jk_ajp_common.c (743): (worker1) resetting endpoint with sd 
= 20
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] ajp_done::jk_ajp_common.c 
(2905): recycling connection pool slot=0 for worker worker1
[Tue May 19 09:13:11 2009] [12323:3086292752] [debug] jk_handler::mod_jk.c 
(2599): Service finished with status=304 for worker=worker1
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI 
'/jsp-examples/ct/flamingo-mc_2_0_5/flamingo/flamingo.swf' from 2 maps
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
find_match::jk_uri_worker_map.c (850): Attempting to map context URI 
'/jsp-examples/*=worker1' source 'JkMount'
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
find_match::jk_uri_worker_map.c (863): Found a wildchar match 
'/jsp-examples/*=worker1'
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] jk_handler::mod_jk.c 
(2459): Into handler jakarta-servlet worker=worker1 r->proxyreq=0
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
wc_get_worker_for_name::jk_worker.c (116): found a worker worker1
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] wc_maintain::jk_worker.c 
(339): Maintaining worker worker1
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] wc_maintain::jk_worker.c 
(339): Maintaining worker worker2
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] init_ws_service::mod_jk.c 
(977): Service protocol=HTTP/1.1 method=GET ssl=false host=(null) addr=[myIp] 
name=[mySite] port=80 auth=(null) user=(null) laddr=[myIp] raddr=[myIp] 
uri=/jsp-examples/ct/flamingo-mc_2_0_5/flamingo/flamingo.swf
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
ajp_get_endpoint::jk_ajp_common.c (2977): acquired connection pool slot=0 after 
0 retries
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
ajp_marshal_into_msgb::jk_ajp_common.c (605): ajp marshaling done
[Tue May 19 09:13:11 2009] [12320:3086292752] [debug] 
ajp_service::jk_ajp_common.c (2283): processing worker1 with 2 retries

It seems that Firefox "ignores" the missing mappings while IE does not. Here is 
my workers.properties file:

# Define 1 real worker using ajp13
 worker.list=worker1
 # Set properties for worker1 (ajp13)
 worker.worker1.type=ajp13
 worker.worker1.host=sf5.arcs.ac.at
 worker.worker1.port=8009

The JSP contains the following JSP part:

<p>
 <%@ taglib uri="taglib.tld" prefix="j" %>
  </p>
<j:jscall name="f" url="http://[mysite]/jsp-examples/ct/ClimateConnector.jsp"/>
<j:jscall name="f2" 
url="http://[mysite]/jsp-examples/ct/ClimateConnectorTemp.jsp"/>

without the taglibs the JSP loads in IE. I am a bit stuck here. Any ideas and 
suggestions how to configure my mod_jk e.g. or what else might be wrong are 
greatly welcome. I use Apache 2.2.3, Tomcat 5.5.23 and mod_jk 1.2.28.

Thanks in advance

Jan Peters-Anders



-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* 
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to