<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0">
<channel>
<title>Gerald Nunn's Blog</title>
<link>http://www.gexperts.com/blog/blog.html</link>
<description />
<language>en-US</language>
<copyright>Copyright 2009</copyright>
<lastBuildDate>Sun, 05 Jul 2009 12:13:47 -0400</lastBuildDate>
<pubDate>Sun, 05 Jul 2009 12:13:47 -0400</pubDate>
<generator>http://thingamablog.sf.net</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/GeraldNunnsBlog" type="application/rss+xml" /><item>
<title>OnTrack now available on Android Market</title>
<description>&lt;p&gt;OnTrack, a free application that helps users manage diabetes, is now available on the Android Market for download.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/07-01-2009_07-31-2009.html#467</link>
<guid>http://www.gexperts.com/blog/archives/07-01-2009_07-31-2009.html#467</guid>

<category>Android</category>

<pubDate>Sun, 05 Jul 2009 12:13:45 -0400</pubDate>
</item>

<item>
<title>OnTrack Available for Download</title>
<description>&lt;p&gt;I blogged yesterday about my first Android application called OnTrack that enables diabetics to track various statistics.
Well I wasn't getting much feedback from beta testing so I decided to go ahead and make it generally available for download here.
To download the application visit the new &lt;a href="/products/ontrack/ontrack.asp"&gt;OnTrack&lt;/a&gt; product page. The application
will also be available on the market later this week.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/06-01-2009_06-30-2009.html#466</link>
<guid>http://www.gexperts.com/blog/archives/06-01-2009_06-30-2009.html#466</guid>

<category>Android</category>

<pubDate>Mon, 29 Jun 2009 19:52:22 -0400</pubDate>
</item>

<item>
<title>Android and Diabetes</title>
<description>&lt;p&gt;As I discussed in a previous post, I have diabetes and require several injections of insulin a day to control my blood sugar level. 
When I mention that to people they invariably cringe but trust me, it sounds worse then it actually is as the process of testing 
your blood followed by an insulin injection quickly becomes old hat and routine.
Having said that, for a diabetic it is important to track various statistics such as blood sugar level in order to ensure
that treatment is progressing well and no untoward trends are occurring. Without historical data it is pretty easy 
for your blood sugars to creep up on you over time without realizing it.&lt;/p&gt;

&lt;p&gt;I recently bought a Google Android phone, the HTC Magic, from my carrier here in Canada, Rogers, and one of the things that attracted me to this phone is the ability
to develop applications for it using Java. Considering I have diabetes, a natural first project was to write a program 
that would allow me to keep track of my statistics on the phone. I previously had a Windows Mobile phone and used a purchased application
on that platform but I had several issues with that application such as its inability to remember settings. Now that I could build my own program I could get it working exactly the way
I wanted and if it didn't work out I had only myself to blame.&lt;/p&gt;

&lt;p&gt;So with that in mind, I sat down and started developing my application and learning Android. Overall, I found the process of developing an application for Android
quite painless as the APIs are for the most part quite logical and straight forward. Any experienced Java developer should have little difficulty in learning
this platform. There are some areas that could use some additional documentation however a bit of poking arond on the web and some posts to Android forums 
usually turns up the answer you need.&lt;/p&gt;

&lt;p&gt;After a couple weeks worth of work a basic version of my application is now ready and in use on my phone. For those interested, 
here are a few screen shots of my diabetes application, I hope to put it on the Android market later this week where it will be available for free.&lt;/p&gt;

&lt;p&gt;This screenshot shows the main screen of the application, entries are grouped and separated by date.&lt;/p&gt;

&lt;img src="/blog/img/android/mainscreen.png" class="center"&gt;&lt;br&gt;

&lt;p&gt;This screenshot shows the data entry screen. Like most Android applications, you can save an entry simply by pressing the back button.&lt;/p&gt;

&lt;img src="/blog/img/android/entry.png" class="center"&gt;&lt;br&gt;

&lt;p&gt;Finally here is a screenshot that shows one of the available reports, this graph displays your glucose readings over time.&lt;/p&gt;

&lt;img src="/blog/img/android/graph.png" class="center"&gt;&lt;br&gt;</description>
<link>http://www.gexperts.com/blog/archives/06-01-2009_06-30-2009.html#462</link>
<guid>http://www.gexperts.com/blog/archives/06-01-2009_06-30-2009.html#462</guid>

<category>Android</category>

<pubDate>Sun, 28 Jun 2009 21:31:10 -0400</pubDate>
</item>

<item>
<title>Dynamic Visitor Tools</title>
<description>&lt;p&gt;A feature in WebLogic Portal that is not well known is the Dynamic Visitor Tools (DVT), a sample added to WebLogic Portal 10.2 or 
later that allows users to customize the portal
exeperience by simply dragging and dropping portlets. New portlets can also be easily added by dragging them from the DVT menu 
bar which appears at the top when DVT is active. If you have not had a chance to check out DVT previously then I would encourage you to visit
the WLP demo site at &lt;a href="http://wlp.bea.com"&gt;http://wlp.bea.com&lt;/a&gt; and give it a whirl. Once you have registered or logged in,
click the customize link in the top right corner to play with the DVT sample.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#459</link>
<guid>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#459</guid>

<category>WebLogic</category>

<pubDate>Tue, 21 Apr 2009 09:12:15 -0400</pubDate>
</item>

<item>
<title>Manually Migrating a Server</title>
<description>&lt;p&gt;I was recently helping a client setup whole server migration where one server in the cluster hosted a singleton JMS queue, as a result
the client weanted to use whole server migration so that the server would automatically migrate to a new machine in case of failure. We also
wanted to test manually migrating this server to an alternate machine in case a planned outage was required. Unfortunately it
turned out that the process for manually migrating a server was not obvious, changing the server on the migration page
did nothing and the server stubbornly continued to restart on the current host machine.&lt;/p&gt;

&lt;p&gt;After doing some poking around, we found the following process worked.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stop the migratable server&lt;/li&gt;
&lt;li&gt;Change the machine to the server you want it to boot on in the Admin Console&lt;/li&gt;
&lt;li&gt;Change the list of candidate servers so that the machine you want to boot on is first in the list.&lt;/li&gt;
&lt;li&gt;The target machine in Servers|Control|Migration should reflect the machine you chose in b automatically but confirm it.&lt;/li&gt;
&lt;li&gt;Start the server, now starts on the new server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I assume the existing process works the way it does because this would be the desired way to working when performing a failback, thus for a planned outage follow the steps above.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#455</link>
<guid>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#455</guid>

<category>WebLogic</category>

<pubDate>Fri, 17 Apr 2009 10:34:45 -0400</pubDate>
</item>

<item>
<title>WebCenter Interaction and RAC</title>
<description>&lt;p&gt;
  I recently had to help a client decipher some older G6 documentation 
  about using the Plumtree/ALUI/WCI portal with RAC and thought it might 
  be useful to post the distilled instructions here.
&lt;/p&gt;
&lt;p&gt;
  A. Create a tnsnames.ora file in your PT_HOME/settings directory that 
  contains something similar to the text below. Note replace the HOST and 
  SERVICE_NAME entries with values that make sense for your system.
&lt;/p&gt;
&lt;pre class="code"&gt;RAC = 
  (DESCRIPTION = 
(ADDRESS_LIST= 
  (FAILOVER = ON) // Connection-Time Failover 
  (LOAD_BALANCE = ON) // Client Load x 
  (ADDRESS= (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521)) 
  (ADDRESS= (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521)) 
) 
(CONNECT_DATA= 
  (SERVICE_NAME = PLUM10.plumtree.com) 
) 
  ) 
 &lt;/pre&gt;
&lt;p&gt;
  B. Open the file configuration.xml in a text editor, look for the line:
&lt;/p&gt;
&lt;pre class="code"&gt;    &amp;lt;component name=&amp;quot;opendb:DBConnection/oracle&amp;quot; type=&amp;quot;http://www.plumtree.com/config/component/types/opendb&amp;quot;&amp;gt;&lt;/pre&gt;
&lt;p&gt;Under this line, insert the following entries:&lt;/p&gt;
&lt;pre class="code"&gt;&amp;lt;setting name=&amp;quot;database-connection:rac-tnsnames-file&amp;quot;&amp;gt;
&amp;lt;value xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;C:/alui65/settings/tnsnames.ora&amp;lt;/value&amp;gt;
&amp;lt;/setting&amp;gt;
&amp;lt;setting name=&amp;quot;database-connection:rac-tnsnames-data-source&amp;quot;&amp;gt;
&amp;lt;value xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;RAC&amp;lt;/value&amp;gt;
&amp;lt;/setting&amp;gt;&lt;/pre&gt;
&lt;p&gt;
  Obviously replace my hard code C:/alui65/settings/tnsnames.ora with your 
  value. Note the data-source value used above, RAC, must match what is 
  tnsnames.ora (the RAC= at the beginning)
&lt;/p&gt;
&lt;p&gt;
  C. Repeat step B for the following lines in configuration.xml:
&lt;/p&gt;
&lt;pre class="code"&gt; 
&amp;lt;component name=&amp;quot;aluidirectory:openjdbc&amp;quot; type=&amp;quot;http://www.plumtree.com/config/component/types/opendb&amp;quot;&amp;gt;
&amp;lt;component name=&amp;quot;activityservice:persistence&amp;quot; type=&amp;quot;http://www.plumtree.com/config/component/types/opendb&amp;quot;&amp;gt;&lt;/pre&gt;
&lt;p&gt;
  D. Just do a search of the file for your database SID to make sure no 
  other spots were missed.
&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#453</link>
<guid>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#453</guid>

<category>WCI</category>

<pubDate>Thu, 16 Apr 2009 08:57:58 -0400</pubDate>
</item>

<item>
<title>Calibrating a Television</title>
<description>&lt;p&gt;The Home Theater fairy, the lesser known cousin of the tooth fairy, visited me last week and blessed me with a new television. 
I ended up getting a great deal on a Samsung LN52A850 set and with spousal approval went and pulled the trigger. I had been
thinking about getting a new television for some time as my 46" Samsung just felt a little small in the space we had and the new 52"
set provides more of the larger picture we are used to from the theaters.&lt;/p&gt;

&lt;p&gt;With a new set however comes the inevitable calibrating of the set in order to get the picture just right. In the past I have
to admit I have been guilty of calibrating by simply using a movie and the Mark 1 eyeball which seems to be losing its efficiency with age. 
When browing the thread on calibrating the A850 at &lt;a href="http://www.avsforum.com"&gt;avsforum&lt;/a&gt; there was a post linking to a 
free calibration DVD put together by some of the avsforum members.&lt;/p&gt;

&lt;p&gt;I've only had a chance to have a quick look at it but what I have seen so far is pretty impressive for a free effort. The disc contains
various patterns that are displayed through a Blu-ray player or other HD source that allow you to perform a basic calibration without
equipment. The disc is burned from an .iso and is navigable using a simple menu, it took me all of five minutes to burn the disc and start playing 
with it using my PS3. While the burning process is simple, what really makes the process easy is the sixteen page PDF document that accompanies the disc and guides you through the process
of calibrating your set.&lt;/p&gt; 

&lt;p&gt;The disc allows you to calibrate the grayscale, colors, contrast, brightness, sharpness and other parameters of the television without
having to use any tools. While the final results are not going to be as good as an ISF calibration they should be more then sufficient
for the average joe. One thing I found useful on the Samsung set, which I assume would be available on all recent Samsung sets, is
the availability of a blue mode. This blue mode allows you to adjust the colors on the set without requiring a blue filter by 
only displaying the color blue. In this mode different colors which have a blue component are still visibile and colors can be tuned
by using the test pattern tweaking the settings until the blue appears identical.&lt;/p&gt;

&lt;p&gt;The AVS HD 709 disc is a highly recommended tool and you owe it to yourself to check it out.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.avsforum.com/avs-vb/showthread.php?t=948496"&gt;AVS HD 709 - Blu-ray, HD DVD, &amp;amp; MP4 Calibration&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#452</link>
<guid>http://www.gexperts.com/blog/archives/04-01-2009_04-30-2009.html#452</guid>

<category>Home Theater</category>

<pubDate>Tue, 07 Apr 2009 21:27:06 -0400</pubDate>
</item>

<item>
<title>PS3 as a Blu-Ray Player</title>
<description>&lt;p&gt;
      For the last year or so I have been using a Samsung BDP-1200 as my 
      Blu-Ray player and it has generally gotten the job done though it has 
      required the occasional firmware upgrade to be able to play the latest 
      discs. While I'm generally understanding of the need to update the 
      firmware, it annoys my wife and the last straw for her was when she 
      rented Australia and it would not play with no firmware upgrade 
      available. Thus she gave her blessing to get a new BluRay player with 
      the caveat that the new player handle everything and thus my quest for a 
      new player was born. (As an aside for you men out there, the easiest way 
      to get agreement from the wife for a new gadget is to make sure the old 
      one annoys the heck out of her!)
    &lt;/p&gt;
    &lt;p&gt;
      I looked around at the available players and while a lot of options were 
      available most of the good ones were in the PS3 price range. While I 
      hadn't looked at a PS3 previously, considering I already have a Wii and 
      an XBox 360, given that it was about the same price as a regular player 
      and Sony was very active in keeping the firmware up to date I decided to 
      get this instead of a player. It didn't hurt that my eight year old son 
      was strongly in favor of this direction since he had been wanting to try &lt;a href="http://www.gamespot.com/ps3/action/littlebigplanet/review.html" target="_blank"&gt;Little 
      Big Planet&lt;/a&gt; for quite a while now.
    &lt;/p&gt;
    &lt;p&gt;
      So I headed down to BesyBuy and picked one up along with the &lt;a href="http://www.bestbuy.ca/catalog/proddetail.asp?logon=&amp;langid=EN&amp;sku_id=0926INGFS10114802&amp;catid=27031" target="_blank"&gt;Nyko 
      IR Remote&lt;/a&gt; for the PS3. I needed the Nyko so that my Harmony remote 
      could control the PS3 during movie playback since the PS3 uses BlueTooth 
      otherwise. So I got home and unpacked the PS3 and proceeded to set it up 
      which turned out to be a breeze since I just reused the HDMI and optical 
      connections from the BDP-1200 it was replacing. One thing to keep in 
      mind with the Nyko remote is that when setting up the Harmony remote the 
      device type is the Nyko and not the PS3 itself. Also note the Nyko 
      cannot power on and off the PS3, no big deal since you have to go to the 
      machine anyways to pop in a disc.
    &lt;/p&gt;
    &lt;p&gt;
      Once it was up and running we popped in a BluRay and were off to the 
      races. Overall the video quality was excellent and generally on par with 
      the BDP-1200 I had previously. The load time for the BluRay was much 
      faster on the PS3 which my wife greatly appreciated, the BDP-1200 was a 
      bit of a slug in this respect. More importantly for my wife, the PS3 
      handled every BluRay thrown at it which made her very happy. I do have 
      one issue with the PS3 however and that is these periodic white flashes 
      I get only when using the XMB menu and playing regular DVDs, BluRays and 
      games have no issues. I believe this is an HDMI issue and if I turn down 
      the resolution to 720p or 1080i then everything is fine, it only happens 
      at 1080p.
    &lt;/p&gt;
    &lt;p&gt;
      After doing some reading, I suspect the problem is the HDMI cable I am 
      using may only be Category 1. Apparently a Category 1 cable is only 
      rated for up to 1080i but you might get lucky and find it is able to 
      handle 1080p. A Category 2 cable is rated for bandwidth above 1080p and 
      thus should handle 1080p no problem. With this in mind I ordered a 
      couple of 6' HDMI cables (1.3 and Category 2) for $13 from 
      monoprice.com, a much better deal then dropping $60 at the local 
      BestBuy. Once the cables arrive I'll post again about whether or not 
      they fix my issue.
    &lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#449</link>
<guid>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#449</guid>

<category>Home Theater</category>

<pubDate>Thu, 19 Mar 2009 12:21:24 -0400</pubDate>
</item>

<item>
<title>WebLogic Portal and JSF</title>
<description>&lt;p&gt;Just a quick FYI that there is a great new whitepaper available from the Oracle site on using JSF with WebLogic Portal.
This whitepaper provides a comprehensive guide (152 pages!) for building JSF portlets in WebLogic Portal, highly recommended. 
You can download the whitepaper at the link below, a big thank you to Peter Laird for taking the time to put this together.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf"&gt;Developing JSF Portlets with WebLogic Portal&lt;/a&gt;.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#447</link>
<guid>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#447</guid>

<category>WebLogic</category>

<pubDate>Wed, 18 Mar 2009 15:56:54 -0400</pubDate>
</item>

<item>
<title>WLST and Templates Glitch</title>
<description>&lt;p&gt;The WebLogic Scripting Tool (WLST) is a great tool for creating pre-configured domains quickly and easily. 
The tool allows you to define a script in Python that automates the creation of the domain by working with the
object model defined in WebLogic. For those unfamiliar with WLST, a great summary can be found &lt;a href="http://e-docs.bea.com/wls/docs103/config_scripting/index.html"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Recently I was working with a client to automate the creation of their domains and ran across two issues as
follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The username and password for node manager was not taking after it was changed, it was always using the default generated username/password when it was written; and&lt;/li&gt;
&lt;li&gt;A JMS subdeployment could not be targetted to a JMS Server, it always defaulted to the target of the JMS Resource the subdeployment belonged to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After investigating both issues, it turned out that these operations were getting overwritten by the defaults in the template JAR when the domain was being written.
When the code was debugged it was evident that things had been set correctly, however when the domain was written these changes
were ignored. The issue was that the directives in the template were overriding what was being done in WLST code. 
While annoying, an easy workaround exists. All that needed to be changed was to move these 
operations after the write operation, at this point they could be performed successfully. Here is an example with some
pseudo-code:&lt;/p&gt;

&lt;pre class="code"&gt;
readTemplate(path)

#Update domain config settings
#...

writeDomain(workingDirectory)
closeTemplate()
readDomain(workingDirectory)

#Perform tasks here that only work if done after domain is written
#...

#Write new changes back out again
updateDomain(workingDirectory)
&lt;/pre&gt;
&lt;p&gt;A small issue with an easy fix, just one thing to keep in mind when working with WLST.&lt;/p&gt;</description>
<link>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#443</link>
<guid>http://www.gexperts.com/blog/archives/03-01-2009_03-31-2009.html#443</guid>

<category>WebLogic</category>

<pubDate>Wed, 18 Mar 2009 15:42:51 -0400</pubDate>
</item>

</channel>
</rss>
