I thought I read somewhere that one can switch between:
Jetty
Tomcat
Wildfly
for use with the feature:install war
, however, neither can I find that place anymore, nor do I have an idea of what to enter on the Karaf CLI to switch between the three.
As if this was not enough, I've had little success with Jetty (version 9.4.40v20210413 seems to be in Karaf 4.3.2 which is reasonably recent so should in principle work).
I tried to deploy a Vaadin 8.5.2 application (I read from 8.6 something could be broken, which I do not want to investigate as the first thing).
karaf@root()> web:list
ID │ State │ Web-State │ Level │ Web-ContextPath │ Name
────┼─────────────┼─────────────┼───────┼─────────────────┼────────────────────────────────
110 │ Active │ Failed │ 80 │ /learningfusion │
learningfusion (1.0.0.SNAPSHOT)
111 │ Active │ Deployed │ 80 │ /connect4 │ connect4 (1.0.0)
So the connect4 application should be working fine, but browsing localhost:8181/connect4 gives me a 403 error.
How can I fix this? (Commands are more appreciated over the 'what to do', as I may currently not understand 'how to' achieve that being the beginner in this regard that I am).
And the other application in the list is a Vaadin20 production mode application, which gives me an NPE when starting up, so I would first like to try the other two application containers to aid debugging.
Could someone maybe point me to the relevant documentation if there is any?