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

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

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

    posts - 33, comments - 46, trackbacks - 0, articles - 2

    2013年4月8日

    Linux birt3.7環(huán)境中,部分導(dǎo)出pdf的漢字不能正確顯示,解決辦法:

    打開org.eclipse.birt.report.engine.fonts_2.3.2.r232_20090202.jar文件,修改fontsConfig_pdf.xml文件中下面行
    <font font-family="STSong-Light" catalog="Chinese" />
    <composite-font name="all-fonts">
            
    <font font-family="Times-Roman" catalog="Western" />
            
    <font font-family="STSong-Light" catalog="Chinese" />
            
    <font font-family="HeiseiKakuGo-W5" catalog="Japanese" />
            
    <font font-family="HYGoThic-Medium" catalog="Korean" />
        
    </composite-font>


    posted @ 2013-10-21 12:53 在路上... 閱讀(1771) | 評論 (0)編輯 收藏

    1、下載
    wget http://mirror.bit.edu.cn/apache/subversion/subversion-1.8.3.tar.gz
    2、下載依賴包
    ./get-deps.sh

    3.install apr
    ./configur
    make
    make install
    4.install apr-util
    ./configure --with-apr=/usr/local/apr
    make
    make install
    5.update sqlite
    sqlite-amalgamation下載安裝最新版本sqlite,解壓
    4.yum install glibc gcc expat expat-devel openssl openssl-devel
    下載有關(guān)依賴包
    5.compile svn
    ./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-zlib \
    --with-openssl --enable-maintainer-mode --with-serf=/usr/local/serf --enable-mod-activation

    可能錯誤現(xiàn)象:
    /tools/svn/bin/svn: symbol lookup error: /tools/svn/lib/libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr

    錯誤解決
    新配置的服務(wù)器,在運行svn命令時,全部出錯顯示上面的錯誤信息。
    在網(wǎng)上搜索發(fā)現(xiàn),原來這個錯誤是由于系統(tǒng)已經(jīng)安裝了apr的庫文件,而在編譯Svn時已經(jīng)指定了httpd的apr庫。
    在執(zhí)svn命令時,優(yōu)先從系統(tǒng)自帶的apr庫載入,而引起不必要的錯誤。

    只需要執(zhí)行以下命令,將apr和apr-util都卸載即可

    rpm -e --allmatches apr-util --nodeps
    rpm -e --allmatches apr --nodeps


    posted @ 2013-09-11 20:35 在路上... 閱讀(1797) | 評論 (0)編輯 收藏

    1、打包文件命名規(guī)則
    根據(jù)JavaEE規(guī)范,打包的EAR文件可以不適用部署描述符部署,因此需要使用一些默認的約定規(guī)則,例如
    •EJBs and client archives are packaged as .jar files.

    •Web applications are packaged as .war files.

    •Resource adapters are packaged as .rar files.

    •Enterprise applications are packaged as .ear files, and can contain other Java EE modules such as EJBs, JDBC, JMS, Web applications, and Resource Adapters.

    •Web Services can be packaged either as .war files or as .jar files, depending on whether they are implemented using Java classes or EJBs. Typically, the .war or .jar files are then packaged in an Enterprise Application .ear file.

    •Java EE libraries are packaged either as an Enterprise Application (.ear file) or as a standard Java EE module.

    •Client applications and optional packages are packaged as .jar files.
    2、Java EE默認部署規(guī)則
    通常EAR應(yīng)用也可以使用開放式目錄部署,此時也應(yīng)該參考以上的規(guī)范配置相應(yīng)的文件夾,例如
    war應(yīng)用目錄名必須為XX.war
    EAR==>xx.ear 
    RAR==>XX.rar
    EJB==>xx.jar

    3、Java EE標準的部署規(guī)則
    a. 應(yīng)用包中所有擴展名是.war 的文件被看作是 web 模塊。Web 模塊的上下文根
    的名字是相對于應(yīng)用包根的名字,但要去掉.war 擴展名。
    b. 應(yīng)用包中所有擴展名是.rar 的文件都被看作是資源適配器。
    c. 名字為 lib 的目錄被看作是庫目錄,正如在節(jié) 8.2.1“捆綁的庫”中所述。
    d. 對于應(yīng)用包中所有以擴展名是.jar 但不包含在 lib 目錄內(nèi)的文件來說,按下面 的方式來處理:
    i. 如果 JAR 文件中包含帶有 Main‐Class 屬性的 META‐INF/MANINFEST.MF 文件, 或者包含 META‐INF/application‐client.xml 文件,那么這個 JAR 文件被看作 是應(yīng)用客戶端模塊。
    ii. 如果 JAR 文件包含 META‐INF/ejb‐jar.xml 文件,或者包含任何帶有 EJB 組件 注釋符(Stateless,等等)的類,那么這個 JAR 文件被看作是 EJB 模塊。
    iii. 所有其他的 JAR 文件都被忽略,除非它被上面的 JAR 文件使用 JAR 文件引 用機制(如在 mainfest 文件中的 Class‐Path 頭library-directory)引用。

    在Jboss環(huán)境中,可以在application.xml中手工指定library-directory,例如:
    <library-directory>APP-INF/lib</library-directory>
    其他的jboss遵循標準規(guī)范

    4、Weblogic的部署規(guī)則

    對于weblogic使用下面的一些規(guī)則處理目錄結(jié)構(gòu):

    •For an exploded archived Web application, in the absence of WEB-INF/web.xml descriptor, the name of the directory should have a .war suffix.

    •For an exploded archived Enterprise Application without a META-INF/application.xml descriptor, the directory should have an .ear suffix. Within the application, the directory of exploded Web module should have a .war suffix. Similarly, the exploded EJB module should have a .jar suffix and the exploded RAR module should have a .rar suffix.

    •If an exploded Enterprise Application contains no META-INF/application.xml descriptor, the order in which modules are deployed is undefined and is dependent on the underlying File.listFiles() method order. To ensure a specific order in which modules are deployed, you must add an application.xml descriptor and list the modules in the desired order.

    如果在weblogic下面如果不使用上面的規(guī)則,則需要在application.xml 文件中指定對應(yīng)的uri路徑
    或者在應(yīng)用模塊中使用下面的manifest路徑規(guī)則

    4.1 classloader的路徑引用
    在weblogic中EAR里面的所有應(yīng)用共有一個classloader,所以對于ear里面的war,通常不需要在WEB-INF里面包含lib,weblogic提供了一個默認的目錄:
    APP-INF\lib:存放jar包
    APP-INF\classes:存放classes

    注意對于其他的應(yīng)用服務(wù)器,可能沒有這樣的規(guī)則

    5、Manifest Class-Path規(guī)則
    在java EE規(guī)范中,可以使用manifest文件指定當(dāng)前的應(yīng)用模塊對與其他classpath路徑的關(guān)聯(lián)引用,該文件位于
    META-INF/MANIFEST.MF
    路徑下面,內(nèi)容例如下面,多個引用路徑使用空格分隔:
    Manifest-Version: 1.0
    Class-Path: utility.jar ../xxx/classes ../xxxlib/xxx.jar

    META-INF/MANIFEST.MF



    Manifest Class-Path


     

    參考頁面: http://docs.oracle.com/cd/E12839_01/web.1111/e13706/classloading.htm http://docs.oracle.com/cd/E12839_01/web.1111/e13702/deployunits.htm#DEPGD142

    posted @ 2013-04-08 16:18 在路上... 閱讀(3457) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲AV无码成人精品区在线观看| 亚洲免费在线视频播放| 91视频免费网址| 亚洲一区欧洲一区| 免费一级毛片一级毛片aa| 99精品免费视品| 亚洲一区二区三区免费在线观看 | 可以免费观看一级毛片黄a| 国产特黄一级一片免费| 亚洲成人福利在线| 亚洲国产精品日韩| 97国产免费全部免费观看| 污视频网站在线免费看| 亚洲视频免费播放| 亚洲情侣偷拍精品| 久久久久国产精品免费免费搜索| 和老外3p爽粗大免费视频| 亚洲人成网男女大片在线播放| 中文字幕亚洲专区| 好先生在线观看免费播放| 免费无码黄网站在线看| 国产亚洲一卡2卡3卡4卡新区| 亚洲国产精品一区| 亚洲精品视频免费| 久久WWW免费人成人片| 久久er国产精品免费观看2| 老司机亚洲精品影院在线观看| 亚洲精品午夜视频| 国产成人麻豆亚洲综合无码精品| 午夜两性色视频免费网站| 99久久99热精品免费观看国产| jizz在线免费观看| 亚洲av无码专区在线电影| 亚洲综合小说久久另类区 | 亚洲国产成人久久精品大牛影视 | 亚洲免费日韩无码系列| 在线免费观看a级片| 最近最新高清免费中文字幕| 久久国产福利免费| 免费精品国产自产拍在线观看 | 亚洲av专区无码观看精品天堂|