<?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>Function1 &#187; WCI 10gR3 upgrade Search server Publisher 6.4 Solaris</title>
	<atom:link href="http://www.function1.com/tag/wci-10gr3-upgrade-search-server-publisher-6-4-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.function1.com</link>
	<description>Discussing all things portal, WebCenter Interaction, WebCenter Suite, Sharepoint, and related technologies.</description>
	<lastBuildDate>Fri, 20 Aug 2010 00:28:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WCI 10gR3 Search Server and Publisher don&#8217;t mix together on Solaris machine</title>
		<link>http://www.function1.com/2009/08/wci-10gr3-search-server-and-publisher-dont-mix-together-on-solaris-machine/</link>
		<comments>http://www.function1.com/2009/08/wci-10gr3-search-server-and-publisher-dont-mix-together-on-solaris-machine/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:25:00 +0000</pubDate>
		<dc:creator>Vasanth Manikumar</dc:creator>
				<category><![CDATA[Function1]]></category>
		<category><![CDATA[WCI 10gR3 upgrade Search server Publisher 6.4 Solaris]]></category>

		<guid isPermaLink="false">http://wp.function1.com/index.php/267/uncategorized/wci-10gr3-search-server-and-publisher-dont-mix-together-on-solaris-machine</guid>
		<description><![CDATA[Recently, I was helping a client upgrade their Oracle WebCenter Interaction portal from 6.1 to 10gR3 in a Solaris environment.&#160; Yes.. this post applies mostly&#160;to Solaris installations only, so feel free to stop reading here &#8230; I won&#8217;t be offended :) Most of the upgrade was fine, but one of the servers in this test [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was helping a client upgrade their Oracle WebCenter Interaction portal from 6.1 to 10gR3 in a Solaris environment.&nbsp; Yes.. this post applies mostly&nbsp;to Solaris installations only, so feel free to stop reading here &#8230; I won&#8217;t be offended :)</p>
<p>Most of the upgrade was fine, but one of the servers in this test environment had both Publisher 6.4 and Search Server (10gR3)&nbsp;on the same machine.&nbsp; Publisher was not upgraded, but after upgrading search server to 10.3.0 , Publisher reported errors while connecting to the&nbsp;search server on its diagnotics page: </p>
<p>
<span class="mt-enclosure mt-enclosure-image" style="DISPLAY: inline"><img class="mt-image-center" style="DISPLAY: block; MARGIN: 0px auto 20px; TEXT-ALIGN: center" height="530" alt="publisher_search_error3.png" src="http://www.function1.com/site/publisher_search_error3.png" width="640" /></span>Other components, such as the portal and Collaboration server, were able to connect to the upgraded Search Server without any issues.&nbsp; Since only Publisher was having this problem,&nbsp;we decided to look at the publisher log files next.&nbsp; During the startup process, publisher was reporting the following error:</p>
<p><font style="FONT-SIZE: 1em"><i>INFO&nbsp;&nbsp; | jvm 1&nbsp;&nbsp;&nbsp; | 2009/08/12 11:19:40 | 11:19:40,130 INFO&nbsp; Initializing Search Server API with inxight = &#8220;/opt/oracle/portal/common/inxight/3.7.6/lang&#8221; and doc2text = &#8220;/opt/oracle/portal/ptcs/6.4/bin/native/doc2text&#8221;<br />INFO&nbsp;&nbsp; | jvm 1&nbsp;&nbsp;&nbsp; | 2009/08/12 11:19:40 | 11:19:40,366 ERROR BEA ALI Publisher startup failed<br />INFO&nbsp;&nbsp; | jvm 1&nbsp;&nbsp;&nbsp; | 2009/08/12 11:19:40 | java.lang.UnsatisfiedLinkError: Native library openkernelsearch_4-2j cannot be loaded.&nbsp; Either the library or its dependencies cannot be found, or all copies of the library have been loaded already:<br />INFO&nbsp;&nbsp; | jvm 1&nbsp;&nbsp;&nbsp; | 2009/08/12 11:19:40 | [attempt 1]: /opt/oracle/portal/ptcs/6.4/lib/native/libopenkernelsearch_4-2j_0.so: ld.so.1: java: <b>fatal: /opt/oracle/portal/common/icu/2.6/lib/native/libicuuc.so.26: wrong ELF class: ELFCLASS64</b><br /></i></font><br />Ahahh!&nbsp; The <a href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format">ELF</a> class error indicates that the ICU (internationization) library was built as a 64-bit native library, but Publisher runs in a 32-bit JVM which will not load the 64-bit libraries. Looking at the timestamps on those libraries, it was apparent that these libraries were overwritten during the upgrade of search server, which does run in 64-bit mode.</p>
<p><span id="more-267"></span></p>
<p>After considering several options to fix this, we decided to use the previous versions of the common libraries that Publisher expects.&nbsp; Luckily, we had followed the best practice of creating a backup of the pre-upgrade version of the portal directory.&nbsp; We chose to restore the &#8216;common&#8217; directory from the backup to a directory under the Publisher folder to end up with:</p>
<p>&nbsp;&nbsp;&lt;PORTAL_HOME&gt;/ptcs/6.4/common</p>
<p>Then we needed to update the references in the publisher configuration to change the location of the common libraries.&nbsp; This is configured in the following file:</p>
<p>&nbsp; &lt;PORTAL_HOME&gt;/ptcs/6.4/settings/config/<strong><em>service.conf</em></strong></p>
<p>So we edited this file and changed the location of the common libraries&nbsp;at the&nbsp;following line:</p>
<p><strong><em>set.LD_LIBRARY_<wbr>PATH=&lt;PORTAL_HOME&gt;/ptcs/6.4/<wbr>common/inxight/3.7.6/lib/<wbr>native:&lt;PORTAL_HOME&gt;/ptcs/6.4/<wbr>common/outsidein/8.1.5/lib/<wbr>native:&lt;PORTAL_HOME&gt;/ptcs/6.4/<wbr>common/icu/2.6/lib/native:/<wbr>&lt;PORTAL_HOME&gt;/ptcs/6.4/common/<wbr>pthreads/2002.11.04/bin/<wbr>native:&lt;PORTAL_HOME&gt;/<wbr>ptcs/6.4/lib/native</em></strong></p>
<p>Eventhough, it was just the ICU library that was conflicting, note that all the libraries were updated just to be consistent.&nbsp;&nbsp; After saving the changes to service.conf and restarting Publisher, all was well again with the search server connection.&nbsp; And we were merrily on our way&nbsp;to&nbsp;upgrading other portal components!</p>
<p>There are other components that run in a 32-bit JVM, so I would imagine that this would happen for any of those if they coexist with an upgraded Search Server.&nbsp; Please share if you&#8217;ve experienced this issue with Publisher or other components with an upgrade.&nbsp; If there are a lot of similar cases, this&nbsp;may be justification for a patch from Oracle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.function1.com/2009/08/wci-10gr3-search-server-and-publisher-dont-mix-together-on-solaris-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
