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

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

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

    ann
    冰是沒有未來的,因?yàn)樗挠篮?/span>
    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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    linux安裝openMQ      摘要: 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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    建立link      摘要: ln -s /data/tomcat /opt/tomcat  閱讀全文
    posted @ 2009-06-17 14:21 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    linux清空文件內(nèi)容      摘要: :> domains/domain1/logs/server.log   閱讀全文
    posted @ 2009-06-17 13:59 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    linux查看磁盤剩余空間      摘要: df -hl 查看磁盤剩余空間

    du -sm 文件夾
    返回該文件夾總M數(shù)  閱讀全文
    posted @ 2009-06-17 11:26 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    glassfish中l(wèi)oad application順序問題      摘要: 解決的方案:部署在不同的domain中,并控制domain啟動(dòng)的順序

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

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

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



    posted @ 2009-06-16 15:23 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    glassfish 已知問題和限制      摘要: 已知問題和限制
    http://docs.sun.com/app/docs/doc/820-7430/knownissuessges?a=view
      閱讀全文
    posted @ 2009-06-16 11:01 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    升級(jí)后啟動(dòng)域時(shí),您會(huì)在日志中看到以下異常。(6774663)      摘要: 說明
    可能會(huì)拋出以下異常:

    #|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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    特定于 INTERNET EXPLORER 6.0/7.0 瀏覽器:導(dǎo)出負(fù)載平衡器配置文件會(huì)拋出錯(cuò)誤 (6516068)      摘要: 說明
    (僅 Internet Explorer 6 和 7)當(dāng)嘗試從 Internet Explorer 6 或 7 導(dǎo)出負(fù)載平衡器配置文件 (loadbalancer.xml) 時(shí),瀏覽器會(huì)顯示錯(cuò)誤消息,表示找不到 sun-loadbalancer_1_2.dtd DTD 文件。
    解決方法
    要保存此文件,請(qǐng)使用以下解決方法:
    在 Internet Explorer 中,在“負(fù)載平衡器”頁上單擊“導(dǎo)出”。
    將顯示“XML page cannot be displayed”消息。
    單擊錯(cuò)誤框,然后從 Internet Explorer 中選擇“文件”->“另存為”。
    將 loadbalancer.xml 文件保存到所選目錄中。

      閱讀全文
    posted @ 2009-06-16 10:53 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    glassfish啟動(dòng) --java.rmi.server.ExportException      摘要: glassfish啟動(dòng)的時(shí)候:

    .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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    linux java main函數(shù)啟動(dòng)的例子      摘要: java -cp "./WEB-INF/lib/*:./WEB-INF/classes" bran.RestaurantCenterJettyStarter
    nohup java -cp "./WEB-INF/lib/*:./WEB-INF/classes" bran.RestaurantCenterJettyStarter >log.log & 退出時(shí)候,不中斷  閱讀全文
    posted @ 2009-06-15 18:02 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    solr int Querying Ranges Problem      摘要: Ensure that the fieldType maps back to solr.SortableIntField rather
    than solr.IntField  閱讀全文
    posted @ 2009-06-13 17:45 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    jetty starter 不檢查 端口是否被占用      摘要: jetty starter 不檢查 端口是否被占用

    connector.setReuseAddress(false);

    這樣就不能重復(fù)啟動(dòng)同一個(gè) jetty 了.
      閱讀全文
    posted @ 2009-06-12 15:15 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    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": "中國(guó)上海市浦東新區(qū)金橋開發(fā)\r\r\n區(qū)",
    "AddressDetails": {
    "Country": {
    "CountryNameCode": "CN",
    "  閱讀全文
    posted @ 2009-06-03 09:57 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    為已經(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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    成批轉(zhuǎn)換java 文件的編碼      摘要: netbeans項(xiàng)目中缺省使用 utf-8. 這要求所有的源文件使用 utf8 編碼有些源文件是從別的文件系統(tǒng)中拷貝出來, 可能使用別的編碼方式, 例如 iso-8859-1. 如果其中有 Ascii 擴(kuò)展字符, 則 編譯的時(shí)候會(huì)抱怨有 并不認(rèn)識(shí)的 unicode 編碼. (ummapped unicode characters)

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

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

    - 在 一個(gè)臨時(shí)文件目錄兩種建立和源目錄相同的目錄結(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 冰是沒有未來的,因?yàn)樗挠篮銃 編輯
    標(biāo)記javabean 屬性不要映射到 xml      摘要: JTS Geometry 對(duì)象不能被 JAXB 映射成xml.

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

    在 bean 的class級(jí)別:

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

    然后在 field 上面

    @XmlTransient


    如果沒有 XmlAccessorType, 則需要把 @XmlTransient 放在getter 上面.  閱讀全文
    posted @ 2009-06-03 09:44 冰是沒有未來的,因?yàn)樗挠篮銃 編輯

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

    主站蜘蛛池模板: 免费在线观看视频a| 久久亚洲最大成人网4438| 亚洲午夜精品久久久久久人妖| 亚洲日韩一区二区三区| 97av免费视频| 亚洲AV无码日韩AV无码导航| 狼人大香伊蕉国产WWW亚洲 | 亚洲AV无码成人精品区天堂| 黄色网站软件app在线观看免费| 亚洲日产韩国一二三四区| 韩国免费A级毛片久久| 亚洲中文字幕无码久久综合网| 特级毛片全部免费播放a一级 | 91香蕉视频免费| 77777亚洲午夜久久多喷| 四虎成人精品一区二区免费网站| 亚洲精品理论电影在线观看| 亚洲va在线va天堂成人| 国产1024精品视频专区免费| 亚洲国产精品无码久久98| 爱爱帝国亚洲一区二区三区| 亚洲成在人线aⅴ免费毛片| 国产精品成人无码免费| 四虎成人精品国产永久免费无码| 国产精品亚洲аv无码播放| 中文字幕视频在线免费观看| 91精品国产亚洲爽啪在线观看| 亚洲图片校园春色| 卡一卡二卡三在线入口免费| 亚洲AV性色在线观看| 亚洲国产综合无码一区二区二三区| 亚洲综合一区二区国产精品| 成人A级毛片免费观看AV网站| 人人狠狠综合久久亚洲| 国产日韩AV免费无码一区二区| 黄色免费网站网址| 免费无码不卡视频在线观看| 亚洲av最新在线网址| 国产精品亚洲精品| 久久亚洲中文字幕精品一区| 五月婷婷在线免费观看|