Address in Use Error using Tomcat on Windows XP

Steve Neal Development 2 Comments

Occasionally you might get an error like this when launching Tomcat: java.net.BindException: Address already in use: JVM_Bind <null>:8080 This can be caused if you already have Tomcat running as it will hold onto a network port for handling HTTP requests. In the above example the port shown is 8080. However, this error is sometimes apparent even when Tomcat has already …

Working around a javax.net.ssl.SSLHandshakeException

Steve Neal Development 1 Comment

When trying to download data from an HTTPS connection, you might see the following exception reported: javax.net.ssl.SSLHandshakeException: renegotiation is not allowed This rather unhelpful error message can be raised on either the server or the client and indicates that the SSL libraries in Java cannot determine whether the CA that signed the server’s certificate is to be trusted or not. …