I use to have also TomCat running directly on SME, that was not convenient to maintain, updates etc...
Now its running on preconfigured (of the shelf) VM appliance together with its own MySQL server and life is much easier.
Very good advice from edb.