Europheus

A complete waste of a fine weblog.

Archive for the 'Technology' Category

Windows 7 Review – 2nd day after install

21st December 2009

Well this is not a professional review, just some thoughts based on my recent upgrade from Windows Vista 64 on to Windows 7 Professional 64. Now for the background, I’ve been running Vista on my main workstation (Core 2 Duo / 8gb ram) since early 2009. I only had a few issues until [...]

Posted in Windows | No Comments »

Returning a method parameter in JMock

28th July 2009

I recently ran into a problem where I needed to test a Java method that dynamically created objects inside. These objects needed to be passed to and returned by a mock service class, but I did not know how to inject this class since it was created inside the method being tested.
Here is a [...]

Posted in Java | No Comments »

CVS bulk conversion to binary

14th May 2009

I try not to use CVS anymore since I’ve become used to Subversion, but recently I needed to restore an old project from CVS. I made a tar of the CVS backup and uploaded to the server and placed it in the CVSROOT folder. When I checked out the project I realized the [...]

Posted in Technology | No Comments »

javax.el.ELException: Function ‘:empty’ not found

18th August 2008

After installing Continuum 1.1 and Archiva 1.1.1 a number of web pages failed to load throwing exceptions such as javax.el.ELException: Function ‘:empty’ not found. As it turns out, this has to do with Tomcat version 6.0.18 and the EL library that it comes with.
As always, when on Linux, a script can fix things and [...]

Posted in Java, Tomcat | No Comments »

Plesk 8.3 AWStats on Linux – Rebuilding Previous Month Statistics

6th January 2008

Well it’s Jan 2008 and I decided to run the Plesk 8.3 update and try out the new patch for AWStats previous month history. To my surprise, (well not really) none of the previous month statistics were available, only the current month. So I set out to find a way to generate the history [...]

Posted in Plesk, Technology | 17 Comments »

Plesk Default Settings Script for qmail and procmail

4th January 2008

As you may or may not know, Plesk likes to overwrite the .qmail file in each mail folder whenever you make changes. And as of this writing, Plesk 8.2 does not offer any .qmail template files in order for you to control it’s behavior.
Here’s a handy script that will generate a .qmail and a [...]

Posted in Plesk, Technology | 2 Comments »

Quicken 2008 and PayPal – A marriage made in hell!

7th October 2007

One of the great new features of Intuit Quicken 2008 is the ability to add and synchronize a PayPal account within Quicken. This is a long awaited feature and truly a selling point for this new version. But don’t be fooled into thinking that it actually works, no no no! There are [...]

Posted in Technology | 1 Comment »

Configuring Linux Plesk to drop external MySQL connections

20th August 2007

By default, your MySQL server can be wide open to the internet accepting connections from everyone. With some brute force and bad passwords on your part, there will be a hack party in your database. The best thing to do is to block all external connections to your MySQL port (3306) and allow [...]

Posted in Plesk, Technology | 2 Comments »

Running Java 6 on a Linux VPS

16th August 2007

Could not reserve enough space for object heap
Could not create the Java virtual machine
What? Not enough RAM to run Java?
Having a VPS (virtual private server) means that you are sharing RAM with other VPS owners on the server. The actual hardware of the server may have 4GB RAM for example, however your [...]

Posted in Java, Technology | 5 Comments »

Procmail filtering with Plesk and Spamassassin

25th April 2007

On a typical Unix Plesk installation, you will find your mailbox settings under this folder
/var/qmail/mailnames/(yourdomain)/(yourmailuser)
Each mail account folder will have a directory listing similar to the following:

drwx—— 5 popuser popuser 4096 Apr 4 13:55 .
drwx—— 5 popuser popuser [...]

Posted in Plesk, Technology | 7 Comments »