RSS feed [root] /



title search:


Wed Jun 09 10:03:42 AEST 2021

(google search) (amazon search)
download zip of files only

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design


When XP says "go for the simplest possible design", what does that mean?
1. Simplest possible design to IMPLEMENT?
1. Simplest possible design to UNDERSTAND LATER?

An thread discuss how far should we go. Seen most people agree what should be done is "Simplest possible design to TEST and IMPLEMENT"

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


java toolbox FAQ -

bible of AS400 -[..]4r5/ic2924/index.htm?info/rzahgictoc.htm
CRTLIB - create library
CRTSRCPF - Create Source Physical File
WRKMBRPDM - work with members using PDM
STRACMS - SCM ( aldon lifecycle manager for iseries )
QSQLSRC - Source File for create table
WRKSPLF - check Job status
STRJRNPF - start Journal a change of a file to another -[..]r2/ic2928/index.htm?info/cl/strjrnpf.htm
DSPFFD, UFFD - check table schema, Display File Field Description (DSPFFD)
WRKOBJ - find object under a library, e.g. : wrkobj qgpl/rst* *file
CHGCURDIR - ction or command e.g. : CHGCURDIR dir('$DEVKW3')
DSPFD - show journal status of the file
SBMBENJOB - submit ben job
STRISDB - start debugger, e.g. : CALL PGM(*LIBL/CLRS_LST) PARM( '/HOME/ISCY1/' 'RSTLSTTAK' '1.6')
edtlibl - edit library list

common library for sql - $PRDOBJBEN , $REFDTAREP
common library for script - $PRDSRCBEN/QTXTSRC


F23=more options (shift + F11 = F23)
F24=More keys
F4 = drop down kind of prompt

6:57:06 PM: Carfield W Yim/: hi... just get distracted by a call... now I created a member.... then I edit it and put the create table scripts there. However, it only allow me to put 18 lines, is that normal?
6:57:52 PM: Srikanth X Krishnaswamy/: type in the letter 'I' followed by 10 in the first column- inserts 10 lines
7:15:26 PM: Srikanth X Krishnaswamy/: Nope; I10 on the line that says 0018.00; start from the first 0

Global search

3:44:08 PM: Srikanth X Krishnaswamy/: wrkmbrpdm
3:44:29 PM: Srikanth X Krishnaswamy/: use the right source ($vvv/bbb) for example
3:44:57 PM: Srikanth X Krishnaswamy/: Option 25, hit F13 to replicate this option on all source members
3:47:36 PM: Carfield W Yim/: and how to run F13?
3:50:56 PM: Srikanth X Krishnaswamy/: shirt+F1

5:42:01 PM: Srikanth X Krishnaswamy/: Connection > Configure > 27x132 columns

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq




(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


cleartool mkview -tag
//create new view

cleartool setview
// set to old view

( use "xclearcase" to change label "" to "" )
( exit current view )

newgrp hceccusr
// change to suitable group if needed

cleartool setview
// set to new view

cleartool edcs
// update spec as follow : ( figure the collect one at difference environment )
[ element * CHECKEDOUT
element * .../
element * .../ -mkbranch
#element * .../ -mkbranch
element * .../ -mkbranch
element * .../hk_trunk/LATEST -mkbranch
element * .../hk_gold/LATEST -mkbranch hk_trunk
element * /main/LATEST -mkbranch hk_gold]

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


IE don't press cookies to iframe, thus some webapplication fail in this case. To fix that we need to disable cookie but use URL rewrite. In order to do that we need to config webcontainer differencely:

Tomcat -[..]/disabling-session-cookie-in-tomcat.html
Jetty -[..]6/11/disabling_session_cookies_in_jetty/
Resin -[..]com/thread.jspa?threadID=731779&tstart=0

By the way, if you get "java.lang.OutOfMemoryError: PermGen space", may be this blog can help -[..]try=preventing_java_s_java_lang#comments

Adding load balancing with just mod_proxy and mod_rewrite -

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


If you have problem of connecting to CVS through ssh and non-standard port, please refer to

cvs -d co MyProject
But this results in the following error:
CVSROOT port specification is only valid for gserver, kserver, and pserver connection methods.
According to this posting
it seems, that it is necessary to define an ssh-Alias by adding the following lines to ~/.ssh/config:
Host SomeCvsServer
Port 12345
Then the following command will be rewarded with success:
cvs -d :ext:michi@SomeCvsServer:/opt/cvs co MyProject

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Browsing the signature to get the idea of the code -

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Compare of Oracle Coherence and GigaSpace XAP -[..]03&asrc=EM_NLN_7777299&uid=703565#310060

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


How to due with small files -


RealTime -[..]or-the-Masses--tt17581830.html#a17581830

Difference between joining and reducing -

Multiple artifact sets and privacy -

Scaling Hadoop to 4000 nodes at Yahoo! -[..]8/09/scaling_hadoop_to_4000_nodes_a.html

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Coding in Kinect -[..]om/tutorials/kinect-tutorial-hacking-101

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Change log level dynamically -[..]ng-log4j-logging-levels-dynamically.aspx

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


1. MustGather: Read first for WebSphere MQ
MustGather documents aid in problem determination and save time resolving WebSphere MQ Problem Management Records (PMRs).[..]ss?acss=wmq032008&rs=171&uid=swg21229861

2. Important WebSphere MQ V6.0 upgrade information
The following is a list of WebSphere MQ V6.0 upgrade related technotes and publications. The WebSphere MQ Quick Beginnings and the Program Directory for z/OS® should be your primary source of information. However, there are many things to consider.[..]ss?acss=wmq032008&rs=171&uid=swg21261359

3. How to uninstall SupportPacs™ MA0C / MA0R / MA88 / MACS when upgrading to MQ V6.0
The WebSphere MQ V6.0 Quick Beginnings manual says that it is necessary to remove four SupportPacs: MA0C, MA0R, MA88, and MACS. How can I tell if these are installed on my machine, and If they are, how do I remove them?[..]ss?acss=wmq032008&rs=171&uid=swg21293352

4. How to write trace files to a user specified path for MQ V6.0 on Windows
You want to specify the drive and directory where the trace files on a Windows server running WebSphere MQ 6.0 will be written.[..]ss?acss=wmq032008&rs=171&uid=swg21284664

5. WebSphere MQ Family - Performance Reports
Performance reports for the WebSphere MQ family.[..]ss?acss=wmq032008&rs=171&uid=swg27007150

6. Message persistence FAQs
Frequently asked questions regarding WebSphere MQ handling of persistent and nonpersistent messages.[..]ss?acss=wmq032008&rs=171&uid=swg21231054

7. MQ documentation by component
Search all available documentation by WebSphere MQ components.[..]ss?acss=wmq032008&rs=171&uid=swg21284995

8. New and enhanced SupportPacs
WebSphere MQ Family SupportPacs provide you with a wide range of downloads (code) and documentation that complements the WebSphere MQ family of products. The majority of SupportPacs are available at no charge to users.[..]ss?acss=wmq032008&rs=171&uid=swg27007205

a. MO03: WebSphere MQ Queue Load / Unload Utility
This SupportPac provides a simple command line application for loading and unloading messages off queues.[..]s?acss=wmq032008&rs=171&uid=swg24016142_

b. MA0Y: IBM WebSphere MQ Bridge for HTTP
This SupportPac enables WebSphere MQ to be accessed using any HTTP client.[..]ss?acss=wmq032008&rs=171&uid=swg24016142

c. MO74: WebSphere MQ - Windows PowerShell Library
This SupportPac contains a library which adds WebSphere MQ administration capabilities to Windows PowerShell.[..]ss?acss=wmq032008&rs=171&uid=swg24017698

d. MQC6: WebSphere MQ V6.0 Clients
This SupportPac contains all the IBM WebSphere MQ V6.0 client components.[..]ss?acss=wmq032008&rs=171&uid=swg24009961

e. MA94: WebSphere MQ HTTP Native Listener
The WebSphere MQ HTTP Native listener enables WebSphere MQ to be accessed using any HTTP client.[..]ss?acss=wmq032008&rs=171&uid=swg24017593

f. MS6B: WebSphere MQ Connection Management Utility
This SupportPac provides a korn shell script to list and/or kill all connections to a queue manager by queue, channel, or IP address.[..]ss?acss=wmq032008&rs=171&uid=swg24017810

9. IBM strives to provide you with the best possible experience in finding, purchasing, installing, using and servicing our middleware products.
Your input is vital to the effort to serve you. Please take the time to complete the consumability survey at the following link. Your input does make a difference.
The survey is at
Please use the invitation code YESICARE.

Planned maintenance

1. Recommended fixes for WebSphere MQ
This provides links to the latest available maintenance for the WebSphere MQ family products.[..]ss?acss=wmq032008&rs=171&uid=swg27006037

2. Fixes by version for WebSphere MQ
Fixes by version for WebSphere MQ summarizes the maintenance organized by Version, Release and Modification (VRM) and operating system.[..]ss?acss=wmq032008&rs=171&uid=swg21254675

3. Detailed system requirements
Identifies the supported software options by operating system for the WebSphere MQ products.[..]ss?acss=wmq032008&rs=171&uid=swg27006467[..]rs=171&uid=swg24014128&acss=wmq032007_4. Review the list of HIPER and PE APARs for WebSphere MQ for z/OS
Highly pervasive (HIPER) or programming error (PE) APAR lists for WebSphere MQ for z/OS V6.0.[..]?acss=wmq032008&rs=171&uid=swg21201670#1

5. Fix Pack for WebSphere MQ V6.0 is available
Fix Pack for WebSphere MQ V6.0 is now available.[..]ss?acss=wmq032008&rs=171&uid=swg21294625


1. WebSphere MQ Library
The WebSphere MQ library contains links to the Information Center, product manuals, and other helpful learning material.[..]/integration/wmq/library/?acss=wmq032008

2. WebSphere MQ Training and Certification
This Web site provides a comprehensive list of the formal education offerings for the WebSphere brand products.[..]ss?acss=wmq032008&rs=171&uid=swg21211519

3. WebSphere MQ certification prep series
This series of five tutorials can help you get ready for the IBM certification tests.[..]escert/wes-cert996.html?ca=dnb-wmq032008

4. Enabling SCA-MQ integration via MQ bindings
The MQ Bindings feature in WebSphere Integration Developer V6.0.2, simplifies interoperability between SCA and MQ applications, and makes it easier to read and write native MQ messages to and from SCA applications.[..]des/0802_fernandes.html?ca=dnb-wmq032008

5. Cataloging WebSphere MQ Applications in WSDL for Reuse in SOA
This Redpaper discusses the WebSphere MQ Service Definition Specification and the WebSphere MQ IRI Specification.[..]tracts/REDP4350.html?Open&acss=wmq032008

6. Performing health checks for WebSphere Message Broker and WebSphere MQ
This article shows you how to how to perform a health check on WebSphere Message Broker and WebSphere MQ, including log check, message queue check, flow check, and database check.[..]/0801_cui/0801_cui.html?ca=dnb-wmq032008

7. Configuring and tuning WebSphere MQ for performance on Windows and UNIX®
This article shows you how to optimize message processing performance for a WebSphere MQ queue manager running on Windows, UNIX, or Linux®.[..]712_dunn/0712_dunn.html?ca=dnb-wmq032008

8. Technical Exchange Webcasts
Take full advantage of your product. Join us as technical experts share their knowledge and then answer your questions. Visit this site often to see upcoming topics and to review previously recorded webcasts.[..]re/support/supp_tech.html?acss=wmq032008

a. Webcast replay: Migration to WebSphere MQ V6 on Distributed Platforms
Listen to the replay of the technical exchange titled Migration to WebSphere MQ v6 on Distributed Platforms. Greg Bowman, Jack White and Kenneth Langhorne, subject matter experts, discuss procedures, considerations and guidelines for migrating to WebSphere MQ version 6 on the distributed platforms (AIX®, HP-UX, iSeries®, Linux, Solaris and Windows).[..]ss?acss=wmq032008&rs=171&uid=swg27010232

b. Webcast replay: Problem Determination of some common WMQ scenarios on z/OS
Listen to the replay of the technical exchange titled Problem Determination of some common WebSphere MQ scenarios on z/OS. Beverly Kingsley, a subject matter expert, discusses a variety of performance issues; some typical channel problems; methods for diagnosing SSL issues, and the types of documentation you need to escalate the problem to Level 2.[..]ss?acss=wmq032008&rs=171&uid=swg27010914

General self-help resources

Here are some other ways that you can access IBM WebSphere MQ self-help support information on the Web:

1. Support Page
Primary support resources for WebSphere MQ.[..]/integration/wmq/support/?acss=wmq032008

2. IBM Software Support Online Resources
Find out how online software support tools and resources can save you time, keep you informed, provide training, and help streamline your support experience! For example, learn how to use the Electronic Service Request (ESR) tool to manage PMRs online.[..]ebsphere/support/d2w.html?acss=wmq032008

3. IBM Support Assistant (ISA) V3
Download the IBM Support Assistant (ISA) Version 3, a free cross-product client application that increases your capacity for self-help.

4. IBM Software Support Toolbar
This a stand-alone application that allows you to easily search for all types of software support content plus organizes the major areas of not only Software support, but the individual brand support sites into a concise application.

5. IBM Software Support RSS Product feeds
These RSS feeds allow you to stay up-to-date with the latest content created for specific IBM Software products.[..]?rss=s171&ca=rsswebsphere&acss=wmq032008

6. IBM Software Support Lifecycle page
The IBM Software Support Lifecycle policy specifies the length of time support will be available for IBM software.

7. Take the guesswork out of finding support assistance
Information about free tools and resources to assist in problem management.[..]ss?acss=wmq032008&rs=171&uid=swg21260329

1. How To Uninstall WebSphere MQ:[..]opic=/

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


decimal problem -[..]hneller?entry=mysql_5_0_decimals_queried

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Use putty as library -

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Some info of solaris threading

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


If you do not have permission to create RMI client, like setting RMISecurityManager, instead of throwing SecurityException, RmiProxyFactoryBean of spring will just return NULL to client... -

And there is an issue before spring 2.0rc4, The toString() method of bean will be called after bean created (finished constructor call) and before setting properties (call setter to press beans to properties). If any methods of those properties called at the toString() method, you will get NullPointerException -

Blog about session scope -

refresh config without restarting -

Possible multi-thread issue -[..]te/archive/2006/09/are_your_beans_1.html , basically this just mentioned the fact that most spring base injection is through setter, which make the object mutable, and you need to take care about that

spring mvc web framework tutorial -[..]-spring-aspect-oriented-programming-aop/

testing with spring -[..]akes-unit-testing-easy-with-annotations/

if need to use hibernate with jdbc directly, need to flush hibernate session first -[..]rnate-session-includes-tse-example-code/

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq

sun application server

If you try to connect to jndi lookup service and get the connection refuse message to localhost:3700 , but you really like to try connect to host , you need to set java system properties like follow

-Dorg.omg.CORBA.ORBInitialHost= -Dorg.omg.CORBA.ORBInitialPort=12074

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq

sun web server

If you have multiple start-* file under server_root/https-admserv directory, sun web server will pick the wrong one and assume it is start-jvm script

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


A benchmark comparing TT and oracle -[..]ums/thread.jspa?threadID=549039&tstart=0

Comparing Coherence and TimesTen -[..]racle-database-and-its-relationship.html

My questions -

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Performance tuning -

Speed up ext4 -[..]to-improve-ext4-file-system-performance/

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/hack+and+faq


Use VBoxManage for all the tasks

$ /usr/bin/VBoxManage createvm --name Debian5 –register //The VM created is an XML file located in your home directory: ~/.VirtualBox/Machines/Debian5/Debian5.xml.

$ /usr/bin/VBoxManage createhd --filename Debian5.vdi --size 4000 --variant Fixed // created under ~/.VirtualBox/HardDisks/Debian.vdi 4GB (4,000MB) in size and with fixed size (non-expanding).

$ /usr/bin/VBoxManage storagectl Debian5 --name "IDE Controller" --add ide --controller PIIX4

$ /usr/bin/VBoxManage storageattach Debian5 --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium Debian5.vdi

$ /usr/bin/VBoxManage storageattach Debian5 --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /ISO/debian-40r3-i386-netinst.iso

$ /usr/bin/VBoxManage modifyvm Debian5 --nic1 bridged --cableconnected1 on --bridgeadapter1 eth0

$ /usr/bin/VBoxManage startvm Debian5

(google search) (amazon search)

Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

work with legace

Simple ways to improve legacy code -

One approach to work with legacy code, instead of phrase by phrase or part by part, identify and improve the domain part first -[..]-efforts-to-replace-legacy-systems-fail/

(google search) (amazon search)