<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    ann
    冰是沒有未來的,因為它的永恒
    posts - 107,comments - 34,trackbacks - 0
         摘要: 1. 安裝vnc
    rpm -ivh vnc-server-4.1.2-14.el5_3.1.i386.rpm
    rpm -ivh vnc-4.1.2-14.el5_3.1.i386.rpm


    3. 設(shè)置vnc server的訪問密碼
    [ann@ecdev1 ~]# vncpasswd

    3. 執(zhí)行vncserver,第一次執(zhí)行后會生產(chǎn)一些配置文件

    4. 修改/home/ann/.vnc/xstart(如果無此文件,就運行vncserver)
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xsta  閱讀全文
    posted @ 2010-05-19 09:49 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: I tried the Build and Deployment tool in Commerce version 7. I followed the tutorial for the same found here:
    http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/cdewcbdbuild.htm

    When I start the build process it extracts the projects from the CVS successfully, but while buildingarchiving the ejb jar the build fails with the following error:
    java.io.IOException: Cannot run program "D:\Programs\RAD75\SDP\runtimes\base_v7\java\jre\b  閱讀全文
    posted @ 2010-05-17 10:56 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:

    SQL like子句的另一種實現(xiàn)方法,速度比like快


    一般來說使用模糊查詢,大家都會想到LIKE
    select * from table where a like '%字符%'

    如果一個SQL語句中用多個 like模糊查詢,并且記錄條數(shù)很大,那速度一定會很慢。
    下面兩種方法也可實現(xiàn)模糊查詢:
    select * from table where patindex('%字符%',a)>0
    select * from table where charindex('字符',a)>0
    經(jīng)測試這兩種方法比LIKE速度要快。

      閱讀全文
    posted @ 2010-05-04 12:58 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: #!/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    #################################
    # application: test
    # DFILE : pid file
    # GDIR : application webapp
    # LOGDIR : logs dir
    ######################
    NAME=et-play
    TestDIR="/data/webapps/play/test"
    GDIR="${TestDIR}/test"
    PIDFILE="${TestDIR}/${NAME}.pid"
    LOGDIR="${GDIR}/logs"
    APP_USER=test
    # Timeout in seconds for the shutdown of webapps
    APP_SHUTDOWN=30 <  閱讀全文
    posted @ 2010-03-19 13:22 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1.備份表中的數(shù)據(jù)


    D:\Program Files\PostgreSQL-8.3.7\bin\pg_dump.exe -h *.*.*.* -p 5432 -U username -F c -v -f "D:\Program Files\PostgreSQL-8.3.7\bin\sss.backup" -t "\"public\".\"tablename\"" databasename

    2. 創(chuàng)建表

    CREATE TABLE tablename
    (
    id bigint,
    createtime timestamp without time zone,
    modifyname character varying(255),
    modify_date timestamp without time zone,
    modify_detail character varying(100000),
    "name" character varying(255  閱讀全文
    posted @ 2010-03-11 10:02 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 一.linux 監(jiān)控數(shù)據(jù)庫活動
    $ ps auxww | grep ^postgres

    postgres 3424 0.0 1.2 42708 26588 ? Ss Jan29 0:00 postgres: writer process
    postgres 3425 0.0 0.0 42576 1284 ? Ss Jan29 0:00 postgres: wal writer process
    postgres 3426 0.0 0.0 43364 1972 ? Ss J  閱讀全文
    posted @ 2010-02-09 15:30 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1、對于第一種重復(fù),比較容易解決,使用

    select distinct * from tableName

      就可以得到無重復(fù)記錄的結(jié)果集。

       如果該表需要刪除重復(fù)的記錄(重復(fù)記錄保留1條),可以按以下方法刪除

    select distinct * into #Tmp from tableName
    drop table tableName
    select * into tableName from #Tmp
    drop table #Tmp


      閱讀全文
    posted @ 2010-02-08 16:22 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: Well, there's second places I set the proxy on a new Linux install.
    1) in /etc/profile:
    code:


    export http_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"
    export ftp_proxy="http://user:pass@xxx.xxx.xxx.xxx:port/"

    2) in /etc/apt/apt.conf
    code:

    Acquire::http::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";
    Acquire::ftp::Proxy "http://user:pass@xxx.xxx.xxx.xxx:port/";


      閱讀全文
    posted @ 2010-02-02 15:16 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf
    code:

    APT::Cache-Limit 50000000;
      閱讀全文
    posted @ 2010-02-02 15:13 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:
    1. 用命令行創(chuàng)建新的project
    #>: play new test

    輸入 test(會有What is the application name?提示)
    注:一定要輸入test 否則在導(dǎo)入到eclipse中就要手動改配置文件

    2. 導(dǎo)入eclipse
    >play eclipsify test
    打開eclipse 在import 就ok了.

    如果在創(chuàng)建project時候未輸入test。
    就要手動修改test.launch文件,也就是查找,得出 E:"project"eclipse"play1 ,然后把文件中所有的E:"project"eclipse"play1替換為test
    修改前:

    posted @ 2010-02-01 13:38 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:
    intellj 編碼設(shè)置 ,project編碼設(shè)置 這兩個編碼必須統(tǒng)一。
    例如: intellj設(shè)置的是系統(tǒng)默認的編碼gbk,而project是utf8。

      閱讀全文
    posted @ 2010-01-15 18:04 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 按照我寫的目錄結(jié)構(gòu)來放置。
    下載地址:
    http://www.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/tomcat-juli.jar
    http://www.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/tomcat-juli-adapters.jar

    tomcat6-------lib
    | |--------tomcat-juli-adapters.jar
    | |--------log4j.jar
    | |--------log4j.properites
    |
    |----bin
    |--------tomcat-juli.jar
    閱讀全文
    posted @ 2010-01-14 18:10 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: Bulk close all in lucene2.9.1 issues.   閱讀全文
    posted @ 2010-01-14 16:06 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 找到啟動用戶目錄
    比如是/home/hudson/下面
    .hudson/nodeMonitors.xml 加入


    false


    false



      閱讀全文
    posted @ 2010-01-12 13:22 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:

    Jetty's default configuration has a limitation on POST data (200000 bytes)that
    prevents Hudson from reading the Update Center data (available
    plugins). Jetty gets an error like java.lang.IllegalStateException: Form too large. To resolve this, add something like this to jetty.xml:

    Jetty 6:

    在jetty.xml中設(shè)置該參數(shù)



    org.mortbay.jetty.Request.maxFormContentSize

    -1閱讀全文
    posted @ 2010-01-12 11:09 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 地址:http://code.google.com/apis/chart/  閱讀全文
    posted @ 2010-01-12 10:33 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: server:

    package com.test.web.resources;

    import javax.ws.rs.Consumes;
    import javax.ws.rs.POST;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.MultivaluedMap;

    import org.springframework.stereotype.Component;


    /**
    * 測試
    * @author ann
    *
    */
    @Path("/test")
    @Component
    public class Test {

    @POST
    @Path("/formTest")
      閱讀全文
    posted @ 2010-01-11 17:02 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 同步的集合類Hashtable和Vector,以及同步的包裝器類Collections.synchronizedMap和Collections.synchronizedList,為Map和List提供了基本的有條件的線程安全的實現(xiàn)。然而,某些因素使得它們并不適用于具有高度并發(fā)性的應(yīng)用程序中――它們的集合范圍的單鎖特性對于可伸縮性來說是一個障礙,而且,很多時候還必須在一段較長的時間內(nèi)鎖定一個集合,以防止出現(xiàn)ConcurrentModificationExceptions異常。

    ConcurrentHashMap和CopyOnWriteArrayList實現(xiàn)提供了更高的并發(fā)性,同時還保住了線程安全性,只不過在對其調(diào)用者的承諾上打了點折扣。ConcurrentHashMap和CopyOnWriteArrayList并不是在您使用HashMap或ArrayList的任何地方都一定有用,但是它們是設(shè)計用來優(yōu)化某些特定的公用解決方案的。許多并發(fā)應(yīng)用程序?qū)膶λ鼈兊氖褂弥蝎@得好處。

    總結(jié):在多線程并發(fā)情況下,為了避免ConcurrentModificati  閱讀全文
    posted @ 2010-01-07 18:04 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:

    數(shù)據(jù)庫服務(wù)器,應(yīng)對是高并發(fā)的訪問,每天都有大量的讀寫刪除操作。因此,時間一長服務(wù)器的內(nèi)存就耗盡,數(shù)據(jù)庫的占的空間也很大。為了應(yīng)對這個情況,我制定兩個常用的維護操作。

    一、注重日常清理(VACUUM;)。因為有大量的更新(update)"刪除(delete)操作,會有大量的空間需要釋放。

    每日執(zhí)行一次VACUUM,每周訪問量低的時候執(zhí)行VACUUM FULL;

    語法結(jié)構(gòu);

    VACUUM [ FULL | FREEZE ] [ VERBOSE ] [ table ]
    VACUUM [ FULL | FREEZE ] [ VERBOSE ] ANALYZE [ table [ (column [, ...] ) ] ]

    FULL ------選擇"完全"清理,這樣可以恢復(fù)更多的空間, 但是花的時間更多并且在表上施加了排它鎖。
    FREEZE ---------選擇激進的元組"凍結(jié)"。
    VERBOSE --------- 為每個表打印一份詳細的清理工作報告。 <  閱讀全文
    posted @ 2010-01-07 15:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: grails 升級到1.2.0 版本之后需要注意的

    1.默認的webserver是tomcat.
    如果想切換為jetty。grails uninstall-plugin tomcat
    grails install-plugin jetty

    2. 有了很多標準的規(guī)范,比如 :
    1). 必須放入
    標簽之內(nèi)。
    2).urlmap中 "/test_$guid?"(controller:"test",action:"list")
    "/" (controller:"index",action:"list")
      閱讀全文
    posted @ 2010-01-05 16:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: CREATE INDEX 在指定的表上構(gòu)造一個名為 index_name 的索引。索引主要用來提高數(shù)據(jù)庫性能。但是如果不恰當?shù)氖褂脤?dǎo)致性能的下降。

    PostgreSQL 為從索引提供 B-tree,R-tree,hash(散列) 和 GiST 索引方法。 B-tree 索引方法是一個 Lehman-Yao 高并發(fā) B-trees 的實 現(xiàn)。R-tree 索引方法用 Guttman 的二次分裂算法實現(xiàn)了標準的 R-trees。 hash(散列)索引方法是 Litwin 的線性散列的一個實現(xiàn)。 用戶也可以定義它們自己的索引方法,但這個工作相當復(fù)雜。
    如果出現(xiàn)了 WHERE 子句,則創(chuàng)建一個部分索引。 部分索引是一個只包含表的一部分記錄的索引,通常是該表中比其它部分數(shù)據(jù)更有用的部分。

    在 WHERE 子句里用的表達式只能引用下層表的字段,但是它可以使用所有字段,而不僅僅是被索引的字段。 目前,子查詢和聚集表達式也不能出現(xiàn)在WHERE里。

    索引定義里的所有函數(shù)和操作符都必須是immutable,(不  閱讀全文
    posted @ 2009-12-22 10:00 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: java -cp "./WEB-INF/lib/*:./WEB-INF/classes" bran.RestaurantCenterJettyStarter  閱讀全文
    posted @ 2009-12-22 09:47 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 一個登錄用戶在頁面訪問的時候如何充分利用 cache?

    頁面靜態(tài)化的一個大問題是登錄用戶訪問頁面如何靜態(tài)化。 例如首頁, 大部分的頁面內(nèi)容需要緩存但是用戶登錄后的個人信息是動態(tài)信息, 不能緩存。 那么如何解決這個"頁面部分緩存"問題?

    現(xiàn)有的方案是利用 SSI - Server Side include.

    Nginx SSI 實現(xiàn)是 http://wiki.nginx.org/NginxHttpSsiModule

    這里最關(guān)鍵的就是靜態(tài)文件可以包含一個動態(tài)的網(wǎng)頁的 URL.

    這里有一篇文章對這個問題進行了深入的討論:

    http://jimmyg.org/blog/2009/ssi-memcached-nginx.html

    文章用了 memcache. 我關(guān)心的是 SSI 和 Nginx 自身的 cache 的協(xié)同工作。


    模塊分析:

    1. http://hi.baidu.com/langwan/blog/item/  閱讀全文
    posted @ 2009-12-22 09:35 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 一 . Adding Brokers to a Conventional Cluster

    1. To Add a New Broker to a Conventional Cluster Using a Cluster Configuration File
    1).Add the new broker to the imq.cluster.brokerlist property in the cluster configuration file.
    2).Issue the following command to any broker in the cluster: imqcmd reload cls
    3).(Optional) Set the value of the imq.cluster.url property in the new broker’s instance configuration file (config.properties) to point to the clu  閱讀全文
    posted @ 2009-12-22 09:32 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: http://svn.codehaus.org/grails-plugins/grails-quartz/tags/RELEASE_0_4_1/  閱讀全文
    posted @ 2009-12-11 15:56 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: http://lucene.apache.org/solr/tutorial.html  閱讀全文
    posted @ 2009-12-11 12:43 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: user-agent 收集:http://www.developershome.com/wap/detection/detection.asp?page=userAgentHeader

    http://search.cpan.org/~cmanley/Mobile-UserAgent-1.05/lib/Mobile/UserAgent.pm

    http://www.zytrax.com/tech/web/mobile_ids.html

    http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones

    nginx

    location = / {

    root /var/www/path;
    if ($http_user_agent ~* "Nokia") { rewrite . /index.html break; }

    if ($http_user_agent ~* "Mobile") { r  閱讀全文
    posted @ 2009-12-08 09:22 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 原理簡介

    安裝運行

    特殊介紹

    1.iptables的3個表:

    filter: 顧名思義,用于過濾的時候

    nat: 顧名思義,用于做NAT 的時候

    manager:見下

    2.iptables的5條鏈

    INPUT: 匹配目的IP 是本機的數(shù)據(jù)包

    OUPUT: 匹配源IP是本機的數(shù)據(jù)包

    FORWARD: 匹配穿過本機的數(shù)據(jù)包

    PREROUTING: 用于修改目的地址(DNAT)

    POSTROUTING:用于修改源地址(SNAT)

    3.manager簡介

    這個表主要用來mangle數(shù)據(jù)包。我們可以改變不同的包及包頭的內(nèi)容,比如 TTL,TOS或MARK。 注意MARK并沒有真正地改動數(shù)據(jù)包,
    它只是在內(nèi)核空間為包設(shè)了一個標記。防火墻內(nèi)的其他的規(guī)則或程序(如tc)可以使用這種標記對包進行過濾或高級路由。這個表有五  閱讀全文
    posted @ 2009-12-04 13:42 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 限制 client 每秒訪問次數(shù)
    限制連 80 port 的次數(shù) = 60 秒 2次 , 超過就 drop
    iptables -I INPUT -p tcp –dport 80 -i eth0 -m state –state NEW -m recent –set
    iptables -I INPUT -p tcp –dport 80 -i eth0 -m state –state NEW -m recent –update –seconds 60 –hitcount 2 -j DROP

    2. 控制client訪問特定的port
    只允許114.80.192.18 和 127.0.0.1 訪問8080-8099的端口
    iptables -A INPUT -p tcp -s 114.80.192.18 --dport 8080:8099 -j ACCEPT
    iptables -A INPUT -p tcp -s ! 127.0.0.1 --dport 808  閱讀全文
    posted @ 2009-12-04 11:52 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: nginx 聊天室模塊  閱讀全文
    posted @ 2009-11-20 11:29 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: nginx 重啟之后 用purge 會出現(xiàn)以上錯誤
    nginx log :
    2009/11/17 15:03:52 [crit] 1553#0: *1 cache file "/data/nginx_cache/etwebservice/a/2b/b3a2527b6f3a38d63663ee436e7d82ba" is too small, client: 222.66.142.229, server: localhost, request: "HEAD /purge/RestTakeoutServer/dish/B10I24R57547/list?commentCount=5 HTTP/1.1", host: "222.66.142.229"

    客戶端請求出錯

    HTTP/1.1 500 Internal Server Error
    Server: nginx/0.8.24
    Date: Tue, 17 Nov 2009 07:03:52 GMT
    Content-Type: text/html
    Content  閱讀全文
    posted @ 2009-11-17 17:59 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: nginx0.8.26 加入 purge_cache module  閱讀全文
    posted @ 2009-11-17 17:45 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 下一站,考慮中......  閱讀全文
    posted @ 2009-11-06 14:31 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 安裝openvpn
    2. CA證書  閱讀全文
    posted @ 2009-11-05 15:49 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:
    1.創(chuàng)建repo sudo -u subversion svnadmin create TestRepo

    2.備份svn version
    sudo -u subversion svnadmin dump TestRepo> /data/downloads/TestRepo-file

    3.恢復(fù)
    sudo -u subversion svnadmin load --force-uuid TestRepo1/ < /data/downloads/TestRepo-file

    4.客戶端轉(zhuǎn)換Repository
    例如:
    從 svn://etch1/TestRepo/TakeoutServer 到 svn://etch1/TestRepo1/TakeoutServer
    svn switch --force --relocate svn://etch1/TestRepo/TakeoutServer svn://etch1/TestRepo1/TakeoutS  閱讀全文
    posted @ 2009-11-05 15:41 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 目前大多數(shù)使用gson的還要求在java類中使用java annotation,不完全支持POJO。
    Gson這個Java類庫可以把Java對象轉(zhuǎn)換成JSON,也可以把JSON字符串轉(zhuǎn)換成一個相等的Java對象。Gson支持任意復(fù)雜Java對象包括沒有源代碼的對象。

    下載地址
    http://code.google.com/p/google-gson/downloads/list  閱讀全文
    posted @ 2009-11-05 15:31 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載最新的nucleus
    http://nucleuscms.org/download.php



    2. 解壓
    unzip *.zip
    移動到:/data/blog/nucleus

    3. 創(chuàng)建數(shù)據(jù)庫
    mysql -u root -p
    提示輸入密碼
    create database nucleus_db;
    創(chuàng)建數(shù)據(jù)庫用戶
    GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON nucleus_db.* TO 'username'@'localhost' IDENTIFIED BY 'password';




    4. 配置nginx
    server {
    listen 80;
    server_name www.myblog.com;
    access_log /var/log/ngi  閱讀全文
    posted @ 2009-10-30 13:13 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載最新的drupal
    wget http://drupal.org/files/projects/drupal-x.x.tar.gz



    2. 解壓
    tar -zxvf drupal-x.x.tar.gz
    移動到:/data/blog/drupal

    3. 創(chuàng)建數(shù)據(jù)庫
    mysql -u root -p
    提示輸入密碼
    create database drupal_db;
    創(chuàng)建數(shù)據(jù)庫用戶
    GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON drupal_db.* TO 'username'@'localhost' IDENTIFIED BY 'password';

    4. 創(chuàng)建文件
    cp sites/default/default.settings.php sites/default/settings.php
    chmod o+w s  閱讀全文
    posted @ 2009-10-30 12:02 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載最新的wordpress-mu
    wget http://mu.wordpress.org/latest.tar.gz

    2. 解壓
    tar -xzvf latest.tar.gz
    移動到:/data/wpmu

    3. 創(chuàng)建數(shù)據(jù)庫
    mysql -u root -p
    提示輸入密碼
    create database wordpress_mu_db;
    創(chuàng)建數(shù)據(jù)庫用戶
    GRANT ALL ON wordpress_mu_db.* TO user@localhost identified by "password";



    4. 配置nginx
    server {
    listen 80;
    server_name www.myblog.com;
    access_log /var/log/nginx/myblog.com-access.log;

    location / {
      閱讀全文
    posted @ 2009-10-30 11:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載最新的wordpress
    wget http://wordpress.org/latest.tar.gz

    2. 解壓
    tar -xzvf latest.tar.gz
    移動到:/data/wordpress

    3. 創(chuàng)建數(shù)據(jù)庫
    mysql -u root -p
    提示輸入密碼
    create database wordpress_db;
    創(chuàng)建數(shù)據(jù)庫用戶
    GRANT ALL ON wordpress_db.* TO user@localhost identified by "password";

    4. 修改配置文件
    cd /opt/webapps/www/wp/wp
    mv wp-config-sample.php wp-config.php.

    5. 配置nginx
    server {
    listen 80;
    server_name www.myblog.com;
    access_l  閱讀全文
    posted @ 2009-10-30 11:49 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 這個錯誤信息通常在你更新工作拷貝時出現(xiàn),可能的原因有兩個:

    * 版本庫中有兩個文件的名字只是大小寫不同,這在Windows下是不允許簽出的,因為Windows的文件系統(tǒng)是大小寫不敏感的。很可能其中一個文件是誤添加的,所以你要找出是哪一個,然后刪除它,以確保不會把更改提交到錯誤的文件。
    * 某個文件的文件名是非法的(對Windows來說非法),比如,"con", "lpr", "com"都是非法的,因為這些都是設(shè)備名。當然,含有"/\*?:|"和其它特殊字符在Windows(NTFS 和 FAT)也是不允許的。

    是,我們知道這個錯誤信息對解決問題沒什么實質(zhì)性的幫助,但這個錯誤信息是來自Subversion庫的,我們改不了。

    有幾個辦法可以避免這個問題:

    Subversion 是針對大小寫敏感的文件系統(tǒng)(比如 Linux )設(shè)計的,這在大小寫不敏感的Windows下有時就會有問題。一個典型的例子是,重命名文件時,如果文件名僅有大小寫不一樣,如Makefile改成 MAKEFILE。在工作拷貝中要  閱讀全文
    posted @ 2009-10-22 12:11 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 在測試發(fā)現(xiàn) 當數(shù)組返回json格式的String的時候,如果數(shù)組中只有一個,則返回的json格式不是數(shù)組形式,而是單一對象格式。  閱讀全文
    posted @ 2009-10-15 09:28 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 這里面用的是jersey

    1. 創(chuàng)建一個project

    2. 建立返回的model

    這里面的model例子

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package com.test.webservice.model;

    /**
    *
    * @author ann
    */
    import com.fg114.model.People;
    import java.util.Date;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax  閱讀全文
    posted @ 2009-09-27 15:19 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.ws.message.jaxb.AttachmentMarshallerImpl.addMtomAttachment(Ljavax/activation/DataHandler;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;" the class loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) of the current class, com/sun/xml/ws/message/jaxb/AttachmentMarshallerImpl, and its superclass loader (instance of ), have different Class objects for the type javax/act  閱讀全文
    posted @ 2009-09-18 16:13 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 在 Linux 系統(tǒng)中,
    要將代理連接為群集,有一個特殊的前提條件。某些 Linux 安裝程序自動將 localhost 條目設(shè)置為網(wǎng)絡(luò)回送 IP 地址 (127.0.0.1)。您必須設(shè)置系統(tǒng)的 IP 地址,以便為群集中的所有代理設(shè)置正確的地址。
    也即修改/etc/hosts
    把hostname的配置文件為你的靜態(tài)ip(linux 查看hostname命令: hostname)

    例如: hostname == etch1
    修改/etc/hosts中
    etch1 192.168.1.18  閱讀全文
    posted @ 2009-09-17 11:32 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: url :http://efforts.embedded.ufcg.edu.br/web/?p=7  閱讀全文
    posted @ 2009-09-01 09:28 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 例子 class Hotel{
    static constraints = {
    name()
    crTime(nullable:true)
    upTime(nullable:true)
    }

    String name
    Date crTime
    Date upTime

    def beforeInsert = {
    crTime = new Date()
    }

    def beforeUpdate = {
    upTime = new Date()
    }
    }
    crTime(nullable:true)
    upTime(nullable:true)不設(shè) 保存或更新靜默失敗(beforeInsert或beforeUpdate 不起作用)
      閱讀全文
    posted @ 2009-08-28 15:50 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 測試了grails時候 在新創(chuàng)建domain class之后 測試 ,發(fā)現(xiàn)老是提示is not domain class 錯誤,
    解決的辦法就是grails clean 在重啟app就可以了  閱讀全文
    posted @ 2009-08-26 16:00 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 修改role密碼
    alter role postgres password 'postgres';

    2. 設(shè)置postgres遠程連接

    1). 修改listen addresses
    sudo vim /etc/postgresql/8.3/main/pg_hba.conf
    # listen_addresses = 'localhost'
    設(shè)置為 listen_addresses = '*'

    2). 添加ip

    sudo vim /etc/postgresql/8.3/main/postgresql.conf
    在 最后一行添加
    host all all 192.168.0.0/16 md5

    3  閱讀全文
    posted @ 2009-07-31 14:23 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 修改 ${postgres_install}/data/postgresql.conf
    將listen_address = 'localhost' 改為 listen_address = '*'

    2. ${postgres_install}/data/pg_hba.conf
    在文件最后加入:
    host  all  all  192.168.1.0/24  password

    3. 重新啟動數(shù)據(jù)庫
    ${postgres_install}/bin/pg_ctl stop -D ${postgres_install}/data
    ${postgres_install}/bin/postmaster -i -D ${postgres_install}/data>logfile 2>&1 &

    4. 這樣就可以遠程訪問數(shù)據(jù)庫了,如下邊的命令:
    $ psql -h 192.168.1.216 -p 5432   閱讀全文
    posted @ 2009-07-24 10:37 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: jvm調(diào)優(yōu)總結(jié)

    由于應(yīng)用服務(wù)器本身對內(nèi)存消耗比較大,所以遇到不同配置的機器時經(jīng)常要對suite的啟動腳本進行修改
    來調(diào)整內(nèi)存參數(shù),尤其是在虛擬機分配內(nèi)存過小的情況
    于是想總結(jié)一下內(nèi)存參數(shù)相關(guān)的內(nèi)容,但搜索之后發(fā)現(xiàn)unixboy已經(jīng)很好的總結(jié)了
    于是轉(zhuǎn)載過來以供自己學習參考。
    聲明:本文一下內(nèi)容轉(zhuǎn)自:http://unixboy.javaeye.com/blog/174173
    堆大小設(shè)置
    JVM 中最大堆大小有三方面限制:相關(guān)操作系統(tǒng)的數(shù)據(jù)模型(32-bt還是64-bit)限制;系統(tǒng)的可用虛擬內(nèi)存限制;系統(tǒng)的可用物理內(nèi)存限制。32位系統(tǒng)下,一般限制在1.5G~2G;64為操作系統(tǒng)對內(nèi)存無限制。我在Windows Server 2003 系統(tǒng),3.5G物理內(nèi)存,JDK5.0下測試,最大可設(shè)置為1478m。
    典型設(shè)置:
    java -Xmx3550m -Xms3550m -Xmn2g -Xss128k
    -Xmx3550m:設(shè)置JVM最大可用內(nèi)存為3550M。
    -Xms3550m:設(shè)置JVM促使內(nèi)存  閱讀全文
    posted @ 2009-07-15 14:26 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: @Column(name="columnName";boolean unique() default false;boolean nullable() default true;
    boolean insertable() default true;boolean updatable() default true;
    String columnDefinition() default "";
    String table() default "";
    int length() default 255;
    int precision() default 0; // decimal precision
    int scale() default 0; // decimal scale
    name 可選,字段名(默認值是屬性名)

    unique 可選,是否在該字段上設(shè)置唯一約束(默認值false)

    nullable 可選,是否設(shè)置該字段的值可以為空(默認值false)

    insertable 可選,該字段  閱讀全文
    posted @ 2009-07-15 13:17 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: http://www.pixelbeat.org/cmdline_zh_CN.html
    http://www.linuxfromscratch.org/blfs/edguide/chapter03.html

    基于SSH密鑰對的自動登錄
    xiao@xiao .ssh]# ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/xiao/.ssh/id_rsa):
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/xiao/.ssh/id_rsa.
    Your public key has been saved in /home/xiao/.ssh/id_rsa.pub.
    The  閱讀全文
    posted @ 2009-07-07 09:54 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1.備份
    >pg_dump -h 192.168.4.217 --username admin RestaurantCenter >restaurantcenter1.sql

    2.執(zhí)行sql
    >psql -h 192.168.1.18 --username postgres RestaurantCenter < restaurantcenter1.sql

      閱讀全文
    posted @ 2009-07-02 13:43 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: Manipulating the start and stop order of Linux servicesThis document (7002295) is provided subject to the disclaimer at the end of this document.

    Environment
    Novell SUSE Linux
    Novell SUSE Linux Enterprise Server 9
    Novell SUSE Linux Enterprise Server 10
    Novell SUSE Linux Enterprise Desktop 10

    Situation
    In some circumstances, the start and stop order of a service needs to be manipulated.
    How to add start and stop orders to a custom service

    Resolu  閱讀全文
    posted @ 2009-06-30 17:05 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載openMQ安裝文件 openmq4_3-installer-Unix.zip 到/home/zhshp

    2. 解壓zip文件
    1) . 復(fù)制zip文件到opt/
    cp /home/zhshp/openmq4_3-installer-Unix.zip /opt/
    2) . 解壓zip
    cd /opt/
    unzip openmq4_3-installer-Unix.zip
    3. 安裝
    1) . 創(chuàng)建answerfile
    在 /opt/mq4_3-zip-installer/ 創(chuàng)建answerfile 例如 :見/home/zhshp/nswerfile
    2) . 安裝 installer -s -a answerfile
    3) 修改imqbroker配置文件:sudo vim etc/mq/imqbro  閱讀全文
    posted @ 2009-06-23 15:20 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: ln -s /data/tomcat /opt/tomcat  閱讀全文
    posted @ 2009-06-17 14:21 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: :> domains/domain1/logs/server.log   閱讀全文
    posted @ 2009-06-17 13:59 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 例子 修改$


    user syncher syncher;
    worker_processes 2;
    events {
    use epoll; # for linux
    worker_connections 1024;
    }


    http {
    include mime.types;
    default_type application/octet-stream;


    #access_log logs/access.log main;

    sendfile on;
    #tcp_nopush on;

    #keepalive_timeout 0;
    keepalive_timeout 65;

    gzip on;

    upstream tomcats {
      閱讀全文
    posted @ 2009-06-17 13:38 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: df -hl 查看磁盤剩余空間

    du -sm 文件夾
    返回該文件夾總M數(shù)  閱讀全文
    posted @ 2009-06-17 11:26 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 解決的方案:部署在不同的domain中,并控制domain啟動的順序

    例子:applications: RestaurantCenter (比mobile先load);mobile。

    服務(wù)器: 內(nèi)網(wǎng)192.168.1.18上
    glassfish的路徑:/opt/glassfish2.1

    1.首先,創(chuàng)建兩個domain :domain1,domain2
    創(chuàng)建domain1 :ant -f setup1.xml



    posted @ 2009-06-16 15:23 冰是沒有未來的,因為它的永恒| 編輯 收藏
    glassfish 已知問題和限制
         摘要: 已知問題和限制
    http://docs.sun.com/app/docs/doc/820-7430/knownissuessges?a=view
      閱讀全文
    posted @ 2009-06-16 11:01 冰是沒有未來的,因為它的永恒| 編輯 收藏
    升級后啟動域時,您會在日志中看到以下異常。(6774663)
         摘要: 說明
    可能會拋出以下異常:

    #|2008-11-19T01:44:37.422+0530|SEVERE|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=17;_ThreadName=pool-1-thread-3;_Req uestID=cc0ddf54-a42e-400a-9788-e30d79a25d88;|PWC2768: IOException while loading persisted sessions: java.io.InvalidClassException: org.apache .catalina.session.StandardSession; local class incompatible: stream classdesc serialVersionUID = 8647852380089530442, local class serialVersi onUID = -8515037662877107054 java.io.InvalidClas  閱讀全文
    posted @ 2009-06-16 11:00 冰是沒有未來的,因為它的永恒| 編輯 收藏
    特定于 INTERNET EXPLORER 6.0/7.0 瀏覽器:導(dǎo)出負載平衡器配置文件會拋出錯誤 (6516068)
         摘要: 說明
    (僅 Internet Explorer 6 和 7)當嘗試從 Internet Explorer 6 或 7 導(dǎo)出負載平衡器配置文件 (loadbalancer.xml) 時,瀏覽器會顯示錯誤消息,表示找不到 sun-loadbalancer_1_2.dtd DTD 文件。
    解決方法
    要保存此文件,請使用以下解決方法:
    在 Internet Explorer 中,在“負載平衡器”頁上單擊“導(dǎo)出”。
    將顯示“XML page cannot be displayed”消息。
    單擊錯誤框,然后從 Internet Explorer 中選擇“文件”->“另存為”。
    將 loadbalancer.xml 文件保存到所選目錄中。

      閱讀全文
    posted @ 2009-06-16 10:53 冰是沒有未來的,因為它的永恒| 編輯 收藏
    glassfish啟動 --java.rmi.server.ExportException
         摘要: glassfish啟動的時候:

    .1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|UnknownException during st
    artup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
    com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException: Port already in use: 0; nested exception is:
    java.net.BindException: Can't assign requested address
    at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(  閱讀全文
    posted @ 2009-06-16 09:26 冰是沒有未來的,因為它的永恒| 編輯 收藏
    linux java main函數(shù)啟動的例子
         摘要: java -cp "./WEB-INF/lib/*:./WEB-INF/classes" bran.RestaurantCenterJettyStarter
    nohup java -cp "./WEB-INF/lib/*:./WEB-INF/classes" bran.RestaurantCenterJettyStarter >log.log & 退出時候,不中斷  閱讀全文
    posted @ 2009-06-15 18:02 冰是沒有未來的,因為它的永恒| 編輯 收藏
    solr int Querying Ranges Problem
         摘要: Ensure that the fieldType maps back to solr.SortableIntField rather
    than solr.IntField  閱讀全文
    posted @ 2009-06-13 17:45 冰是沒有未來的,因為它的永恒| 編輯 收藏
    unconpilable exception code in netbeans
         摘要: have a little testcase:

    Class enumClass = TestEnum.class;
    System.out.println(TestEnum.我);
    Method method = null;
    method = enumClass.getDeclaredMethod("values", new Class[0]);
    Object[] values = (Object[]) method.invoke(null, new Object[0]);
    Assert.assertTrue(values.length > 0);
    System.out.println(values[0]);

    The method invocation blows out and complains uncompilable code

    The reason seems to   閱讀全文
    posted @ 2009-06-13 14:38 冰是沒有未來的,因為它的永恒| 編輯 收藏
    glassfish linux 安裝
         摘要: 1.下載- ref : https://glassfish.dev.java.net/downloads/v2.1-b60e.html

    -
    2.解壓下載的jar # java -Xmx256m -jar glassxxx.jar
    3.復(fù)制到安裝的路徑下 copy th glassfish to /opt/glasfish2.1

    # cd glassfish2.1
    如果系統(tǒng)沒安裝ant # chmod -R +x lib/ant/bin

    make sure tomcat is not running on 8080, I changed to run on 18080



    4. 安裝 # lib/ant/bin/ant -f setup.xml

    cannot move the dir after the above step.


    ends results:

    create.domain:
    [exe  閱讀全文
    posted @ 2009-06-13 12:11 冰是沒有未來的,因為它的永恒| 編輯 收藏
    jetty starter 不檢查 端口是否被占用
         摘要: jetty starter 不檢查 端口是否被占用

    connector.setReuseAddress(false);

    這樣就不能重復(fù)啟動同一個 jetty 了.
      閱讀全文
    posted @ 2009-06-12 15:15 冰是沒有未來的,因為它的永恒| 編輯 收藏
    solrj的相關(guān)網(wǎng)址
         摘要: http://mxsfengg.javaeye.com/?show_full=true
    http://clayz.javaeye.com/?page=2&show_full=true
    http://mxsfengg.javaeye.com/blog/277913  閱讀全文
    posted @ 2009-06-03 11:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
    Google geo API
         摘要: http://ditu.google.com/maps/geo?output=json&oe=utf-8&q=要查的地址

    /**
    * a positive response:
    *
    *
    {
    "name": "上海金橋開發(fā)區(qū)",
    "Status": {
    "code": 200,
    "request": "geocode"
    },
    "Placemark": [
    {
    "id": "p1",
    "address": "中國上海市浦東新區(qū)金橋開發(fā)\r\r\n區(qū)",
    "AddressDetails": {
    "Country": {
    "CountryNameCode": "CN",
    "  閱讀全文
    posted @ 2009-06-03 09:57 冰是沒有未來的,因為它的永恒| 編輯 收藏
    為已經(jīng)存在的數(shù)據(jù)庫添加GIS功能
         摘要: PgAdmin, open up the SQL window by clicking the SQL button (the one with the pencil).
    Choose “File ? Open…” and navigate to

    C:\Program Files\PostgreSQL\8.3\share\contrib\lwpostgis.sql

    Press the “Run” button. (The green triangle.) The lwpostgis.sql file will execute, loading the PostGIS functions and objects into the “postgis” database.

    Choose “File ? Open…” and navigate to

    C:\Program Files\PostgreSQL\8.3\share\contrib\spatial_ref_sys.sql  閱讀全文
    posted @ 2009-06-03 09:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
    成批轉(zhuǎn)換java 文件的編碼
         摘要: netbeans項目中缺省使用 utf-8. 這要求所有的源文件使用 utf8 編碼有些源文件是從別的文件系統(tǒng)中拷貝出來, 可能使用別的編碼方式, 例如 iso-8859-1. 如果其中有 Ascii 擴展字符, 則 編譯的時候會抱怨有 并不認識的 unicode 編碼. (ummapped unicode characters)

    解決方法: 使用 GNU iconv 工具進行批處理轉(zhuǎn)換.

    - iconv 在 cygwin 中有發(fā)布, 需要 iconv2 包. 也有單獨的 windows 版本.

    - 在 一個臨時文件目錄兩種建立和源目錄相同的目錄結(jié)構(gòu): 拷貝過去以后, find . -name "*.*" | xargs rm, find . -name ".svn" | xargs rm -R
    - 在源文件目錄中: $ for a in `find . -name "*.java"`; do iconv -f iso-8859-1 -t utf-8 <"$a" > /tmp/"$a" ; done
    閱讀全文
    posted @ 2009-06-03 09:52 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: JTS Geometry 對象不能被 JAXB 映射成xml.

    可使用一下的方法避免指定的 java bean property 不被 xml 話

    在 bean 的class級別:

    @XmlAccessorType(XmlAccessType.FIELD) // for jaxb to ananlyze the object

    然后在 field 上面

    @XmlTransient


    如果沒有 XmlAccessorType, 則需要把 @XmlTransient 放在getter 上面.  閱讀全文
    posted @ 2009-06-03 09:44 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. putty:
    http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe

    2.使用 rsync, 能后進行差額同步, 大大減少文件傳輸量, 例如下面的命令本地的 dist 目錄下面的 TakeoutServer.war 同步到遠程服務(wù)器 etch1 的 ~ 目錄 (home 目錄)

    rsync -avz --delete --progress -e "ssh" dist/TakeoutServer.war etch1:~/
      閱讀全文
    posted @ 2009-05-22 16:55 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 數(shù)據(jù)庫映射為實體:http://resources.visual-paradigm.com/index.php/dbm-tut/42-tut/129-db-reverse-sc.html
    實體映射為數(shù)據(jù)庫:http://resources.visual-paradigm.com/index.php/dbm-tut/42-tut/129-db-reverse-sc.html

      閱讀全文
    posted @ 2009-05-22 10:24 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. log4j的配置

    ### direct log messages to stdout ###
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.Target=System.out
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

    ### direct messages to file hibernate.log ###
    #log4j.appender.file=org.apache.log4j.FileAppender
    #log4j.appender.file.File=hibernate.log
    #log4j.appender.file.layout=or  閱讀全文
    posted @ 2009-05-14 14:45 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要:

    JDBC 驅(qū)動程序支持通過 integratedSecurity 連接字符串屬性在 Windows 操作系統(tǒng)上使用“類型 2”集成身份驗證。

    注意:如果您運行 32 位的 Java 虛擬機 (JVM),則使用 x86 文件夾中的 sqljdbc_auth.dll 文件,即使操作系統(tǒng)是 x64 版本也不例外。如果您在 x64 處理器上運行 64 位 JVM,則使用 x64 文件夾中的 sqljdbc_auth.dll 文件。如果您在 Itanium 處理器上運行 64 位 JVM,則使用 IA64 文件夾中的 sqljdbc_auth.dll 文件。


    例子:

    1. java代碼:

    public class DBConnect {
    static {
    try {

    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDri  閱讀全文
    posted @ 2009-05-11 14:44 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 1. 下載openMQ
    https://mq.dev.java.net/
    2. 解壓 openmqXXX-installer-WINNT.zip 到 F:\software tool\java\web server\wins\openmq4_4-installer-WINNT

    3. 安裝 :
    進入F:\software tool\java\web server\wins\openmq4_4-installer-WINNT\openmq4_4-installer下 雙擊installer.vbs


    4.安裝為wins服務(wù):

    > cd D:\Program Files\MessageQueue\mq\bin
    > imqsvcadmin install  閱讀全文
    posted @ 2009-05-06 10:18 冰是沒有未來的,因為它的永恒| 編輯 收藏
    posted @ 2009-05-06 10:09 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: FireDaemon是為Microsoft Windows準備的一個系統(tǒng)工具。通過FireDaemon,您可以將任意應(yīng)用程序或腳本程序作為一個交互式或非交互式的Windows服務(wù)來運行,F(xiàn)ireDaemon支持的程序類型包括現(xiàn)有的32位或64位本地程序,以及腳本或說明語言(如Java, .NET, Perl, BAT/CMD, Python, Ruby, TCL/TK)程序等。
      閱讀全文
    posted @ 2009-05-04 11:12 冰是沒有未來的,因為它的永恒| 編輯 收藏
    posted @ 2009-04-23 14:31 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: galssfish做成wins 服務(wù)  閱讀全文
    posted @ 2009-04-14 11:39 冰是沒有未來的,因為它的永恒| 編輯 收藏
    posted @ 2009-03-23 10:56 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 傳統(tǒng)上, J2EE開發(fā)者有兩種事務(wù)管理選擇,全局和本地事務(wù)。Spring框架對事務(wù)管理的支持極大地改變傳統(tǒng)上認為J2EE應(yīng)用需要應(yīng)用服務(wù)器。這種改變不單是僅僅為了通過EJB來使用生命式事務(wù)而使用應(yīng)用服務(wù)器。事實上,即使你的應(yīng)用服務(wù)器有強大的JTA功能,Spring框架的聲明式事務(wù)提供了比EJB CMT(聲明式事務(wù))更強大,更高效的編程模型。一般來說,只有支持多個事務(wù)資源,才會需要應(yīng)用服務(wù)器的JTA功能,而大多數(shù)應(yīng)用不需要能夠處理跨多種資源。最重要的一點,使用Spring,你可以選擇何時把你的應(yīng)用遷移到全功能的應(yīng)用服務(wù)器。使用Spring不需要像以前一樣用編碼實現(xiàn)本地事務(wù)代替 EJB CMT或JTA,現(xiàn)在只需要改配置問價,而不必改代碼。  閱讀全文
    posted @ 2009-03-19 16:57 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: webservice的概念  閱讀全文
    posted @ 2009-03-17 17:24 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: red5的收藏  閱讀全文
    posted @ 2009-01-08 10:58 冰是沒有未來的,因為它的永恒| 編輯 收藏
    posted @ 2008-10-31 13:48 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: java URLEncoder 中特殊處理  閱讀全文
    posted @ 2008-10-07 11:40 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 未來一周,貌似理財市場的輿論聲音在好轉(zhuǎn),對各種虛無縹緲的概念、題材也極易產(chǎn)生豐富的想象力,而主力也趁機耍一些散布假消息、找股評做莊托等下三流手段,極盡欺騙之能事,誘騙處于狂熱狀態(tài)的投資者在高位接貨,而這其實是最危險又最真實的影響力,因此,海王星上行之時的投資者,請謹慎擦亮眼鏡,小心進入吧。水星與天王星對沖還在運行、財星金星升勢緩慢,因此全球股市則將出現(xiàn)價格大幅震蕩的浮動格局,投資人宜注意分散避險及短波操作。好在未來一個月的時間東方星系的強勢照耀顯示國內(nèi)股市諸多利好的跡象已經(jīng)越來越明顯,相比較國際股市則有更多機會。

      閱讀全文
    posted @ 2008-09-12 09:59 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 未來一周,在眾人都把期待值放到最低,覺得前路漫漫的時候,卻出現(xiàn)峰回路轉(zhuǎn),充滿機遇的一周。好在東方星系的強勢照耀顯示國內(nèi)股市諸多利好的跡象已經(jīng)越來越明顯,相比較國際股市則有更多機會,低潮未必等于沒有機會,低潮中小小的反彈依然可以鑄就巨大的財富,這一點未來一周之中,風象星座當是把握最準的,尤其水瓶座,將有勢如破竹的收獲勢頭。

    但總體來說,國內(nèi)外大環(huán)境危機指數(shù)狂飆的本周期,就個別星座而言,厄運當頭、橫遭打擊淬練的星座遠遠多過養(yǎng)尊處優(yōu)、無憂無慮的幸運星。處女座相對也在理財高點,而水向的雙魚、天蝎、巨蟹則相對在低點,宜于觀望,不宜出手。



      閱讀全文
    posted @ 2008-09-04 13:50 冰是沒有未來的,因為它的永恒| 編輯 收藏
    posted @ 2008-09-03 17:09 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 閉幕式上,她知道姚明會來,所以她早早就等在那里,她看見了那個高大的身影,興奮的像一個小鳥.......  閱讀全文
    posted @ 2008-08-28 17:29 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 不知道何時才能長途旅游......  閱讀全文
    posted @ 2008-08-28 16:38 冰是沒有未來的,因為它的永恒| 編輯 收藏
         摘要: 未來一周,金星回歸正位,處女座日行上行到正宮位,火星入住天秤之后卻不算太平。但幾組與財務(wù)問題相關(guān)的宮位和相位呈現(xiàn)混亂的焦灼局面,這意味著,短暫的一夜翻身機會顯山露水,但同時伴隨的是相當多的坑坑洼洼,稍不留意,不但不能翻身,還將萬劫不復(fù)。坦白來說,未來一周對絕大多數(shù)星座都將是不適宜大動作理財?shù)囊恢埽皇菦]有機會,而是伴隨機會的陷阱實在太多,多到“亂花漸欲迷人眼”的地步,如若不是藝高人膽大的多經(jīng)驗者,恐怕很難不遭遇不良波及。

      閱讀全文
    posted @ 2008-08-28 11:43 冰是沒有未來的,因為它的永恒| 編輯 收藏

    當下,把心放下 放下如果是可能的,那一定是在當下,
    不在過去,也不在未來。
    當下放下。唯有活在當下,你的問題才能放下。

    主站蜘蛛池模板: 色欲色香天天天综合网站免费| 毛片a级三毛片免费播放| 亚洲综合婷婷久久| 成人免费午夜视频| 国产精品永久免费视频| 亚洲∧v久久久无码精品| 女人张开腿给人桶免费视频| 一个人看的www在线免费视频| 亚洲视屏在线观看| 免费在线看片网站| 久久成人国产精品免费软件| 羞羞漫画小舞被黄漫免费| 91亚洲国产成人精品下载| 免费国产在线观看| 亚洲成人免费网站| 一区二区三区在线免费| 亚洲国产精品久久人人爱| 亚洲区小说区图片区| 啦啦啦高清视频在线观看免费 | 波霸在线精品视频免费观看| 亚洲成av人片不卡无码| 亚洲日韩国产成网在线观看| 1000部拍拍拍18勿入免费视频软件 | 亚洲精品自在线拍| 亚洲熟伦熟女新五十路熟妇| 成人女人A级毛片免费软件| 叮咚影视在线观看免费完整版| 亚洲老熟女五十路老熟女bbw| 亚洲国产精品婷婷久久| 国产偷国产偷亚洲清高动态图| 国内免费高清在线观看| 最近2019免费中文字幕6| 成人网站免费大全日韩国产| 麻豆亚洲AV成人无码久久精品| 精品亚洲国产成人| 亚洲美女视频一区| 亚洲AV无码久久精品成人| 亚洲一区二区三区在线视频| 永久免费看bbb| 成年女人18级毛片毛片免费 | 免费91麻豆精品国产自产在线观看 |