The war uses always ${user.home}, how can I change this in mywar.xml ?
What exactly do you mean? How is the app using this?
Setting an tag here is just going to expose the value through JNDI. Your application will need to be looking for the value through JNDI, to pick this up.
At next I would like to get access of this servlet with https://myserver/mywar, at the moment I must use https://myserver/mywar-0.0.1 how can I change the URL?
The name of the context path is determined by the name of your WAR file or XML deployment descriptor. So rename the appropriate file (war file or xml file).
Based on your example above, if you have the file "conf/Catalina/localhost/mywar.xml", you should have the application available at https://myserver/mywar.