<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/.


    移植到jboss上時必須得把du給close掉,ofbiz里本身也有地方沒有close。tomcat不需要

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

    Feedback

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

    你好,請問文中最后提到的"du"是什么?如何關掉呢?
    我現在也在弄opentaps1.5移植到jboss5.1上。問題一大堆。  回復  更多評論   

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

    @coolchecker
    好久沒玩ofbiz了 呵呵 有些忘光了 印象中是數據庫連接沒有關掉 ofibz底層開了數據庫連接后沒有關掉 在tomcat上是沒問題的 但在jboss上就跑步通  回復  更多評論   

    # 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  回復  更多評論   



    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    My Links

    News

    常用鏈接

    隨筆分類

    最新隨筆

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 日本免费v片一二三区| 2021国内精品久久久久精免费| 成人免费视频小说| 亚洲最大av资源站无码av网址| 一个人免费观看视频www| 亚洲一卡二卡三卡| 国产精品免费观看久久| 亚洲偷偷自拍高清| 日韩中文字幕在线免费观看 | 亚洲一区中文字幕久久| 久9久9精品免费观看| 亚洲视频精品在线| aⅴ在线免费观看| 亚洲熟妇自偷自拍另欧美| 日本一道一区二区免费看| 国产亚洲视频在线观看网址| 国产免费怕怕免费视频观看| 免费无码专区毛片高潮喷水| 国产乱辈通伦影片在线播放亚洲 | 久久亚洲精品中文字幕无码| 久久国产精品免费网站| 91亚洲视频在线观看| 女性无套免费网站在线看| 污视频网站免费观看| 亚洲国产精品久久久天堂| 每天更新的免费av片在线观看| 中文字幕亚洲情99在线| 全亚洲最新黄色特级网站| a级毛片免费播放| 亚洲人成电影网站| 可以免费观看一级毛片黄a| a毛片在线还看免费网站| 91嫩草亚洲精品| 国产一级理论免费版| 国产高清不卡免费视频| 亚洲色在线无码国产精品不卡| 亚洲精品国产综合久久一线| 99re视频精品全部免费| 亚洲AV无码XXX麻豆艾秋| 亚洲AV日韩AV鸥美在线观看| 老司机永久免费网站在线观看|