Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Eric Kemp
Problem resolved! Thanks so much for all the helpful hints. I had been going to the end of the catalina.out file and seeing this error message in the last ~60 lines of text, and thought it represented the latest restart errors. What I failed to notice, was that there WERE previous errors above t

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Jeremy
I understand you want to use APR, but just for troubleshooting purposes, try using the same server.xml but changing the SSL connector from protocol="org.apache.coyote.http11.Http11AprProtocol" to protocol="org.apache.coyote.http11.Http11NioProtocol" If that works, then your problem is with APR,

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Konstantin Kolinko
2011/11/21 Eric Kemp : > Below is my entire server.xml (minus commented lines) > Good to know. Can you post the logs? (catalina..log file). Clear them first then try starting Tomcat. Best regards, Konstantin Kolinko - To unsubs

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Pid *
sl/myDomain.com.key" > SSLCACertificateFile="/etc/apache2/ssl/myDomain.com.ca.crt" /> > > > > className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase"/> > > name="localhost" > a

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Eric Kemp
"Socket bind failed: [98] Address already in use" > >> Any other ideas would still be appreciated. > > As others have noted, the conflict is likely on some port other than 8443.   > Post your entire server.xml, preferably with comments removed, so we can see > all of the po

RE: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Caldarale, Charles R
> From: Eric Kemp [mailto:cruisingat90...@gmail.com] > Subject: Re: APR SSL error: "Socket bind failed: [98] Address already in use" > Any other ideas would still be appreciated. As others have noted, the conflict is likely on some port other than 8443. Post your entire ser

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Eric Kemp
Changing from jdk1.7.0_01 to 1.6.0_20 still results in the same error. I use the following commands to stop and start Tomcat: sudo /etc/init.d/tomcat6 stop sudo /etc/init.d/tomcat6 start I have verified that the Tomcat process DOES shut down when initiating a "stop" command via "ps -ef | grep jav

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
On 20 Nov 2011, at 12:49, Igor Cicimov 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" > wrote: > >> 2011/11/19 Eric Kemp : >>> Summa

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Igor Cicimov
Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port already. On Nov 20, 2011 6:33 PM, "Konstantin Kolinko" wrote: > 2011/11/19 Eric Kemp : > > Summary: I'm looking for ideas on how to resolve this "Address already > > in use" error when configuring SSL in Tomcat APR. > > > > Env

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
On 19 Nov 2011, at 18:44, Eric Kemp wrote: > 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 > on OS is Ubuntu 10.04.2 LTS > with JVM 1.7.0_01-b08 > > // > // Prior to config

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Konstantin Kolinko
2011/11/19 Eric Kemp : > 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_0

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Eric Kemp
I've seen several places where people say [98] is the error message number - not the port number. Also, I'm not doing anything with port 98. Thanks On Sat, Nov 19, 2011 at 8:03 PM, Talal Rabaa wrote: > Looks like you have another service (not necessarily Tomcat) running on port > 98. > > On 2

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Talal Rabaa
Looks like you have another service (not necessarily Tomcat) running on port 98. On 2011-11-19, at 1:44 PM, Eric Kemp wrote: > 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.2

APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Eric Kemp
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 on OS is Ubuntu 10.04.2 LTS with JVM 1.7.0_01-b08 // // Prior to configuring SSL, and after starting Tomcat I run "netstat -tulpn"