Hi all,
I'm running Tomcat9 on Ubuntu.
I copied a servlet war (a webhook) file which was automatically deployed in my
webapps directory.
Using the "Tomcat Web Application Manager" I see my servlet path and display
name listed.
When I click on the path I get the "HTTP Status 404 – Not Found" and
description of "Description The origin server did not find a current
representation for the target resource or is not willing to disclose that one
exists.".
When I try to drive the URL for the servlet using curl, I get the same message.
Tomcat obviously sees the WAR file and unpacks it, but is not executing the
servlet java code.
In the "dopost()" method, the first thing I do is write to the log:
resp.setContentType("text/html");
ServletContext CTX = getServletConfig().getServletContext();
CTX.log("WHMerge Entered:");
I check the logs and the message never appears.
I suspect that I made a mistake configuring Tomcat, but am not sure where...
Any advise would be greatly appreciated.
With kindest regards,
Franklin Myers