Is it enough the define the sessionTimeout in web.xml
Based on your first post, i assumed that you were looking for the web application's session timeout.
No, unfortunately not. I have to set up this:
Now, it works.
that I can set the timeout at the method-level via annotation in my stateless sessionBean:
@TransactionTimeout(10000)
void doThat()
Your second post is talking about a transaction timeout and is not related to the session timeout of a web application. Which one exactly are you interested in? Please provide more details about what you are looking for.