Getting a thread-dump is one of the first steps in troubleshooting a misbehaving Java application. There are a few good ways todo this task but the easiest of them all is kill -3 <PID> This will send the thread-dump to your stdout logs.
Archive for November, 2009
5 Nov
uninitialized constant MysqlCompat::MysqlRes error when starting Rails
After a few upgrades, re-installs and moving to new servers I have been getting this error message uninitialized constant MysqlCompat::MysqlRes when I start rails. (Passenger or Thin) I have been using mysqlplus gem but wanted to move back to MySQL 2.8.1 gem and I think that is when this started to popup more often. (after looking [...]
4 Nov
How to generate a self-signed OpenSSL certificate for Apache
There are just a few quick and easy steps to generate a certificate without a passphrase for Apache. First you have to generate a key for your host: [root@heimdull]# openssl genrsa 1024 > host.key Generating RSA private key, 1024 bit long modulus ……………………………………++++++ ………++++++ e is 65537 (0×10001) Generating RSA private key, 1024 bit long [...]
Recent Comments