Fernando Karnagi’s Weblog

Import Certificate to WAS

Posted in Portal by fernandokarnagi on July 22, 2008

Import Certificate
1.    Use Mozilla 3.0 and visit the URL with HTTPS
2.    View the certificate; go to Details tab, and Export. Choose X.509 Certificate (DER)
3.    Execute D:\IBM\WebSphere\AppServer\bin\ikeyman.bat
4.    Open ServerTrust file in D:\IBM\WebSphere\AppServer\profiles\Portal\etc\DummyServerTrustFile.jks
5.    Use default password: WebAS
6.    Add certificate that you imported earlier
7.    Restart the WAS

Adding WAS Console Users

Posted in Portal by fernandokarnagi on July 22, 2008

The followings are the steps to add WAS console users:
1.    Prepare the user to be added as WAS console user
2.    Check-out the “wmmWASAdmin.xml” file, using this command: “wpsconfig.bat check-out-wmm-cfg-files-from-dmgr –DWasPassword=<waspassword>”
3.    Edit the “D:\IBM\WebSphere\PortalServer\wmm\wmmWASAdmin.xml”
4.    Add the user entry into it. Make sure the password is encrypted.
a.    Run “wpsconfig.bat –Dpassword=<password> wmm-encrypt to encrypt the password
b.    Copy the result into that new entry
5.    Check-in the “wmmWASAdmin.xml” file, using the command: “wpsconfig.bat check-in-wmm-cfg-files-to-dmgr –DWasPassword=<waspassword>”
6.    Login to WASConsole
7.    Add the user to the Console User
8.    Save and restart the server1 or DMGR and NodeAgent

Rational Performance Tester – Response Time

Posted in Portal, Rational by fernandokarnagi on July 14, 2008

The “Performance Summary” page shows response time for a page (say, Page A) as 6141 ms. But when I saw the page breakdown, and saw the page elements of that page, and I added all the page elements’ response time, I got 1000 ms, which is very different from 6141.

(more…)

How to Configure WMM in Clustered Portal

Posted in Portal by fernandokarnagi on July 14, 2008

Every time we want to configure the WMM (WebSphere Member Manager) in WebSphere Portal, we have to do the followings:

(more…)

How to Add Users to Lotus Connection 2.0

Posted in Portal by fernandokarnagi on July 14, 2008

Lotus Connection 2.0 does not have Web GUI to administer users and groups. These activities must be done through the LC Integrated Solutions Console. This article will explain steps to administer users and groups in Lotus Connection 2.0

(more…)

Developing Swing Rich Client Application Using Spring Rich Client Project (Spring RCP)

Posted in Uncategorized by fernandokarnagi on July 14, 2008

Introduction

Since the booming of the Internet, more and more systems have changed from their first nature as Desktop Applications into Web Applications. Indeed we realize that Web Application promises lots of benefits, such as single point of deployment, thin client, and accessible from anywhere as long as you can access the Internet. Despite that fact, in some cases we still need to make our applications as desktop applications, considering the heavy usage of client, offline mode, and high response time.

(more…)

Implementing AJAX in IBM WCM Portlet

Posted in Portal by fernandokarnagi on July 12, 2008

IBM WebSphere Portal 6 is built with some Ajax enabled features, i.e. drag’n'drop or DND. However we must understand that the portlets that we run on Portal 6 will not be Ajax enabled immediately. We need to adjust our code in such a way that utilizes Ajax capibilities. This article will give you one approach  to achieve Ajax in Web Content Viewer portlet. In addition to that, content caching to improve the portlet performance and inter-portlet communication through Ajax will also be covered.

(more…)

Windows TCP Local Ports

Posted in Java, Portal by fernandokarnagi on July 7, 2008

I just found out that by default the Windows 2003 Server sets the Maximum TCP Ports number to 5000. This is a problem if we have an application which needs to connect to remote system using a particular port number.

See the following URL:

http://msdn.microsoft.com/en-us/library/ms819739.aspx

The number of user-accessible ephemeral ports that can be used as sources for outbound connections can be configured using the MaxUserPorts registry value, also found under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters key. By default, when an application requests any socket from the system to use for an outbound call, a port numbered between 1024 and 5000 is supplied. MaxUserPorts can be used to set the value of the uppermost port that the administrator chooses to allow for outbound connections.

So, bear in mind to increase the MaxUserPorts parameter to allow locally open up to a certain number ,ie. 65000.