将Apache OFBiz从Apache Derby迁移到mysql
问题描述:
我在我的组织中使用ofbiz。我想将derbiz从derby迁移到MySQL。
我在这里指的是 (https://cwiki.apache.org/confluence/display/OFBIZ/How+to+migrate+OfBiz+from+Derby+to+MySQL+database)的步骤,但在最后我被卡住了。
在当我输入结束时(Java的罐子ofbiz.jar -install)该命令我正在一个例外,将Apache OFBiz从Apache Derby迁移到mysql
C:\用户\ sagar_vinod_khanke \萨加尔\阿帕奇OFBiz的\ Ofbiz的\ 13.07> Java的罐子的ofbiz的.jar - 安装在线程 “主要” org.ofbiz.base.start.StartupException
异常:java.io.IOException异常:无法不˚F 蚀刻配置实例
at org.ofbiz.base.start.Start.init(Start.java:202)
at org.ofbiz.base.start.Start.main(Start.java:127)
产生的原因:无法加载配置属性: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
你能帮我吗?
答
不要使用 - 安装。 参见订正步骤-V
步骤-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