Fórum

Tomcat server is not starting

thumbnail
Kalai arasan, modificado 9 Anos atrás.

Tomcat server is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
I am using Liferay6.1 and having morethan 350MB of sdk memorysize including portlets and themes, when i start the eclipse it is not starting within 15 minutes after that shows the message like "unable to start within 900 seconds"? Anyone tell if liferay or eclipse have any memory limit for sdk and why this problem occurs?
thumbnail
Ravi Kumar Gupta, modificado 9 Anos atrás.

RE: eclipse is not starting

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
This happens if your server takes too much time to start. It may happen in few cases- if you have too many things deployed on Liferay, if you dont have enough memory or server not configured to utilize the memory properly.. can be any reason that slows down liferay start up.

It has nothing to do with SDK size.

If you are trying to debug you can modify calatina.bat to add debug configuration, start your server (not from eclipse) and attach debugger from eclipse at the given port number. If you need more time - more than 15 min/900 seconds, Double click your server name in servers view, see Timeout Section and increase startup time.

HTH
thumbnail
Kalai arasan, modificado 9 Anos atrás.

RE: eclipse is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
Thanks MR.Ravi Kumar Gupta for your reply!
I changed the timeout to 1500seconds but now also same problem occured?
thumbnail
Ravi Kumar Gupta, modificado 9 Anos atrás.

RE: eclipse is not starting

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Start your server without eclipse and see how much time it takes. There should be a line in logs saying INFO: Server startup in 167148 ms .. how much time your server is taking?

-Ravi
thumbnail
Kalai arasan, modificado 9 Anos atrás.

RE: eclipse is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
INFO: Server startup in 152665 ms thats the error log message while starting the server. Based on that the server should start within 152.665sec. right?
thumbnail
Subhasis Roy, modificado 9 Anos atrás.

RE: eclipse is not starting

Expert Postagens: 275 Data de Entrada: 20/01/12 Postagens Recentes
Try setting the Start time to 1500 sec and Stop time to 1400 sec
Also increase the heap size of the JVM between 256MB to 1024MB
thumbnail
Kalai arasan, modificado 9 Anos atrás.

RE: eclipse is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
Thanks Mr.Subhasis Roy for your response.
I increased the heapsize and server start and stop time, but still its not working?
Mohit ..., modificado 9 Anos atrás.

RE: eclipse is not starting

New Member Postagens: 20 Data de Entrada: 28/02/14 Postagens Recentes
attach the log
thumbnail
Kalai arasan, modificado 9 Anos atrás.

RE: eclipse is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
I attached the error logs below!
Regards,
Kalai Arasan.
thumbnail
Kalai arasan, modificado 9 Anos atrás.

RE: eclipse is not starting

Regular Member Postagens: 127 Data de Entrada: 02/01/13 Postagens Recentes
HI! Finally I restart the eclipse and remove all the portlets and themes then start the server. Its working now!. But the problem is I can't start the server with all my portlets and themes running in the server. I need to remove all the portlets and themes in the server then start the server daily. for that way i'm losing more times to start the server and deploy the portlets.