Archive for November, 2008

Election debrief

November 21, 2008

I had a hard time at the polling booth. I always had a hard choice in my mind between two parties: the family party, and National. National was the safe choice, as the party which was always going to be the bulk of any non-Labour government. But I liked the Family party policies. They most closely represented my views in New Zealand. Things like:

  • Honour the Lordship of Jesus Christ. In doing so, we recognise that the state is not the ultimate authority.
  • Seek legal status for the unborn child
  • Require parental knowledge and consent for child/teen abortion procedures
  • Protect, esteem and encourage the traditional institution of marriage through policy and legislation
  • Reduce all personal tax rates to a lower and flatter tax structure to keep more money with the earner and in the home
  • The Family Party will fix current legislation that makes responsible smacking a crime. To that end, the Party aims to reinstate Section 59 of the Crimes Act that affords decent, loving parents’ protection from criminal liability in circumstances where corrective discipline is reasonable in the circumstances.
  • The Family Party calls for a total repeal of the Electoral Finance Act to restore confidence in New Zealand’s democratic election process.
  • The Family Party favours transparent Family Court processes that fairly balance the rights of both parents.
  • The Family Party will seek a total repeal of the Prostitution Reform Act, which was passed in 2003 by a single vote and effectively decriminalised soliciting, pimping and brothel keeping in New Zealand.
  • The Family Party is very concerned that sentencing measures do not reflect the seriousness of crimes committed. Sentencing and time served must accurately reflect the seriousness of the crime.

I wanted to vote for these policies, but in the end I voted National. There were a few main reasons for this:

  1. New Zealand could not afford another three years of Labour/Green social engineering
  2. The 5% threshold is too high. 4.2% of New Zealanders who voted New Zealand First have my sympathy.
  3. The Family party were clear on their strategy to seek an electorate seat. They did not need my party vote to obtain representation this election.
  4. National actually appeared to be a reasonable choice, although John Key professes no belief in God, which is a bad start.

With hindsight, I absolutely did the right thing. Had another 4% of the conservative vote given their party vote to either the Kiwi party or the Family party, we could well have had another three years of anti-family, anti-Christian policy.

One concerning feature of this election though, was how little an impact the Family party made in the electorates they targeted. The Mangere seat, which could have been a tight three way race between Family, Pacific and Labour, was nothing less than a landslide for Labour. The Family party candidate only achieved 856 out of 21687 votes cast. This is incredibly disappointing given their strategy, and calls the Family Party’s viability into question. 856 votes from the flagship electorate is too few for this party to be taken seriously in the future in my opinion.

So where to from here for the Christian voter? The jury is out on National. The big test will be to see how they react to the referendum on the anti-smacking legislation. If they ignore the will of the people here, it will be difficult to vote for the new-National again. I can only pray for a new Christian voice to arise in the public arena in New Zealand. Either as a standalone party, or as a God-fearing influence within one of the parties currently in parliament.

Righteousness exalts a nation, but sin is a reproach to any people. Proverbs 14:34


Monitoring Tomcat with jvisualvm on Redhat

November 19, 2008

Monitoring must be done using the VM owner, the tomcat user on RHEL. In a VNC session, “xhost +SI:localuser:tomcat” or equivalent needs to be run to allow tomcat to access the DISPLAY.

First I needed to setup some things as root, as the tomcat user home directory is owned by root and jvisualvm wants to create some preference directories.

su -
mkdir /usr/share/tomcat5/.visualvm
mkdir /usr/share/tomcat5/.nbprofiler
chown tomcat:tomcat /usr/share/tomcat5/.visualvm
chown tomcat:tomcat /usr/share/tomcat5/.nbprofiler

Then, one can just run jvisualvm as tomcat when required:

su - tomcat

To monitor a long running jvm owned by the tomcat user, you will also need to ensure that the tmpwatch program does not blow away an important jvm file:

  1. Edit the file /etc/cron.daily/tmpwatch
  2. Add the exclusion -x /tmp/hsperfdata_tomcat to the /tmp tmpwatch invocation.