Thu Jan 10 11:52:28 GMT 2008
From
/weblog/hack+and+faq
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
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
Browsing the signature to get the idea of the code -
http://c2.com/doc/SignatureSurvey/
(google search)
(amazon search)
Thu Mar 01 07:22:50 GMT 2007
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 -
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)
Tue Dec 05 12:22:56 GMT 2006
From
/weblog/hack+and+faq
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)
Thu Sep 21 05:37:19 GMT 2006
From
/weblog/hack+and+faq
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
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)