Hi Nicolas, I cannot repeat this behavior. OFBiz is shutting down normally when I start it with ./gradlew ofbizBackground followed by ./gradlew "ofbiz --shutdown". Are you sure you got the environment setup correctly?
Cheers, Taher Alkhateeb On Thu, Jan 19, 2017 at 2:00 PM, Nicolas Malin <[email protected]> wrote: > Hello, > > Yesterday during the birt improvement I run the ofbiz with the command > under linux : > > $./gradlew build ofbizBackground > > After some tests I correct the java code and want to stop ofbiz > > $./gradlew "ofbiz -d" > > Gradle build ofbiz and says ofbiz down. But after a analyze > > $ ps aux | grep java > > mnicolas 14946 5.4 9.1 4669464 734960 ? Sl 11:16 1:49 > /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xms128M -Xmx1024M > -Dfile.encoding=UTF-8 -Duser.country=FR -Duser.language=fr -Duser.variant -cp > /home/mnicolas/workspace/apache-ofbiz-git/build/libs/ofbiz.jar > org.apache.ofbiz.base.start.Start > > Hmm ofbiz wasn't down, I restarted the command, same result. > > To solve I found two solutions : > > * the Goodness kill command (he he he) > > * Call directly the jar $java -jar build/libs/ofbiz.jar -d > > I know that my call to ofbizBackground wasn't not a realistic production > case, but I prefer to sharing this with the thinking about what is the best > way to down ofbiz. Do we need use gradle but in this case why call build > target, directly call the jar or by operating system order ! > > On the README.md whe have the example of gradlew "ofbiz --shutdown", > please help me to found the better way :) > > Nicolas > -- > [image: logoNrd] <https://nereide.fr/> > Nicolas Malin > The apache way <http://theapacheway.com/> : *Openness* Technical > decisions are made publicly > [email protected] > 8 rue des Déportés 37000 TOURS, 02 47 50 30 54 > Apache OFBiz <http://ofbiz.apache.org/>|The Apache Way > <http://theapacheway.com/>|ofbiz-fr <http://www.ofbiz-fr.org/>|réseau LE > <http://www.libre-entreprise.org/> >
