... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)


Embedded Tomcat

When using embedded Tomcat, the error message:

HTTP/1.1 400 No Host matches server name

can be caused by neglecting to start a context path with a slash.  That is, don't use this:

Context context = embedded.createContext("mycontext", webAppBase);

use this:

Context context = embedded.createContext("/mycontext", webAppBase);


Blog Archive