|
Re: Tomcat server timeout within eclipse. Need to change timeout? [message #1006333 is a reply to message #1006311] |
Wed, 30 January 2013 21:15 |
|
On 1/30/2013 1:37 PM, w t wrote:
> When trying to launch tomcat 7 from within eclipse, a dialog box prompt
> is shown saying:
>
> 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.
> Server Tomcat v7.0 Server at localhost was unable to start within 45
> seconds. If the server requires more time, try increasing the timeout
> in the server editor.
>
> I've installed apache-tomcat-7.0.35
>
> I tried selecting 'Properties' from the Server folder. Also tried
> Windows>Properties>Server.
>
> I do not see anything related to increasing timeout.
>
> Could you help out?
> Thanks
First thing you need to know is that there's a separate forum, Eclipse
web tool platform, for this question.
In answer to your question, what's happening is that you're launching
Tomcat from Eclipse and, for whatever reason, Tomcat is unable to finish
starting up in the 45-second timeframe.
You can reach the Tomcat server properties (and the timeout property in
particular) by going to the Servers view in the Eclipse workbench and
double-clicking Tomcat v7.0 Server at localhost.
This said, it's probably not your real problem. What's really happening
is that stuff you're making Tomcat initialize, such as a ContextListener
(check for the identity of such classes in web.xml), is not finishing
within 45 seconds. Perhaps there's an infinite loop, you're waiting some
resource that doesn't exist, etc.
Hope this helps.
|
|
|
Powered by
FUDForum. Page generated in 0.08884 seconds