RSS feed [root] /hack and faq /weblog




login:

password:

title search:




 


Sat Sep 28 10:12:39 GMT 2024

hack and faq



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

Wed Apr 02 18:05:52 GMT 2008 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)


Wed Mar 12 16:23:56 GMT 2008 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)


Thu Jan 10 11:52:28 GMT 2008 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)


Mon Jan 07 07:52:55 GMT 2008 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)


Sat Dec 08 07:19:15 GMT 2007 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)


Wed Nov 28 19:52:35 GMT 2007 From /weblog/hack+and+faq

xul


On 9/27/07, Carfield Yim wrote:

How to get instance fo nsIDownloader using javaxpcom?



It's not too difficult. The JavaScript code you pointed to has this line:

var nsIDownloader = Components.classes["@ mozilla.org/network/downloader;1"].createInstance();



The "Components" object is a helper object in Mozilla JavaScript, so we need to do things differently in JavaXPCOM.



We need to use the nsIComponentManager interface ( http://mxr.mozilla.org[..]com/components/nsIComponentManager.idl), which has a createInstance() method. So something like this:



nsIComponentManager compMgr = Mozilla.getInstance().getComponentManager();

nsIDownloader createInstance = (nsIDownloader) compMgr

.createInstance( "@ mozilla.org/network/downloader;1", null,

nsIDownloader.NS_IDOWNLOADER_IID );

(google search) (amazon search)



Fri Jul 06 02:00:49 GMT 2007 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)


Thu Mar 01 07:22:50 GMT 2007 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)


Wed Dec 20 03:51:27 GMT 2006 From /weblog/hack+and+faq

log4j


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

(google search) (amazon search)


Tue Dec 05 12:22:56 GMT 2006 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 Oct 20 03:43:23 GMT 2006 From /weblog/hack+and+faq

mysql


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

(google search) (amazon search)


Thu Sep 21 05:37:19 GMT 2006 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)


Thu Sep 21 03:15:54 GMT 2006 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)