Archive for July, 2011
Monitoring Tomcat 7 with JMX
Posted by StephanBeutel in Java on 2011/07/15
Enabling JMX on Tomcat Enabling JMX without Authentication JMX is enabled by setting some Java properties in the command used to start an application. You will need to set the CATALINA_OPTS environment variable so the correct properties get set for to Tomcat when it starts. Furthermore, the properties you set will determine if application can [...]
Socket creation problem with Java on Linux
Posted by StephanBeutel in Java on 2011/07/04
Sometimes a problem occurs while trying to open a socket connection with Java on a Linux system. Mostly this is a problem with server settings. It happens if you’ve enables IPv4 and IPv6 on the system. To make shure Java uses only IPv4 every time a connection is created, just put a new entry in [...]