I have a fresh Apache TomEE 1.7.1 PLUS unpacked. My ROOT.war web
application has many @WebServlets in WEB-INF/lib/*jar files. If I
start the application they are automatically discovered. If I now
symlink the apache-tomee-plus-1.7.1 to be apache-tomee-wtf, and then
start up exactly the same way, these @WebServlets are not found.

Bizarrely, other WEB-INF/lib/*jar files which contain via
web-fragment.xml things like servlet filters and other configuration
data (session, tracking, security constraints, etc) are picked up.

The symlink does not span mount points or block devices. They are just
sitting in the same directory. There are no tricky issues with spaces
or unicode or other special characters in any paths. ... This really
is frustrating, why is TomEE not finding these @WebServlets?

Thanks!

Reply via email to