<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8914531</id><updated>2011-04-21T15:17:06.774-07:00</updated><title type='text'>The Random thoughts in my head</title><subtitle type='html'>I am a computer programmer that likes to play with new technology. I will try to share my fun thoughts and interesting things that I find out.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8914531.post-112741939096559272</id><published>2005-09-22T13:00:00.000-07:00</published><updated>2005-09-23T08:45:33.530-07:00</updated><title type='text'>I have moved  my blog</title><content type='html'>I have moved my blog to &lt;a href="http://blog.mericson.com/"&gt;http://blog.mericson.com&lt;/a&gt;&lt;br /&gt;I am now using wordpress and I like it alot.&lt;br /&gt;&lt;br /&gt;I am a perl guy but found MT way to hard to use&lt;br /&gt;&lt;br /&gt;Matt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-112741939096559272?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/112741939096559272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/112741939096559272'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/09/i-have-moved-my-blog.html' title='I have moved  my blog'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-111544647797368401</id><published>2005-05-06T13:16:00.000-07:00</published><updated>2005-05-06T23:17:16.066-07:00</updated><title type='text'>Velocity, Struts and Tomcat Clusters</title><content type='html'>I just recently found my self using Tomcat with Velocity and Struts&lt;br /&gt;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 &lt;a href="http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html"&gt;Cluster&lt;/a&gt; Tomcat.&lt;br /&gt;&lt;br /&gt;There are 3 options with tomcat 5.0&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Save your session to a file&lt;/li&gt;&lt;li&gt;Save your session to a database&lt;/li&gt;&lt;li&gt;Use Tomcats multicast Replication&lt;/li&gt;&lt;/ol&gt;I played with #2 and #3 and found out that Velocity puts a Object into the session object that is used to &lt;span style=";font-family:monospace;font-size:9;"  &gt;synchronize&lt;/span&gt; on.&lt;br /&gt;&lt;br /&gt;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?&lt;br /&gt;&lt;br /&gt;Well when I tried to serialize the session I ran into many problems because Object is not serializeable.&lt;br /&gt;&lt;br /&gt;I was banging my head against the table over and over trying to figure out why I was getting &lt;code&gt;session.mutex&lt;/code&gt; is not serializeable.&lt;br /&gt;&lt;br /&gt;Then I had to try and find where &lt;code&gt;session.mutex&lt;/code&gt;was getting put  into the session because I knew that I was not doing it&lt;br /&gt;&lt;br /&gt;Finally I found out that it was &lt;a href="http://jakarta.apache.org/site/downloads/downloads_velocity-tools.cgi"&gt;Velocity Tools&lt;/a&gt; that was putting an object into the session.&lt;br /&gt;&lt;br /&gt;So I the solution was to recompile velocity tools so I could extend it and I do a &lt;span style=";font-family:monospace;font-size:9;"  &gt;synchronize&lt;/span&gt; on the session itself. Now there are no extra object to passed to the other clusters.&lt;br /&gt;&lt;!-- technorati tags start --&gt;&lt;p style="text-align: right; font-size: 10px;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Java" rel="tag"&gt;Java&lt;/a&gt;, &lt;a href="http://technorati.com/tag/Velocity" rel="tag"&gt;Velocity&lt;/a&gt;, &lt;a href="http://technorati.com/tag/Tomcat" rel="tag"&gt;Tomcat&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-111544647797368401?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/111544647797368401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=111544647797368401' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111544647797368401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111544647797368401'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/05/velocity-struts-and-tomcat-clusters.html' title='Velocity, Struts and Tomcat Clusters'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-111394591952115044</id><published>2005-04-19T14:24:00.000-07:00</published><updated>2005-04-19T14:41:04.890-07:00</updated><title type='text'>Mac New Java is a Bust- Technorati Saved My Butt</title><content type='html'>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.&lt;br /&gt;I could not believe it.&lt;br /&gt;&lt;br /&gt;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".&lt;br /&gt;I was freeking out so I tried to go to &lt;a href="http://www.versiontracker.com/"&gt;versiontracker&lt;/a&gt; with no luck. Then I went to &lt;a href="http://java.sun.com/"&gt;sun's&lt;/a&gt; web site. Looking for a binary that I could use but found Nothing.&lt;br /&gt;&lt;br /&gt;Then a friend told me to check &lt;a href="http://www.technorati.com/"&gt;Technorati&lt;/a&gt; so I did. I searched for "mac java" and the first &lt;a href="http://topmac.blogspot.com/2005/04/1039-and-java-glitch.html"&gt;link&lt;/a&gt; had the answer.&lt;br /&gt;I had to install 2 patches again and I was back on track.&lt;br /&gt;&lt;br /&gt;Here is the &lt;a href="http://docs.info.apple.com/article.html?artnum=301380"&gt;site&lt;/a&gt; with the step by step on how to fix your &lt;a href="http://technorati.com/tag/mac" rel="tag"&gt;mac&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-111394591952115044?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/111394591952115044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=111394591952115044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111394591952115044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111394591952115044'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/04/mac-new-java-is-bust-technorati-saved.html' title='Mac New Java is a Bust- Technorati Saved My Butt'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-111319065298431762</id><published>2005-04-10T20:37:00.000-07:00</published><updated>2005-04-10T20:37:32.983-07:00</updated><title type='text'>mcdonalds feed</title><content type='html'>&lt;div style="float: right; margin-left: 10px; margin-bottom: 10px;"&gt; &lt;a href="http://www.flickr.com/photos/ford/8760339/" title="photo sharing"&gt;&lt;img src="http://photos8.flickr.com/8760339_4935da01a6_m.jpg" alt="" style="border: solid 2px #000000;" /&gt;&lt;/a&gt; &lt;br /&gt; &lt;span style="font-size: 0.9em; margin-top: 0px;"&gt;  &lt;a href="http://www.flickr.com/photos/ford/8760339/"&gt;mcdonalds feed&lt;/a&gt;  &lt;br /&gt;  Originally uploaded by &lt;a href="http://www.flickr.com/people/ford/"&gt;ford&lt;/a&gt;. &lt;/span&gt;&lt;/div&gt;I just saw Super Size me and I think this Image sizes up our county in a nut shell.&lt;br /&gt;&lt;br /&gt;I have not been back to McDonalds since I worked there 10 years ago.&lt;br clear="all" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-111319065298431762?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111319065298431762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/111319065298431762'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/04/mcdonalds-feed.html' title='mcdonalds feed'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-110940040809482346</id><published>2005-02-25T22:41:00.000-08:00</published><updated>2005-02-25T23:02:42.653-08:00</updated><title type='text'>Day 5</title><content type='html'>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. &lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;I have downloaded &lt;a href="http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&amp;PartnerREF=&amp;siteid=1&amp;prodID=52726"&gt;Buttler&lt;/a&gt; I have not tried it yet but it sounds like it has some very nice features.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-110940040809482346?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/110940040809482346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=110940040809482346' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110940040809482346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110940040809482346'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/02/day-5.html' title='Day 5'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-110917698710051734</id><published>2005-02-23T08:40:00.000-08:00</published><updated>2005-02-24T07:25:23.863-08:00</updated><title type='text'>Treo 650 Day 3</title><content type='html'>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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;I am thinking the problem might be the Voice software that came with the device.&lt;br /&gt;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.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-110917698710051734?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/110917698710051734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=110917698710051734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110917698710051734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110917698710051734'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/02/treo-650-day-3.html' title='Treo 650 Day 3'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-110909202185362020</id><published>2005-02-22T08:42:00.000-08:00</published><updated>2005-02-22T09:08:31.863-08:00</updated><title type='text'>Treo 650 Day 2</title><content type='html'>So I reloaded everything except for Warfare Inc and my Treo is working fine So Far.&lt;br /&gt;&lt;br /&gt;Now I am just waiting to see if it will stay that way.&lt;br /&gt;The strange thing is that I looked on the Treo software compatibility list&lt;br /&gt;&lt;a href="http://www.palmfocus.com/treo650software.asp"&gt;http://www.palmfocus.com/treo650software.asp&lt;/a&gt;   and it is listed as working ok.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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 &lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;a href="http://www.palmfocus.com/treo650software.asp"&gt; &lt;/a&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-110909202185362020?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/110909202185362020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=110909202185362020' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110909202185362020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110909202185362020'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/02/treo-650-day-2.html' title='Treo 650 Day 2'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8914531.post-110904840707177084</id><published>2005-02-21T20:44:00.000-08:00</published><updated>2005-02-22T09:08:17.963-08:00</updated><title type='text'>Treo 650 Day 1</title><content type='html'>So I just got my Treo 650 and boy am I happy or at least I thought I was.&lt;br /&gt;&lt;br /&gt;I got it yesterday and the first thing I did was load it up with Documents To Go the Games that come with the Treo 650 and some other Palm Games like Warfare.&lt;br /&gt;&lt;br /&gt;Then I got to work today and the Voicemail button did not know what number to dial.&lt;br /&gt;I called the Cingular help support and they said this is a know issue here is the fix&lt;br /&gt;&lt;a href="http://forums.palmone.com/pe/action/forums/displaypost?postID=20159264"&gt;http://forums.palmone.com/pe/action/forums/displaypost?postID=20159264&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It says that just don't use the voice mail button and create your own. Sounds great to me.&lt;br /&gt;&lt;br /&gt;Then my Treo Started to reboot every time it received a call. This is not what I want my phone todo to reboot everything it get a call. Also when I tried to make a call if I hit the dial on the touch screen the device would restart. I can use the button to make a call but not the touch screen&lt;br /&gt;&lt;br /&gt;So I called the Treo Help line and they had me reboot it by pulling the battery 5 times and see if it fixed it. It did not. Then they asked me to do a hard reset witch would delete all data on the device.&lt;br /&gt;&lt;br /&gt;So I did it and the device worked. It could receive calls and make them but my phone book was deleted when I did the reset.&lt;br /&gt;&lt;br /&gt;So I went home and tried to figure out which program was causing the problem so I one by one reinstalled my program's. I installed Documents To Go new version that I downloaded. Then restarted the device and it worked. I did this with all of my programs. And it all worked then I was playing Warfare a very cool Starcraft like gave for the Palm and when I was finished I tried to make a phone call and me device restarted.&lt;br /&gt;&lt;br /&gt;So I had to reload the device AGAIN. I put a few games and Documents On The Go back on the device and now it seams to be working.&lt;br /&gt;I will wait to see what tomorrow brings&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8914531-110904840707177084?l=switchhook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://switchhook.blogspot.com/feeds/110904840707177084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8914531&amp;postID=110904840707177084' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110904840707177084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8914531/posts/default/110904840707177084'/><link rel='alternate' type='text/html' href='http://switchhook.blogspot.com/2005/02/treo-650-day-1.html' title='Treo 650 Day 1'/><author><name>switchhook</name><uri>http://www.blogger.com/profile/11399874511524501549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
