<?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 &#187; WebLogic Server</title>
	<atom:link href="http://techblog.fywservices.com/category/programming/weblogic-server/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>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>Running Two WLS Domains with Pointbase</title>
		<link>http://techblog.fywservices.com/2011/05/running-two-wls-domains-with-pointbase/</link>
		<comments>http://techblog.fywservices.com/2011/05/running-two-wls-domains-with-pointbase/#comments</comments>
		<pubDate>Thu, 05 May 2011 20:32:48 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Must Have Bookmarks]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=612</guid>
		<description><![CDATA[I hope this guy&#8217;s blog lasts forever so I don&#8217;t have to manually write the steps to run two WLS domains using Pointbase on the same machine: http://www.jroller.com/gmazza/entry/reconfiguring_pointbase_databases_on_weblogic. You would think that you could plan ahead and simply change the values for DBMS and Port on the Configure JDBC Data Sources screen, but the &#8220;wizard&#8221; [...]]]></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 hope this guy&#8217;s blog lasts forever so I don&#8217;t have to manually write the steps to run two WLS domains using Pointbase on the same machine: <a href="http://www.jroller.com/gmazza/entry/reconfiguring_pointbase_databases_on_weblogic" target="_blank">http://www.jroller.com/gmazza/entry/reconfiguring_pointbase_databases_on_weblogic</a>.</p>
<p>You would think that you could plan ahead and simply change the values for DBMS and Port on the Configure JDBC Data Sources screen, but the &#8220;wizard&#8221; still spits out config files using the default 9093 port for Pointbase.</p>
<p>My alternative approach is to search for .cmd, .properties, and .xml files containing &#8220;9093&#8243; and change it to &#8220;9094&#8243; for the second domain. Not as step-by-stepish, but easy to remember <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/05/running-two-wls-domains-with-pointbase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating SAML Token Tip for Non-WLS Admins</title>
		<link>http://techblog.fywservices.com/2011/04/creating-saml-token-tip-for-non-wls-admins/</link>
		<comments>http://techblog.fywservices.com/2011/04/creating-saml-token-tip-for-non-wls-admins/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 20:14:53 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Portal]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=609</guid>
		<description><![CDATA[The documentation for setting up SAML for WLP WSRP is very straight-forward except for one small item that us non-admins may not think of: Once you have your command window open, you need to run the setDomainEnv script in that window before calling the keytool. Otherwise, you get a nice response from the commands, but [...]]]></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 <a href="http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_security_saml.htm#i1008019" target="_blank">documentation</a> for setting up SAML for WLP WSRP is very straight-forward except for one small item that us non-admins may not think of: Once you have your command window open, you need to run the setDomainEnv script in that window before calling the keytool. Otherwise, you get a nice response from the commands, but the domain is not configured to use the results!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/04/creating-saml-token-tip-for-non-wls-admins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remember: Examples are Just Examples</title>
		<link>http://techblog.fywservices.com/2011/01/remember-examples-are-just-examples/</link>
		<comments>http://techblog.fywservices.com/2011/01/remember-examples-are-just-examples/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 18:03:57 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Server]]></category>
		<category><![CDATA[jmx]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[WLS]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=596</guid>
		<description><![CDATA[For example, the documentation at Using the WebLogic Server JMX Timer Service gives a very straight-forward and standards-compliant example of how to run a task at intervals.  I used this example almost in its entirety to create a module to poll a database for a specific change every 2o minutes. I then noticed that the [...]]]></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>For example, the documentation at <a href="http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jmxinst/timer.html" target="_blank">Using the WebLogic Server JMX Timer Service</a> gives a very straight-forward and standards-compliant example of how to run a task at intervals.  I used this example almost in its entirety to create a module to poll a database for a specific change every 2o minutes. I then noticed that the timer would stop for no apparent reason at no obvious interval.</p>
<p>After many hours of digging through logs looking for some cause, I was ready to give in and post a plea for help on a mailing list. It just so happened used a text editor to grab the code to post, and noticed in the text editor that there was one place where unregister would be called on the bean: under contextDestroyed in the servlet to at registered the timer.  In the clarity of hind-sight I realized that the timer was stopping more often in environments that were accessed less often because the efficient WebLogic Server was garbage collecting the unused servlet handle, resulting in contextDestroyed being invoked, thus killing my timer. As it normally should, except in the case where the timer should continue running as long as the server was running.</p>
<p>Lesson learned: Think it all the way through between copy and past.</p>
<p>For those who like links and confessions:  There is an example of using a timer in my <a href="http://javaboutique.internet.com/tutorials/JMX-Timer-MBean/" target="_blank">JavaBoutique</a> article<a href="http://javaboutique.internet.com/tutorials/JMX-Timer-MBean/" target="_blank"></a> that contains precisely the same flaw in logic.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2011/01/remember-examples-are-just-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do Not Use Commas For Multi-Source JNDI</title>
		<link>http://techblog.fywservices.com/2010/12/do-not-use-commas-for-multi-source-jndi/</link>
		<comments>http://techblog.fywservices.com/2010/12/do-not-use-commas-for-multi-source-jndi/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 18:28:12 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=580</guid>
		<description><![CDATA[Here&#8217;s a bit of fun with WebLogic JDBC configurations.  I ran into this issue after reading that p13nDataSource and  cgDataSource-NonXA should not be configured as multi-source. There were  some issues changing them to use the basic JDBC connection string and  when rolling back to the bad configuration the server went &#8220;Boom&#8221;.  Since one purpose behind [...]]]></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>Here&#8217;s a bit of fun with WebLogic JDBC configurations.  I ran into this issue after reading that p13nDataSource and  cgDataSource-NonXA should not be configured as multi-source. There were  some issues changing them to use the basic JDBC connection string and  when rolling back to the bad configuration the server went &#8220;Boom&#8221;.  Since one purpose behind this blog is to share lessons learned, I just had to post this.</p>
<p>If you write your descriptors manually (as opposed to generating them using the WLS console) and put a comma-separated list of JNDI addresses like this:</p>
<pre class="brush:xml">&lt;jdbc-data-source-params&gt;
  &lt;jndi-name&gt;weblogic.jdbc.jts.commercePool,
	contentDataSource,
	contentVersioningDataSource,
	portalFrameworkPool&lt;/jndi-name&gt;
  &lt;algorithm-type&gt;Load-Balancing&lt;/algorithm-type&gt;
  &lt;data-source-list&gt;portalDataSource-rac0,
	portalDataSource-rac1&lt;/data-source-list&gt;
  &lt;failover-request-if-busy&gt;false&lt;/failover-request-if-busy&gt;
&lt;/jdbc-data-source-params&gt;
</pre>
<p>so long as the first address resolves, it will still work. Sort of.  If you call this connection to do an update, only one node of the RAC instance is updated. Other wonderful side-effects include the server refusing to start sometimes.</p>
<p>The proper way to list the JNDI sources is one per node, like this:</p>
<pre class="brush:xml">&lt;jdbc-data-source-params&gt;
	&lt;jndi-name&gt;weblogic.jdbc.jts.commercePool&lt;/jndi-name&gt;
	&lt;jndi-name&gt;contentDataSource&lt;/jndi-name&gt;
	&lt;jndi-name&gt;contentVersioningDataSource&lt;/jndi-name&gt;
	&lt;jndi-name&gt;portalFrameworkPool&lt;/jndi-name&gt;
	&lt;algorithm-type&gt;Load-Balancing&lt;/algorithm-type&gt;
	&lt;data-source-list&gt;portalDataSource-rac0,
			portalDataSource-rac1,
			portalDataSource-rac2
	&lt;/data-source-list&gt;
	&lt;failover-request-if-busy&gt;false&lt;/failover-request-if-busy&gt;
&lt;/jdbc-data-source-params&gt;
</pre>
<p>(Props to <a href="http://sandeepseshan.blogspot.com/" target="_blank">Sandeep Seshan</a> for locating the root cause)</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2010/12/do-not-use-commas-for-multi-source-jndi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>com/compoze/collab/log/LogEntryPrototype Error</title>
		<link>http://techblog.fywservices.com/2010/09/comcompozecollabloglogentryprototype-error/</link>
		<comments>http://techblog.fywservices.com/2010/09/comcompozecollabloglogentryprototype-error/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 13:57:52 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Portal]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=537</guid>
		<description><![CDATA[While attempting to deploy an application built by someone new to WLP recently, I was getting a bit frustrated with a recurring error about &#8220;java.lang.NoClassDefFoundError: com/businessobjects/log/Logger&#8221; in the dev environment and deployment errors about com/compoze/collab/log/LogEntryPrototype in the integration environment. Long story short (actually did it this time!), the issue was that the developer edited weblogic.xml [...]]]></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>While attempting to deploy an application built by someone new to WLP recently, I was getting a bit frustrated with a recurring error about &#8220;java.lang.NoClassDefFoundError: com/businessobjects/log/Logger&#8221; in the dev environment and deployment errors about com/compoze/collab/log/LogEntryPrototype in the integration environment.</p>
<p>Long story short (actually did it this time!), the issue was that the developer edited weblogic.xml by hand using an older WLP application as a guide and included the following:<br />
<code></code></p>
<pre class="brush:xml">wlp-collab-portlets-web-lib
10.3.2
10.3.2
false</pre>
<p>Which is only available in a GroupWare-enabled environment. Once I removed that, everything was fine again.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2010/09/comcompozecollabloglogentryprototype-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good Post on WLS 10.3 Start Up</title>
		<link>http://techblog.fywservices.com/2010/08/good-post-on-wls-10-3-start-up/</link>
		<comments>http://techblog.fywservices.com/2010/08/good-post-on-wls-10-3-start-up/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 17:55:17 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=521</guid>
		<description><![CDATA[I ran across a thread on LinkedIn that pointed me to an excellent article on IT on Guard dealing with a slow WLS start up issue.]]></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 a thread on LinkedIn that pointed me to an excellent <a href="http://www.itonguard.com/20090313/weblogic-starts-slow/" target="_blank">article on IT on Guard</a> dealing with a slow WLS start up issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2010/08/good-post-on-wls-10-3-start-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JDBC BEA-001129</title>
		<link>http://techblog.fywservices.com/2010/06/jdbc-bea-001129/</link>
		<comments>http://techblog.fywservices.com/2010/06/jdbc-bea-001129/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 12:17:44 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[Must Have Bookmarks]]></category>
		<category><![CDATA[WebLogic Server]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=470</guid>
		<description><![CDATA[If you don&#8217;t have a LinkedIn membership, this discussion should be enough reason to sign up (for the record, I did not provide the responses to this question): Q: I have a problem in production environment with WebLogic 9.2 mp3.We are using Multi datasource with Oracle 9i RAC two nodes. Database team have maintaince so [...]]]></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>If you don&#8217;t have a LinkedIn membership, <a href="http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&amp;discussionID=21557902&amp;gid=1320227&amp;trk=EML_anet_qa_ttle-dDhOon0JumNFomgJt7dBpSBA" target="_blank">this discussion</a> should be enough reason to sign up (for the record, I did not provide the responses to this question):</p>
<p><em><strong>Q:</strong></em></p>
<blockquote><p>I have a problem in production environment with  WebLogic 9.2 mp3.We are using Multi datasource with Oracle 9i RAC two nodes. Database  team have maintaince so they took out one node out of RAC. when one of  the WebLogic instance associated with connection pool to that RAC node  shown the following Warning message and could not start the instance.The  multi datasource is configured with algorithm-type as &#8220;Load-Balancing&#8221;</p>
<p>&lt;Jun 3, 2010 3:12:23 AM EDT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt;  &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;<br />
&lt;Jun 3, 2010 3:14:10 AM EDT&gt; &lt;Warning&gt; &lt;JDBC&gt;  &lt;BEA-001129&gt; &lt;Received exception while creating connection for  pool &#8220;DS2&#8243;: Io exception: The Network Adapter could not establish the  connection&gt;</p>
<p>What are the recommandations to avoid this kind of problems when one of  the RAC nodes down and the WebLogic server should have High Availability  and scalable?</p>
<p>Any configuration parameters need to set for this??</p></blockquote>
<p><em><strong>A:</strong></em></p>
<blockquote>
<h3>The way 9.2 mp3 works with RAC is that the multidatasource  represents a pool of datasources so if one datasource is not available  it will mark that down and use the other datasources configured in the  multidatasource.  WLS controls the failover, not RAC and this version  does not use FAN or FCF.</p>
<p>I assume you have test on reserve set in the connection of all the data  sources as that is required to use multdatasource. This parameter is at  datasource-&gt;connection pool-&gt; advanced</p>
<p>&#8220;could not start the instance&#8221; means that WLS did not come up??</p>
<p>If you are bringing up a WLS instance without the DB up you may want to  set initial connections to 0</h3>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2010/06/jdbc-bea-001129/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

