<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
    06 2009 檔案
    linux script配置      摘要: 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 冰是沒有未來的,因為它的永恒| 編輯
    linux安裝openMQ      摘要: 1. 下載openMQ安裝文件 openmq4_3-installer-Unix.zip 到/home/zhshp

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


    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 冰是沒有未來的,因為它的永恒| 編輯
    linux查看磁盤剩余空間      摘要: df -hl 查看磁盤剩余空間

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

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

    服務器: 內網192.168.1.18上
    glassfish的路徑:/opt/glassfish2.1

    1.首先,創建兩個domain :domain1,domain2
    創建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 瀏覽器:導出負載平衡器配置文件會拋出錯誤 (6516068)      摘要: 說明
    (僅 Internet Explorer 6 和 7)當嘗試從 Internet Explorer 6 或 7 導出負載平衡器配置文件 (loadbalancer.xml) 時,瀏覽器會顯示錯誤消息,表示找不到 sun-loadbalancer_1_2.dtd DTD 文件。
    解決方法
    要保存此文件,請使用以下解決方法:
    在 Internet Explorer 中,在“負載平衡器”頁上單擊“導出”。
    將顯示“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函數啟動的例子      摘要: 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.復制到安裝的路徑下 copy th glassfish to /opt/glasfish2.1

    # cd glassfish2.1
    如果系統沒安裝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);

    這樣就不能重復啟動同一個 jetty 了.
      閱讀全文
    posted @ 2009-06-12 15:15 冰是沒有未來的,因為它的永恒| 編輯
    solrj的相關網址      摘要: 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": "上海金橋開發區",
    "Status": {
    "code": 200,
    "request": "geocode"
    },
    "Placemark": [
    {
    "id": "p1",
    "address": "中國上海市浦東新區金橋開發\r\r\n區",
    "AddressDetails": {
    "Country": {
    "CountryNameCode": "CN",
    "  閱讀全文
    posted @ 2009-06-03 09:57 冰是沒有未來的,因為它的永恒| 編輯
    為已經存在的數據庫添加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 冰是沒有未來的,因為它的永恒| 編輯
    成批轉換java 文件的編碼      摘要: netbeans項目中缺省使用 utf-8. 這要求所有的源文件使用 utf8 編碼有些源文件是從別的文件系統中拷貝出來, 可能使用別的編碼方式, 例如 iso-8859-1. 如果其中有 Ascii 擴展字符, 則 編譯的時候會抱怨有 并不認識的 unicode 編碼. (ummapped unicode characters)

    解決方法: 使用 GNU iconv 工具進行批處理轉換.

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

    - 在 一個臨時文件目錄兩種建立和源目錄相同的目錄結構: 拷貝過去以后, 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 冰是沒有未來的,因為它的永恒| 編輯
    標記javabean 屬性不要映射到 xml      摘要: 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 冰是沒有未來的,因為它的永恒| 編輯

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

    主站蜘蛛池模板: 亚洲精品不卡视频| 亚洲第一极品精品无码久久| 亚洲永久中文字幕在线| 特级精品毛片免费观看| 亚洲日本在线观看| 色播精品免费小视频| 亚洲一区二区久久| 成人免费视频软件网站| 亚洲成在人线aⅴ免费毛片 | 久久99国产综合精品免费| 精品亚洲成a人片在线观看少妇 | 100000免费啪啪18免进| 亚洲一区二区三区深夜天堂| 曰批全过程免费视频在线观看 | 亚洲精品福利在线观看| 无码人妻一区二区三区免费 | 久久久久久av无码免费看大片| 亚洲精品二区国产综合野狼| 99精品视频在线观看免费播放 | 亚洲A∨精品一区二区三区| 国产精品高清视亚洲精品| 免费不卡视频一卡二卡| 亚洲欧美国产国产综合一区| 日产乱码一卡二卡三免费| 午夜不卡AV免费| 久久精品国产精品亚洲精品| 最近中文字幕无免费| 亚洲国产高清国产拍精品| 亚洲午夜激情视频| 国产精成人品日日拍夜夜免费| 亚洲午夜国产精品无卡| 四虎永久免费影院| 国产高清不卡免费视频| 色噜噜亚洲男人的天堂| 在线a亚洲v天堂网2018| 久久精品一本到99热免费| 亚洲欧美成人一区二区三区 | 久久夜色精品国产噜噜亚洲AV| 日本不卡免费新一区二区三区 | 亚洲av无码一区二区三区乱子伦| www视频在线观看免费|