- PR -

lb.service() worker failed 120000 エラーで〜〜す〜〜

1
投稿者投稿内容
タンちゃん
会議室デビュー日: 2004/04/02
投稿数: 19
投稿日時: 2004-04-02 13:45
こんにちは!!

システム開発中問題が発生して、皆さんに教えていただきたいと思います.

環境:Windows 2000 Server, IIS 5.0, J2SDK1.4.2_04, Tomcat4.1.18,
   コネクタ(IIS〜Tomcat)JK2

現象:・システム的には異常なし
   ・イベントログのアプリケーションログに下記のエラーログが繰り返して起きる(Tomcatで操作(ボタンクリック)があるたび)

エラー内容

Error: [jk_worker_lb.c (402)]: lb.service() worker failed 120000 for ajp13:localhost:8009
Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error...
Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed

Error: [jk_channel_socket.c (557)]: channelSocket.receive(): Error receiving message body -1 53
Error: [jk_workerEnv.c (482)]: workerEnv.processCallbacks() Error reading reply
Error: [jk_worker_ajp13.c (416)]: ajp13.service() ajpGetReply recoverable error 120000


<<worker2.properties>>
#IISログ設定
[logger.file:0]
level=debug
file=${serverRoot}/logs/jk2.log
#通信チャンネル設定
[channel.socket:localhost:8009]
info=AJP13 forwarding over socket
##host=localhost
##port=8009
##group=lb
tomcatId=localhost:8009
#TomcatのWebapp以下のWebアプリケーションをWebサーバーURI空間に関連付け
[uri:/*]
info=Map the whole webapp
##group=lb
[shm:]
file=${serverRoot}/logs/jk2.shm
size=1000000

<<JK2.peoperties>>
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
channelSocket.port=8009


・インターネットでいろいろ調べてみたんですが…
 質問は多いけど答えは2つありましたが、上部のファイルには反映されてます.
 1.worker2.properties に[shm]を追加
 2.worker2.properties のloadbalancing, JNIを消す.

上のエラーログを出さない方法があれば教えていただきたいと思います.

それでは宜しくお願いします.


[ メッセージ編集済み 編集者: タンちゃん 編集日時 2004-04-02 13:48 ]

[ メッセージ編集済み 編集者: タンちゃん 編集日時 2004-04-02 14:19 ]
1

スキルアップ/キャリアアップ(JOB@IT)