Dear Christian,
I just installed BaseX 8.6.3 on Windows Server 2012, but the BaseX GUI doesn't start up when I use basexgui.bat. Using the exe is fine, but I need some additional lib files, which of course won't be loaded via the exe.
Is there something I overlooked? Best regards, Ulrike.
Hi Ulrike,
we have recently changed and simplified our batch script. The new version uses wildcards:
https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basexgui.bat
Maybe it is not compatible with the Windows Server editions? Could you please check if the old version does the job?
https://github.com/BaseXdb/basex/blob/3098594b78793008b43cd5f5c57d229a83edef...
Thanks in advance, Christian
On Tue, Apr 18, 2017 at 10:16 AM, Ulrike Schaper - SideStep Business Solutions GmbH U.Schaper@sidestep-solutions.de wrote:
Dear Christian,
I just installed BaseX 8.6.3 on Windows Server 2012, but the BaseX GUI doesn’t start up when I use basexgui.bat. Using the exe is fine, but I need some additional lib files, which of course won’t be loaded via the exe.
Is there something I overlooked?
Best regards, Ulrike.
Hi Christian,
my old 8.4.1 version does the trick:
@echo off setLocal EnableDelayedExpansion
REM Path to core and library classes set MAIN=%~dp0/.. set CP=%MAIN%/BaseX.jar;%MAIN%/lib/*
REM Options for virtual machine set BASEX_JVM=-Xmx1400m %BASEX_JVM%
REM Run code start javaw -cp "%CP%" %BASEX_JVM% org.basex.BaseXGUI %*
Thank you, Best regards, Ulrike.
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Dienstag, 18. April 2017 11:21 An: Ulrike Schaper U.Schaper@sidestep-solutions.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] basexgui.bat doesn't start
Hi Ulrike,
we have recently changed and simplified our batch script. The new version uses wildcards:
https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basexgui.bat
Maybe it is not compatible with the Windows Server editions? Could you please check if the old version does the job?
https://github.com/BaseXdb/basex/blob/3098594b78793008b43cd5f5c57d229a83edef...
Thanks in advance, Christian
On Tue, Apr 18, 2017 at 10:16 AM, Ulrike Schaper - SideStep Business Solutions GmbH U.Schaper@sidestep-solutions.de wrote:
Dear Christian,
I just installed BaseX 8.6.3 on Windows Server 2012, but the BaseX GUI doesn’t start up when I use basexgui.bat. Using the exe is fine, but I need some additional lib files, which of course won’t be loaded via the exe.
Is there something I overlooked?
Best regards, Ulrike.
Hi Ulrike,
Just to be sure: The script you attached seemed to be the one from 8.6.3. If I got it right, it’s the version with the 'for' loop that’s working for you, right? Maybe we could generally switch back to the older script if it causes problems on some particular systems.
Thanks again, Christian
@echo off setLocal EnableDelayedExpansion
REM Path to core and library classes set MAIN=%~dp0/.. set CP=%MAIN%/BaseX.jar;%MAIN%/lib/*
REM Options for virtual machine set BASEX_JVM=-Xmx1400m %BASEX_JVM%
REM Run code start javaw -cp "%CP%" %BASEX_JVM% org.basex.BaseXGUI %*
Thank you, Best regards, Ulrike.
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Dienstag, 18. April 2017 11:21 An: Ulrike Schaper U.Schaper@sidestep-solutions.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] basexgui.bat doesn't start
Hi Ulrike,
we have recently changed and simplified our batch script. The new version uses wildcards:
https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basexgui.bat
Maybe it is not compatible with the Windows Server editions? Could you please check if the old version does the job?
https://github.com/BaseXdb/basex/blob/3098594b78793008b43cd5f5c57d229a83edef...
Thanks in advance, Christian
On Tue, Apr 18, 2017 at 10:16 AM, Ulrike Schaper - SideStep Business Solutions GmbH U.Schaper@sidestep-solutions.de wrote:
Dear Christian,
I just installed BaseX 8.6.3 on Windows Server 2012, but the BaseX GUI doesn’t start up when I use basexgui.bat. Using the exe is fine, but I need some additional lib files, which of course won’t be loaded via the exe.
Is there something I overlooked?
Best regards, Ulrike.
Whoops, sorry, I indeed attached the new script... too many versions open in my editor ;-)
I also tried the old version you sent me a link for, but it didn't work: The difference seems to be the following line: set CP=%PWD%/../target/classes (your file) set CP=%PWD%/../BaseX.jar (my 8.4.1 file)
This is what worked in the end: @echo off setLocal EnableDelayedExpansion
REM Path to this script set PWD=%~dp0
REM Core and library classes set CP=%PWD%/../BaseX.jar set LIB=%PWD%/../lib for /R "%LIB%" %%a in (*.jar) do set CP=!CP!;%%a
REM Options for virtual machine set BASEX_JVM=-Xmx512m %BASEX_JVM%
REM Run code start javaw -cp "%CP%" %BASEX_JVM% org.basex.BaseXGUI %*
Best regards, Ulrike.
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Dienstag, 18. April 2017 11:49 An: Ulrike Schaper U.Schaper@sidestep-solutions.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] basexgui.bat doesn't start
Hi Ulrike,
Just to be sure: The script you attached seemed to be the one from 8.6.3. If I got it right, it’s the version with the 'for' loop that’s working for you, right? Maybe we could generally switch back to the older script if it causes problems on some particular systems.
Thanks again, Christian
@echo off setLocal EnableDelayedExpansion
REM Path to core and library classes set MAIN=%~dp0/.. set CP=%MAIN%/BaseX.jar;%MAIN%/lib/*
REM Options for virtual machine set BASEX_JVM=-Xmx1400m %BASEX_JVM%
REM Run code start javaw -cp "%CP%" %BASEX_JVM% org.basex.BaseXGUI %*
Thank you, Best regards, Ulrike.
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Dienstag, 18. April 2017 11:21 An: Ulrike Schaper U.Schaper@sidestep-solutions.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] basexgui.bat doesn't start
Hi Ulrike,
we have recently changed and simplified our batch script. The new version uses wildcards:
https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basexgui.b at
Maybe it is not compatible with the Windows Server editions? Could you please check if the old version does the job?
https://github.com/BaseXdb/basex/blob/3098594b78793008b43cd5f5c57d229a 83edef23/basex-core/etc/basexgui.bat
Thanks in advance, Christian
On Tue, Apr 18, 2017 at 10:16 AM, Ulrike Schaper - SideStep Business Solutions GmbH U.Schaper@sidestep-solutions.de wrote:
Dear Christian,
I just installed BaseX 8.6.3 on Windows Server 2012, but the BaseX GUI doesn’t start up when I use basexgui.bat. Using the exe is fine, but I need some additional lib files, which of course won’t be loaded via the exe.
Is there something I overlooked?
Best regards, Ulrike.
basex-talk@mailman.uni-konstanz.de