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

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

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

    小飛哥

    Installing opentaps on JBoss

    Contents

    Introduction

    The Ant scripts for JBoss deployment package opentaps applications to an exploded EAR directory which contains exploded WAR directories for the opentaps web applications, a lib directory with all the dependent libraries and resources files, as well as a META-INF directory that contains the application.xml file.

    The scripts also provide tasks to automate the opentaps deployment to a JBoss app server. However we only recommend the use of such automated tasks for JBoss deployment under a development or testing server. Deployments to a production server should be taken more seriously. Upgrading a production application is something that should be done deliberately, and in our opinion, should be done by hand.

    We will show you step-by-step on how to deploy opentaps to JBoss app server 4.2.2 in the following sections. It assumes that you are reasonably familiar with JBoss app servers, and you have already installed the MySQL database for opentaps. For details on how to use opentaps with MySQL, refer to the Wiki page at http://www.opentaps.org/index.php?option=com_content&task=view&id=37&Itemid=62

    Pre-requirements

    1. Download and install jboss-4.2.2.GA.zip from jboss.org at http://www.jboss.org/jbossas/downloads
    2. Download and install MySQL
    3. Download the opentaps
    4. Setup MySQL for opentaps: Create opentaps database in MySQL, and load opentaps application data to the database

    Packaging Opentaps

    1. Set JBOSS_HOME and JAVA_HOME in ${opentaps.home}\build-ear.properties to point to your JBoss app server and JDK installation directories

    2. Change the connection-url, user-name, and password in ${opentaps.home}\framework\appserver\templates\jboss422\datasources\mysql-ds.xml to point to the opentaps database

    3. Locate the system property -Dofbiz.home in ${opentaps.home}\framework\appserver\templates\jboss422\misc\run.bat under Windows (or run.sh for Unix) and change its value to point to the opentaps home directory

    4. Package opentaps

      ant -f build-ear.xml package-jboss
    

    Configuring JBoss

    Use the following Ant task to configure the datasource, SSL, and JBoss start-up scripts in JBoss app server

     ant -f build-ear.xml setup-jboss
    

    Please note this task should be called only once to configure JBoss to run openstaps before any opentaps deployment. And it shouldn't be called again next time you redeploy opentaps.

    Depolying opentaps

    Simply copy the ${opentaps.home}\build\opentaps directory into ${JBOSS_HOME}\server\default\deploy.

    Alternatively you can run the following Ant task to package opentaps and install it to JBoss in one step

     ant -f build-ear.xml install-jboss
    

    Starting opentaps

    Finally to start JBoss app server under Windows

     ${JBOSS_HOME}\bin\run.bat
    

    or under Unix

     ${JBOSS_HOME}\bin\run.sh
    

    After the server is started, you should be able to access opentaps at http://localhost:8080/.


    移植到j(luò)boss上時(shí)必須得把du給close掉,ofbiz里本身也有地方?jīng)]有close。tomcat不需要

    posted on 2010-01-26 13:18 小飛哥 閱讀(2246) 評(píng)論(3)  編輯  收藏 所屬分類: ofbiz

    Feedback

    # re: Installing opentaps on JBoss 2012-07-26 10:52 coolchecker

    你好,請(qǐng)問文中最后提到的"du"是什么?如何關(guān)掉呢?
    我現(xiàn)在也在弄opentaps1.5移植到j(luò)boss5.1上。問題一大堆。  回復(fù)  更多評(píng)論   

    # re: Installing opentaps on JBoss[未登錄] 2012-07-28 15:22 小飛哥

    @coolchecker
    好久沒玩ofbiz了 呵呵 有些忘光了 印象中是數(shù)據(jù)庫連接沒有關(guān)掉 ofibz底層開了數(shù)據(jù)庫連接后沒有關(guān)掉 在tomcat上是沒問題的 但在jboss上就跑步通  回復(fù)  更多評(píng)論   

    # re: Installing opentaps on JBoss 2013-03-04 14:04 smsatheesh

    Hai, while i using ant -f build-ear.xml package-jboss command i faced issue BUILD FAILED
    C:\Program Files\opentaps-1.5.0\build-ear.xml:96: The following error occurred while executing this line:
    C:\Program Files\opentaps-1.5.0\themes\build-ear.xml:70: The following error occurred while executing this line:
    C:\Program Files\opentaps-1.5.0\themes\build-ear.xml:57: C:\Program Files\opentaps-1.5.0\themes\smoothfeather\includes not found.

    What i do please any one to tell to me. Thanks in Advance My email id is smsatheeshkumar89@gmail.com  回復(fù)  更多評(píng)論   



    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     

    My Links

    News

    常用鏈接

    隨筆分類

    最新隨筆

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 亚洲精品国产福利一二区| 131美女爱做免费毛片| 日本激情猛烈在线看免费观看| 久久综合久久综合亚洲| 亚洲日本va在线观看| 亚洲无限乱码一二三四区| 亚洲午夜久久久精品电影院| 亚洲一级高清在线中文字幕| 亚洲fuli在线观看| 亚洲综合中文字幕无线码| 亚洲日韩看片无码电影| 亚洲AV无码国产剧情| 国产精品亚洲二区在线| 极品美女一级毛片免费| jizz免费一区二区三区| 全黄大全大色全免费大片| 精品国产污污免费网站| 美丽的姑娘免费观看在线播放 | 国产色在线|亚洲| 亚洲色中文字幕在线播放| 国产精品亚洲专区在线播放| 一级人做人a爰免费视频| 三级毛片在线免费观看| 无码精品人妻一区二区三区免费看| 最近免费最新高清中文字幕韩国| 50岁老女人的毛片免费观看| 精品熟女少妇AV免费观看| 免费在线观看一级毛片| 亚洲色无码专区在线观看| 亚洲专区先锋影音| 亚洲1区1区3区4区产品乱码芒果 | 亚洲视频日韩视频| 亚洲综合色7777情网站777| 美女18一级毛片免费看| 中文字幕久精品免费视频| 国产高清免费视频| 国产伦精品一区二区三区免费下载| 亚洲午夜国产精品无码 | 亚洲国产成人五月综合网 | 午夜亚洲av永久无码精品| 亚洲精品乱码久久久久久自慰|