Problème mod_jk et JSF

Questions sur les problèmes d'intégration de Tomcat avec Apache (mod_jk, mod_jk2...).

Modérateur : Modérateurs

NICOFOU
Nouveau membre
Messages : 1
Inscription : ven. 17 août 2007, 14:35

Problème mod_jk et JSF

Messagepar NICOFOU » ven. 17 août 2007, 15:02

Bonjour,

j'utilise une architecture Serveur Apache / Tomcat pour un projet utilisant les Java server faces.

Lorsque j'attaque directement mon tomcat, mes pages sont bien interpretées.
Par contre, lorsque je passe via le serveur Apache, ma page n'est pas trouvé e et le mod_jk me donne les traces suivantes :

Code : Tout sélectionner

[Fri Aug 17 14:53:36 2007]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Aug 17 14:53:36 2007]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/index.jsf'
[Fri Aug 17 14:53:36 2007]  [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match loadbalancer -> *.jsf
[Fri Aug 17 14:53:36 2007]  [mod_jk.c (1238)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=1756168 worker=loadbalancer
[Fri Aug 17 14:53:36 2007]  [jk_worker.c (132)]: Into wc_get_worker_for_name loadbalancer
[Fri Aug 17 14:53:36 2007]  [jk_worker.c (136)]: wc_get_worker_for_name, done  found a worker
[Fri Aug 17 14:53:36 2007]  [jk_lb_worker.c (529)]: Into jk_worker_t::get_endpoint
[Fri Aug 17 14:53:36 2007]  [jk_lb_worker.c (312)]: Into jk_endpoint_t::service
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (1378)]: Into jk_worker_t::get_endpoint
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (1094)]: Into jk_endpoint_t::service
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (292)]: Into ajp_marshal_into_msgb
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (425)]: ajp_marshal_into_msgb - Done
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (117)]: Into jk_open_socket
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (124)]: jk_open_socket, try to connect socket = 12
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (133)]: jk_open_socket, after connect ret = 0
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (142)]: jk_open_socket, set TCP_NODELAY to on
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (151)]: jk_open_socket, set SO_KEEPALIVE to on
[Fri Aug 17 14:53:36 2007]  [jk_connect.c (159)]: jk_open_socket, return, sd = 12
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (601)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 12
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (627)]: sending to ajp13 #428
[Fri Aug 17 14:53:36 2007]  [jk_ajp_common.c (869)]: ajp_send_request 2: request body to send 0 - request body to resend 0
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (666)]: ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (1028)]: Error reading reply
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (1165)]: In jk_endpoint_t::service, ajp_get_reply failed in send loop 0
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (117)]: Into jk_open_socket
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (124)]: jk_open_socket, try to connect socket = 12
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (133)]: jk_open_socket, after connect ret = 0
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (142)]: jk_open_socket, set TCP_NODELAY to on
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (151)]: jk_open_socket, set SO_KEEPALIVE to on
[Fri Aug 17 14:54:36 2007]  [jk_connect.c (159)]: jk_open_socket, return, sd = 12
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (601)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 12
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (627)]: sending to ajp13 #428
[Fri Aug 17 14:54:36 2007]  [jk_ajp_common.c (869)]: ajp_send_request 2: request body to send 0 - request body to resend 0
...
[Fri Aug 17 14:56:36 2007]  [jk_ajp_common.c (666)]: ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Fri Aug 17 14:56:36 2007]  [jk_ajp_common.c (1028)]: Error reading reply
[Fri Aug 17 14:56:36 2007]  [jk_ajp_common.c (1165)]: In jk_endpoint_t::service, ajp_get_reply failed in send loop 2
[Fri Aug 17 14:56:36 2007]  [jk_ajp_common.c (1362)]: Into jk_endpoint_t::done, closing connection 0
[Fri Aug 17 14:56:36 2007]  [jk_ajp_common.c (548)]: In jk_endpoint_t::ajp_close_endpoint
[Fri Aug 17 14:56:36 2007]  [jk_lb_worker.c (371)]: In jk_endpoint_t::service, recoverable error... will try to recover on other host
[Fri Aug 17 14:56:36 2007]  [jk_lb_worker.c (375)]: In jk_endpoint_t::service, No more workers left, can not submit the request
[Fri Aug 17 14:56:36 2007]  [jk_lb_worker.c (382)]: In jk_endpoint_t::service: NULL Parameters
[Fri Aug 17 14:56:36 2007]  [jk_lb_worker.c (391)]: Into jk_endpoint_t::done



Avez vous déjà rencontré ce genre de problème?

Revenir vers « Intégration Apache »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité