The essence of the problem: how to transfer your own web.xml file to
new org.apache.tomee.embedded.Configuration().setWebXml("file_name")
.
When I set http port as new org.apache.tomee.embedded.Configuration().setHttpPort(_port)
works fine.
But, when set web.xml
it does not work.