Thursday, September 22, 2005

I have moved my blog

I have moved my blog to http://blog.mericson.com
I am now using wordpress and I like it alot.

I am a perl guy but found MT way to hard to use

Matt

Friday, May 06, 2005

Velocity, Struts and Tomcat Clusters

I just recently found my self using Tomcat with Velocity and Struts
And as would be expected I needed to use more than one Tomcat server for load balancing and Reliability so I looked into how to Cluster Tomcat.

There are 3 options with tomcat 5.0

  1. Save your session to a file
  2. Save your session to a database
  3. Use Tomcats multicast Replication
I played with #2 and #3 and found out that Velocity puts a Object into the session object that is used to synchronize on.

It creates a empty Object and put it into the Session then when doing any actions it uses the Object as a mutex so that only thread can act on any session. This sounds smart? Right?

Well when I tried to serialize the session I ran into many problems because Object is not serializeable.

I was banging my head against the table over and over trying to figure out why I was getting session.mutex is not serializeable.

Then I had to try and find where session.mutexwas getting put into the session because I knew that I was not doing it

Finally I found out that it was Velocity Tools that was putting an object into the session.

So I the solution was to recompile velocity tools so I could extend it and I do a synchronize on the session itself. Now there are no extra object to passed to the other clusters.

Technorati Tags: , ,

Tuesday, April 19, 2005

Mac New Java is a Bust- Technorati Saved My Butt

So I installed the new update on my power book and BAM. My java stopped working. Right in the middle of a big java project.
I could not believe it.

I jot the update this morning but waited until after lunch to reboot my computer and then every time I ran "java" I get a "segmentation Fault".
I was freeking out so I tried to go to versiontracker with no luck. Then I went to sun's web site. Looking for a binary that I could use but found Nothing.

Then a friend told me to check Technorati so I did. I searched for "mac java" and the first link had the answer.
I had to install 2 patches again and I was back on track.

Here is the site with the step by step on how to fix your .

Sunday, April 10, 2005

mcdonalds feed


mcdonalds feed
Originally uploaded by ford.
I just saw Super Size me and I think this Image sizes up our county in a nut shell.

I have not been back to McDonalds since I worked there 10 years ago.

Friday, February 25, 2005

Day 5

So My Treo has been happy for days now. The Phone does not reboot and I have not had any problems with it. I am happy again.
I am Still going to try to find out witch piece of software was causing the reboots on my device. The only 2 pieces of software that I have not reloaded onto the Treo is the Bolwing game and the voice software that came with it.

I have downloaded Buttler I have not tried it yet but it sounds like it has some very nice features.

Wednesday, February 23, 2005

Treo 650 Day 3

So My Treo is very happy. So not installing Warfare Inc. or the Voice Dialing program seams to have fix it. Or maybe its the fact that I am not really running anything other then the Phone app right now. But its been 1 full day with no problems.

So tonight I am going to add Warfare Inc back on to my device and see if it will still work. I hope so Warfare Inc is one of the coolest games I have played on the Palm.


So I went home and I installed Warfare Inc on my Treo 650 and I have had no problems. I played the game for a while I was able to get to the 3rd level and my phone is still working. It has not rebooted and it has not had any other problems.
I am thinking the problem might be the Voice software that came with the device.
My Plan is to give my current configuration a day or two to make sure it is working correctly then add a new piece of software.

Tuesday, February 22, 2005

Treo 650 Day 2

So I reloaded everything except for Warfare Inc and my Treo is working fine So Far.

Now I am just waiting to see if it will stay that way.
The strange thing is that I looked on the Treo software compatibility list
http://www.palmfocus.com/treo650software.asp and it is listed as working ok.

But last night I was playing Warfare and after I was done playing I tried to dial a number on my Treo and it would just reset the device. So I unloaded everything and reloaded everything except for Warfare and today I can use the phone.

Its very hard because I played the game for a while yesterday and the phone was fine it was only after I had played the gave for an extended period of time. I wonder if the bug is time based or if it has anything to do with the software I installed on it