<?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>Tork Wrench &#187; WebSphere Portal</title>
	<atom:link href="http://www.torkwrench.com/tag/websphere-portal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.torkwrench.com</link>
	<description>Things I learnt today, working on IBM Lotus Web Content Management.</description>
	<lastBuildDate>Tue, 17 Aug 2010 06:50:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CNTR0019E:  Initialization failed due to invalid property &#8220;supportedMemberTypes&#8221;.</title>
		<link>http://www.torkwrench.com/2009/12/14/cntr0019e-initialization-failed-due-to-invalid-property-supportedmembertypes/</link>
		<comments>http://www.torkwrench.com/2009/12/14/cntr0019e-initialization-failed-due-to-invalid-property-supportedmembertypes/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 06:47:44 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>
		<category><![CDATA[WMM]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=172</guid>
		<description><![CDATA[Any problem where WMM (WebSphere Member Manager) doesn&#8217;t start properly is a deal breaker for Portal. Once WMM fails, every other component will fail, and you&#8217;ll be faced with a nasty 404 message. After installing 6.0.1.4-WP-IFPK83731.zip and 6.0.1.4-WP-IFPK70263.zip on a &#8230; <a href="http://www.torkwrench.com/2009/12/14/cntr0019e-initialization-failed-due-to-invalid-property-supportedmembertypes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Any problem where WMM (WebSphere Member Manager) doesn&#8217;t start properly is a deal breaker for Portal. Once WMM fails, every other component will fail, and you&#8217;ll be faced with a nasty 404 message.</p>
<p>After installing 6.0.1.4-WP-IFPK83731.zip and 6.0.1.4-WP-IFPK70263.zip on a machine here I got this error message, and a 404 when I tried to hit portal. These fixes update the version of WMM to the (current) latest version. Here&#8217;s what was in my SystemOut.log</p>
<p>[12/14/09 17:31:09:618 EST] 0000002a SystemOut     O WMM Implementation Version: WMM5.6_PK83731 (April 1 2009)<br />
[12/14/09 17:31:09:618 EST] 0000002a WSMM Message  E com.ibm.ws.wmm.MemberRepositoryManager init() Initialization failed due to invalid property &#8220;supportedMemberTypes&#8221;.<br />
[12/14/09 17:31:09:653 EST] 0000002a WSMM Message  E com.ibm.ws.wmm.objectimpl.MemberServiceBeanBase ejbCreate() com.ibm.websphere.wmm.exception.InitializationException: Initialization failed due to invalid property &#8220;supportedMemberTypes&#8221;.<br />
[12/14/09 17:31:09:655 EST] 0000002a ExceptionUtil E   CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method &#8220;getConfigurationData&#8221;. Exception data: com.ibm.ejs.container.CreateFailureException: ; nested exception is:<br />
        java.lang.reflect.InvocationTargetException<br />
        at com.ibm.ejs.container.StatelessBeanO.<init>(StatelessBeanO.java:172)<br />
        at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMStatelessBeanO.java:58)<br />
        at com.ibm.ejs.container.CMStatelessBeanOFactory.create(CMStatelessBeanOFactory.java:40)<br />
        at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:913)<br />
        at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1016)<br />
        at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:83)<br />
        at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:595)<br />
        at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3439)<br />
        at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2836)<br />
        at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2745)<br />
        at com.ibm.websphere.wmm.objects.EJSRemoteStatelessMemberService_14d751a3.getConfigurationData(Unknown Source)<br />
        at com.ibm.websphere.wmm.objects._MemberService_Stub.getConfigurationData(_MemberService_Stub.java:2292)<br />
        at com.ibm.wps.services.puma.SystemWMMAccessBean$39.run(SystemWMMAccessBean.java:906)<br />
        at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2771)<br />
        at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2651)<br />
        at com.ibm.wps.services.puma.SystemWMMAccessBean.getConfigurationData(SystemWMMAccessBean.java:912)<br />
        at com.ibm.wps.services.puma.RealmAwareURManager.initRealms(RealmAwareURManager.java:117)<br />
        at com.ibm.wps.services.puma.RealmAwareURManager.<init>(RealmAwareURManager.java:103)<br />
        at com.ibm.wps.services.puma.PumaServiceImpl.init(PumaServiceImpl.java:215)<br />
        at com.ibm.wps.services.Service.init(Service.java:107)<br />
        at com.ibm.wps.services.Service.init(Service.java:83)<br />
        at com.ibm.wps.services.ServiceManager.createService(ServiceManager.java:400)<br />
        at com.ibm.wps.services.ServiceManager.getService(ServiceManager.java:527)<br />
        at com.ibm.wps.services.ServiceManager.getService(ServiceManager.java:553)<br />
        at com.ibm.wps.services.puma.Puma.<clinit>(Puma.java:52)<br />
        at com.ibm.wps.ac.impl.AccessControlDataManagementServiceImpl.initializeDomainConfig(AccessControlDataManagementServiceImpl.java:885)<br />
        at com.ibm.wps.ac.impl.AccessControlDataManagementServiceImpl.reinit(AccessControlDataManagementServiceImpl.java:792)<br />
        at com.ibm.wps.ac.impl.AccessControlDataManagementServiceImpl.init(AccessControlDataManagementServiceImpl.java:439)<br />
        at com.ibm.wps.services.ServiceManager.createService(ServiceManager.java:400)<br />
        at com.ibm.wps.services.ServiceManager.getService(ServiceManager.java:527)<br />
        at com.ibm.wps.ac.impl.AccessControlDataManagement.<clinit>(AccessControlDataManagement.java:41)<br />
        at com.ibm.wps.ac.impl.AccessControlServiceImpl.initializeServices(AccessControlServiceImpl.java:138)<br />
        at com.ibm.wps.ac.impl.AccessControlServiceImpl.init(AccessControlServiceImpl.java:114)<br />
        at com.ibm.wps.services.ServiceManager.createService(ServiceManager.java:400)<br />
        at com.ibm.wps.services.ServiceManager.getService(ServiceManager.java:527)<br />
        at com.ibm.wps.ac.internal.AccessControlLookupManager.getAccessControlLookup(AccessControlLookupManager.java:37)<br />
        at com.ibm.wps.ac.ACManager.getAccessControl(ACManager.java:132)<br />
        at com.ibm.hrl.siapi.search.admin.utils.PortletUtils.getPortalAdminUserID(PortletUtils.java:321)<br />
        at com.ibm.hrl.siapi.search.admin.portlets.manage.SearchAdminPortletManager.<init>(SearchAdminPortletManager.java:64)<br />
        at com.ibm.hrl.siapi.search.admin.portlets.SiapiSearchAdminPortlet.init(SiapiSearchAdminPortlet.java:532)<br />
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:320)<br />
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1821)<br />
        at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:141)<br />
        at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:885)<br />
        at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:612)<br />
        at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:479)<br />
        at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:123)<br />
        at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:146)<br />
        at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:940)<br />
        at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:893)</p>
<p>I&#8217;m not sure what was updated in WMM for this one, but the solution is simple: install WAS 6.0.2.37 to fix it. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/12/14/cntr0019e-initialization-failed-due-to-invalid-property-supportedmembertypes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Steps to installing Portal 6.1.5 on Ubuntu 9.10</title>
		<link>http://www.torkwrench.com/2009/12/07/5-steps-to-installing-portal-6-1-5-on-ubuntu-9-10/</link>
		<comments>http://www.torkwrench.com/2009/12/07/5-steps-to-installing-portal-6-1-5-on-ubuntu-9-10/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 04:06:20 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=163</guid>
		<description><![CDATA[Here's how to install Portal 6.1.5 on Ubuntu 9.10  <a href="http://www.torkwrench.com/2009/12/07/5-steps-to-installing-portal-6-1-5-on-ubuntu-9-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another new version of Portal, another new version of Ubuntu . Here&#8217;s how to get them to play nicely together. Most of these steps are needed for any recent version of Ubuntu. Obligatory disclaimer, Ubuntu is a non supported platform, so don&#8217;t run anything important on this it. IBM support won&#8217;t help you!</p>
<p>1. Install libstdc++5 from <a href="http://packages.ubuntu.com/jaunty/libstdc++5">here</a>. Apparently this has been dropped from karmic (9.10) but you can use 9.04 packages instead and it will work.</p>
<p>2. Make sure you can ping yourself on the fully qualified hostname that you will be using in the install. This is a good general tip for installing Portal. If the machine doesn&#8217;t respond, add an alias in your /etc/hosts file, like this:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">127.0.0.1 &nbsp; localhost yourhostname yourhostname.fullyqualified.com</div></div>
<p>Also think about disabling any firewalls . The install process needs to be able to connect to certain ports running on your machine.<br />
If you let the install run all the way through, and then re enable your firewall after, debugging and adding new firewall exceptions should be way easier. </p>
<p>3. <a href="http://www.torkwrench.com/wp-content/uploads/2009/12/redhat-release">Drop this file in /etc .</a> It will make AppServer think that you are running RHEL<br />
5,  which is a supported OS.</p>
<p>4. Unlink /bin/sh and link it to /bin/bash, like this:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /bin<br />
unlink sh<br />
ln -s /bin/bash sh</div></div>
<p><a href="http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu"><br />
Here&#8217;s a more detailed post about why you need to do this, if you are interested.</a></p>
<p>5. Don&#8217;t use sudo ./install.sh, but rather execute sudo su and then run ./install.sh . The installer executes a ConfigEngine.sh task late in the install, and if you use sudo to execute install.sh, the installer will attempt to run the ConfigEngine task as your logged in user, not as root, and the task will fail. </p>
<p>I think you should also be able to run the install as a non root user, I just haven&#8217;t tried it yet, I will post back when I have.</p>
<p>These steps also work with 6101. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/12/07/5-steps-to-installing-portal-6-1-5-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oracle runstats oneliner (ok, two liner)</title>
		<link>http://www.torkwrench.com/2009/09/03/oracle-runstats-oneliner-ok-two-liner/</link>
		<comments>http://www.torkwrench.com/2009/09/03/oracle-runstats-oneliner-ok-two-liner/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 08:24:30 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=134</guid>
		<description><![CDATA[Use this to generate a runstats script for your Oracle system. Only works for 6.1 . Also very ugly #!/bin/bash export PROFILE_PATH=/opt/WebSphere/wp_profile cat ${PROFILE_PATH}/ConfigEngine/properties/wkplc_comp.properties &#124; grep DbUser &#124; grep -v source &#124; grep -v '#' &#124; grep -v DBA &#124; &#8230; <a href="http://www.torkwrench.com/2009/09/03/oracle-runstats-oneliner-ok-two-liner/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Use this to generate a runstats script for your Oracle system. Only works for 6.1 . Also very ugly <img src='http://www.torkwrench.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
export PROFILE_PATH=/opt/WebSphere/wp_profile<br />
cat ${PROFILE_PATH}/ConfigEngine/properties/wkplc_comp.properties | grep DbUser | grep -v source | grep -v '#' | grep -v DBA | awk -F = '{print &quot;execute dbms_stats.gather_schema_stats(ownname=&gt;'&quot;'&quot;'&quot; $2 &quot;'\'', cascade=&gt; TRUE);&quot;}' &gt; reorg.sql</div></div>
<p>Now copy this file to your oracle system and run this:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sqlplus / as sysdba @reorg.sql</div></div>
<p>Pow! All done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/09/03/oracle-runstats-oneliner-ok-two-liner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for changing your Portal datasources</title>
		<link>http://www.torkwrench.com/2009/08/04/tips-for-changing-your-portal-datasources/</link>
		<comments>http://www.torkwrench.com/2009/08/04/tips-for-changing-your-portal-datasources/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 05:33:09 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[tip]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[WebSphere Portal]]></category>
		<category><![CDATA[XAER_RMERR]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=128</guid>
		<description><![CDATA[How to edit the portal datasources and meet off potential transaction log problems if they arise. <a href="http://www.torkwrench.com/2009/08/04/tips-for-changing-your-portal-datasources/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For some reason, we&#8217;ve got a test system that is hooked up to a db2 database that is using DHCP. This would be ok if Portal was configured to talk to the hostname of the database server, but it&#8217;s using the IP. So the inevitable happened and the IP of the database changed and the Portal server went down. </p>
<p>So the obvious fix is to change the datasource so it&#8217;s using the hostname of the database server, rather than the ip (or set a static IP for the database server, but that wouldn&#8217;t really require a whole blog post now would it!).</p>
<p>To do this, fire up the WAS admin console and navigate to datasources. </p>
<p><img src="http://www.torkwrench.com/wp-content/uploads/2009/08/datasources.png" alt="datasources" title="datasources" width="651" height="773" class="aligncenter size-full wp-image-129" /></p>
<p>Your list of datasources might be different to mine, depending on your database, but the principles are the same.</p>
<p>Go into each datasource and at the bottom you will see a properties dialog. Change the old IP to a hostname.</p>
<div id="attachment_130" class="wp-caption aligncenter" style="width: 353px"><img src="http://www.torkwrench.com/wp-content/uploads/2009/08/ds-props.png" alt="change the IP to a hostname" title="ds-props" width="343" height="181" class="size-full wp-image-130" /><p class="wp-caption-text">change the IP</p></div>
<p>All of them need to be changed, so go back into each one and change it. Now run the test, by selecting each one and clicking the test connection button.</p>
<p>You should get a message like this: </p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 642px"><img src="http://www.torkwrench.com/wp-content/uploads/2009/08/test-connection.png" alt="successful test connection message" title="test-connection" width="632" height="140" class="size-full wp-image-131" /><p class="wp-caption-text">successful test connection message</p></div>
<p>Now start Portal. Hmm, I get this when I try to go to the site&#8230;.</p>
<p>&#8221; Error 404: Initialization of one or more services failed. &#8221;</p>
<p>Check the SystemOut.log :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: [ibm][db2][jcc][t4][2043][11550] Exception java.net.SocketException: Error opening socket to server /9.185.226.121 on port 50,000 with message: Operation timed out: connect:could be due to invalid address.DSRA0010E: SQL State = null, Error Code = -4,499<br />
<br />
&nbsp; &nbsp; at sun.reflect.GeneratedConstructorAccessor64.newInstance(Unknown Source)<br />
<br />
&nbsp; &nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br />
<br />
&nbsp; &nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:522)<br />
<br />
&nbsp; &nbsp; at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)<br />
<br />
&nbsp; &nbsp; at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)<br />
<br />
&nbsp; &nbsp; at com.ibm.ws.rsadapter.AdapterUtil.mapException(AdapterUtil.java:2159)<br />
<br />
&nbsp; &nbsp; ... 11 more</div></div>
<p>Hang on, the datasource test worked? Why won&#8217;t the server start? It looks like it&#8217;s using the old database server IP still!</p>
<p>The answer lies in the transaction logs that WAS uses. These binary log files contain XA transactions that might not have been executed yet. You should take care when messing about with these files &#8211; they are there for a reason. But on the other hand, the server won&#8217;t start now, so we can hardly make things worse, can we <img src='http://www.torkwrench.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ) . Stop the server1 and WebSphere_Portal application servers and go to your wp_profile directory. Delete the contents of the tranlog and recoverylogs directories and try to start the server again.</p>
<p>This message should appear in SystemOut :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[4/08/09 15:23:16:825 EST] 00000012 LogHandle &nbsp; &nbsp; I &nbsp; CWRLS0007I: No existing recovery log files found in C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\tranlog. Cold starting the recovery log.<br />
<br />
[4/08/09 15:23:16:825 EST] 00000012 LogFileHandle I &nbsp; CWRLS0006I: Creating new recovery log file C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\tranlog\log1.<br />
<br />
[4/08/09 15:23:16:841 EST] 00000012 LogFileHandle I &nbsp; CWRLS0006I: Creating new recovery log file C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\tranlog\log2.<br />
<br />
[4/08/09 15:23:16:856 EST] 00000012 LogHandle &nbsp; &nbsp; I &nbsp; CWRLS0007I: No existing recovery log files found in C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\partnerlog. Cold starting the recovery log.<br />
<br />
[4/08/09 15:23:16:856 EST] 00000012 LogFileHandle I &nbsp; CWRLS0006I: Creating new recovery log file C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\partnerlog\log1.<br />
<br />
[4/08/09 15:23:16:856 EST] 00000012 LogFileHandle I &nbsp; CWRLS0006I: Creating new recovery log file C:/WebSphere/wp_profile\tranlog\win61\win61\WebSphere_Portal\transaction\partnerlog\log2.<br />
<br />
[4/08/09 15:23:16:903 EST] 00000012 RecoveryManag A &nbsp; WTRN0028I: Transaction service recovering 0 transactions.</div></div>
<p>Success, now the server will start up!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/08/04/tips-for-changing-your-portal-datasources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get your own local copy of the Infocenter</title>
		<link>http://www.torkwrench.com/2009/07/01/how-to-get-your-own-local-copy-of-the-infocenter/</link>
		<comments>http://www.torkwrench.com/2009/07/01/how-to-get-your-own-local-copy-of-the-infocenter/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 02:42:33 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[infocenter]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=118</guid>
		<description><![CDATA[How to get your own local version of the WebSphere Portal infocenter, in case you can't get to the website. <a href="http://www.torkwrench.com/2009/07/01/how-to-get-your-own-local-copy-of-the-infocenter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If I&#8217;m going out to meet a customer, I&#8217;ll always make sure to have a local copy of the infocenter on hand in case I have to look something up. </p>
<p>Luckily enough, there&#8217;s an easy way to do this. The infocenters for <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp">WebSphere Application Serve</a>r and <a href="http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/index.jsp">WebSphere Portal</a> are available in Eclipse Help System form, which is pretty much the same way they are presented over the web. </p>
<p>You can download the infocenter in Eclipse Help System format from <a href="http://www-01.ibm.com/software/webservers/appserv/was/library/v70/nd-dp/index.html">this page for WAS</a> and <a href="http://www.ibm.com/developerworks/websphere/zones/portal/proddoc.html">this page for Portal. </a></p>
<p>If you don&#8217;t have Eclipse already, <a href="http://www.eclipse.org/downloads/">download it from here.</a> Any one of the versions should do. Unzip Eclipse and then copy the infocenter zips into the eclipse/plugins directory. Then unzip the infocenter zips in the plugins directory.</p>
<p><img src="http://www.torkwrench.com/wp-content/uploads/2009/07/dump-infocenter.png" alt="dump-infocenter" title="dump-infocenter" width="527" height="475" class="aligncenter size-full wp-image-120" /></p>
<p> Now start Eclipse, and pick any old workspace. Click Help -> Help Contents, and the Infocenter zips that you copied in should be along side any other help files that come with Eclipse originally.</p>
<p><img src="http://www.torkwrench.com/wp-content/uploads/2009/07/infocenters-in.png" alt="infocenters-in" title="infocenters-in" width="693" height="408" class="aligncenter size-full wp-image-121" /><br />
Now you have a local copy, make sure to update it since the infocenter is updated monthly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/07/01/how-to-get-your-own-local-copy-of-the-infocenter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting WebSphere Portal to install on Ubuntu</title>
		<link>http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu/</link>
		<comments>http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu/#comments</comments>
		<pubDate>Mon, 04 May 2009 04:32:20 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[6.0]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[Portal 6.1]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=52</guid>
		<description><![CDATA[Portal 6.1 will not install on Ubuntu out of the box. Here's how to fix it. <a href="http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, ok, I know Ubuntu isn&#8217;t supported by IBM, but if you&#8217;re a developer, and you run Ubuntu on your laptop and would like to run Portal on there too, here&#8217;s how you do it. This should work for Debian too . I guess this isn&#8217;t really a Portal only problem, rather it&#8217;s a general Application Server + Ubuntu issue.  I&#8217;ve only tried this with 6.1, but it is probably an issue with 6.0 as well, since it uses similar profile creation code.</p>
<p>For some reason Ubuntu, ships a shell called &#8216;dash&#8217; as their default, rather than good old bash. <a href="https://wiki.ubuntu.com/DashAsBinSh">(Well, they have their reasons.) </a> This presents a problem for App Server, as all the scripts in AppServer/bin use #!/bin/sh (the Bourne shell) as their command interpreter, which on a Redhat machine is symlinked to /bin/bash . The reason why AppServer uses the Bourne shell is that it needs to work on AIX and Solaris too, and you can&#8217;t be sure that you have bash on one of those machines.</p>
<p>If you try to call wsadmin.sh on an Ubuntu system you get this error :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/opt/WebSphere/AppServer/bin/wsadmin.sh: 116: Bad substitution</div></div>
<p>Now, when you&#8217;re installing Portal, it installs AppServer, and then calls the manageprofile.sh script to create the default profile for Portal  &#8220;wp_profile&#8221; . Manageprofile.sh calls a bunch of ant scripts that needs to use wsadmin.sh (you can see where I&#8217;m going here&#8230;.) .  You might notice in AppServer/log/wp_profile_create.log messages like this :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;message&gt;Checking for wsadmin listener initialization&lt;/message&gt;<br />
&lt;message&gt;Is wsadmin listener available? ? false&lt;/message&gt;<br />
&lt;message&gt;Returning with returnCode=-1&lt;/message&gt;<br />
&lt;message&gt;Failure detected in fatal config action.&lt;/message&gt;<br />
&lt;message&gt;wsadmin failed with exception = wsadmin task failed with return code :-1&lt;/message&gt;</div></div>
<p>It actually hangs for 20 minutes waiting for wsadmin to start! </p>
<p>So how do you fix it? Simply, before you install it, unlink /bin/sh -> /bin/dash , and relink so it reads /bin/sh -> /bin/bash</p>
<p>Carefully:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /bin<br />
unlink sh<br />
ln -s /bin/bash sh</div></div>
<p>Now the install should run properly. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
