Wuhai’s Weblog

August 4, 2009

Completely uninstall WebSphere 6

Filed under: WebSphere — wuhai @ 3:57 am

http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.productization.iisinfsv.install.doc/topics/wsisinst_uninstall_manual_unix.html

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tins_uninstman.html

http://www.schronce.net/lawson/Uninst_WAS_Upd_Inst.txt

I tried to manually uninstall Websphere 6, and reinstall it, but keep getting error when trying to install Update Installer 6.1.0.17:

“Specify a different directory or perform a manual uninstallation on /opt/IBM/WebSphere/UpdateInstaller to remove all packages before reinstalling to the same directory”.

Need to remove the file /opt/.ibm/.nif/.nifregistry (rm -rf /opt/.ibm), then restart the installer ..

January 19, 2009

Encrypt Websphere password for startServer.sh and stopServer.sh

Filed under: WebSphere — wuhai @ 5:56 am

vi /opt/IBM/WebSphere/AppServer/profiles/default/properties/soap.client.props
fill in entries for ‘com.ibm.SOAP.loginUserid’ and ‘com.ibm.SOAP.loginPassword’.

Do the following:
sudo /opt/IBM/WebSphere/AppServer/bin/PropFilePasswordEncoder.sh /opt/IBM/WebSphere/AppServer/profiles/default/properties/soap.client.props com.ibm.SOAP.loginPassword

January 15, 2009

How to reset IBM Websphere Server user password when web console is not up

Filed under: WebSphere — wuhai @ 1:10 am
Tags:

refer to http://robertmaldon.blogspot.com/2006/07/recovering-passwords-from-websphere.html.

In my case, it is WebSphere 6.0.2.27

/opt/IBM/WebSphere/AppServer/profiles/default/config/cells/SOMENAME/security.xml

$ cd /opt/IBM/WebSphere/AppServer/lib/
$ ../java/bin/java -cp securityimpl.jar:iwsorb.jar::ras.jar:wsexception.jar:bootstrap.jar:emf.jar:ffdc.jar com.ibm.ws.security.util.PasswordEncoder newpassword

$ ../java/bin/java -cp securityimpl.jar:iwsorb.jar::ras.jar:wsexception.jar:bootstrap.jar:emf.jar:ffdc.jar com.ibm.ws.security.util.PasswordDecoder {xor}oldencryptpasswordin_securityxml_file

Change security.xml accordingly, and restart WAS.

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.