tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HANDE CANORUÇ <handecano...@gmail.com>
Subject Re: Socket 24 is not connected any more (errno=-1)
Date Thu, 12 Aug 2010 12:17:18 GMT
Sun glassfish 3.1 is an open source application server.
https://glassfish.dev.java.net/

2.15 version of mod jk is used. With my application  sun glassfish 3.0 and
mod jk 2.15 works properly.However when I try to migrate 3.1 , I have
following errors in the mod_jk log file.

I have httpd and workers.properties files normally.   In httpd,
Timeout  180
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 150

<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  10000
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild 0
</IfModule>
Also in worker.properties,

worker.default.host=127.0.0.1
worker.default.type=ajp13
worker.default.lbfactor=50
worker.default.connect_timeout=600000
worker.default.prepost_timeout=600000
worker.default.cachesize=100
worker.default.socket_keepalive=1
worker.default.socket_timeout=300
worker.server1.connection_pool_timeout=600

I got following errors.

2010/8/12 André Warnier <aw@ice-sa.com>

> HANDE CANORUÇ wrote:
>
>> Should I make configuration in httpd file or workers.properties? And what
>> configuration?
>>
>
> mod_jk is a connector between Apache httpd and Apache Tomcat.
> Its sibling isapi_redirect is a connector between Microsoft IIS and Apache
> Tomcat.
>
> It is not very clear by your communication below what glassfish has to do
> with this, and what you are connecting to what.  Where is this mod_jk
> installed, on what kind of host, what version is it, what is the tomcat
> version etc..
>
> And sorry if I ask, but what is glassfish 3.1 ?
> (shows how ignorant I am, I know, but hey this is the tomcat users list)
>
>
>
>
>> 2010/8/12 HANDE CANORUÇ <handecanoruc@gmail.com>
>>
>>  I am using mod jk in order to connect tomcat and glassfish 3.1. In the
>>> mod_jk log file I am getting these errors;
>>>
>>>  [info]  ajp_send_request::jk_ajp_common.c (1178): Socket 24 is not
>>> connected any more (errno=-1)
>>> [info]  ajp_send_request::jk_ajp_common.c (1202): Error sending request.
>>> Will try another pooled connection
>>>  [info]  ajp_send_request::jk_ajp_common.c (1225): All endpoints are
>>> disconnected or dead
>>>  [info]  ajp_service::jk_ajp_common.c (1749): Sending request to tomcat
>>> failed,  recoverable operation attempt=1
>>>
>>>
>>>
>>> and in the server log file I am getting ;
>>>
>>>
>>>
>>> SEVERE|glassfish3.1|org.apache.tomcat.util.threads.ThreadPool|_ThreadID=17;_ThreadName=Thread-1;|threadpool.busy|#]
>>>
>>> Any suggestions??
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message