When I try to connect to the database I get the following error:
javax.servlet.ServletException: Invalid authorization specification: Access denied for user: 'someuser@somedomain.com' (Using password: YES)
This is caused by security setting in your MySQL database
What you need to do, is go to Cpanel->Manage MySQL
Scroll Down to where it says
Host (% wildcard is allowed):
Enter your domain name and press Add button.