Hello
Thank you for your suggestion.
It seems the issue is down to the Trellix/McAfee antivirus that I have had to 
temporarily stop. I can only assume some resent update to it has caused the 
issue.


Regards
Neville




OFFICIAL

From: Mark Thomas <ma...@apache.org>
Sent: Thursday, August 1, 2024 8:42 AM
To: users@tomcat.apache.org
Subject: Re: SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component [Connector["ajp-nio-127.0.0.1-8081"]]

On 01/08/2024 08: 21, Neville Seed wrote: > Hello > I have a server running 
tomcat on several ports and connections. All other connections work as expected 
on this server and it has been working like this for a number of years. > >
ZjQcmQRYFpfptBannerStart
This Message Is from an External Sender
This message came from outside Bristol City Council, think before opening 
attachments or clicking links
ZjQcmQRYFpfptBannerEnd

On 01/08/2024 08:21, Neville Seed wrote:

> Hello

> I have a server running tomcat on several ports and connections. All other 
> connections work as expected on this server and it has been working like this 
> for a number of years.

>

>

>

> The error I get is

>

> INFO [main] org.apache.coyote.AbstractProtocol.init Initializing 
> ProtocolHandler ["http-nio-8061"]

>   INFO [main] org.apache.coyote.AbstractProtocol.init Initializing 
> ProtocolHandler ["ajp-nio-127.0.0.1-8081"]

>   SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component [Connector["ajp-nio-127.0.0.1-8081"]]

>          org.apache.catalina.LifecycleException: Protocol handler 
> initialization failed

>                  at 
> org.apache.catalina.connector.Connector.initInternal(Connector.java:1011)

>                  at 
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)

>                  at 
> org.apache.catalina.core.StandardService.initInternal(StandardService.java:554)

>                  at 
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)

>                  at 
> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1039)

>                  at 
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)

>                  at 
> org.apache.catalina.startup.Catalina.load(Catalina.java:724)

>                  at 
> org.apache.catalina.startup.Catalina.load(Catalina.java:746)

>

>

>

> [root@bcprdlnxreva01 conf]# netstat -tnal |grep 8081

> tcp6       0      0 :::8081                 :::*                    LISTEN

> [root@bcprdlnxreva01 conf]# netstat -tnal |grep 8491

> [root@bcprdlnxreva01 conf]#

>

>

> In the server.xml file I have

>

>

>      <!-- Define an AJP 1.3 Connector on port 8081 -->

>      <Connector port="8081" protocol="AJP/1.3" redirectPort="8491" 
> address="localhost"

>       secretRequired="false" />

>

>

>

> do you have any suggestions as to the issue?



Something other than Tomcat is listening on port 8081 using ipv6.

Use "netstat -tnalp" to identify it.



If you want to limit AJP to ipv4, use address "127.0.0.1" rather than

"localhost". That might work depending on your OS.



Mark



---------------------------------------------------------------------

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>

For additional commands, e-mail: 
users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>



______________________________________________________________________
Council services: http://www.bristol.gov.uk/service
Latest council news: http://www.bristol.gov.uk/ournews
Consultations: http://www.bristol.gov.uk/consult
Privacy Notice: https://www.bristol.gov.uk/about-our-website/privacy

Reply via email to