I have written a very simple web client that sends ands receives emails. Now I am re-designing its architecture and i want Sessions or even Store connections to be managed by Container. For that I am trying to configure Datasource. But if I modify my Tomcat server.xml in the way I posted above, tomcat stops working .
I have posted a message to Tomcat forum after you have suggested me to do that. Hopefully, with your help and with the help of others I will manage to solve my problem.