That's the way I do it and It Works For Me (tm) [channel.socket:localhost:8019] host=localhost port=8019 [channel.socket:localhost:8020] host=localhost port=8020 [ajp13:localhost:8020] channel=channel.socket:localhost:8020 [ajp13:localhost:8019] channel=channel.socket:localhost:8019
Yiannis. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 03:00 To: [EMAIL PROTECTED] Subject: JK2: Cannot configure to use port other than 8009 I've been having trouble configuring JK2 (version 2.0.2) to connect to a Jetty server on any port other than 8009. I'm including the workers2.properties file and the jk2.log. I've had similar results on both IIS and Apache 1.3. Has anyone had any luck running on other ports? The log below shows that it first tries to connect using port 8009 and gets a "Connection refused" even though the configuration file specifies another port (50101). It then shows it trying to connect to the correct port and still getting a "Connection refused", but I'm pretty sure that is bogus because I can telnet to that port and get a response. When I start Jetty on port 8009 instead (even with the below configuration) everything works fine. Any ideas? Am I missing some configuration parameters? Thanks, Jonathan ==== workers2.properties ==== [logger:] level=INFO [shm:] file=${serverRoot}/logs/jk2.shm size=1048576 [lb:load_balancer] [channel.socket:172.18.1.115:50101] port=50101 host=172.18.1.115 group=load_balancer lb_factor=1 [uri:/test/*] group=lb:load_balancer ==== jk2.log ==== [Tue Jan 20 02:38:40 2004] (error) [jk_channel_socket.c (335)]: channelSocket.open() connect failed 172.18.1.115:8009 146 Connection refused [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (247)]: ajp13.connect() failed ajp13:172.18.1.115:50101 [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (322)]: ajp13.service() failed to connect endpoint errno=146 Connection refused [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (512)]: ajp13.service() Error forwarding ajp13:172.18.1.115:50101 1 1 [Tue Jan 20 02:38:40 2004] ( info) [jk_worker_ajp13.c (552)]: ajp13.done() close endpoint ajp13:172.18.1.115:50101 error_state 1 [Tue Jan 20 02:38:40 2004] (error) [jk_worker_lb.c (402)]: lb.service() worker failed 21000 for ajp13:172.18.1.115:50101 [Tue Jan 20 02:38:40 2004] ( info) [jk_worker_lb.c (217)]: lb.getWorker() All workers in error state, use the one with oldest error [Tue Jan 20 02:38:40 2004] (error) [jk_channel_socket.c (335)]: channelSocket.open() connect failed 172.18.1.115:8009 146 Connection refused [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (247)]: ajp13.connect() failed ajp13:172.18.1.115:50101 [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (322)]: ajp13.service() failed to connect endpoint errno=146 Connection refused [Tue Jan 20 02:38:40 2004] (error) [jk_worker_ajp13.c (512)]: ajp13.service() Error forwarding ajp13:172.18.1.115:50101 1 1 [Tue Jan 20 02:38:40 2004] ( info) [jk_worker_ajp13.c (552)]: ajp13.done() close endpoint ajp13:172.18.1.115:50101 error_state 1 [Tue Jan 20 02:38:40 2004] (error) [jk_worker_lb.c (402)]: lb.service() worker failed 21000 for ajp13:172.18.1.115:50101 [Tue Jan 20 02:38:40 2004] ( info) [jk_worker_lb.c (217)]: lb.getWorker() All workers in error state, use the one with oldest error [Tue Jan 20 02:38:40 2004] ( info) [jk_worker_lb.c (248)]: lb.getWorker() We tried all possible workers 2 [Tue Jan 20 02:38:40 2004] (error) [jk_worker_lb.c (348)]: lb_worker.service() all workers in error or disabled state [Tue Jan 20 02:38:40 2004] (error) [mod_jk2.c (427)]: mod_jk.handler() Error connecting to tomcat 21000 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__________________________________________________________________ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
