This is an implementation of a tomcat embedded project
This is based on version 8
It includes SSL and Database support (using sqlite).
The Data Source is defined in the servlet and hence
doesnt need any xml definition. The database will have
the name of the servlet context path and is contained
in the catalina-base/dbs folder.
Logic is provided for self-signed and letsencrypt support.
When built using maven a distribution is created which can be
installed by running the install script in the distribution folder.
The exceutables will be created in distribution/homedir and
tomcat started by running start-server in the root directory.
The sample servlet will appear at http://localhost:8878/servlet/hello
and https://localhost:8879/servlet/hello but the latter
will a give a security warning because it is currently using
a self-signed certificate.
The servlet uses velocity templates to generate the html and uses bootstrap.
If you are trying investigate some unfathomable behaviour of tomcat,
which I did when upgrading the tomcat embedded 8 project,
you can download the source and install selected source components
in the tomcat10-override sub project and add your own debug info.
Uncomment the build of the tomcat10-override module in the main
pom.xml.