Disable built-in ZIP Support on Windows XP
Posted by jacomac in Uncategorized on December 10th, 2009
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 »
Linux cheat sheet
Posted by jacomac in Uncategorized on November 3rd, 2009
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
- type
screenand submit - trigger your longer-running process
- detach with the sequence
ctrl + aandctrl + d - logout
- later, when logging in again, you can reattach to that console session with:
screen -r
for the latter, see also this tip.
Setting up SSL for http client with IBM JSSE
Posted by jacomac in Uncategorized on October 30th, 2009
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.sslkey store declarations and more, you can simply set one single system propertycom.ibm.SSL.ConfigURLto point to thessl.client.propsin the%WSADMIN_HOME%/propertiesfolder
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…
Accessing Portlet MBeans on WAS 6.1+
Posted by jacomac in Uncategorized on May 14th, 2009
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
AdminClientusing 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
AdminServiceFactoryas described e.g. in the info center
Recent Comments