Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bibekaryal86/simple-jetty-container
Jetty Server to Upload War and Run Web App
https://github.com/bibekaryal86/simple-jetty-container
jetty-container jetty-runner jetty-server
Last synced: 1 day ago
JSON representation
Jetty Server to Upload War and Run Web App
- Host: GitHub
- URL: https://github.com/bibekaryal86/simple-jetty-container
- Owner: bibekaryal86
- Created: 2020-12-02T22:01:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T06:03:37.000Z (about 1 month ago)
- Last Synced: 2025-01-07T07:18:38.435Z (about 1 month ago)
- Topics: jetty-container, jetty-runner, jetty-server
- Language: Java
- Homepage:
- Size: 197 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-jetty-container
This app creates a simple jetty container to load war files and run the web application (locally).
The app is pretty simple to run with java -jar command, with arguments:
java -jar -Dport=8004 -Dcontextpath=/some-context-path -Dsizeinbytes=20000000 JAR_NAME.jarAs a result the web application whose war file is loaded will run on localhost port 8004 with context
path `some-context-path`If the web application whose war file will be deployed by this container also requires system variables, provide them
when running as well. For eg:
java -jar -DSPRING_PROFILES_ACTIVE=development -Dport=8004 -Dcontextpath=/some-context-path -Dsizeinbytes=20000000
JAR_NAME.jar