原创 Cruise Control quick notes

Monitor repository change   <modificationset quietperiod="30">     p4 port="apa….apac.nsroot.net:1999"        client="

原创 eclipse remote debug

The most important thing is:   The jdk of server side and client side must be exactly the same.   then in start command

原创 for loop

important page: http://www.robvanderwoude.com/for.php   some explanation in the below example:     for /f %%i in ('dir

原创 log4j.properties example -- Hibernate log4j config

### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Targ

原创 Small knowledge needs to know for ant

1)    You don’t need to set variable – basedir. You can simply use it ${basedir}. And it will be the folder where buil

原创 jconsole easy usage

client side java_home/bin/jconsole.exe   service:jmx:rmi:///jndi/rmi://192.168.***.***:8003/jmxrmi Server side   add t

原创 Sybase tricky sql -- How to delete the earliest 2 records?

Table:   create table BE_TES_FEED (     TRADE_STATUS VARCHAR(1) NOT NULL     ,INSERT_DATE DATETIME NOT NULL ) lock dat

原创 javax.jms.InvalidDestinationException

com.citigroup.get.quantum.messaging.MessagingException: javax.jms.InvalidDestinationException: Not allowed to create de

原创 variable definition

A sample shell script   #!/bin/sh viperooe_home=`dirname $0` source $viperooe_home/env-viperooe.sh instancename=$1 cd $

原创 FileUtil

here it is! 點贊 收藏 分享 文章舉報 iteye_5554 發佈了88 篇原創文章 · 獲贊 0 · 訪問量 3202 私信

原创 Quartz Crontab trigger

          <bean id="terminateTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean" >     <property

原创 StringUtil

/**  * This is a util method for String object  *  * @author [email protected]  * @date Mar 30, 2009  */ public clas

原创 2 kinds of setUp()/tearDown() in junit

1st kind:       @BeforeClass       public static void setUp() throws Exception       {       }         @AfterClass    

原创 quartz - sample JobScheduler

import java.util.Date; import org.apache.log4j.Logger; import org.quartz.JobDataMap; import org.quartz.JobDetail; impor

原创 sybase procedures and cursors

How to view stored procedure spec?   sp_help ${stored_procedure_name}   How to view the source of stored procedure?