Installing the Jetty Server Bundle
The Jetty Server Bundle contains a preconfigured Jetty Server and the Scripting Server web application.
To install the package perform the following steps:
- Download the Jetty Server Bundle
- Unpack the zip archive into a directory of your choice
- Change to the directory and run the start.cmd batch file
- Open your browser and enter the URL http://localhost:8080
The default configuration is configured for http and https protocol (TLS). TLS requires client authentication using a X.509 certificate. The bundle comes configured with test keys and certificates located in the etc/ssl directory. To setup your browser to use TLS, you will need to import the PKCS#12 keys and certificates (client.p12) into you browser.
We strongly advice to replace the provided test keys and certificate with self generated keys and certificates before using the Scripting Server in a production environment.
Installing the Scripting Server Standalone Version
The standalone version comes with a launcher module that installs a tray icon. Use the tray icon to inspect the log, open the browser with the UI or to shutdown the server.
- Download and unpack the archive into a directory of your choice
- Run the scriptingserver batch file contained in the unpacked directory
- Click on the tray icon to open the log, the browser or to shutdown the server
Installing the Scripting Server Web Archive
To install the package perform the following steps:
- Download the Jetty Server Bundle
- Unpack the zip archive into a directory of your choice
- Deploy the .war file contained in
jetty/webapps
onto a running servlet container - Open your browser and enter the URL http://localhost:8080
Defining the application to execute
All variants support the environment variable SCRIPTINGSERVER_USERDIR
. Make this
variable point to your application directory containing the apps/startup.js
file.
See Getting Started for more details.
© Copyright 2003 - 2024 CardContact Systems GmbH , Minden, Germany