tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gibby <dgi...@resumerabbit.com>
Subject Re: JK2 woes
Date Mon, 20 Oct 2003 16:48:35 GMT
David Bolshoy had this problem on Jun 2. 2003

Did you ever get this figured out? I have the same problem with much the 
same setup as you.
Apache and tomcat seem to run fine for a while, but then after some time 
(more quickly with more usage), I start receiving errors and connections 
to apache are refused:

Oct 19, 2003 10:26:54 AM org.apache.jk.common.JniHandler nativeDispatch
SEVERE: nativeDispatch: error -3
... repeated up to 5 times...
[Sun Oct 19 10:26:54 2003] (error ) [jk_channel_un.c (422)]  
channelUn.receive(): error receiving -2 104 Connection reset by peer 
0x98a9cf0 95
Oct 19, 2003 10:26:54 AM org.apache.jk.common.JniHandler nativeDispatch
SEVERE: nativeDispatch: error 21000
Oct 19, 2003 10:26:54 AM org.apache.jk.common.ChannelUn receive
SEVERE: receive error:   21000

Any help is appreciated. I'm assuming that it is a JK2 issue. I'm 
including my workers2.properties below.
Thanks,
Daniel Gibby

setup:
Apache/2.0.40
Linux RedHat 9.0 compiled
jakarta-tomcat-4.1.27
jk2-connectors-2.0.2 compiled from native src

I assume it is something with the JK2 connectors.
Here's my workers2.properties:

[logger]
level=ERROR
# Log level. Supported: EMERG, ERROR, INFO, DEBUG

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

[workerEnv:]
info=Global server options
timing=1
debug=0

[status:status]
info=Status worker, displays runtime informations

[lb:unixsoc]
info=Default load balancer.
debug=0

[shm:]
info=Scoreboard. Required for reconfiguration and status with 
multiprocess servers
file=/usr/local/jakarta-tomcat/work/jk2.shm
size=1048576
debug=0
disabled=0

[channel.un:unixsocket]
file=/usr/local/jakarta-tomcat/work/jk2.socket
tomcatId=localhost:8009
group=unixsoc

[ajp13:unixsocket]
channel=channel.un:unixsocket
group=unixsoc

[uri:/go*]
group=unixsoc

[uri:*.jsp]
info=All JSP requests forwarded
group=unixsoc

#Then I have things for many of my domains that are probably redundant:
[uri:domain.com/go*]
group=unixsoc
[uri:domain.com/*.jsp]
info=All JSP requests forwarded
group=unixsoc
#etc.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message