We are facing a strange behaviour of our liferay instance. We have about 25 custom portlets/hooks we are deploying as separate 25 war files. Once are deployed one by one everything works fine and liferay register all of them. However once we perform restart of AS (bundled jboss), than only part of portlets is registered/visible in liferay gui. Jboss saying that all of them are properly deployed in logs, even in deployments folder, but few of them are still not visible in liferay. Afterwards we have to re-deploy missing portlets manualy to see them in liferay again. We tried to enhance jboss deployment scanner timeout but without any affect. Also log files are without any error which could explain this behaviour.
Could you please advice what may goes wrong?
We are running Liferay Portal Community Edition 6.2 CE GA3 (Newton / Build 6202 / January 15, 2015) bundled with Jboss 7.1.1
Thanks in advance
piece of log:
13:15:54,477 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found sample-portlet.war in deployment directory. To trigger deployment create a file called sample-portlet.war.dodeploy
13:15:54,773 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "sample-portlet.war"
13:16:32,555 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011402: Starting Persistence Unit Service 'sample-portlet.war#liferay'
13:16:46,946 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sample-portlet]] (MSC service thread 1-7) No Spring WebApplicationInitializer types detected on classpath
13:16:46,973 INFO [org.jboss.web] (MSC service thread 1-7) JBAS018210: Registering web context: /sample-portlet
13:18:31,336 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "sample-portlet.war"
*HotDeploy*, e.g.[PortletHotDeployListener] Registering portlets for...? - Tobias LiefkeROOT.war.undeployedindeployments, start the server and remove that file once the server has started. If the problem vanishes it could be a racecondition during registration. - Tobias Liefke