This is a launcher for SpringCRM with a GUI. I implement it to ease launching SpringCRM on platforms like Windows and OSX where people simple start the standalone jar but cannot see anything.
You need a Java runtime environment (JRE) version 6 or higher installed on your computer.
Furthermore, you need 1 GB of free RAM to start Tomcat and SpringCRM.
To start SpringCRM launcher execute the following command:
java -jar springcrm-standalone-1.5.0.jar [options]
where you must replace 1.5.0 by the version of the application and
[options]
by any of the options described under Options.
You may use the following options, each in the form key=value
:
autostart
. Displays the main window and automatically starts Tomcat and its web application SpringCRM.compressableMimeTypes
. A comma separated list of MIME types for which HTTP compression may be used; defaults to the Tomcat defaults,"text/html,text/xml,text/plain"
.context
. The context name; if not specified it defaults to""
(the"root"
context).enableClientAuth
. Whether to enable client auth; defaults tofalse
.enableCompression
. Whether to enable compression; defaults totrue
.host
. The host name; if not specified it defaults to"localhost"
.httpsPort
. The HTTPS port; there is no default for this, but if specified you can also specify the keystore path and password.keystorePassword
orjavax.net.ssl.keyStorePassword
. The SSL keystore password; required if an existing keystore path is specified.keystorePath
orjavax.net.ssl.keyStore
. The SSL keystore path; if not specified a temporary keystore will be generated.minimized
. Hides the main window and automatically starts Tomcat and its web application SpringCRM.nio
ortomcat.nio
. Whether to use NIO; defaults totrue
.port
. The HTTP port; if not specified it defaults to 8080.sessionTimeout
. The session timeout in minutes; defaults to 30.trustStorePassword
orjavax.net.ssl.trustStorePassword
, the SSL truststore password; required if an existing truststore path is specified.truststorePath
orjavax.net.ssl.trustStore
. The SSL truststore path.war
. An alternative WAR file to use instead of the SpringCRM WAR file embedded in the JAR.workDir
. The working directory where the WAR file is extracted, defaults to the system temp directory.
The launcher uses Gradle to build. In order to build the standalone application launcher, you have to perform the following steps:
- Ensure the SpringCRM project is in folder
../springcrm
. - Build SpringCRM using
grails -Dgrails.env=standalone war
so the produced WAR file will be produced in../springcrm/target/springcrm.war
. - Run
gradle build
to build the launcher. - You find the executable JAR file in
build/libs
.
SpringCRM and the SpringCRM launcher is licensed under GPLv3. The launcher code is based on the Grails Standalone Plugin written by Burt Beckwith, licensed under Apache 2 license.
The icons in the launcher are from the Krasimir Stefanov, licensed under GPL.
The project uses Groovy, which is licensed under Apache 2 license.