Hello Karel, thank you for your reply.
I've deployed the test war and got the same HTTP 404 error for the registration/index.jsp page, even when I've typed the right page in the URL box.
I've run the test again and payed more attention and found that in the Selenium command history that it's also calling the right page
but the error message is the one changing the extension
Message HTTP Status 404 - /test-war/registration/index.jsp
Checking the server log there are no problems. I've pasted it here.
Thanks in advance.
In that case, can you compare archive generated by ShrinkWrap and archive generated via Maven/IDE (e.g. the app you know it works correctly)? The must be some resource missing in the first, so jsp redirect is triggered. You might be missing JSF impl, or a default suffix settings, or something JSF related (maybe this can help: http://stackoverflow.com/questions/9559430/jsf-xhtml-mapping-not-working-redirected-to-jsp ).
I expect this has nothing to do with Drone/Selenium.