JAN_SOBESKI
Guest
Apache + TomCat
Выводит:
при команде
http://localhost/examples
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity
problems. Please try again later.
Apache/2.0.44 (Win32) mod_jk2/2.0.4 PHP/5.0.3 Server at localhost Port 80
Система: виндовс2000
стоит Апач2
Поставил ТомКэт5.5.9
Использую mod_jk2.so для интеграции апача и том кэта.
локальный хост висит на 8080 порте (с одним апачем подключался именно туда)
Логи
призапуске томкэт (монитора) в логах пишет
[2005-04-12 10:42:37] [info] Running Service...
[2005-04-12 10:42:37] [info] Starting service...
[2005-04-12 10:42:40] [info] Service started in 2468 ms.
[2005-04-12 10:42:44] [info] Run service finished.
[2005-04-12 10:42:44] [info] Procrun finished.
Логи Апача при обращении на страницу примеров
http://localhost/examples
[Tue Apr 12 10:53:13 2005] [error] channelApr.open() attempt to connect to 127.0.0.1:8080
(localhost) failed 730061
[Tue Apr 12 10:53:13 2005] [error] ajp13.connect() failed ajp13:localhost:8080
[Tue Apr 12 10:53:13 2005] [error] ajp13.service() failed to connect endpoint errno=0 No error
[Tue Apr 12 10:53:13 2005] [error] ajp13.service() Error forwarding ajp13:localhost:8080 1 1
[Tue Apr 12 10:53:13 2005] [error] lb.service() worker failed 120000 for ajp13:localhost:8080
[Tue Apr 12 10:53:13 2005] [error] lb_worker.service() all workers in error or disabled state
[Tue Apr 12 10:53:13 2005] [error] mod_jk2.handler() Error connecting to tomcat 120000, status
503
ПРи запуске Апача (при подключённом мониторе томкэта)
[Tue Apr 12 10:55:08 2005] [notice] Parent: Created child process 1504
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Child process is running
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Acquired the start mutex.
[Tue Apr 12 10:55:09 2005] [notice] Child 1808: Released the start mutex
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Starting 250 worker threads.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: Waiting for 250 worker threads to exit.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: All worker threads have exited.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: Child process is exiting
Такие вопросы появились
Мне какие порты прописывать в workers2.properties?
Как мне разобратся с ошибкой 503?
Очень прошу помочь. Не знаю где что править - файлов столько много!
Вот так вот выглядит workers2.properties.
Исправил порт с 8009 на 8080, аднако и при 8009 не работало
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon
# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]
# Example socket channel, override port and host.
[channel.socket:localhost:8080]
#port=8009
#host=127.0.0.1
port=8080
host=localhost
# define the worker
[ajp13:localhost:8080]
channel=channel.socket:localhost:8080
group=lb
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb
[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
info=The Tomcat
Выводит:
при команде
http://localhost/examples
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity
problems. Please try again later.
Apache/2.0.44 (Win32) mod_jk2/2.0.4 PHP/5.0.3 Server at localhost Port 80
Система: виндовс2000
стоит Апач2
Поставил ТомКэт5.5.9
Использую mod_jk2.so для интеграции апача и том кэта.
локальный хост висит на 8080 порте (с одним апачем подключался именно туда)
Логи
призапуске томкэт (монитора) в логах пишет
[2005-04-12 10:42:37] [info] Running Service...
[2005-04-12 10:42:37] [info] Starting service...
[2005-04-12 10:42:40] [info] Service started in 2468 ms.
[2005-04-12 10:42:44] [info] Run service finished.
[2005-04-12 10:42:44] [info] Procrun finished.
Логи Апача при обращении на страницу примеров
http://localhost/examples
[Tue Apr 12 10:53:13 2005] [error] channelApr.open() attempt to connect to 127.0.0.1:8080
(localhost) failed 730061
[Tue Apr 12 10:53:13 2005] [error] ajp13.connect() failed ajp13:localhost:8080
[Tue Apr 12 10:53:13 2005] [error] ajp13.service() failed to connect endpoint errno=0 No error
[Tue Apr 12 10:53:13 2005] [error] ajp13.service() Error forwarding ajp13:localhost:8080 1 1
[Tue Apr 12 10:53:13 2005] [error] lb.service() worker failed 120000 for ajp13:localhost:8080
[Tue Apr 12 10:53:13 2005] [error] lb_worker.service() all workers in error or disabled state
[Tue Apr 12 10:53:13 2005] [error] mod_jk2.handler() Error connecting to tomcat 120000, status
503
ПРи запуске Апача (при подключённом мониторе томкэта)
[Tue Apr 12 10:55:08 2005] [notice] Parent: Created child process 1504
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Child process is running
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Acquired the start mutex.
[Tue Apr 12 10:55:09 2005] [notice] Child 1808: Released the start mutex
[Tue Apr 12 10:55:09 2005] [notice] Child 1504: Starting 250 worker threads.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: Waiting for 250 worker threads to exit.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: All worker threads have exited.
[Tue Apr 12 10:55:10 2005] [notice] Child 1808: Child process is exiting
Такие вопросы появились
Мне какие порты прописывать в workers2.properties?
Как мне разобратся с ошибкой 503?
Очень прошу помочь. Не знаю где что править - файлов столько много!
Вот так вот выглядит workers2.properties.
Исправил порт с 8009 на 8080, аднако и при 8009 не работало

[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon
# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]
# Example socket channel, override port and host.
[channel.socket:localhost:8080]
#port=8009
#host=127.0.0.1
port=8080
host=localhost
# define the worker
[ajp13:localhost:8080]
channel=channel.socket:localhost:8080
group=lb
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb
[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
info=The Tomcat