I need to create a Hook to inject Javascript in a site. I have not had troubles creating hook but when I deploy it, my hook is not registered like Hook.
I have tried to deploy it with Liferay and Tomcat and this work fine.
Anybody knows what could be happenning?
Thanks in advance.
I'm sorry to say that Liferay's hook mechanism doesn't fully work in JBoss domain mode. The Liferay documentation says:
I suggest, if you can, to change to JBoss standalone mode or change to other application server like Tomcat that is fully supported by Liferay.
You can read more information about that in installing-liferay-on-jboss