tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: APR SSL error: "Socket bind failed: [98] Address already in use"
Date Sun, 20 Nov 2011 14:03:55 GMT
On 20 Nov 2011, at 12:49, Igor Cicimov <icicimov@gmail.com> wrote:

> Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port
> already.

I think that's the line above...
There is a java process holding 8005


> On Nov 20, 2011 6:33 PM, "Konstantin Kolinko" <knst.kolinko@gmail.com>
> wrote:
>
>> 2011/11/19 Eric Kemp <cruisingat90mph@gmail.com>:
>>> Summary: I'm looking for ideas on how to resolve this "Address already
>>> in use" error when configuring SSL in Tomcat APR.
>>>
>>> Environment:
>>> Running Apache Tomcat/6.0.24
>>
>> That one is old. Maybe you can upgrade to 6.0.33?
>>
>>> on OS is Ubuntu 10.04.2 LTS
>>> with JVM 1.7.0_01-b08
>>
>> There were severe issues with 1.7.0, such as "Loop unroll optimization
>> causes incorrect result". I do not know whether all of them are fixed
>> in 7u1.
>> http://tomcat.markmail.org/thread/oghpdg2whkrpnk7w
>>
>> Anyway, maybe you can try running with Java 6?
>>
>>> //
>>> // I restart Tomcat, and see the following in the catalina.out file:
>>> //
>>> SEVERE: Error starting endpoint
>>> java.lang.Exception: Socket bind failed: [98] Address already in use
>>>       at
>> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
>>>       at
>> org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
>>>       at
>> org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
>>>       at
>> org.apache.catalina.connector.Connector.start(Connector.java:1080)
>>>       at
>> org.apache.catalina.core.StandardService.start(StandardService.java:531)
>>>       at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>>       at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>       at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>       at java.lang.reflect.Method.invoke(Method.java:601)
>>>       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>
>> What INFO messages are before this one?
>> Maybe you can post your entire server.xml (without comments and passwords)?
>>
>>
>> Best regards,
>> Konstantin Kolinko
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>

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


Mime
View raw message