<?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; portal</title>
	<atom:link href="http://www.torkwrench.com/tag/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>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>DB2 and ConfigEngine : Security mechanism not supported</title>
		<link>http://www.torkwrench.com/2009/06/28/db2-and-configengine-security-mechanism-not-supported/</link>
		<comments>http://www.torkwrench.com/2009/06/28/db2-and-configengine-security-mechanism-not-supported/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 04:19:58 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=112</guid>
		<description><![CDATA[How to fix the error "Connection authorization failure occurred.  Reason: Security mechanism not supported." when using DB2's DATA_ENCRYPT setting and WebSphere Portal's ConfigEngine. <a href="http://www.torkwrench.com/2009/06/28/db2-and-configengine-security-mechanism-not-supported/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I try to post really random solutions here, and this one&#8217;s a doozy ! I was updating a production machine from Portal 6.1.0 to 6.1.0.2. I always run the ConfigEngine tasks validate-standalone-ldap and validate-database-connection before I run any Portal update to make sure that the update won&#8217;t fail from something silly like a missing password. I&#8217;d highly recommend this practice on your Portal systems.<br />
This time when running validate-database-connection, I ran into this error:</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">action-validate-database:<br />
&nbsp; &nbsp; &nbsp;[echo] domain &nbsp; &nbsp; &nbsp; 'jcr'<br />
&nbsp; &nbsp; &nbsp;[echo] DbtDbDriver &nbsp;'com.ibm.db2.jcc.DB2Driver'<br />
&nbsp; &nbsp; &nbsp;[echo] DbtDbLibrary '/home/db2inst1/sqllib/java/db2jcc.jar:/home/db2inst1/sqllib/java/db2jcc_license_cu.jar'<br />
&nbsp; &nbsp; &nbsp;[echo] DbtDbUser &nbsp; &nbsp;'db2inst1'<br />
&nbsp; &nbsp; &nbsp;[echo] DbtDbUrl &nbsp; &nbsp; 'jdbc:db2://localhost:50000/WPS6TCP'<br />
&nbsp; &nbsp; &nbsp;[echo] DbtDbName &nbsp; &nbsp;'WPS6TCP'<br />
&nbsp; &nbsp; &nbsp;[java] [06/28/09 13:47:09.620 EST] Attempting to make connection using: jdbc:db2://localhost:50000/WPS6TCP :: db2inst1 :: PASSWORD_REMOVED<br />
&nbsp; &nbsp; &nbsp;[java] [06/28/09 13:47:09.875 EST] ERROR: Error obtaining connecting for jdbc:db2://localhost:50000/WPS6TCP<br />
&nbsp; &nbsp; &nbsp;[java] com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][201][11237] Connection authorization failure occurred. &nbsp;Reason: Security mechanism not supported.<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.m(b.java:1981)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.a(b.java:1565)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.bb.b(bb.java:3386)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.bb.a(bb.java:332)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.bb.a(bb.java:112)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.j(b.java:1259)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.b(b.java:1132)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.b(b.java:715)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.a(b.java:701)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.a(b.java:378)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.a.b.&lt;init&gt;(b.java:316)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:166)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:572)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:165)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.wps.config.db.Database.init(Database.java:139)<br />
&nbsp; &nbsp; &nbsp;[java] &nbsp; &nbsp; at com.ibm.wps.config.db.validation.ValidationDriver.main(ValidationDriver.java:209)</div></div>
<p>It looked like the problem I&#8217;d seen on Ubuntu, where the database password was hashed with an unsupported scheme, but it couldn&#8217;t be, because this was on a plain old RHEL system. The difference was that I&#8217;d recently changed DB2&#8242;s database manager settings from AUTHENTICATION = SERVER to AUTHENTICATION = DATA_ENCRYPT . DATA_ENCRYPT is good because it will send your sql data <em>and</em> your authentication details encrypted across the wire. </p>
<p>Anyway, to make the validation work on a system where you have enabled the DATA_ENCRYPT parameter, just add securityMechanism=13; to the end of the database url. So mine becomes:</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">jcr.DbUrl=jdbc:db2://localhost:50000/WP6TCP:securityMechanism=13;</div></div>
<p>So how would the system work in any case, if the database url was wrong?!? The answer is clear after delving into the WebSphere admin console a little bit. I&#8217;d configured the custom properties of each Portal datasource post database transfer to work with DATA_ENCRYPT, but not the database urls in wkplc_comp.properties. Here&#8217;s where you would set it.</p>
<p><img src="http://www.torkwrench.com/wp-content/uploads/2009/06/data_encrypt.png" alt="data_encrypt" title="data_encrypt" width="626" height="399" class="aligncenter size-full wp-image-113" /></p>
<p>It is important to emphasize that the wkplc*.properties file in ConfigEngine are templates only, and don&#8217;t affect the running of the system, until you run a ConfigEngine task against them. Only then do their values get copied to the actual Portal server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/06/28/db2-and-configengine-security-mechanism-not-supported/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to solve CWWIM4520E on Portal 6.1</title>
		<link>http://www.torkwrench.com/2009/05/27/how-to-solve-cwwim4520e-on-portal-61/</link>
		<comments>http://www.torkwrench.com/2009/05/27/how-to-solve-cwwim4520e-on-portal-61/#comments</comments>
		<pubDate>Wed, 27 May 2009 06:52:20 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[Portal 6.1]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=82</guid>
		<description><![CDATA[How to solve EJPSG0015E, CWWIM4520E by remapping portal attributes to ldap ones. <a href="http://www.torkwrench.com/2009/05/27/how-to-solve-cwwim4520e-on-portal-61/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may have seen this error if you tried the steps in <a href="http://www.torkwrench.com/2009/04/20/configuring-wcm-email-actions-with-a-local-smtp-server/">&#8220;Configuring WCM email actions with a local SMTP server&#8221;</a>.</p>
<p>When you edit the user&#8217;s properties this nasty error can appear if your Portal server is connected to an LDAP.</p>
<div id="attachment_83" class="wp-caption aligncenter" style="width: 526px"><img class="size-full wp-image-83" title="ldap-error" src="http://www.torkwrench.com/wp-content/uploads/2009/05/ldap-error.png" alt="Error entering mail address into Self Care Portlet" width="516" height="584" /><p class="wp-caption-text">Error entering mail address into Self Care Portlet</p></div>
<p>Btw, this is a 6.1 or Portal.Next beta specific error, it should work fine on 6.0.</p>
<p>Here&#8217;s the full text of the 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">com.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem<br />
com.ibm.websphere.wim.exception.WIMSystemException: <br />
CWWIM4520E The 'javax.naming.directory.SchemaViolationException: <br />
[LDAP: error code 65 - Object Class Violation]; <br />
remaining name 'uid=xyzadmin,ou=People,dc=test'; <br />
resolved object com.sun.jndi.ldap.LdapCtx@65aa65aa' <br />
naming exception occurred during processing.</div></div>
<p>The reason this happens is that the portlet ( the self care portlet in this case)  is wired up to write the email address you entered in the form to a <a href="http://www.ibm.com/developerworks/websphere/techjournal/0701_ilechko/0701_ilechko.html">VMM</a> attribute called ibm-primaryEmail . If your ldap schema doesn&#8217;t have a user attribute in it called ibm-primaryEmail , then you&#8217;re going to get an error when you try and write something to it.</p>
<p>Just to check it out, let&#8217;s look at the LDAP schema on this server (which is IBM Tivoli Directory Server 6.0)  . I&#8217;m using the awesome and free <a href="http://directory.apache.org/studio/">Apache Directory Studio </a>to investigate the LDAP schema here.  Once the connection to the ldap is defined, go LDAP -&gt; Open Schema Browser , and select the tab attribute types.</p>
<div id="attachment_85" class="wp-caption aligncenter" style="width: 506px"><img class="size-full wp-image-85" title="schema1" src="http://www.torkwrench.com/wp-content/uploads/2009/05/schema1.png" alt="TDS ldap schema" width="496" height="616" /><p class="wp-caption-text">TDS ldap schema</p></div>
<p>Ok, so we have an attribute type &#8216;drink, favouriteDrink&#8217; ;o) , but no ibm-primaryEmail . No matter, there is a &#8216;mail&#8217; attribute there. We can make Portal use that to save email related attributes.</p>
<p>Open up wkplc.properties and find the section entitled <strong>LDAP Attribute Configuration</strong> (it&#8217;s near the bottom) . Here&#8217;s my completed one:</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"># Use the following &nbsp;properties to add an attribute mapping between the<br />
# Portal attribute name and the ldap attribute name<br />
<br />
# the name of the attribute in LDAP<br />
standalone.ldap.attributes.mapping.ldapName=mail<br />
<br />
# the name of the attribute in portal<br />
standalone.ldap.attributes.mapping.portalName=ibm-primaryEmail<br />
<br />
# list of entityTypes the mapping should be applied to<br />
standalone.ldap.attributes.mapping.entityTypes=PersonAccount</div></div>
<p>Cool, now run the task :</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">ConfigEngine.sh wp-update-standalone-ldap-attribute-config</div></div>
<p>If you are using a federated ldap setup, edit the corresponding federated properties instead, and then run the following task:</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">ConfigEngine.sh wp-update-federated-ldap-attribute-config</div></div>
<p>. Restart the server and try the form again. It should correctly save the email attribute for the user and you can get on with sending email through Portal. Just for kicks, lets look at what that task did. It just edits the wimconfig file, which defines how VMM interacts . Open wimconfig.xml (wp_profile/config/cells/&lt;cellname&gt;/wim/config/wimconfig.xml) and search for ibm-primaryEmail.</p>
<p>Here is the part that does the mapping:</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;config:attributes name=&quot;mail&quot; propertyName=&quot;ibm-primaryEmail&quot;&gt;<br />
&lt;config:entityTypes&gt;PersonAccount&lt;/config:entityTypes&gt;<br />
&lt;/config:attributes&gt;</div></div>
<p>So the task is really just a (welcome) convenience, all it does it edit the xml file for you. Anyone who has tried to set up multirealms on 6.0 would be grateful for that!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/05/27/how-to-solve-cwwim4520e-on-portal-61/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ERRORCODE=-4214, SQLSTATE=28000 from DB2 on Ubuntu</title>
		<link>http://www.torkwrench.com/2009/05/04/errorcode-4214-sqlstate28000-from-db2-on-ubuntu/</link>
		<comments>http://www.torkwrench.com/2009/05/04/errorcode-4214-sqlstate28000-from-db2-on-ubuntu/#comments</comments>
		<pubDate>Mon, 04 May 2009 06:36:46 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=59</guid>
		<description><![CDATA[Connection authorization failure occurred.  Reason: Local security service non-retryable error. ERRORCODE=-4214, SQLSTATE=28000 is a common error when using DB2 on newer versions of Ubuntu. This post describes how to fix this problem. <a href="http://www.torkwrench.com/2009/05/04/errorcode-4214-sqlstate28000-from-db2-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Updated 28th October, 2010<strong><br />
Newer versions of DB2 address this problem. Read about it <a href="http://www.torkwrench.com/2010/10/28/followup-errorcode-4214-sqlstate28000-from-db2/">here</a>.</p>
<p></strong></p>
<p>Two posts in one day, wow. It&#8217;s all part of our special series: how to install and configure WebSphere Portal 6.1 on Ubuntu. This isn&#8217;t a Portal only issue, rather it&#8217;s a DB2+Ubuntu issue.</p>
<p>After getting Portal installed on this Ubuntu machine, you&#8217;re probably going to want to transfer the default Derby database to something more robust like DB2. So you edit wkplc_comp.properties and wkplc_dbtype.properties, and start to 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">./ConfigEngine.sh create-database</div></div>
<p>And you get this in the ConfigTrace.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">&nbsp; [sqlproc] action: execute-sql-scripts<br />
&nbsp; [sqlproc] _________________________________________________________<br />
&nbsp; [sqlproc] Database autocommit parameter true<br />
&nbsp; [sqlproc] No delimiter has been specified, using [;] to separate the SQL statements.<br />
&nbsp; [sqlproc] Reading file /opt/WebSphere/wp_profile/ConfigEngine/config/database/work/db2/createBufferpools.run<br />
&nbsp; [sqlproc] Could not connect to database<br />
&nbsp; [sqlproc] com.ibm.db2.jcc.b.ao: [jcc][t4][2010][11246][3.53.70] Connection authorization failure occurred. &nbsp;Reason: Local security service non-retryable error. ERRORCODE=-4214, SQLSTATE=28000<br />
BUILD FAILED</div></div>
<p>Hmm, ok, I thought db2 was working. A good habit when debugging these things is to take the piece that ConfigEngine is trying run and run it independently. So right now I want ConfigEngine to create an empty db2 database that I can run database-transfer against. Try 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">su - db2inst1<br />
db2 create db WP610 using codeset UTF8 territory au pagesize 8192</div></div>
<p>And that comes back successfully. However, that command sequence is not an accurate representation of what ConfigEngine is actually doing. We&#8217;re running ConfigEngine as root. But the ConfigEngine script is using the &#8220;user db2inst1 using
<password>&#8221; modifiers on the end of the database create command. So how about 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">db2 create db WP610 using codeset UTF8 territory au pagesize 8192 user db2inst1 using password<br />
SQL30082N &nbsp;Security processing failed with reason &quot;15&quot; (&quot;PROCESSING FAILURE&quot;). <br />
SQLSTATE=08001</div></div>
<p>Ah ha, a failure. In the first example, DB2 already trusts the user that we&#8217;re logged is as (db2inst1), so it doesn&#8217;t need to go back to the operating system and authenticate it. In the second example, we are logged in as root, so db2 needs to go to the operating system and authenticate the user. Ubuntu uses the tried and true passwd + shadow file combo to store usernames and their associated passwords. The trouble is since Ubuntu 8.10, it uses the newer and more secure SHA512 hashing function to store the passwords, and DB2 doesn&#8217;t understand SHA512. So the workaround is to change the hashing function in use on the machine, reset the password and then we should be able to use the &#8220;user db2inst1 using
<password>&#8221; type commands again.</p>
<p>Open /etc/pam.d/common-password in a text editor and change this line:</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">password &nbsp; &nbsp; &nbsp; &nbsp;[success=1 default=ignore] &nbsp; &nbsp; &nbsp;pam_unix.so obscure&lt;strong&gt; sha512&lt;/strong&gt;</div></div>
<p>to</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">password &nbsp; &nbsp; &nbsp; &nbsp;[success=1 default=ignore] &nbsp; &nbsp; &nbsp;pam_unix.so obscure &lt;strong&gt;md5&lt;/strong&gt;</div></div>
<p>Then run passwd db2inst1 and put the same or a new password. If you look at the shadow file , the hash will change from something like this:<br />
SHA512</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">db2inst1:$6$IKe6x6Zq$bSajPzHNIy7jQrPXbI8CrPRlpDYUVm8.A2BhNCxes5cY6LWoh7hQr14XW4agBWbW1ywKkSSDSLFV.NXCr2/1z0:14368:0:99999:7:::</div></div>
<p>MD5</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">db2inst1:$1$FF0YDtZn$gemqCKt4Ml375mhiBXk2U/:14368:0:99999:7:::</div></div>
<p>(The unencrypted password here is &#8216;password&#8217; &#8211; don&#8217;t get too excited!) .</p>
<p>Now try running <strong>ConfigEngine.sh create-database</strong> again. It should work. Make sure you change the system /etc/pam.d/common-password back to sha512, as you want the rest of your users to use this hashing function as it is more secure than md5sum . Hopefully DB2 should address this in a fixpack.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/05/04/errorcode-4214-sqlstate28000-from-db2-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Checking the version of the Oracle JDBC driver jar</title>
		<link>http://www.torkwrench.com/2009/03/20/checking-the-version-of-the-oracle-jdbc-driver-jar/</link>
		<comments>http://www.torkwrench.com/2009/03/20/checking-the-version-of-the-oracle-jdbc-driver-jar/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 08:38:47 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=22</guid>
		<description><![CDATA[How to check if you have the right version of the Oracle driver installed to use with WebSphere Portal. Two methods of checking this are discussed. <a href="http://www.torkwrench.com/2009/03/20/checking-the-version-of-the-oracle-jdbc-driver-jar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a problem now where we need to use the Oracle 10g driver against a 9i database.<a href="http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wpf/inst_req60.html?resultof=%22%6f%72%61%63%6c%65%22%20%22%6f%72%61%63%6c%22%20%22%31%30%22%20%22%64%72%69%76%65%72%22%20"> There&#8217;s a note in the infocenter about it</a> .But how to do you check which version of the driver you are using ? The filename of the driver is the same between each version of Oracle (ojdbc14.jar), so that&#8217;s not going to do it.</p>
<p>To check it out, unzip the driver and read the META-INF/MANIFEST.MF file. Here&#8217;s mine:</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">Manifest-Version: 1.0<br />
Specification-Title:    Oracle JDBC driver classes for use with JDK14<br />
Sealed: true<br />
Created-By: 1.4.2_08 (Sun Microsystems Inc.)<br />
Implementation-Title:   ojdbc14.jar<br />
Specification-Vendor:   Oracle Corporation<br />
Specification-Version:  Oracle JDBC Driver version - &quot;10.2.0.3.0&quot;<br />
Implementation-Version: Oracle JDBC Driver version - &quot;10.2.0.3.0&quot;<br />
Implementation-Vendor:  Oracle Corporation<br />
Implementation-Time:    Fri Sep 29 09:43:24 2006</div></div>
<p>Also Portal (and regular ol&#8217; Appserver) will tell you as they initialize in the SystemOut.log, just try this trusty command :</p>
<p><strong>cat SystemOut.log | grep -A 2 &#8220;Oracle JDBC&#8221;</strong></p>
<p>and you get back something like :</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">[3/20/09 2:44:21:570 EDT] 0000001f InternalOracl I   DSRA8205I: JDBC driver name  : Oracle JDBC driver<br />
[3/20/09 2:44:21:572 EDT] 0000001f InternalOracl I   DSRA8206I: JDBC driver version  : 9.2.0.8.0<br />
[3/20/09 2:44:21:575 EDT] 0000001f InternalOracl I   DSRA8212I: DataStoreHelper name is: com.ibm.websphere.rsadapter.OracleDataStoreHelper@39136937.</div></div>
<p>What! 9.2.0.8! Looks like I&#8217;ve got the wrong one on there. <img src='http://www.torkwrench.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2009/03/20/checking-the-version-of-the-oracle-jdbc-driver-jar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

