removed now unnecessary glassfish hacks

https://issues.liferay.com/browse/LRDOCS-336