Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a remote Linux CentOS 6.2 server. I'm puzzled by the mod_jk.log file, which I've included a snippet below and attached as a text file. I also attached an image of Adobe Flexbuilder's wizard.
As you can see from the image, this wizard has a button called "Validate Configuration" that attempts to connect to the remote server provided in the input field labeled "Root URL". If I enter the following into this Root URL field http://mydomain.com:8080/mywebapp the Adobe Flashbuilder software states that a connection was successfully made to the server. However, if I enter the following instead: http://mydomain.com/mywebapp the Adobe Flashbuilder software states that it cannot connect to the server. When I review the mod_jk.log file (attached as a file and also shown below), I see Adobe's request in the 2nd line (see red font ), where the mod_jk.log entry reports a missing uri map for host3.mydomain.com:/jitterapp/flex_wizard_... Later in this log snippet, as identified in green font , you'll see an entry for attempting to map URI ' /jitterapp/flex_wizard_... This entry was created when I opened a web browser and pointed it to the address Adobe was trying to access, which I obtained from the log file, that is, http://mydomain.com/mywebapp/flex_wizard_project_test_script_server_550713325917236076.htm. In this case, a match was found with JkMount and a worker assigned, and so mod_jk seems to be working. My question is, why does mod_jk work when I manually enter the web address Adobe is trying to access but not work when Adobe accesses it? Can you see anything in the log file that would indicate the address I entered is different than the address Adobe is using, that could explain this? I really need this working, so any help MUCH appreciated. Thanks in advance. For reference, the httpd.conf file includes the following (the ... indicates non-relevant code I removed for simplicity): LoadModule jk_module modules/mod_jk.so JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" ... Listen 0.0.0.0:80 User nobody Group nobody ExtendedStatus On ServerAdmin webmas...@webxyz.net ServerName host3.mydomain.com LogLevel warn Timeout 300 ServerSignature On ... UserDir public_html ... <Location /whm-server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from xx.xx.xxx.0/24 </Location> <Location /server-info> SetHandler server-info Order deny,allow Deny from all Allow from xx.xx.xxx.0/24 </Location> ... NameVirtualHost 67.227.243.196:80 NameVirtualHost * ... <VirtualHost xx.xxx.xxx.196:80> ServerName mydomain.com ServerAlias www.mydomain.com host3.mydomain.com DocumentRoot /home/gkk/public_html ServerAdmin webmas...@mydomain.com UseCanonicalName Off JkMountCopy On JkMount /mydomain/* worker1 JkMount /mydomain worker1 </VirtualHost> ------------mod_jk.log file snippet---------- [Thu Feb 16 06:46:37 2012] [13722:140020322740160] [debug] jk_handler::mod_jk.c (2662): Service finished with status=404 for worker=worker1 [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/mywebapp/flex_wizard_project_test_script_server_550713325917236076.htm [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_map_to_storage::mod_jk.c (3647): missing uri map for host3.mydomain.com:/mywebapp/flex_wizard_project_test_script_server_550713325917236076.htm [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/404.shtml [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_map_to_storage::mod_jk.c (3647): missing uri map for host3.mydomain.com:/404.shtml [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/cp_errordocument.shtml [Thu Feb 16 06:47:35 2012] [13723:140020322740160] [debug] jk_map_to_storage::mod_jk.c (3647): missing uri map for host3.mydomain.com:/cp_errordocument.shtml [Thu Feb 16 06:49:46 2012] [13724:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/ [Thu Feb 16 06:49:46 2012] [13724:140020322740160] [debug] jk_map_to_storage::mod_jk.c (3647): missing uri map for host3.mydomain.com:/ [Thu Feb 16 06:49:46 2012] [13724:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/index.html.var ... [Thu Feb 16 06:55:02 2012] [13724:140020322740160] [debug] jk_translate::mod_jk.c (3488): missing uri map for host3.mydomain.com:/whm-server-status [Thu Feb 16 06:55:02 2012] [13724:140020322740160] [debug] jk_map_to_storage::mod_jk.c (3647): missing uri map for host3.mydomain.com:/whm-server-status [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI ' /mywebapp/flex_wizard_project_test_script_server_550713325917236076.htm ' from 6 maps [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/glassfish-test/*=worker1' source 'JkMount' [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/mywebapp/*=worker1' source 'JkMount' [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/mywebapp/* =worker1' [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] jk_handler::mod_jk.c (2522): Into handler jakarta-servlet worker=worker1 r->proxyreq=0 [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] wc_get_worker_for_name::jk_worker.c (116): found a worker worker1 [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] wc_maintain::jk_worker.c (339): Maintaining worker worker1 [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13' [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] init_ws_service::mod_jk.c (1024): Service protocol=HTTP/1.1 method=GET ssl=false host=(null) addr=xx.xx.xxx.163 name=mydomain.com port=80 auth=(null) user=(null) laddr=xx.xxx.xxx.196 raddr=xx.xxx.xxx.163 uri=/mywebapp/flex_wizard_project_test_script_server_550713325917236076.htm [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_get_endpoint::jk_ajp_common.c (3161): acquired connection pool slot=0 after 0 retries [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (647): ajp marshaling done [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_service::jk_ajp_common.c (2440): processing worker1 with 2 retries [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_send_request::jk_ajp_common.c (1624): (worker1) all endpoints are disconnected. [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] jk_open_socket::jk_connect.c (484): socket TCP_NODELAY set to On [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] jk_open_socket::jk_connect.c (608): trying to connect socket 23 to 127.0.0.1:8009 [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] jk_open_socket::jk_connect.c (634): socket 23 [127.0.0.1:40539 -> 127.0.0.1:8009] connected [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1195): sending to ajp13 pos=4 len=450 max=8192 [Thu Feb 16 06:55:21 2012] [13725:140020322740160] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1195): 0000 12 34 01 BE 02 02 00 08 48 54 54 50 2F 31 2E 31 - .4......HTTP/1.1
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org