Address in Use Error using Tomcat on Windows XP
Sep 28th
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 [...]
Working around a javax.net.ssl.SSLHandshakeException
Sep 27th
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 [...]
Specifying a different config file for Log4J
Sep 2nd
Generally, adding a log4j.properties file to the classpath is all that needed to bootstrap your Log4J runtime. In certain cases though you might want to override this behaviour.
I needed to do this recently and it took me a while to find out how to do it in the Log4J docs, so I though I’d make [...]
