【问题标题】:migrate Apache OFBiz from Apache Derby to mysql将 Apache OFBiz 从 Apache Derby 迁移到 mysql
【发布时间】:2015-07-13 12:26:56
【问题描述】:

我在我的组织中使用 ofbiz。我想将 ofbiz 从 derby 迁移到 MySQL。
我参考了以下步骤 (https://cwiki.apache.org/confluence/display/OFBIZ/How+to+migrate+OfBiz+from+Derby+to+MySQL+database) 在这里,但最后我被卡住了。
最后,当我输入 (java -jar ofbiz.jar -install) 这个命令时,我得到一个异常,

C:\Users\sagar_vinod_khanke\Sagar\Apache OFBiz\Ofbiz\13.07>java -jar ofbiz.jar - 安装

线程 "main" org.ofbiz.base.start.StartupException 中的异常:Couldnt not f 蚀刻配置实例

    at org.ofbiz.base.start.Start.init(Start.java:202)
    at org.ofbiz.base.start.Start.main(Start.java:127)

原因:java.io.IOException:无法加载配置属性:org/ofbiz /base/start/-install.properties

    at org.ofbiz.base.start.Config.getPropertiesFile(Config.java:229)
    at org.ofbiz.base.start.Config.readConfig(Config.java:297)
    at org.ofbiz.base.start.Config.getInstance(Config.java:58)
    at org.ofbiz.base.start.Start.init(Start.java:200)
    ... 1 more

你能帮帮我吗?

【问题讨论】:

    标签: mysql derby ofbiz


    【解决方案1】:

    不要使用 - 与安装。 参见修订后的步骤 V

    第五步

    1. Run the following command from command prompt:
    java -jar ofbiz.jar install
    2. Start OfBiz
    3. Use webtools to import all data from XML:
    a. Navigate to http://localhost:8080/catalog/
    b. Go to Applications>WebTools
    c. Go to section 'Entity XML Tools' and click the link 'XML Data Import Dir' -> In the 'Absolute directory path:' enter the full path of the directory where you exported the data in Step - II
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-04
      • 1970-01-01
      • 2011-08-24
      • 1970-01-01
      • 2014-05-28
      相关资源
      最近更新 更多