Hi Christian,
unfortunately, the behavior is still the same - I can stop the server by calling the batch file directly, but not if I invoke it with the task scheduler.
Regards,
Markus
Am 02.08.2019 um 12:49 schrieb Christian Grün:
Hi Markus,
thanks for the pom.xml file. In order to reduce unknown side effects, I’ve further stripped it down. What about the attached version, does it work on your Windows Server instance?
Hints: • I have referenced BaseX 9.2.4 (before: 9.1) • I have reference exec-maven-plugin 1.6.0 (before: 1.4.0) • If you don’t use the database/server port, you can disable it via -l [1]
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Command-Line_Options#HTTP_Server ____________________________________
On Fri, Aug 2, 2019 at 11:51 AM Markus Wittenberg <Wittenberg@axxepta.de mailto:Wittenberg@axxepta.de> wrote:
Hi Christian, see the text below, the previous mail was rejected, probably because I attached some batch files. I will insert the pretty straightforward content here: start.bat cd /D "%~dp0" set MAVEN_OPTS="-Xmx4096m" mvn exec:java -Pstart stop.bat cd /D "%~dp0" mvn exec:java -Pstop