Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2477E10130 for ; Fri, 17 Apr 2015 07:26:52 +0000 (UTC) Received: (qmail 88605 invoked by uid 500); 17 Apr 2015 07:11:51 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 82802 invoked by uid 500); 17 Apr 2015 07:11:48 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 51126 invoked by uid 99); 17 Apr 2015 04:45:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 04:45:31 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [93.17.128.20] (HELO smtp23.services.sfr.fr) (93.17.128.20) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 04:45:24 +0000 Received: from filter.sfr.fr (localhost [77.130.228.235]) by msfrf2307.sfr.fr (SMTP Server) with ESMTP id B57B17000056 for ; Fri, 17 Apr 2015 06:44:43 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=permerror (cannot check policy: Unable to verify) header.from= jacques.le.roux@les7arts.com Received: from [192.168.1.72] (235.228.130.77.rev.sfr.net [77.130.228.235]) by msfrf2307.sfr.fr (SMTP Server) with ESMTP id 869237000043 for ; Fri, 17 Apr 2015 06:44:43 +0200 (CEST) X-SFR-UUID: 20150417044443551.869237000043@msfrf2307.sfr.fr Message-ID: <55308FC2.30502@les7arts.com> Date: Fri, 17 Apr 2015 06:44:50 +0200 From: Jacques Le Roux Organization: Les Arts Informatiques User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Re: external install of multiple xml files through bash References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org With R13.07 use rather something like java -jar ofbiz.jar install -file=test.file "-install" was valid until R12.04, please refer to the wiki https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-InitialDataLoading Jacques Le 16/04/2015 19:04, Chris Clark a écrit : > so i know i can do this.. > > java -jar ofbiz.jar -install -file=file.xml > > although that doesnt work on my system i get > > Exception in thread "main" org.ofbiz.base.start.StartupException: Couldn't > not fetch config instance at > org.ofbiz.base.start.Start.init(Start.java:202) at > org.ofbiz.base.start.Start.main(Start.java:127) Caused by: > java.io.IOException: Cannot load configuration properties : > 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 > > > is this another one of those i didnt declare the classes thing? because i > read in the classes and its still the same error... is there some > idiosyncrasy to installing multiple files say from a directory... > > please help > > Chris >