<?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>Wed, 04 Jan 2012 22:33:20 +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>Uninstall Process Server, keep Portal Server</title>
		<link>http://www.torkwrench.com/2011/05/06/uninstall-process-server-keep-portal-server/</link>
		<comments>http://www.torkwrench.com/2011/05/06/uninstall-process-server-keep-portal-server/#comments</comments>
		<pubDate>Fri, 06 May 2011 04:28:26 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>
		<category><![CDATA[WebSphere Process Server]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=316</guid>
		<description><![CDATA[How to uninstall WebSphere Process Server 6.0 from your WebSphere Portal 6.0 environment. <a href="http://www.torkwrench.com/2011/05/06/uninstall-process-server-keep-portal-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wow, slow 2011 on the blog so far. Time to get back into it.</p>
<p>I was asked by a customer how to uninstall Process Server, while keeping your Portal Server intact. I couldn&#8217;t find any documentation or steps to do this, so I figured it out for them.<br />
&#8220;Your mileage may vary&#8221; &#8211; give this a try on a test box first, before you try on a production box. I didn&#8217;t test clusters either, although I don&#8217;t see how they would present a problem. </p>
<p>These steps are valid for 6.0 . </p>
<p>Unfortunately, the Process Server uninstaller doesn&#8217;t do a great job of cleaning up after itself, so we need to go around after it and clean up the mess.</p>
<p>1. Why not confirm you have Process Server installed first? Try:</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">AppServer/bin/versionInfo.sh</div></div>
<p>If you get back something with this in it:</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">Installed Product<br />
---------------------------------------------------<br />
Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IBM WebSphere Process Server<br />
Version &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.0.2.5<br />
ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BPC<br />
Build Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;o0843.03<br />
Build Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10/31/08</div></div>
<p>Bingo! You have Process server. </p>
<p>2.  Run the config task bpe-unconfig . This config task will uninstall Process Server related components from your Portal Server (like the Task Container Enterprise Apps) .</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">WPSconfig.sh bpe-unconfig</div></div>
<p>3. </p>
<p>Stop all AppServer processes and then run the Process server uninstaller, which you will find at :</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">AppServer/_uninstwbi/uninstall</div></div>
<p>Take care to make sure this box below is <strong>unticked</strong>, so your whole AppServer isn&#8217;t uninstalled.</p>
<p><a href="http://www.torkwrench.com/wp-content/uploads/2011/05/process-server.png"><img src="http://www.torkwrench.com/wp-content/uploads/2011/05/process-server.png" alt="" title="process-server" width="640" height="418" class="aligncenter size-full wp-image-319" /></a></p>
<p>4. After the uninstaller is completed, delete the following jars in AppServer/lib . They are Process Server jars, and the Portal Server (or server1) will not start until you do this. As you can see there are tons of them. I got the list from seeing what was on the Process Server install iso. This list worked for me in my testing (which consisted of starting Portal and the Admin Console and making sure the UI still worked), but I can&#8217;t vouch for any custom code that you are running. As always, try this out in a test environment first, and take a backup before messing around with AppServer/lib . This seems to be a superset of what was installed on my system too &#8211; so don&#8217;t be alarmed if some of the jars in this list are <strong>not</strong> present on your system.</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">$WAS_HOME/lib/ArtifactLoaderImpl.jar<br />
$WAS_HOME/lib/ArtifactLoader.jar<br />
$WAS_HOME/lib/ArtifactResolver.jar<br />
$WAS_HOME/lib/ast-ejbrdbmapping.jar<br />
$WAS_HOME/lib/ast-ejbwsext.jar<br />
$WAS_HOME/lib/ast-j2eewsext.jar<br />
$WAS_HOME/lib/ast-sqlmodel.jar<br />
$WAS_HOME/lib/ast-wrdj2ee.jar<br />
$WAS_HOME/lib/bpcdma.jar<br />
$WAS_HOME/lib/bpcinterop.jar<br />
$WAS_HOME/lib/bpcupgrade.jar<br />
$WAS_HOME/lib/bpc-validation.jar<br />
$WAS_HOME/lib/bpeappinstall.jar<br />
$WAS_HOME/lib/bpecommon.jar<br />
$WAS_HOME/lib/bpecore.jar<br />
$WAS_HOME/lib/bpedeployment.jar<br />
$WAS_HOME/lib/bpegenerator.jar<br />
$WAS_HOME/lib/bpeheaders.jar<br />
$WAS_HOME/lib/bpe.jar<br />
$WAS_HOME/lib/bpel.jar<br />
$WAS_HOME/lib/bpelpp.jar<br />
$WAS_HOME/lib/bpelservices.jar<br />
$WAS_HOME/lib/bpelterms.jar<br />
$WAS_HOME/lib/bpertfw.jar<br />
$WAS_HOME/lib/bpevalidation.jar<br />
$WAS_HOME/lib/brbClient.jar<br />
$WAS_HOME/lib/brbRuleMgmtApp.jar<br />
$WAS_HOME/lib/brbServer.jar<br />
$WAS_HOME/lib/brcore.jar<br />
$WAS_HOME/lib/brulescore.jar<br />
$WAS_HOME/lib/brulescore_nl1.jar<br />
$WAS_HOME/lib/brulescore_nl2.jar<br />
$WAS_HOME/lib/brules.jar<br />
$WAS_HOME/lib/brules-model.jar<br />
$WAS_HOME/lib/brules-scdl.jar<br />
$WAS_HOME/lib/brules-scdl-validation.jar<br />
$WAS_HOME/lib/brules-scdl-validation_nl1.jar<br />
$WAS_HOME/lib/brules-scdl-validation_nl2.jar<br />
$WAS_HOME/lib/brules-validation.jar<br />
$WAS_HOME/lib/brules-validation_nl1.jar<br />
$WAS_HOME/lib/brules-validation_nl2.jar<br />
$WAS_HOME/lib/bsm-runtime.jar<br />
$WAS_HOME/lib/cbcore.jar<br />
$WAS_HOME/lib/cem.jar<br />
$WAS_HOME/lib/cemsop.jar<br />
$WAS_HOME/lib/cmmImpl.jar<br />
$WAS_HOME/lib/cmm.jar<br />
$WAS_HOME/lib/commondbinstall.jar<br />
$WAS_HOME/lib/commonj.connector.jar<br />
$WAS_HOME/lib/commons-jxpath.jar<br />
$WAS_HOME/lib/compensate_blob4k_ejb.jar<br />
$WAS_HOME/lib/compensate_ejb.jar<br />
$WAS_HOME/lib/compensate.jar<br />
$WAS_HOME/lib/compensate_oracle9i_oci_ejb.jar<br />
$WAS_HOME/lib/compensation.jar<br />
$WAS_HOME/lib/core-validation.jar<br />
$WAS_HOME/lib/corona-ejbplugin.jar<br />
$WAS_HOME/lib/corona-emfworkbenchedit.jar<br />
$WAS_HOME/lib/corona-emfworkbench.jar<br />
$WAS_HOME/lib/corona-j2eeplugin.jar<br />
$WAS_HOME/lib/corona-wsdl.jar<br />
$WAS_HOME/lib/correlationsphere.jar<br />
$WAS_HOME/lib/ctcbpeluiex.jar<br />
$WAS_HOME/lib/ctcformatmodel.jar<br />
$WAS_HOME/lib/ctcj2ee.jar<br />
$WAS_HOME/lib/ctc-wsdl.jar<br />
$WAS_HOME/lib/ctcwsdl.jar<br />
$WAS_HOME/lib/customization.jar<br />
$WAS_HOME/lib/customization-model.jar<br />
$WAS_HOME/lib/dmaemf.jar<br />
$WAS_HOME/lib/eclipse-ecore.resources.jar<br />
$WAS_HOME/lib/eclipse-jdtcore.jar<br />
$WAS_HOME/lib/eclipse-mapping.jar<br />
$WAS_HOME/lib/eclipse-osgi.jar<br />
$WAS_HOME/lib/eclipse-resources.jar<br />
$WAS_HOME/lib/eclipse-runtime.jar<br />
$WAS_HOME/lib/eflow2.jar<br />
$WAS_HOME/lib/extensionmodel.jar<br />
$WAS_HOME/lib/fdl2bpelcore.jar<br />
$WAS_HOME/lib/htmlshellwbi.jar<br />
$WAS_HOME/lib/idgenerator.jar<br />
$WAS_HOME/lib/ilm_impl.jar<br />
$WAS_HOME/lib/ilm.jar<br />
$WAS_HOME/lib/installbrmgr.jar<br />
$WAS_HOME/lib/mediation_model.jar<br />
$WAS_HOME/lib/mfc_model.jar<br />
$WAS_HOME/lib/migration-wbi-CommonMigrationInterface.jar<br />
$WAS_HOME/lib/migration-wbi-ics-heritageapi.jar<br />
$WAS_HOME/lib/migration-wbi-ics.jar<br />
$WAS_HOME/lib/mockobjects-alt-jdk1.3-0.09.jar<br />
$WAS_HOME/lib/mockobjects-alt-jdk1.3-j2ee1.2-0.09.jar<br />
$WAS_HOME/lib/mockobjects-core-0.09.jar<br />
$WAS_HOME/lib/mockobjects-jdk1.3-0.09.jar<br />
$WAS_HOME/lib/mockobjects-jdk1.3-j2ee1.2-0.09.jar<br />
$WAS_HOME/lib/modelutils.jar<br />
$WAS_HOME/lib/processbinding.jar<br />
$WAS_HOME/lib/recoveryAdmin.jar<br />
$WAS_HOME/lib/recoveryMBean.jar<br />
$WAS_HOME/lib/relcodegen.jar<br />
$WAS_HOME/lib/resolverutils.jar<br />
$WAS_HOME/lib/rsadaptercci-wbi.jar<br />
$WAS_HOME/lib/rsaexternal-wbi.jar<br />
$WAS_HOME/lib/sca-async.jar<br />
$WAS_HOME/lib/sca-common.jar<br />
$WAS_HOME/lib/sca-container.jar<br />
$WAS_HOME/lib/sca-deploy.jar<br />
$WAS_HOME/lib/sca-ejb.jar<br />
$WAS_HOME/lib/sca-j2c.jar<br />
$WAS_HOME/lib/sca.jar<br />
$WAS_HOME/lib/sca-java.jar<br />
$WAS_HOME/lib/sca-jms.jar<br />
$WAS_HOME/lib/sca-managed.jar<br />
$WAS_HOME/lib/sca-style.jar<br />
$WAS_HOME/lib/sca-webservice.jar<br />
$WAS_HOME/lib/scdl-ae.jar<br />
$WAS_HOME/lib/scdl-eis.jar<br />
$WAS_HOME/lib/scdl-ejb.jar<br />
$WAS_HOME/lib/scdl-infoserver.jar<br />
$WAS_HOME/lib/scdl.jar<br />
$WAS_HOME/lib/scdl-java.jar<br />
$WAS_HOME/lib/scdl-mediation.jar<br />
$WAS_HOME/lib/scdl-mfc.jar<br />
$WAS_HOME/lib/scdl-moduletype.jar<br />
$WAS_HOME/lib/scdl-process.jar<br />
$WAS_HOME/lib/scdl-task.jar<br />
$WAS_HOME/lib/scdl-webservice.jar<br />
$WAS_HOME/lib/scdl-wsdl.jar<br />
$WAS_HOME/lib/selector.jar<br />
$WAS_HOME/lib/selector-model.jar<br />
$WAS_HOME/lib/selector-scdl.jar<br />
$WAS_HOME/lib/selector-scdl-validation.jar<br />
$WAS_HOME/lib/selector-scdl-validation_nl1.jar<br />
$WAS_HOME/lib/selector-scdl-validation_nl2.jar<br />
$WAS_HOME/lib/selector-validation.jar<br />
$WAS_HOME/lib/selector-validation_nl1.jar<br />
$WAS_HOME/lib/selector-validation_nl2.jar<br />
$WAS_HOME/lib/sibx.admin.commands.jar<br />
$WAS_HOME/lib/sibx.aspects.jar<br />
$WAS_HOME/lib/sibx.common.jar<br />
$WAS_HOME/lib/sibx.context.jar<br />
$WAS_HOME/lib/sibx.eets.debug.jar<br />
$WAS_HOME/lib/sibx.mediation.eets.jar<br />
$WAS_HOME/lib/sibx.mediation.engine.jar<br />
$WAS_HOME/lib/sibx.mediation.flowaction.impl.jar<br />
$WAS_HOME/lib/sibx.mediation.flowaction.jar<br />
$WAS_HOME/lib/sibx.mediation.model.jar<br />
$WAS_HOME/lib/sibx.mediation.primitives.jar<br />
$WAS_HOME/lib/sibx-metadata.jar<br />
$WAS_HOME/lib/sibx-profiles.jar<br />
$WAS_HOME/lib/sibx.scax.runtime.jar<br />
$WAS_HOME/lib/sibx-extensionchecker.jar<br />
$WAS_HOME/lib/sibx.admin.commands.wsrr.jar<br />
$WAS_HOME/lib/sibx.admin.runtime.impl.jar<br />
$WAS_HOME/lib/sibx.wccm.config.wsrrresources.jar<br />
$WAS_HOME/lib/sibx.wsrr.proxy.jar<br />
$WAS_HOME/lib/sibx.admin.runtime.jar<br />
$WAS_HOME/lib/sibx.admin.runtime.wsrr.jar<br />
$WAS_HOME/lib/sibx.wccm.config.sibxscaresources.jar<br />
$WAS_HOME/lib/smaputils.jar<br />
$WAS_HOME/lib/smobo.jar<br />
$WAS_HOME/lib/srm_impl.jar<br />
$WAS_HOME/lib/srm.jar<br />
$WAS_HOME/lib/staffsupport.jar<br />
$WAS_HOME/lib/taskapi.jar<br />
$WAS_HOME/lib/taskappinstall.jar<br />
$WAS_HOME/lib/taskcemsop.jar<br />
$WAS_HOME/lib/taskdeployer.jar<br />
$WAS_HOME/lib/taskgenerator.jar<br />
$WAS_HOME/lib/task.jar<br />
$WAS_HOME/lib/taskldap.jar<br />
$WAS_HOME/lib/taskmbean.jar<br />
$WAS_HOME/lib/taskscdlvalidation.jar<br />
$WAS_HOME/lib/tasksystem.jar<br />
$WAS_HOME/lib/taskuserregistry.jar<br />
$WAS_HOME/lib/taskvalidation.jar<br />
$WAS_HOME/lib/tel.jar<br />
$WAS_HOME/lib/vfdcore.jar<br />
$WAS_HOME/lib/WBIAdapterBGRuntime.jar<br />
$WAS_HOME/lib/WBIAdapterRuntime.jar<br />
$WAS_HOME/lib/wbia.jar<br />
$WAS_HOME/lib/wbiBOmigration.jar<br />
$WAS_HOME/lib/wbiBOS.jar<br />
$WAS_HOME/lib/wbiBOValidator.jar<br />
$WAS_HOME/lib/wbiCore.jar<br />
$WAS_HOME/lib/wbicoreupgrade.jar<br />
$WAS_HOME/lib/wbiinstall.jar<br />
$WAS_HOME/lib/wbiMapService.jar<br />
$WAS_HOME/lib/WBIMCBEBuilder.jar<br />
$WAS_HOME/lib/wbi-mediation-core.jar<br />
$WAS_HOME/lib/wbiMonitorCore.jar<br />
$WAS_HOME/lib/wbiMonitorPolicy.jar<br />
$WAS_HOME/lib/wbiPS.jar<br />
$WAS_HOME/lib/wbiRelMgr.jar<br />
$WAS_HOME/lib/wbiRS.jar<br />
$WAS_HOME/lib/wbischedulercommon.jar<br />
$WAS_HOME/lib/wbisession.jar<br />
$WAS_HOME/lib/wbisessionPolicy.jar<br />
$WAS_HOME/lib/wbiupgrade.jar<br />
$WAS_HOME/lib/wbiutil.jar<br />
$WAS_HOME/lib/wbi-validation.jar<br />
$WAS_HOME/lib/wccm_services_bpc.jar<br />
$WAS_HOME/lib/wccm_services_core.jar<br />
$WAS_HOME/lib/wccm_services_wbi.jar<br />
$WAS_HOME/lib/wcdl.jar<br />
$WAS_HOME/lib/wcdl-process.jar<br />
$WAS_HOME/lib/wcdl-service.jar<br />
$WAS_HOME/lib/wcdl-wsif.jar<br />
$WAS_HOME/lib/wpcr.jar<br />
$WAS_HOME/lib/wpsanttasks.jar<br />
$WAS_HOME/lib/WPS_IVTClient.jar<br />
$WAS_HOME/lib/ws-bpc-config-appdeploy.jar<br />
$WAS_HOME/lib/ws-bpc-config-resources.jar<br />
$WAS_HOME/lib/ws-bpc-config-server.jar<br />
$WAS_HOME/lib/ws-config-admin.jar<br />
$WAS_HOME/lib/ws-core-config-server.jar<br />
$WAS_HOME/lib/ws-core-j2eex.jar<br />
$WAS_HOME/lib/ws-wbi-config-cell.jar<br />
$WAS_HOME/lib/ws-wbi-config-resources.jar<br />
$WAS_HOME/lib/ws-wbi-config-server.jar<br />
$WAS_HOME/lib/ws-wbi-j2eex.jar<br />
$WAS_HOME/lib/wtembean.jar</div></div>
<p>If you don&#8217;t delete these jars, you will get the following error message after issuing startServer.sh :</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">ADMU0116I: Tool information is being logged in file<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/opt/WebSphere/AppServer/profiles/wp_profile/logs/server1/startServer.log<br />
ADMU0128I: Starting tool with the wp_profile profile<br />
ADMU3100I: Reading configuration for server: server1<br />
com.ibm.ws.exception.WsException: Error processing plugin for <br />
jar:file:/opt/WebSphere/AppServer/lib/scdl-infoserver.jar!/META-INF/ws-server-model.init <br />
class: com.ibm.wsspi.sca.scdl.infoserver.impl.InfoserverPackageImpl<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.config.ModelMgr.initializeModels(ModelMgr.java:110)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.config.ModelMgr.initialize(ModelMgr.java:49)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.runtime.service.RepositoryImpl.&lt;init&gt;(RepositoryImpl.java:48)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.runtime.service.RepositoryImpl.&lt;init&gt;(RepositoryImpl.java:39)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.runtime.service.RepositoryFactoryImpl.createRepository(RepositoryFactoryImpl.java:32)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.runtime.service.RepositoryFactory.createRepository(RepositoryFactory.java:55)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:393)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:265)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:230)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:108)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:391)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:571)<br />
Caused by: java.lang.reflect.InvocationTargetException<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:391)<br />
&nbsp; &nbsp; &nbsp; &nbsp; at com.ibm.ws.config.ModelMgr.initializeModels(ModelMgr.java:106)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ... 16 more</div></div>
<p>5. It&#8217;s also a good idea to clean out wp_profile/logs/* as there is a cache of jar file paths and their associated classes (the preload cache) that will need to be regenerated after deleting those jars. </p>
<p>6. The only thing the bpe-unconfig task doesn&#8217;t seem to do is delete the BPE shared library. To do this, start server1, and log in to the admin console. Navigate to <strong>Environment -> Shared Libraries</strong> and highlight the BPE library and click delete.</p>
<p>7. You&#8217;re done, start Portal and test everything works! </p>
<p>I also wrote a little script that does some checks and then does all this for you (except for step 6 which I couldn&#8217;t be inspired enough to write a jacl script for). It&#8217;s fairly quick and dirty, but if nothing else it will give you an idea of what has to happen to remove Process Server.  <a href='http://www.torkwrench.com/wp-content/uploads/2011/05/remove-process-server.txt'>You can get it here.</a> Just rename the suffix after you download it. Understandably, WordPress would not yet me save a shell script up to my server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2011/05/06/uninstall-process-server-keep-portal-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get rid of SECJ0055E error message in WebSphere Portal</title>
		<link>http://www.torkwrench.com/2010/10/12/how-to-get-rid-of-secj0055e-error-message-in-websphere-portal/</link>
		<comments>http://www.torkwrench.com/2010/10/12/how-to-get-rid-of-secj0055e-error-message-in-websphere-portal/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 23:44:34 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[Portal 6.0]]></category>
		<category><![CDATA[Portal 6.1]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=266</guid>
		<description><![CDATA[SECJ0055E is a WebSphere error message you might see in your SystemOut.log if you have changed your WAS Admin Password. Here is how to get rid of the message. <a href="http://www.torkwrench.com/2010/10/12/how-to-get-rid-of-secj0055e-error-message-in-websphere-portal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On a Portal 6.0 server I&#8217;m working on, I kept seeing the following error message in my SystemOut.log . It came up every half hour.</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">[10/11/10 12:17:41:439 EST] 0000005b MethodDelegat A &nbsp; SECJ0055E: Authentication failed for wasadmin. The user id or password may have been entered incorrectly or misspelled. &nbsp;The user id may not exist, the account could have expired or disabled. &nbsp;The password may have expired.</div></div>
<p>But my Was Password was correct. I had set it myself and just used it to log into the admin console. </p>
<p>The key is the &#8220;MethodDelegat&#8221; part of the log message. This column is the source of the log message.  &#8220;Delegate method&#8221; made me think of bundled applications that use the RunAsRole . The pznscheduler application runs on a schedule, and sure enough also has a RunAsRole associated with it. </p>
<p>So what has happened, is that the WAS password has changed but the password is also saved with the pznscheduler application, and that saved password hasn&#8217;t been changed. Quite simply, there is a mismatch. This can happen on 6.1 and 7.0, and may also be related to the Portal Admin Password &#8211; it just depends which user is mapped as the RunAsRole . There are more applications that use the RunAsRole for Portal 6.0 .</p>
<p>For 6.0 here are the default out of the box applications you need to worry about when changing the password. LWP_TAI, pznscheduler, LWP_CAI, LWP_Security_Ext.</p>
<p>Of course, you may have other custom applications you need to worry about. The LWP apps use the Portal Admin user by default, so that&#8217;s why I didn&#8217;t have to change them.</p>
<p>For 6.1 you should check pznscheduler and CatalogHandler and for 7.0 the pznscheduler application is the only one you need to worry about. </p>
<p>So to fix it up, if you log into the WAS Admin Console and look for the pznscheduler app in the list of Enterprise Applications, you will see the &#8220;Map RunAs roles to users&#8221; link like in the picture below.</p>
<p><a href="http://www.torkwrench.com/wp-content/uploads/2010/10/runas1.png"><img src="http://www.torkwrench.com/wp-content/uploads/2010/10/runas1.png" alt="" title="runas" width="908" height="683" class="aligncenter size-full wp-image-271" /></a></p>
<p>Then in the next dialog, reenter the new password.</p>
<p><a href="http://www.torkwrench.com/wp-content/uploads/2010/10/runas2.png"><img src="http://www.torkwrench.com/wp-content/uploads/2010/10/runas2.png" alt="" title="runas2" width="728" height="683" class="aligncenter size-full wp-image-269" /></a></p>
<p>This dialog can be a bit funny so you may have to play around with it a bit. Restart Portal and the error should be gone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/10/12/how-to-get-rid-of-secj0055e-error-message-in-websphere-portal/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[tip]]></category>
		<category><![CDATA[Uncategorized]]></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>17</slash:comments>
		</item>
	</channel>
</rss>

