I build a test application test.war under JBOSS deoply folder. Only one file test.jsp
inside this test.war folder.
Then I config IIS as:
Create virtual directory to point at test.war
set isapifilter for IIS and set registry items for it. this is okay.
The file for this filter is:
workers.properties:
ps=\
worker.list=myWeb
worker.myWeb.port=8009
worker.myWeb.host=localhost
worker.myWeb.type=ajp13
uriworkermap.properties
/jmx-console/*=myWeb
/testjboss/*=myWeb
Then I visit the application as:
http://localhost/testjboss/test.jsp
I got the error messageas:
The page cannot be displayed....
Then Check log info:
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1018)]: Using registry.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1020)]: Using log file
C:\jboss327\ISAPIfilters\isapi.log.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1021)]: Using log level 0.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1022)]: Using extension uri
/jakarta/isapi_redirector.dll.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1023)]: Using worker file
C:\jboss327\ISAPIfilters\worker.properties.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1024)]: Using worker mount file
C:\jboss327\ISAPIfilters\uriworkermaps.properties.
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /jmx-console/=myWeb was added
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /testjboss/=myWeb was added
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Fri Jan 12 14:54:29 2007] [jk_worker.c (88)]: Into wc_open
[Fri Jan 12 14:54:29 2007] [jk_worker.c (222)]: Into build_worker_map, creating 1
workers
[Fri Jan 12 14:54:29 2007] [jk_worker.c (228)]: build_worker_map, creating worker myWeb
[Fri Jan 12 14:54:29 2007] [jk_worker.c (148)]: Into wc_create_worker
[Fri Jan 12 14:54:29 2007] [jk_worker.c (162)]: wc_create_worker, about to create
instance myWeb of ajp13
[Fri Jan 12 14:54:29 2007] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory
[Fri Jan 12 14:54:29 2007] [jk_worker.c (171)]: wc_create_worker, about to validate and
init myWeb
[Fri Jan 12 14:54:29 2007] [jk_ajp_common.c (1343)]: Into jk_worker_t::validate
[Fri Jan 12 14:54:29 2007] [jk_ajp_common.c (1364)]: In jk_worker_t::validate for worker
myWeb contact is localhost:8009
[Fri Jan 12 14:54:29 2007] [jk_ajp_common.c (1397)]: Into jk_worker_t::init
[Fri Jan 12 14:54:29 2007] [jk_ajp_common.c (1421)]: In jk_worker_t::init, setting socket
timeout to 0
[Fri Jan 12 14:54:29 2007] [jk_worker.c (187)]: wc_create_worker, done
[Fri Jan 12 14:54:29 2007] [jk_worker.c (238)]: build_worker_map, removing old myWeb
worker
[Fri Jan 12 14:54:29 2007] [jk_worker.c (250)]: build_worker_map, done
[Fri Jan 12 14:54:29 2007] [jk_worker.c (111)]: wc_open, done 1
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host
redirection of /localhost/testjboss/test.jsp
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (477)]: Attempting to map URI
'/localhost/testjboss/test.jsp'
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /testjboss/test.jsp
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (477)]: Attempting to map URI
'/testjboss/test.jsp'
[Fri Jan 12 14:54:29 2007] [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match myWeb -> /testjboss/
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (775)]: HttpFilterProc
[/testjboss/test.jsp] is a servlet url - should redirect to myWeb
[Fri Jan 12 14:54:29 2007] [jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/testjboss/test.jsp] is points to the web-inf directory
[Fri Jan 12 14:58:11 2007] [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Fri Jan 12 14:58:11 2007] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host
redirection of /localhost/testjboss/test.jsp
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (477)]: Attempting to map URI
'/localhost/testjboss/test.jsp'
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jan 12 14:58:11 2007] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /testjboss/test.jsp
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (477)]: Attempting to map URI
'/testjboss/test.jsp'
[Fri Jan 12 14:58:11 2007] [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match myWeb -> /testjboss/
[Fri Jan 12 14:58:11 2007] [jk_isapi_plugin.c (775)]: HttpFilterProc
[/testjboss/test.jsp] is a servlet url - should redirect to myWeb
[Fri Jan 12 14:58:11 2007] [jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/testjboss/test.jsp] is points to the web-inf directory
But I can access this application by
http://localhost:8080/test/test.jsp
It is okay.
Help please!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001095#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...