Launcher for AdeptJ Runtime
Minimal runnable jar is ~30MB in size with below-mentioned modules, starts in ~3000ms and low on resources
Steps to build and run:
- Make sure you have JDK 17(or newer) and Apache Maven 3.9.0(or newer) installed.
- Clone adeptj-parent and run mvn clean install to have the current parent version in local .m2
- Since adeptj-runtime needs adeptj-modules therefore clone adeptj-modules and build it locally by running mvn clean install in adeptj-modules base directory.
- clone adeptj-runtime and run mvn clean install.
- Now come to adeptj-runtime-launcher base directory and execute any of the maven profile script according to your requirements, e.g. ./build/minimal.sh
- Above step will create AdeptJ Runtime Launcher Uber jar with the /lib directory on the classpath.
- Now from adeptj-runtime-launcher directory itself execute this command ./bin/start.sh
- Start script will work on JDK 17 and so on.
- Go to AdeptJ OSGi WebConsole to configure the services.
- System will ask for username/password, provide the default ones [admin/admin]
- For examples on how to consume the modules please look into adeptj-modules-examples
Debug options:
Start AdeptJ Runtime with jpda option to run it in debug mode(port 8000) i.e ./bin/start.sh jpda
Start Parameters and VM arguments, most of these provided in start script.
- For specifying port: -Dadeptj.rt.port=8080
- Enable Async Logging: -Dasync.logging=true
- Felix Logging Level: -Dfelix.log.level=3
- For providing server mode: -Dadeptj.rt.mode=PROD or DEV, PROD is default
LICENSE
Copyright 2016, AdeptJ (http://www.adeptj.com)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.