Windows installation
For Windows users, we encourage you to use Docker. However, you can install Warp 10 manually.
Explicit Warning: SenX does not support Windows in production environment.
Install first on a linux VM, then deploy on Windows
In order to bootstrap the install correctly, do a full Warp 10 install in a linux environnment, following our getting started. Stop after step 5 (Run Warp 10), then stop Warp 10:
./warp10-standalone.sh stop
Once done, stop Warp 10, then make an archive you can open easily on windows:
sudo zip -r warp10.zip /opt/warp10
Copy this file to your windows environnment, and extract the content to something simple, for example C:\warp10\
.
Once done, open C:\warp10\etc\conf.d\00-warp.conf, and update the path: standalone.home = C:\warp10
Install Java 8 jre.
Create a C:\warp10\warp10.bat and customize the following content:
@echo off
set JAVA_HOME=C:\jdk8u332-b09-jre
set WARP10_HOME=C:\warp10
set WARP10_VERSION=2.11.1
setlocal enabledelayedexpansion
set "files="
for /f "delims=" %%a in ('dir /b /s /a-d "etc\conf.d\*.conf" ') do set "files=!files! %%a"
C:\jdk8u332-b09-jre\bin\java -Djava.awt.headless=true -Dleveldb.home=%WARP10_HOME%/leveldb -Dlog4j.configuration=file:./etc/log4j.properties -Dfile.encoding=UTF-8 -Xms400m -Xmx512m -XX:+UseG1GC -cp ./bin/warp10-%WARP10_VERSION%.jar;./lib/* io.warp10.standalone.Warp %files%
Explicit Warning: SenX does not support Windows in production environment.
On Windows, there is no way to get rid of limits, for example the number of files opened simultaneously...
Warp 10 as a Windows service
Download serman, extract and copy serman.exe
into C:\warp10\
Create C:\warp10\warp10.xml
:
<service>
<id>warp10</id>
<name>Warp 10</name>
<description>Warp 10 platform</description>
<executable>C:\warp10\warp10.bat</executable>
<logmode>rotate</logmode>
</service>
And finally run:
> C:\warp10\serman.exe install C:\warp10\warp10.xml
You may also use NSSM (Non Sucking Service Manager) instead of serman.
Explicit Warning: SenX does not support Windows in production environment.