<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Head in the Web</title>
	<atom:link href="http://techblog.fywservices.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.fywservices.com</link>
	<description>Building a better user experience one technology at a time</description>
	<lastBuildDate>Tue, 03 Jan 2012 18:12:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixing component Load failed with IOException Error when Configuring OHS with OEM</title>
		<link>http://techblog.fywservices.com/2011/12/fixing-component-load-failed-with-ioexception-error-when-configuring-ohs-with-oem/</link>
		<comments>http://techblog.fywservices.com/2011/12/fixing-component-load-failed-with-ioexception-error-when-configuring-ohs-with-oem/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 18:01:42 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=684</guid>
		<description><![CDATA[I ran across this today. It took me a long time to find the right solution, so I thought I would post it here. The error message I was getting was: Failed to invoke operation load on MBean oracle.as.management. mbeans.register:type=component,name=ohs1,instance=asinst_1, Location=AdminServer Load failed with IOException The logs further showed the following: OHS-2079 nzos handshake error, [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>I ran across this today. It took me a long time to find the right solution, so I thought I would post it here.</p>
<p>The error message I was getting was:</p>
<pre class="brush:shell">Failed to invoke operation load on MBean oracle.as.management.
mbeans.register:type=component,name=ohs1,instance=asinst_1,
Location=AdminServer
Load failed with IOException</pre>
<p>The logs further showed the following:</p>
<pre class="brush:shell">OHS-2079 nzos handshake error, nzos_Handshake returned
28860(server obscured.server.com:9999, client 111.127.66.159)
OHS-2171 NZ Library Error: SSL fatal alert</pre>
<p>The fix I found towards the end of a thread at <a href="https://forums.oracle.com/forums/thread.jspa?threadID=1054032" target="_blank">https://forums.oracle.com/forums/thread.jspa?threadID=1054032</a>:</p>
<pre class="brush:shell">ORACLE_HOME\opmn\bin\upgradenonj2eeapp.bat
-oracleInstance Instance_Home_Location
-adminHost WebLogic_Server_Host_Name
-adminPort administration_server_port_number
-adminUsername administration_server_user</pre>
<p class="brush:shell">Change it to .sh for Linux/Unix. I found I only had to run this on the first server in the farm rather than all of them as one might expect. Your mileage may vary.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/12/fixing-component-load-failed-with-ioexception-error-when-configuring-ohs-with-oem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WLS 10.3.x Silent Install Gotcha</title>
		<link>http://techblog.fywservices.com/2011/12/wls-10-3-x-silent-install-gotcha/</link>
		<comments>http://techblog.fywservices.com/2011/12/wls-10-3-x-silent-install-gotcha/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 13:05:08 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=677</guid>
		<description><![CDATA[I ran into an issue where I couldn&#8217;t figure out why I was getting the following error when running a WebLogic Server 10.3.2 upgrade in silent mode pert the documentation: C:\temp\ten_two_domain1&#62;java weblogic.Upgrade -mode silent -type domain Calling Wizard framework for upgrade: args2: [-mode=silent,-file=wcf/plugin_silent_wizard.xml, -p:plugin:plugin.silent.response.file=weblog ic-upgrade-domain-responses.xml, -log=stdout,-p:plugin:plugin.executionPlan.file=weblogic/ upgrade/domain/execplan.xml,-p:plugin:I18N_PLUGI N=weblogic/ upgrade/i18n_upgrade, -p:plugin:TARGET_VERSION=10.3.2.0] 2011-05-03 12:12:25,926 ERROR [inputAdapter_silent] com.bea.plateng.wizard. [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>I ran into an issue where I couldn&#8217;t figure out why I was getting the following error when running a WebLogic Server 10.3.2 upgrade in silent mode pert the <a href="http://docs.oracle.com/cd/E15523_01/web.1111/e13754/upgrade_dom.htm#i1089577" target="_blank">documentation</a>:</p>
<pre class="brush:shell">C:\temp\ten_two_domain1&gt;java weblogic.Upgrade -mode silent
-type domain Calling Wizard framework for upgrade: args2:
[-mode=silent,-file=wcf/plugin_silent_wizard.xml,
-p:plugin:plugin.silent.response.file=weblog
ic-upgrade-domain-responses.xml,
-log=stdout,-p:plugin:plugin.executionPlan.file=weblogic/
upgrade/domain/execplan.xml,-p:plugin:I18N_PLUGI N=weblogic/
upgrade/i18n_upgrade,
-p:plugin:TARGET_VERSION=10.3.2.0] 2011-05-03 12:12:25,926
ERROR [inputAdapter_silent] com.bea.plateng.wizard.
WizardController - Uncaught Exception java.lang.
ArrayIndexOutOfBoundsException: 0 at weblogic.upgrade.domain.
directoryselection.SelectWebLogicVersionPlugIn.
validateInputAdapter(SelectWebLogicVersionPlugIn.java:50) at
com.bea.plateng.wizard.plugin.silent.tasks.
InputAdapterSilentTask.execute(InputAdapterSilentTask.java:178)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.
run(AbstractSilentTask.java:28) at java.lang.Thread.run(
Thread.java:619) A fatal error has occurred. This application
will terminate.</pre>
<p class="brush:shell">I thought I had followed the example from <a href="http://docs.oracle.com/cd/E15523_01/web.1111/e13754/xml_ref.htm#g1066162" target="_blank">http://docs.oracle.com/cd/E15523_01/web.1111/e13754/xml_ref.htm#g1066162</a> perfectly:</p>
<pre class="brush:xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;plugin-silent-responses&gt;
&lt;/plugin-silent-responses&gt;

&lt;!-- SAMPLE BELOW --&gt;
&lt;!--
&lt;plugin-silent-responses&gt;
  &lt;group name="DomainSelectionGroup"&gt;
    &lt;plugin name="SelectWebLogicVersionPlugIn"&gt;
      &lt;input-adapter name="ChoiceIA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;__WEBLOGIC_VERSION__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
    &lt;plugin name="DomainDirectorySelectionPlugIn"&gt;
      &lt;input-adapter name="IA"&gt;
        &lt;bind-property name="selectedFile"&gt;
          &lt;value&gt;__DOMAIN_DIR__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
  &lt;/group&gt;
  &lt;group name="PostDirSelectionGroup"&gt;
    &lt;plugin name="AdminServerSelectionPlugIn"&gt;
      &lt;input-adapter name="IA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;__ADMIN_SERVER_NAME__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
    &lt;plugin name="NodeManagerCredentialsPlugIn"&gt;
      &lt;input-adapter name="UsernameIA"&gt;
        &lt;bind-property name="value"&gt;
          &lt;value&gt;__NODE_MANAGER_USERNAME__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
      &lt;input-adapter name="PasswordIA"&gt;
        &lt;bind-property name="value"&gt;
          &lt;value&gt;__NODE_MANAGER_PASSWORD__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
      &lt;input-adapter name="PasswordConfirmIA"&gt;
        &lt;bind-property name="value"&gt;
          &lt;value&gt;__NODE_MANAGER_PASSWORD__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
    &lt;plugin name="OptionalGroupsSelectionPlugIn"&gt;
      &lt;input-adapter name="IA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;__OPTIONAL_ACTION_1__&lt;/value&gt;
          &lt;value&gt; . . . &lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
  &lt;/group&gt;
  &lt;group name="PostDirSelectionPost81Group"&gt;
    &lt;plugin name="AdminServerSelectionPlugIn"&gt;
      &lt;input-adapter name="IA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;__ADMIN_SERVER_NAME__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
    &lt;plugin name="OptionalGroupsSelectionPlugIn"&gt;
      &lt;input-adapter name="IA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;__OPTIONAL_ACTION_1__&lt;/value&gt;
          &lt;value&gt; . . . &lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
  &lt;/group&gt;
  &lt;group name="DomainBackupGroup"&gt;
    &lt;plugin name="DomainDirectoryBackupPlugIn"&gt;
      &lt;input-adapter name="FileSelectionIA"&gt;
        &lt;bind-property name="selectedFileNames"&gt;
          &lt;value&gt;__BACKUP_DIR__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
      &lt;input-adapter name="TextIA"&gt;
        &lt;bind-property name="value"&gt;
          &lt;value&gt;___BACKUP_FILE_NAME__&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;
  &lt;/group&gt;
&lt;/plugin-silent-responses&gt;

--&gt;</pre>
<p class="brush:shell">But, as it turns out, where I wanted to be literal on the  <em>SelectWebLogicVersionPlugIn</em> value with <em>10.2</em>, the correct format is to be a bit broader, with:</p>
<pre class="brush:xml">    &lt;plugin name="SelectWebLogicVersionPlugIn"&gt;
      &lt;input-adapter name="ChoiceIA"&gt;
        &lt;bind-property name="selectedChoiceIds"&gt;
          &lt;value&gt;9.0 or higher&lt;/value&gt;
        &lt;/bind-property&gt;
      &lt;/input-adapter&gt;
    &lt;/plugin&gt;</pre>
<p class="brush:shell">Note the value <em><strong>9.0 or higher</strong></em></p>
<p class="brush:shell">I hope this saves some folks the time I spent figuring it out <img src='http://techblog.fywservices.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/12/wls-10-3-x-silent-install-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peak at PEAF Performance</title>
		<link>http://techblog.fywservices.com/2011/10/peak-at-peaf-performance/</link>
		<comments>http://techblog.fywservices.com/2011/10/peak-at-peaf-performance/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 19:02:59 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Must Have Bookmarks]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=674</guid>
		<description><![CDATA[Love alliteration. Love money more PEAF Simplifies the Rocket Surgery of Enterprise Architecture]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>Love alliteration. Love money more <img src='http://techblog.fywservices.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.devx.com/enterprise/Article/47353" target="_blank">PEAF Simplifies the Rocket Surgery of Enterprise Architecture</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/10/peak-at-peaf-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Take on Sparx Enterprise Architect</title>
		<link>http://techblog.fywservices.com/2011/09/my-take-on-sparx-enterprise-architect/</link>
		<comments>http://techblog.fywservices.com/2011/09/my-take-on-sparx-enterprise-architect/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 21:22:05 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Must Have Bookmarks]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=670</guid>
		<description><![CDATA[As told for the almighty dollar at http://www.devx.com/enterprise/Article/47286]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>As told for the almighty dollar at <a href="http://www.devx.com/enterprise/Article/47286" target="_blank">http://www.devx.com/enterprise/Article/47286</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/09/my-take-on-sparx-enterprise-architect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Needs No Introduction</title>
		<link>http://techblog.fywservices.com/2011/09/needs-no-introduction/</link>
		<comments>http://techblog.fywservices.com/2011/09/needs-no-introduction/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 19:45:19 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Tech Humor]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=664</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p><a title="Dilbert.com" href="http://dilbert.com/strips/comic/2011-09-07/"><img src="http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/100000/30000/4000/700/134712/134712.strip.gif" alt="Dilbert.com" border="0" width="420" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/09/needs-no-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everything Your Mother Didn&#8217;t Tell You About SVN and Eclipse</title>
		<link>http://techblog.fywservices.com/2011/08/everything-your-mother-didnt-tell-you-about-svn-and-eclipse/</link>
		<comments>http://techblog.fywservices.com/2011/08/everything-your-mother-didnt-tell-you-about-svn-and-eclipse/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 23:35:14 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Can't Live Without]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=661</guid>
		<description><![CDATA[My latest copyright forfeit to DevX is Eclipse and Subversion: Project Source Control From Within the IDE]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>My latest copyright forfeit to DevX is <a href="http://www.devx.com/Java/Article/47127" target="_blank">Eclipse and Subversion: Project Source Control From Within the IDE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/08/everything-your-mother-didnt-tell-you-about-svn-and-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Excellent WLS LDAP Tuning Post</title>
		<link>http://techblog.fywservices.com/2011/08/excellent-wls-ldap-tuning-post/</link>
		<comments>http://techblog.fywservices.com/2011/08/excellent-wls-ldap-tuning-post/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 13:49:42 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Must Have Bookmarks]]></category>
		<category><![CDATA[WebLogic Portal]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=658</guid>
		<description><![CDATA[http://fusionsecurity.blogspot.com/2011/08/tuning-weblogic-ldap-authentication.html]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p><a href="http://fusionsecurity.blogspot.com/2011/08/tuning-weblogic-ldap-authentication.html" target="_blank">http://fusionsecurity.blogspot.com/2011/08/tuning-weblogic-ldap-authentication.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/08/excellent-wls-ldap-tuning-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmatically Managing WLP Enterprise Scope Roles</title>
		<link>http://techblog.fywservices.com/2011/08/programmatically-managing-wlp-enterprise-scope-roles/</link>
		<comments>http://techblog.fywservices.com/2011/08/programmatically-managing-wlp-enterprise-scope-roles/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 12:13:46 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Portal]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=655</guid>
		<description><![CDATA[Recently I was working on code to manage roles in WLP. WLP roles can be at the global, enterprise application, or web application scope and I needed it at the enterprise application scope because these roles were for use with the content repository.  However, I could only find examples for the web application scope, which [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>Recently I was working on code to manage roles in WLP. WLP roles can be at the global, enterprise application, or web application scope and I needed it at the enterprise application scope because these roles were for use with the content repository.  However, I could only find examples for the web application scope, which generally looked like this:</p>
<pre class="brush:java">RolePolicyManager rpm = new RolePolicyManager();
RolePolicyItem rpi = new RolePolicyItem();
rpi.setEntAppName("testTT");
rpi.setWebAppName("ProducerWEB");
rpi.setResourceScope(
   EntitlementConstants.WEBAPP_ROLE_INHERITANCE);
rpi.setPolicyName("myTestPolicy");
ArrayList a = new ArrayList();
a.add("testUser");
rpi.setUserList(a);
rpm.createRolePolicy(rpi);</pre>
<p>From that example, I would assume that changing</p>
<pre class="brush:java">rpi.setResourceScope(
   EntitlementConstants.WEBAPP_ROLE_INHERITANCE);</pre>
<p>to</p>
<pre class="brush:java">rpi.setResourceScope(
   EntitlementConstants.ENT_APP_ROLE_INHERITANCE);</pre>
<p>would be sufficient. Alas, it wasn&#8217;t. The role was still created at the web application level. So, being clever, I removed</p>
<pre class="brush:java">rpi.setWebAppName("ProducerWEB");</pre>
<p>which had an interesting result. The role was created at the Enterprise Application scope, but only in the RDBMS, not in LDAP and, consequently, not in the Portal Admin Console. For someone in a hurry this might be acceptable as the role could be managed from code. And, while in a hurry, I had the long view that these roles would also need to be managed from Portal Admin Console, so don&#8217;t ask me if the role actually worked for entitling when out of sync as I never tested it.</p>
<p>To make a long story short (probably too late for some), I contacted support, who in turn opened a bug. The response from engineering was that the WebAppName had to remain, and that one more piece was required:</p>
<pre class="brush:java">rpi.setPolicyUser(
   EntitlementConstants.P13N_APPLICATION_POLICY);</pre>
<p>And that did the trick. I looked up the documentation for com.bea.p13n.entitlements.policy.RolePolicyItem and found the setPolicyUser method listed in the parent class, though found no reference as to its value, nor did I find a getter for the attribute, so I don&#8217;t believe it was something I missed, just one of those undocumented features that are handy to know about.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/08/programmatically-managing-wlp-enterprise-scope-roles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the XIP Tool with WLP 10.3.2</title>
		<link>http://techblog.fywservices.com/2011/07/using-the-xip-tool-with-wlp-10-3-2/</link>
		<comments>http://techblog.fywservices.com/2011/07/using-the-xip-tool-with-wlp-10-3-2/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 15:40:59 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Portal]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=641</guid>
		<description><![CDATA[The 10.3.2 release of WebLogic Portal included changes to the file structure of the installation and packaging of the libraries. One impact to this is the need to manually update some of the legacy tools that are still included with the install but have not been updated for you. In this case, the XIP tool. [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>The 10.3.2 release of WebLogic Portal included changes to the file structure of the installation and packaging of the libraries. One impact to this is the need to manually update some of the legacy tools that are still included with the install but have not been updated for you. In this case, the XIP tool.</p>
<p>There is a support document that describes changes necessary to get the XIP tool working with 10.3.2, but it is not complete. Rather than making this entry longer and more confusing, I will ignore that article and simply list what I did to get it working.</p>
<p>The zip tools are located at [BEA_HOME]\wlportal_10.3\propagation\bin\xip. This is where the tool is run from and where the changes to make it work are done. All of changes are to the build.xml file. It starts with replacing the first block of two property declarations with a set of 5. For simplicity&#8217;s sake I hard-code the key definition though it is better to set this in a property file or pass it as an argument. The orginal block is:</p>
<pre class="brush:xml">&lt;property name="wlserver.dir" value="@WL_HOME" /&gt;
&lt;property name="wlportal.dir" value="@WLPORTAL_HOME" /&gt;</pre>
<p>And the new block is:</p>
<pre class="brush:xml">&lt;property name="bea.dir"
          value="C:\bea1032" /&gt;
&lt;property name="wlserver.dir"
          value="${bea.dir}\wlserver_10.3" /&gt;
&lt;property name="wlportal.dir"
          value="${bea.dir}\wlportal_10.3" /&gt;
&lt;property name="workshop.dir"
          value="${bea.dir}\wlportal_10.3\workshop"/&gt;
&lt;property name="modules.dir"
          value="${bea.dir}\modules\com.bea.p13n_10.3.2.0"/&gt;</pre>
<p>Next, under</p>
<pre class="brush:xml">&lt;!-- Library locations, should not need to modify --&gt;</pre>
<p>We will make some major modifications. So much so that I will simply list the completed updates:</p>
<pre class="brush:xml">&lt;property name="wls.classpath"
          value="${wlserver.dir}/server/lib/wlclient.jar"/&gt;
&lt;property name="wlp.classpath"
          value="${wlportal.dir}/light-portal/lib/system/
netuix_system.jar;${wlportal.dir}/p13n/lib/system/
p13n_system.jar"/&gt;
&lt;property name="wlp-library-dir"
          value="${wlportal.dir}/portal/lib/j2ee-modules"/&gt;
&lt;property name="p13n-library-dir"
          value="${wlportal.dir}/p13n/lib/j2ee-modules"/&gt;
&lt;property name="common-library-dir"
          value="${workshop.dir}/common/deployable-libraries"/&gt;
&lt;property name="modules-library-dir"
          value="${modules.dir}"/&gt;
&lt;property name="netuix-lib-app"
          value="${wlportal.dir}/propagation/bin/xip/applib"/&gt;

&lt;target name="init.app.libs"&gt;
  &lt;libclasspath basedir="${netuix-lib-app}"
                 tmpdir="${templibdir}"
                  classpathproperty="libraries.classpath"&gt;
    &lt;librarydir dir="${wlp-library-dir}"/&gt;
    &lt;librarydir dir="${p13n-library-dir}"/&gt;
    &lt;librarydir dir="${common-library-dir}"/&gt;
    &lt;librarydir dir="${modules-library-dir}"/&gt;
  &lt;/libclasspath&gt;
&lt;/target&gt;</pre>
<p>If you have used the XIP tool before, once you have made the changes above, run the setDomainEnv script from a working WLP domain, then CD to the XIP path. From there, edit the xip.properties file to your needs and then run ant. The properties file is mostly self-explanatory, except that terms Import and Export are from the perspective of the database rather than where the script is being executed from. This means that if you want to get a .portal file from a running portal you would set the following in the xip.properties:</p>
<pre class="brush:xml">xip.command=export</pre>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/07/using-the-xip-tool-with-wlp-10-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Propagation Scope Example</title>
		<link>http://techblog.fywservices.com/2011/06/propagation-scope-example/</link>
		<comments>http://techblog.fywservices.com/2011/06/propagation-scope-example/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 14:53:39 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Portal]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=637</guid>
		<description><![CDATA[Following my previous post on propagation, I found that the depth of the parent tree was hard to follow for many (myself included). This example helps illustrate it more clearly: The importance of following the node tree up to remove an item from scope is best illustrated with an example. The BO InfoView iFrame portlet [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>Following my <a title="Scoped Propagation Notes" href="http://techblog.fywservices.com/2011/06/scoped-propagation-notes/">previous post on propagation</a>, I found that the depth of the parent tree was hard to follow for many (myself included). This example helps illustrate it more clearly:</p>
<p>The importance of following the node tree up to remove an item from scope is best illustrated with an example. The <em>BO InfoView iFrame</em> portlet contains an environment-specific URL that should not be propagated. This portlet is listed in a scope file<a href="#_ftn1">[1]</a> as:</p>
<p>scope_1492=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember\:default_portal_book_reports.Book\:default_portal_page_boReports1.BookMember\:default_portal_page_boReports1.Page\:boInfoViewIframe_1.PageMember\:boInfoViewIframe_1.PortletInst</p>
<p>To remove this item from scope, all of the following parent nodes must be also be removed:</p>
<p>scope_1487=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember</p>
<p>scope_1488=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember\:default_portal_book_reports.Book</p>
<p>scope_1489=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember\:default_portal_book_reports.Book\:default_portal_page_boReports1.BookMember</p>
<p>scope_1490=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember\:default_portal_book_reports.Book\:default_portal_page_boReports1.BookMember\:default_portal_page_boReports1.Page</p>
<p>scope_1491=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook\:default_portal_book_reports.BookMember\:default_portal_book_reports.Book\:default_portal_page_boReports1.BookMember\:default_portal_page_boReports1.Page\:boInfoViewIframe_1.PageMember</p>
<p>While the above list contains the immediate parent nodes, the parents of those nodes must also be removed to prevent propagating the portlet, so the following also must be removed:</p>
<p>scope_0=Application</p>
<p>scope_139=Application\:portalservices</p>
<p>scope_140=Application\:portalservices\:f1portal.WebApp</p>
<p>scope_1321=Application\:portalservices\:f1portal.WebApp\:f1.Portal</p>
<p>scope_1322=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop</p>
<p>scope_1323=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop</p>
<p>scope_1324=Application\:portalservices\:f1portal.WebApp\:f1.Portal\:default.Desktop\:default.DefaultDesktop\:default_portal_book_main.MainBook</p>
<p>In addition, any child nodes should be removed to prevent possible errors:</p>
<p>scope_1241=Application\:portalservices\:f1portal.WebApp\:f1portal.Library\:default_portal_book_reports.Book\:default_portal_page_boReports1.BookMember\:default_portal_page_boReports1.Page\:boInfoViewIframe_1.PageMember\:boInfoViewIframe_1.PortletInst\:boInfoViewIframe_1.Localization</p>
<div>
<hr size="1" />
<div>
<p><a href="#_ftnref1">[1]</a> It is important to note that the scope file changes on every propagation run, and must be re-created for each run.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/06/propagation-scope-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

