Monday, September 15, 2008

Debug mode in WebSphere Application Server

Using a browser, open the administration screen of the remote WebSphere system. Expand the Servers node and click on Application Servers. Click on the appropriate server's name to open the application server's properties screen. Click on the Debugging Service link. Switch on the Startup check box. Note that, by default, the service uses port 7777 to receive a connection from the debugger client (WSAD). You can change it if you want. Click Apply and then save the configuration.
Enabling the debugging service also configures the server to start in debug mode. You don't need to set that separately from the Process Definition > Java Virtual Machine page.
Stop the application server if it is running. Start it. This time the server will start in debug mode and will take a little longer to start.
Ending a Debug Session:
At the end of the debug session, right click on the server in the Servers view and select Disconnect. You probably want to restart the application server in non-debug mode. To do this, disable the debug service for the application server and restart the server. Once again, there is no need to separately disable the debug mode for the JVM. Disabling automatic startup of the debug service will do that for you.

Monday, May 5, 2008

Renaming Recycle Bin

To change the name of the Recycle Bin desktop icon, open Regedit and go to:HKEY_CLASSES_ROOT/CLSID/{645FF040-5081-101B-9F08-00AA002F954E}
and change the name "Waste Bin" (Type without any quotes).