hardening permissions and small cleanup
Add mysql-connector-java to glassfish classpath