Tuesday, June 28, 2011

DISABLING / ENABLING TASK MANAGER IN WINDOWS XP

The reason why the taskmanager gets disabled is because of the following entries being set to 1 in the Registry.

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr

HK CU – (Current User)

HK LM – (Local Machine) - For All Users.

To Resolve this, we can set this value to “0” & restart the computer.

This will not happen while normal usage of the computer. It may also be a result of a virus attack.

Here are few tips to make sure that your computer is free from viruses:-

1) Do not execute any program on your computer unless & until you know for sure that it is a trust worthy program.

2) Do not allow the external devices (like thumb Drives, External HDD) to autorun. You can disable it by edit the Group Policy. Here is how to do it

a. Click on Start > Run

b. Type gpedit.msc

c. Under User Configuration, Expand Administrative Components

d. Click on System

e. Now double click on “Turn Off Autoplay” on the Right side of the screen & click on “Enabled” & select “All Drives” from the drop down

f. Click “OK”.

Use a Strong Antivirus on your computer. (for Ex : McAfee)

Websphere Portal V6.1 – Database Transfer

A set of Brief steps, included in the process of migrating the Database (DB) from the default light weight DB to Oracle XE DB.


Hi All,

For those of you who are interested in working with the Programming & Development activities, specially with Websphere Application & Portal Server, i hope this will be a useful article.

Following are the steps that are essentially required to successfully migrate the Default Derby DB (- the default Database that comes with the portal server v6.1) to any other DB (- Oracle XE DB, in the following Example)

Step1 : Installation of the Oracle DB

Step 2 : Creating the 6 Users (release, community, customization, feedback, likeminds, jcr)

( Oracle XE DB can be downloaded from http://download.oracle.com/otn/nt/oracle10g/xe/10201/OracleXEUniv.exe location. U must be logged in to download)

Step3 : Modification of the following Files, under wp_profile_root/ConfigEngine/properties Folder.
wkplc_comp.properties
wkplc_dbtype.properties
wkplc_dbtype_ascii.properties


The DB Name, Type, JDBC URL, DbScheme, etc… these information must be specified in the “wkplc_comp.properties” file

Specify the location of ojdbc14.jar file & the DBDriver, in “wkplc_dbtype.properties” file.

(ex: oracle.DbLibrary=C:/IBM/WebSphere/PortalServer/drivers/ojdbc14.jar

oracle.DbDriver=oracle.jdbc.driver.OracleDriver)

Step4 : Creating the tablespace Mapping for the 6 files (folder : wp_profile_root/PortalServer/config/tablespaces).
[This step is Optional.]

Step5 : Validate the Database Driver by executing the command
ConfigEngine.bat validate-database-driver -DTransferDomainList=release,customization,community,jcr,feedback,likeminds

Step6 : Stop All the Servers.

Step8 : Execute the command for the database transfer.
ConfigEngine.bat database-transfer -DTransferDomainList=release,customization,community,jcr,feedback,likeminds [-DuseCustomTablespaceMapping=true] (- this parameter is optional. This parameter should be added if Step 4 is performed.)

Note : More detailed description is available in the following WebPage

http://www-10.lotus.com/ldd/portalwiki.nsf/page.xsp?documentId=302B0A15D71B4AB0852575D60075E05F&action=openDocument


Difference Between document.getElementByID() & document.getElementsByName()

In Javascript, Its common that most of us get confused at times, when it comes to document.getElementByID() & document.getElementsByName().

(Note : Its document.getElementsByName())

The difference between the two is that, document.getElementByID() returns the specified object whereas document.getElementsByName() returns the array of the objects having the same name.


Example is below :