Added retries and wait timeout, in case the server is still on its way up
Removed some code that is not needed anymore
Don't run this resource if it already exists
Reverted previous change
Incrased the default amout of PermGen space
Added a timeout value, just in case
Improved version
Create LR's hot deploy folder by default if it doesn't exist
Updated version of the JBoss module
Updated version of the Liferay module
Defined resource that will force a restart of JBoss