File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -29,18 +29,20 @@ $ mvn install
29
29
```
30
30
## Deploy stand alone
31
31
The server can run with Jetty from a single jar as follows:
32
- java -jar ldf-server.jar [ config.json]
32
+
33
+ java -jar ldf-server.jar [config.json]
33
34
34
35
The ` config.json ` parameters is optional and is default the ` config-example.json ` file in the same directory as ` ldf-server.jar ` .
35
36
36
37
## Deploy on an application server
37
38
Use an application server such as [ Tomcat] ( http://tomcat.apache.org/ ) to deploy the WAR file.
38
39
39
40
Create an ` config.json ` configuration file with the data sources (analogous to the example file) and add the following init parameter to ` web.xml ` :
40
- <init-param >
41
- <param-name>configFile</param-name>
42
- <param-value>path/to/config/file</param-value>
43
- </init-param >
41
+
42
+ <init-param>
43
+ <param-name>configFile</param-name>
44
+ <param-value>path/to/config/file</param-value>
45
+ </init-param>
44
46
45
47
If no parameter is set, it looks for a default ` config-example.json ` in the folder of the deployed WAR file.
46
48
You can’t perform that action at this time.
0 commit comments