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
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
____________________________________
On Fri, Aug 2, 2019 at 11:51 AM Markus Wittenberg <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
-- Markus Wittenberg Tel +49 (0)341 248 475 36 Mail wittenberg@axxepta.de ---- axxepta solutions GmbH Lehmgrubenweg 17, 88131 Lindau Amtsgericht Berlin HRB 97544B Geschäftsführer: Karsten Becke, Maximilian Gärber