You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dmitriy Repin <dy...@inbox.ru> on 2009/05/22 12:27:38 UTC
Tomcat 6 - not started AJP/NIO on CentOS
Tomcat 6.0.18
JDK 1.6.0_13
I want to use AJP/NIO connector, but it didn't started on CentOS
(neither Intel no AMD platform).
May 22, 2009 10:07:52 AM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'channelNioSocket.port' to '8009' did not find a matching property.
May 22, 2009 10:07:52 AM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'channelNioSocket.maxThreads' to '97' did not find a matching
property.
May 22, 2009 10:07:52 AM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'channelNioSocket.maxSpareThreads' to '50' did not find a
matching property.
May 22, 2009 10:07:52 AM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'channelNioSocket.minSpareThreads' to '25' did not find a
matching property.
May 22, 2009 10:07:52 AM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'channelNioSocket.bufferSize' to '16384' did not find a
matching property.
May 22, 2009 10:07:52 AM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
May 22, 2009 10:07:52 AM org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 22, 2009 10:07:52 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-0
May 22, 2009 10:07:52 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1357 ms
May 22, 2009 10:07:52 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 22, 2009 10:07:52 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
May 22, 2009 10:07:59 AM org.apache.catalina.core.ApplicationContext log
INFO: quartz: Quartz Initializer Servlet loaded, initializing Scheduler...
May 22, 2009 10:07:59 AM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 22, 2009 10:07:59 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-0
May 22, 2009 10:07:59 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6751 ms
But it works fine on Solaris 10, Ubuntu and Windows XP.
May 7, 2009 3:16:23 PM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
May 7, 2009 3:16:23 PM org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 7, 2009 3:16:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 837 ms
May 7, 2009 3:16:23 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 7, 2009 3:16:23 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
May 7, 2009 3:16:26 PM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 7, 2009 3:16:26 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 disabling channelSocket
May 7, 2009 3:16:26 PM org.apache.jk.common.ChannelNioSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 7, 2009 3:16:26 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/27 config=null
May 7, 2009 3:16:27 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3694 ms
Any idea?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6 - not started AJP/NIO on CentOS
Posted by Bill Barker <wb...@wilshire.com>.
"Dmitriy Repin" <dy...@inbox.ru> wrote in message
news:4A167E1A.30804@inbox.ru...
> Tomcat 6.0.18
> JDK 1.6.0_13
>
> I want to use AJP/NIO connector, but it didn't started on CentOS
> (neither Intel no AMD platform).
>
> May 22, 2009 10:07:52 AM
> org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'channelNioSocket.port' to '8009' did not find a matching
> property.
> May 22, 2009 10:07:52 AM
> org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'channelNioSocket.maxThreads' to '97' did not find a matching
> property.
> May 22, 2009 10:07:52 AM
> org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'channelNioSocket.maxSpareThreads' to '50' did not find a
> matching property.
> May 22, 2009 10:07:52 AM
> org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'channelNioSocket.minSpareThreads' to '25' did not find a
> matching property.
> May 22, 2009 10:07:52 AM
> org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'channelNioSocket.bufferSize' to '16384' did not find a
> matching property.
> May 22, 2009 10:07:52 AM org.apache.tomcat.util.net.NioSelectorPool
> getSharedSelector
> INFO: Using a shared selector for servlet write/read
> May 22, 2009 10:07:52 AM org.apache.coyote.http11.Http11NioProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> May 22, 2009 10:07:52 AM org.apache.coyote.ajp.AjpAprProtocol init
> INFO: Initializing Coyote AJP/1.3 on ajp-0
It seems that you have the AJP/APR connector configured. But still follow
Chuck's advice and post your server.xml
> May 22, 2009 10:07:52 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1357 ms
> May 22, 2009 10:07:52 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> May 22, 2009 10:07:52 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> May 22, 2009 10:07:59 AM org.apache.catalina.core.ApplicationContext log
> INFO: quartz: Quartz Initializer Servlet loaded, initializing Scheduler...
> May 22, 2009 10:07:59 AM org.apache.coyote.http11.Http11NioProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> May 22, 2009 10:07:59 AM org.apache.coyote.ajp.AjpAprProtocol start
> INFO: Starting Coyote AJP/1.3 on ajp-0
> May 22, 2009 10:07:59 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 6751 ms
>
> But it works fine on Solaris 10, Ubuntu and Windows XP.
>
> May 7, 2009 3:16:23 PM org.apache.tomcat.util.net.NioSelectorPool
> getSharedSelector
> INFO: Using a shared selector for servlet write/read
> May 7, 2009 3:16:23 PM org.apache.coyote.http11.Http11NioProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> May 7, 2009 3:16:23 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 837 ms
> May 7, 2009 3:16:23 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> May 7, 2009 3:16:23 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> May 7, 2009 3:16:26 PM org.apache.coyote.http11.Http11NioProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> May 7, 2009 3:16:26 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 disabling channelSocket
> May 7, 2009 3:16:26 PM org.apache.jk.common.ChannelNioSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> May 7, 2009 3:16:26 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/27 config=null
> May 7, 2009 3:16:27 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3694 ms
>
> Any idea?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6 - not started AJP/NIO on CentOS
Posted by Dmitriy Repin <dy...@inbox.ru>.
Rainer Jung wrote:
> Please share your solution, so that other people looking for help do not
> need to ask the same question again.
>
> On 28.05.2009 06:41, Dmitriy Repin wrote:
>
>> Dmitriy Repin wrote:
>>
>>> Caldarale, Charles R wrote:
>>>
>>>> Post the server.xml from your CentOS attempt so we can look at it.
>>>>
>>>> - Chuck
>>>>
>>>>
>>>>
>> Problem solved.
>>
Although I turned off the org.apache.catalina.core.AprLifecycleListener,
it is still loaded libtcnative.
I moved the library and all works fine.
May 28, 2009 8:16:31 AM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 28, 2009 8:16:32 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 disabling channelSocket
May 28, 2009 8:16:32 AM org.apache.jk.common.ChannelNioSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 28, 2009 8:16:32 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/46 config=null
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6 - not started AJP/NIO on CentOS
Posted by Rainer Jung <ra...@kippdata.de>.
Please share your solution, so that other people looking for help do not
need to ask the same question again.
On 28.05.2009 06:41, Dmitriy Repin wrote:
> Dmitriy Repin wrote:
>> Caldarale, Charles R wrote:
>>> Post the server.xml from your CentOS attempt so we can look at it.
>>>
>>> - Chuck
>>>
>>>
> Problem solved.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6 - not started AJP/NIO on CentOS
Posted by Dmitriy Repin <dy...@inbox.ru>.
Dmitriy Repin wrote:
> Caldarale, Charles R wrote:
>> Post the server.xml from your CentOS attempt so we can look at it.
>>
>> - Chuck
>>
>>
Problem solved.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6 - not started AJP/NIO on CentOS
Posted by Dmitriy Repin <dy...@inbox.ru>.
Caldarale, Charles R wrote:
> Post the server.xml from your CentOS attempt so we can look at it.
>
> - Chuck
>
>
My server.xml is very simple.
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080"
protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="256"
connectionTimeout="20000"
keepAliveTimeout="5000"
redirectPort="8443" />
<Connector protocol="AJP/1.3" port="0"
channelNioSocket.port="8009"
channelNioSocket.maxThreads="256"
channelNioSocket.maxSpareThreads="97"
channelNioSocket.minSpareThreads="50"
channelNioSocket.keepAliveTimeout="1000"
channelNioSocket.bufferSize="16384"/>
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat 6 - not started AJP/NIO on CentOS
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Dmitriy Repin [mailto:dyr@inbox.ru]
> Subject: Tomcat 6 - not started AJP/NIO on CentOS
>
> Tomcat 6.0.18
> JDK 1.6.0_13
>
> I want to use AJP/NIO connector, but it didn't started on CentOS
Post the server.xml from your CentOS attempt so we can look at it.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org