Liferay: Deployment will start in a few seconds… and how to realy start
During my experience with Liferay Portal I had this problem several times. When uploading a portlet (new or a new version of an existing one) Liferay says the following:
Copying 1 file..
Copying 1 file..
.......
.........war copied successfully.
Deployment will start in a few seconds.
and then nothing happens.
Ok, I have no idea why this happens, I looked into dozen of forums blogs and each of them had different solutions that that did not work. Not only to me but to many other forum members so I got another solution that hopefully will work to you also. Here goes:
All you have to do is delete all the new xml files from the TOMCAT_ROOT/conf/Catalina/localhost folder. By new xml file I mean all of them beside the ROOT.xml (this one being the one that comes with the main Liferay distribution). And then of course, restart Liferay. Also maybe it would be a good idea to make a backup of these files although I never had to use them because new ones are generated automatically.
That is all and if it works to you also.. please provide some feedback.
Until next time,
Long live Rock and Roll !


Tags: 



7 Responses
Liferay webapps start in the wrong order | Ropardo Blog
August 9, 2010 1
[...] Ropardo websites « Liferay: Deployment will start in a few seconds… and how to realy start [...]
September 14, 2010 2
Hi,
I am facing the same issue while installing a new portlet.
==================
[#|2010-09-14T14:26:30.214+0000|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=com.liferay.portal.kernel.deploy.auto.AutoDeployScanner;|
14:26:30,214 INFO [PortletAutoDeployListener:81] Portlets for /data01/home/glassfish/glassfish/liferay/deploy/transaction-viewer-portlet-1.0.0.2.war copied successfully. Deployment will start in a few seconds.
|#]
=============================
I am using glassfish v2.1.1 instead of tomcat and I have a cluster setup. I an trying to install this on one instance of liferay. Can you please suggest what could be the issue?
Thanks.
Liferay webapps starts in wrong order « Saralgal
September 15, 2010 3
[...] also fixed the Deployment will start in a few seconds… problem that seems to be common in [...]
January 3, 2011 4
I am looking for such type of informative news and i get through this blog so i am very much thankful to you for sharing such a great information.
February 11, 2011 5
did not work for me. fresh installation of liferay portal 6.0.5.
war disappears from deploy folder and all files appear in the webapps folder of tomcat
but still no plugin and there are no files to delete beside the ROOT.xml
June 30, 2011 6
I have the same problem but it only happens when I’m connected to the internet.
The cause is that Oracle is a bunch of useless idiots.
I had schemaLocation=”http://java.sun.com/xml/ns/….xsd” in several XML configuration files (web.xml, portlet.xml). The parser tried to download the scheme to validate the file.
The idiots at Oracle broke all online XSDs and the http request is redirected to some stupid HTML error page which causes the parser to fail.
November 17, 2011 7
Thank you very much, it helped and saved lot of time
Leave a Reply