RSS feed [root] /




login:

password:

title search:




 


Wed Jun 09 10:03:42 AEST 2021



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

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

TOOLS.tar



(google search) (amazon search)



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

YAGNI


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"

http://groups.yahoo.com/group/extremeprogramming/message/90466

(google search) (amazon search)


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

as400


java toolbox FAQ - http://www-03.ibm.com/systems/i/software/toolbox/faq.html

bible of AS400 - http://www.redbooks.ibm.com[..]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 - http://publib.boulder.ibm.com[..]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
DSPSYSVAL SYSVAL(QTIME)
WRKJOB Q_JREIS
STRISDB - start debugger, e.g. : CALL PGM(*LIBL/CLRS_LST) PARM( '/HOME/ISCY1/' 'RSTLSTTAK' '1.6')
edtlibl - edit library list

common library for code - $PRDSRCBEN/QCSRC $PRDSRCBEN/H $PRDSRCBEN/QCBLLESRC $PRDSRCBEN/QCBLSRC $PRDSRCBEN/QDDSSRC
common library for sql - $PRDOBJBEN , $REFDTAREP
common library for script - $PRDSRCBEN/QTXTSRC

$PRDSRCBEN/QCSRC
COSOMSVAL

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

citrix



[WFClient]
CPMAllowed=Off
VSLAllowed=Off
UpdatesAllowed=Off
OutBufCountHost=118
OutBufCountHost2=118
OutBufCountClient=118
OutBufCountClient2=118
OutBufLength=512
PersistentCacheEnabled=On
MouseTimer=200
KeyboardTimer=50


[*APP*}
MaximumCompression=On
Compress=On
ZLMouseMode=1
ZLKeyBoardMode=1

http://www.vmwareinfo.com[..]ix-xendesktop-ica-optimizations-and.html

(google search) (amazon search)


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

clearcase


cleartool mkview -tag 0.0.0.2-taiwan-carfield-view 0.0.0.2-taiwan-carfield-view
//create new view

cleartool setview 0.0.0.1-tw-dev
// set to old view

( use "xclearcase" to change label "0.0.0.1-taiwan-carfield-view" to "0.0.0.2-taiwan-carfield-view" )
( exit current view )

newgrp hceccusr
// change to suitable group if needed

cleartool setview 0.0.0.2-taiwan-carfield-view
// set to new view

cleartool edcs
// update spec as follow : ( figure the collect one at difference environment )
[ element * CHECKEDOUT
element * .../0.0.0.1-tw-dev-carfield/LATEST
element * .../0.0.0.1-tw-dev/LATEST -mkbranch 0.0.0.1-tw-dev-carfield
#element * .../0.0.0.1-asiaex/LATEST -mkbranch 0.0.0.1-tw-dev
element * .../0.0.0.1-asiaex/USR_NEO_ASIAEX_CODEMERGE_20070818 -mkbranch 0.0.0.1-tw-dev
element * .../hk_trunk/LATEST -mkbranch 0.0.0.1-asiaex
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

container


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 - http://jf.omnis.ch[..]/disabling-session-cookie-in-tomcat.html
Jetty - http://www.mojavelinux.com[..]6/11/disabling_session_cookies_in_jetty/
Resin - http://bbs.chinajavaworld.com[..]com/thread.jspa?threadID=731779&tstart=0


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


Adding load balancing with just mod_proxy and mod_rewrite - http://wiki.apache.org/cocoon/LoadBalancingWithModProxy

(google search) (amazon search)


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

cvs


If you have problem of connecting to CVS through ssh and non-standard port, please refer to http://michi.knallgrau.at/blog/month?date=200511

cvs -d :ext:michi@cvs.some.server.com:12345/opt/cvs 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
-> http://lists.gnu.org/archive/html/info-cvs/2004-10/msg00291.html
it seems, that it is necessary to define an ssh-Alias by adding the following lines to ~/.ssh/config:
Host SomeCvsServer
HostKeyAlias cvs.some.server.com
Hostname cvs.some.server.com
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

general


Browsing the signature to get the idea of the code - http://c2.com/doc/SignatureSurvey/

(google search) (amazon search)


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

gigaspaces


Compare of Oracle Coherence and GigaSpace XAP - http://www.theserverside.com[..]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

hadoop


How to due with small files - http://www.cloudera.com/blog/2009/02/02/the-small-files-problem/

HDFS Vs KFS - http://www.nabble.com/HDFS-Vs-KFS-tt19089077.html

RealTime - http://www.nabble.com/realtime-hadoop-tt18078957.html http://www.nabble.com[..]or-the-Masses--tt17581830.html#a17581830

Difference between joining and reducing - http://markmail.org/message/2hvv2ax6h7k5svxo

Multiple artifact sets and privacy - http://markmail.org/message/kklzfkfbh7jegpmp

Scaling Hadoop to 4000 nodes at Yahoo! - http://developer.yahoo.net[..]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

kinect


Coding in Kinect - http://www.switchonthecode.com[..]om/tutorials/kinect-tutorial-hacking-101

(google search) (amazon search)


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

log4j


Change log level dynamically - http://blogs.averconsulting.com[..]ng-log4j-logging-levels-dynamically.aspx

(google search) (amazon search)


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

mq



1. MustGather: Read first for WebSphere MQ
MustGather documents aid in problem determination and save time resolving WebSphere MQ Problem Management Records (PMRs).
http://www.ibm.com[..]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.
http://www.ibm.com[..]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?
http://www.ibm.com[..]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.
http://www.ibm.com[..]ss?acss=wmq032008&rs=171&uid=swg21284664

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

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

7. MQ documentation by component
Search all available documentation by WebSphere MQ components.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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 http://www.ibm.com/software/ucd/consumability/?acss=wmq032008
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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]ss?acss=wmq032008&rs=171&uid=swg21254675

3. Detailed system requirements
Identifies the supported software options by operating system for the WebSphere MQ products.
http://www.ibm.com[..]ss?acss=wmq032008&rs=171&uid=swg27006467

http://www.ibm.com[..]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.
http://www.ibm.com[..]?acss=wmq032008&rs=171&uid=swg21201670#1

5. Fix Pack 6.0.2.3 for WebSphere MQ V6.0 is available
Fix Pack 6.0.2.3 for WebSphere MQ V6.0 is now available.
http://www.ibm.com[..]ss?acss=wmq032008&rs=171&uid=swg21294625


Education

1. WebSphere MQ Library
The WebSphere MQ library contains links to the Information Center, product manuals, and other helpful learning material.
http://www.ibm.com[..]/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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.redbooks.ibm.com[..]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.
http://www.ibm.com[..]/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®.
http://www.ibm.com[..]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.
http://www.ibm.com[..]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).
http://www.ibm.com[..]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.
http://www.ibm.com[..]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.
http://www.ibm.com[..]/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.
http://www.ibm.com[..]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.
http://www.ibm.com/software/support/isa/?acss=wmq032008

4. IBM Software Support Toolbar
This a stand-alone application that allows you to easily search IBM.com 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.
http://www.ibm.com/software/support/toolbar/?acss=wmq032008

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.
http://www-306.ibm.com[..]?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.
http://www.ibm.com/software/support/lifecycle/?acss=wmq032008

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


1. How To Uninstall WebSphere MQ:
http://publib.boulder.ibm.com[..]opic=/com.ibm.mq.amqtac.doc/wq11290_.htm



(google search) (amazon search)


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

mysql


decimal problem - http://jroller.com[..]hneller?entry=mysql_5_0_decimals_queried

(google search) (amazon search)


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

oracle



(google search) (amazon search)


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

putty


Use putty as library - http://marknelson.us/2011/10/11/automating-putty/

(google search) (amazon search)


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

solaris


Some info of solaris threading

http://developers.sun.com/Solaris/articles/alt_thread_lib.html
http://www.sun.com/software/whitepapers/solaris9/multithread.pdf

(google search) (amazon search)


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

spring


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... - http://java.sun.com/docs/books/tutorial/rmi/client.html

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 - http://forum.springframework.org/showthread.php?p=78557#post78557

Blog about session scope - http://www.memestorm.com/blog/session-scoped-beans-in-spring-20/

refresh config without restarting - http://jroller.com/page/Solomon?entry=spring_2_0_4_servlet

Possible multi-thread issue - http://blog.xebia.com/2007/03/01/spring-and-visibility-problems/ http://weblogs.java.net[..]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 - http://spring.javabeat.net[..]-spring-aspect-oriented-programming-aop/

testing with spring - http://www.mularien.com[..]akes-unit-testing-easy-with-annotations/

if need to use hibernate with jdbc directly, need to flush hibernate session first - http://blog.interface21.com[..]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 172.19.100.60:12074 , you need to set java system properties like follow

-Dorg.omg.CORBA.ORBInitialHost=172.19.100.60 -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

http://sunsolve.sun.com/search/document.do?assetkey=1-9-67993-1

(google search) (amazon search)


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

timesten


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

Comparing Coherence and TimesTen - http://www.jroller.com/cpurdy/entry/defining_a_data_grid http://roberttcline.blogspot.com[..]racle-database-and-its-relationship.html

http://wiki.oracle.com/page/Timesten

My questions - http://forums.oracle.com/forums/search.jspa?userID=22541

(google search) (amazon search)


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

ubuntu


Performance tuning - http://ubuntuforums.org/showthread.php?t=1152095

Speed up ext4 - http://blog.smartlogicsolutions.com[..]to-improve-ext4-file-system-performance/

(google search) (amazon search)


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

virualbox


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

http://www.linux-mag.com/id/7673

(google search) (amazon search)


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

work with legace


Simple ways to improve legacy code - http://www.onjava.com/lpt/a/4805

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

(google search) (amazon search)