Hi,
I have the following use case:
TomEE structure:
- TomEE root
...
- webapps
- myapp
content -> /some/other/location/...
When the root of the app (in my case my app dir is not a symbolic link) then
the war path will point to the location under TomEE directory.
https://github.com/apache/tomee/blob/master/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/Contexts.java#L62
Later when processing the @WebServlet the actual file path will point to
"/some/other/location/..." but the "info.name" will point to the location
under TomEE directory.
https://github.com/apache/tomee/blob/master/tomee/tomee-catalina/src/main/java/org/apache/catalina/startup/OpenEJBContextConfig.java#L569
If I change the symbolic link to the following:
- TomEE root
...
- webapps
- myapp -> /some/other/location
content -> /some/other/location/...
Then everything is OK and the servlets are found.
I'm reproducing this with TomEE 7.0.2 and I do not reproduce this behavior
with TomEE 1.7.2
Is it something intentional?
Thanks in advance,
Violeta
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/When-using-symbolic-links-the-WebServlet-is-not-processed-tp4680762.html
Sent from the TomEE Users mailing list archive at Nabble.com.