Sefirot01 de Agosto del 2003
PreguntaEstoy intentando unir el tomcat con el IIS pero no logro que me funcione.
He seguido los siguientes pasos:
isapi_redirector.dll al directorio /conf
worker.properties al directorio /conf
uriworkermap.properties al directorio /conf
contenidos:
--> fichero worker.properties
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
--> fichero uriworkermap.properties
/aplicacion/*=worker1
/aplicacion/*.jsp=worker1
--> En el registro del sistema
extension_uri /tomcat/isapi_redirector.dll
worker_file c:/tomcat1.4/conf/workers.properties
worker_mount_file c:/tomcat1.4/conf/uriworkermap.properties
log_file c:/tomcat1.4/logs/jk_iis.log
log_level debug
en la consola del IIs he creado un nuevo dir virtual con permiso de ejecución llamado jakarta con enlace a /conf/isapi_redirector.dll
He metido el filtro y me sale la flechita verde
Rearranco servidor tomcat e IIS
Cuando lo arranco desde http://localhost:8080/aplicacion/index.jsp me funciona perfectamente (desde el tomcat), pero cuando lo intento arrancar desde http://localhost/aplicacion/index.jsp no carga la página. Además en el log sale la siguiente entrada:
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/aplicacion/DataBaseSelect.jsp
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/aplicacion/DataBaseSelect.jsp'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match main -> /
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (625)]: HttpFilterProc [/aplicacion/DataBaseSelect.jsp] is a servlet url - should redirect to main
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/aplicacion/DataBaseSelect.jsp] is points to the web-inf directory
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/jakarta/isapi_redirect.dll
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/jakarta/isapi_redirect.dll'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirect.dll
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/jakarta/isapi_redirect.dll'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (638)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (687)]: HttpExtensionProc started
[Tue Jul 01 02:53:17 2003] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[Tue Jul 01 02:53:17 2003] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (709)]: HttpExtensionProc got a worker for name ajp12
[Tue Jul 01 02:53:17 2003] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[Tue Jul 01 02:53:17 2003] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[Tue Jul 01 02:53:17 2003] [jk_connect.c (108)]: Into jk_open_socket
[Tue Jul 01 02:53:17 2003] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 416
[Tue Jul 01 02:53:18 2003] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[Tue Jul 01 02:53:18 2003] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[Tue Jul 01 02:53:18 2003] [jk_isapi_plugin.c (724)]: HttpExtensionProc error, service() failed
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
¿Alguien me podría ayudar, por favor? Ya no se que más hacer para solucuinarlo.
He seguido los siguientes pasos:
isapi_redirector.dll al directorio /conf
worker.properties al directorio /conf
uriworkermap.properties al directorio /conf
contenidos:
--> fichero worker.properties
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
--> fichero uriworkermap.properties
/aplicacion/*=worker1
/aplicacion/*.jsp=worker1
--> En el registro del sistema
extension_uri /tomcat/isapi_redirector.dll
worker_file c:/tomcat1.4/conf/workers.properties
worker_mount_file c:/tomcat1.4/conf/uriworkermap.properties
log_file c:/tomcat1.4/logs/jk_iis.log
log_level debug
en la consola del IIs he creado un nuevo dir virtual con permiso de ejecución llamado jakarta con enlace a /conf/isapi_redirector.dll
He metido el filtro y me sale la flechita verde
Rearranco servidor tomcat e IIS
Cuando lo arranco desde http://localhost:8080/aplicacion/index.jsp me funciona perfectamente (desde el tomcat), pero cuando lo intento arrancar desde http://localhost/aplicacion/index.jsp no carga la página. Además en el log sale la siguiente entrada:
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/aplicacion/DataBaseSelect.jsp
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/aplicacion/DataBaseSelect.jsp'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match main -> /
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (625)]: HttpFilterProc [/aplicacion/DataBaseSelect.jsp] is a servlet url - should redirect to main
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/aplicacion/DataBaseSelect.jsp] is points to the web-inf directory
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/jakarta/isapi_redirect.dll
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/jakarta/isapi_redirect.dll'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirect.dll
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/jakarta/isapi_redirect.dll'
[Tue Jul 01 02:53:17 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (638)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (687)]: HttpExtensionProc started
[Tue Jul 01 02:53:17 2003] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[Tue Jul 01 02:53:17 2003] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker
[Tue Jul 01 02:53:17 2003] [jk_isapi_plugin.c (709)]: HttpExtensionProc got a worker for name ajp12
[Tue Jul 01 02:53:17 2003] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[Tue Jul 01 02:53:17 2003] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[Tue Jul 01 02:53:17 2003] [jk_connect.c (108)]: Into jk_open_socket
[Tue Jul 01 02:53:17 2003] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 416
[Tue Jul 01 02:53:18 2003] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[Tue Jul 01 02:53:18 2003] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[Tue Jul 01 02:53:18 2003] [jk_isapi_plugin.c (724)]: HttpExtensionProc error, service() failed
[Tue Jul 01 02:53:18 2003] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
¿Alguien me podría ayudar, por favor? Ya no se que más hacer para solucuinarlo.
