Everybody Staze...

Nobody leavz...

  • Home
  • About Me
    • LinkedIn
    • Lab
  • Contact
  • Links
  • Reviews
  • Sitemap
  • Weather

Silliest hack ever…

2010/12/15 By staze

At work we’re working on a new website in Drupal, and setting up Apache Solr as our search backend. Solr, being Java, runs ideally in a Tomcat installation.

But trying to get Solr, via Tomcat running reliably in Mac OS X Server 10.5.8 was proving to be a bitch of a challenge. Tomcat would start, but trying to access Solr would indicate that it couldn’t find solrconfig.xml or /solr/conf in cwd=/. Well, duh. Tomcat is in /Library/Tomcat.

So, the hack? Edit /Library/Tomcat/bin/startup.sh and put (near the top) “cd /Library/Tomcat”.

Done and done. No idea why it wasn’t setting the cwd (current working directory) to /, but, changing directory in the startup script fixed it.

Like I said… Silliest hack ever.

Filed Under: Sys Admin Tagged With: Apache, Drupal, Solr, Tomcat

Prius 2007, 4 years later

2010/12/09 By staze

4 years ago today, we got our first new car. We had put our name on the waiting list about 3 months earlier (early september). It was not a foolproof process, but we got the car we wanted, and have had very few problems with the car since.

We got the car with 3 miles on the odometer, and since then, we’ve driven an additional 57,493.4 miles (as of the time of writing). That amounts to 14,373 miles per year (which isn’t too far off the “normal” 12k miles per year most manufacturers claim. With those miles, we’ve put 155 tanks of gas in the car (1277.12 gallons), or $3804.33 worth of gas (which is an average of $2.98/gal). The lifetime average mileage, based only on those numbers is 45.02MPG. The actual current calculated MPG based upon the MPG of each tank, is 45.21MPG, so, pretty close.

[Read more…]

Filed Under: Prius Tagged With: Mileage, Prius

Convert VMware Fusion to Parallels

2010/11/09 By staze

This is just a quick post since it seems Parallels doesn’t have this information posted anywhere on their site.

I am making the conversion from VMware Fusion to Parallels at the advice of a friend who said Parallels was faster. But the problem is, I have about 10 VMware Virtual Machines, so I really would like to convert them.

Put simply, it’s easy (albeit slow).

Just go to “File” and “Open” and open the VMware HD image. Done and done. One would think “Import” is the better description, but, it’s “Open”.

Have fun!

Filed Under: Sys Admin Tagged With: Parallels, VMware Fusion

« Previous Page
Next Page »

Weather

Categories / Archives

  • Apple
  • Coding
  • Electronics
  • Energy
  • Home Ownership
  • Miscellany
  • Politics
  • Prius
  • Sys Admin
  • Travel
  • Uncategorized
  • Work
  • June 2026
  • April 2026
  • August 2025
  • April 2025
  • January 2024
  • February 2021
  • July 2020
  • January 2020
  • April 2019
  • March 2018
  • February 2018
  • June 2017

Copyright © 2026 · Staze On Genesis Framework · WordPress · Log in