Disable built-in ZIP Support on Windows XP

Windows XP has built-in ZIP support to manage and explore ZIP archives, which can slow down folder browsing considerably. It is possible to disable the built-in ZIP support in Windows XP. Here is how to do it:
Read the rest of this entry »

No Comments

Linux cheat sheet

Empty an existing file, keeping the last 5 lines (see also here):
tail -5 my.log > my.log

Trigger a process and let it run while you’re logging out again (see also here):
nohup <command> &
or, for being able to reattach later, start with

  1. type screen and submit
  2. trigger your longer-running process
  3. detach with the sequence ctrl + a and ctrl + d
  4. logout
  5. later, when logging in again, you can reattach to that console session with:
    screen -r

for the latter, see also this tip.

No Comments

Setting up SSL for http client with IBM JSSE

If you want to set up a java http client to use SSL and you’re using an IBM JDK / WebSphere and have a wsadmin installation on the machine where the http client is running:

  • Here’s an easy solution for setting up client-side SSL. Instead of doing the usual javax.net.ssl key store declarations and more, you can simply set one single system property com.ibm.SSL.ConfigURL to point to the ssl.client.props in the %WSADMIN_HOME%/properties folder

I have learned about this in another forum post - and after that I also found the corresponding official documentation.

It worked fine in my case and I find it an elegant solution…

, , ,

No Comments

Accessing Portlet MBeans on WAS 6.1+

In the developerworks article series on exploiting the portlet container in the websphere application server, there is something I want to comment about. It is about the section on accessing meta information about portlets via MBeans:

  • In the code sample, the MBeans are retrieved via an AdminClient using a soap connection, whereas
  • if the portlets you want to query about reside on the same server, you can access them more directly via the AdminServiceFactory as described e.g. in the info center


, , ,

No Comments