You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Troy Simpson <ch...@gmail.com> on 2005/01/06 21:07:06 UTC
workers2.properties
How does Apache2 find the workers.properties file?
According to page 245 of "Professional Apache Tomcat 5", it says:
"These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level of the config component."
# config settings
[config]
file=<APACHE2_HOME>\conf\workers2.properties
level=INFO
debug=1
How can Apache2 find the workers2.properties file if its location of
the workers2.properties file is inside the workers2.properties file?
This is just the start of the problems I'm having with setting up the
AJP Connector.
Thanks,
Troy
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Socket Exception - Heavy load
Posted by shyam <gs...@hotmail.com>.
Hi Mark,
Thanks. I would remember this .
Thanks
shyam
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: Friday, January 07, 2005 2:10 PM
To: Tomcat Users List
Subject: Re: Socket Exception - Heavy load
Please do not hijack another message thread.
If you wish to post to the list create a new message and send it. DO NOT
reply to a list message and change the subject. Thread aware mail
clients still recognise this as a reply and do not show it as a new
message.
Mark
tomcat-user-owner@jakarta.apache.org
shyam wrote:
> Hi All,
>
> I am doing some performance tests. Under heavy load I get socket
> exceptions in my tomcat logs
>
> SEVERE: Error, processing connection
> java.net.SocketException: Software caused connection abort: recv
failed
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(Unknown Source)
> at java.io.BufferedInputStream.fill(Unknown Source)
> at java.io.BufferedInputStream.read1(Unknown Source)
> at java.io.BufferedInputStream.read(Unknown Source)
> at
> org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:556)
> at
> org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:494)
> at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 614)
> at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> java:644)
> at java.lang.Thread.run(Unknown Source)
>
> I guess it has something to do with jk2 and the sockets. It would be
> helpful if someone can explain this and why it is happening?
> My configuration is
> Apache 2.0.52
> Tomcat 5.0.29
> Jk2 - 1.2.8
>
> Thanks
> shyam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Socket Exception - Heavy load
Posted by Mark Thomas <ma...@apache.org>.
Please do not hijack another message thread.
If you wish to post to the list create a new message and send it. DO NOT
reply to a list message and change the subject. Thread aware mail
clients still recognise this as a reply and do not show it as a new message.
Mark
tomcat-user-owner@jakarta.apache.org
shyam wrote:
> Hi All,
>
> I am doing some performance tests. Under heavy load I get socket
> exceptions in my tomcat logs
>
> SEVERE: Error, processing connection
> java.net.SocketException: Software caused connection abort: recv failed
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(Unknown Source)
> at java.io.BufferedInputStream.fill(Unknown Source)
> at java.io.BufferedInputStream.read1(Unknown Source)
> at java.io.BufferedInputStream.read(Unknown Source)
> at
> org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:556)
> at
> org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:494)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 614)
> at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> java:644)
> at java.lang.Thread.run(Unknown Source)
>
> I guess it has something to do with jk2 and the sockets. It would be
> helpful if someone can explain this and why it is happening?
> My configuration is
> Apache 2.0.52
> Tomcat 5.0.29
> Jk2 - 1.2.8
>
> Thanks
> shyam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Socket Exception - Heavy load
Posted by shyam <gs...@hotmail.com>.
Hi All,
I am doing some performance tests. Under heavy load I get socket
exceptions in my tomcat logs
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:556)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:494)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
614)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
java:644)
at java.lang.Thread.run(Unknown Source)
I guess it has something to do with jk2 and the sockets. It would be
helpful if someone can explain this and why it is happening?
My configuration is
Apache 2.0.52
Tomcat 5.0.29
Jk2 - 1.2.8
Thanks
shyam
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: workers2.properties
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
Troy Simpson wrote:
>How does Apache2 find the workers.properties file?
>
>According to page 245 of "Professional Apache Tomcat 5", it says:
>
>"These settings provide detailed information about the configuration
>setup to Apache2, including the location of the workers2.properties
>file and the debuggin level of the config component."
>
># config settings
>[config]
>file=<APACHE2_HOME>\conf\workers2.properties
>level=INFO
>debug=1
>
>How can Apache2 find the workers2.properties file if its location of
>the workers2.properties file is inside the workers2.properties file?
>
>
:-) A good point.
That entry in workers2.properties should be mostly informational. If
you're placing that file some place other than default or you wish to
make absolutely sure where it's located, use Apache directives for mod_jk2:
<IfModule mod_jk2.c>
JkSet config.file=/usr/opt/Apache-Mod_JK2/conf/workers2.properties
</IfModule>
That is what I place in my httpd.conf (or in my setup,
${ServerRoot}/add-on/jk2.conf)
Nix.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org