2010-11-04 02:46:38 +07:00
|
|
|
@Echo off
|
|
|
|
|
2017-12-06 22:22:05 +07:00
|
|
|
CALL utils\myEnvironment.bat Server
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK
|
|
|
|
@Set JAVA=java
|
|
|
|
@Echo JAVA_HOME is not set.
|
|
|
|
@Echo You may not be able to start the server
|
|
|
|
@Echo Set JAVA_HOME to the directory of your local 1.6 JDK.
|
|
|
|
goto START
|
|
|
|
|
|
|
|
:JAVA_HOME_OK
|
|
|
|
@Set JAVA=%JAVA_HOME%\bin\java
|
|
|
|
|
|
|
|
|
|
|
|
:START
|
|
|
|
@Echo =======================================
|
2012-06-06 21:13:34 +07:00
|
|
|
@Echo Starting iDempiere Server ...
|
2010-11-04 02:46:38 +07:00
|
|
|
@Echo =======================================
|
|
|
|
|
2015-06-24 09:46:27 +07:00
|
|
|
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
2017-08-27 00:21:17 +07:00
|
|
|
|
|
|
|
@Set VMOPTS=-Xbootclasspath/p:alpn-boot.jar
|
|
|
|
@Set VMOPTS=%VMOPTS% -Xbootclasspath/p:alpn-boot.jar
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dosgi.compatibility.bootdelegation=true
|
|
|
|
@Set VMOPTS=%VMOPTS% -Djetty.home=jettyhome
|
2017-08-27 00:33:36 +07:00
|
|
|
@Set VMOPTS=%VMOPTS% -Djetty.base=jettyhome
|
2017-08-27 00:21:17 +07:00
|
|
|
@Set VMOPTS=%VMOPTS% -Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-ssl-context.xml,etc/jetty-http.xml,etc/jetty-alpn.xml,etc/jetty-http2.xml,etc/jetty-https.xml
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dosgi.console=localhost:12612
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dmail.mime.encodefilename=true
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dmail.mime.decodefilename=true
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dmail.mime.encodeparameters=true
|
|
|
|
@Set VMOPTS=%VMOPTS% -Dmail.mime.decodeparameters=true
|
|
|
|
|
|
|
|
@"%JAVA%" %IDEMPIERE_JAVA_OPTIONS% %VMOPTS% -jar %JARFILE% -application org.adempiere.server.application
|