<?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 Application Server</title>
	<atom:link href="http://www.torkwrench.com/tag/websphere-application-server/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>mod_was_ap22_http.so wrong ELF class: ELFCLASS32</title>
		<link>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/</link>
		<comments>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:39:42 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[tip]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IHS]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=228</guid>
		<description><![CDATA[Simple fix to an error seen when using the 32 bit WebSphere Application Server plugin with 64 bit Apache <a href="http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m experimenting with running Apache on our servers instead of IBM HTTP Server. This could be an advantage in terms of security updates &#8211; if a particular security vulnerability is fixed in Apache, it is going to be much easier to apply it by typing <strong>yum update</strong> than going to the IBM site and downloading the latest update and then struggling through the WAS Update Installer. </p>
<p>Anyway, when trying this out, I got this error when starting Apache. This error is pretty straightforward :</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">Starting httpd: httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Cannot load /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so into server: /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so: wrong ELF class: ELFCLASS32</div></div>
<p>This simply means that the wrong version of the plugin is installed. I&#8217;m using 64 bit linux and 64 bit Apache, but the 32 bit version of the WAS Plugin. Reinstalling the 64 bit version made it work fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CWUPI0033E on Solaris 10 when installing WAS</title>
		<link>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/</link>
		<comments>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/#comments</comments>
		<pubDate>Thu, 13 May 2010 02:57:58 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[dtrace]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=224</guid>
		<description><![CDATA[How to fix this 'out of disk space' error when installing WebSphere Application Server on Solaris 10.  <a href="http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a weird one for you. We were trying to install 6.1.0.3 on a Solaris 10 system to do some tests. The Portal install would fail after about 10 minutes. In the /tmp/wpinstalllog.txt file, it was clear that the problem was due to a failure in the internal WebSphere Application Server install. (When you install Portal, the Portal installer will kick off it&#8217;s own silent install of WAS).</p>
<p>The first thing to do when debugging a WAS install problem is to look at the logs in ~/waslogs . These indicated the following problem:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CWUPI0033E: <br />
There is insufficient free disk space on the system: <br />
<br />
/opt/WebSphere/AppServer:<br />
&nbsp; &nbsp; &nbsp; Required: 1403 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
/var/tmp/:<br />
&nbsp; &nbsp; &nbsp; Required: 1403 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
/opt/.ibm/.nif:<br />
&nbsp; &nbsp; &nbsp; Required: 2 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
Please ensure that there is enough free disk space<br />
on all required filesystems and restart the installation.<br />
<br />
If /var/tmp/ , /opt/WebSphere/AppServer <br />
and /opt/.ibm/.nif are on the same partition, <br />
then the amount of space required is the sum of the space<br />
required on /var/tmp/ , /opt/WebSphere/AppServer and <br />
/opt/.ibm/.nif.</div></div>
<p>My system had heaps of space on it! Surely the installer wouldn&#8217;t even run if there was 0 MB free! The method that the installer used to determine how much disk space was free was failing. But how does the installer figure out how much disk space is free? After lots of poking and prodding around I stumbled on <a href="http://www.sun.com/bigadmin/content/dtrace/">dtrace</a>. I had heard of it before, but never had the opportunity to use it. Dtrace is a mechanism to instrument and probe the tiniest little interactions on a Solaris/BSD/OSX machine. Being so powerful, it has a steep learning curve. <a href="http://www.brendangregg.com/DTrace/dtrace_oneliners.txt">This collection of handy dtrace oneliners was really helpful. </a> </p>
<p>I kicked off the WAS install portion of the Portal install and ran this dtrace command in another window.</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">dtrace -n 'syscall::open*:entry { printf(&quot;%s %s&quot;,execname,copyinstr(arg0)); }' -o trace.log</div></div>
<p>It captured each file interaction that occurred when running the install. Luckily the WAS install failed after about 30 seconds, so there wasn&#8217;t too much data to wade through. </p>
<p>Here is the dtrace log (trace.log from the command above). Something called gushellsupport.sh is calling df (standard unix disk free command). This must be how the installer determines how much disk space is free. The column on the left is the pid of the install process (which is java) . The library files on the far right are what is being called by each executable; the next column over to the left.</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">&nbsp; 0 &nbsp;44056 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open64:entry gushellsupport.s /var/tmp/ismp003/gushellsupport.sh<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /var/ld/ld.config<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libcmd.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libc.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/dt/lib/nls/msg/C/SUNW_OST_OSCMD.cat<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSCMD.mo<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /var/ld/ld.config<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libcmd.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libc.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /etc/mnttab<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/dt/lib/nls/msg/C/SUNW_OST_OSCMD.cat<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSCMD.mo</div></div>
<p>This script, gushellsupport.sh, is owned by InstallShield so I can&#8217;t publish the contents of it. But it has a diskcheck function in it that relies on &#8216;/usr/xpg4/bin/df&#8217; which I didn&#8217;t have installed. Solaris has many different versions of the same tools that are left behind for backwards compatibility. When installing this system initially, I used the &#8220;Core System Support&#8221; option in the Solaris install to build a lean, quick machine. Unfortunately it didn&#8217;t come with this legacy version of df. </p>
<p>df belongs in a package called SUNWxcu4. To install it, mount your Solaris CD and go to the directory Solaris_10/Product/ . In there, copy the subdirectory &#8216;SUNWxcu4&#8242; to /var/spool/pkg and run</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">pkgadd SUNWxcu4</div></div>
<p>If you rerun the install again it&#8217;ll work since gushellsupport.sh is calling the correct version of df. Talk about obscure huh? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>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>
