Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds

后端 未结 4 1026
逝去的感伤
逝去的感伤 2020-12-19 05:36

I have 2 projects in eclipse. One of them runs fine and when added to Tomcat server, server can restart without any problems. However, the other project gets error when adde

相关标签:
4条回答
  • 2020-12-19 05:43

    I got the same error message too. Sometimes it is just a library or a source folder which is out-of-synch. Please be sure that you clean your working directories, clean your projects and republish them. Sometimes it helps if you start the server first, then add the project and restart it. I was able to get this error message after that: java.net.ConnectException: Connection refused. If this is the case, here you can find some suggestions to solve this problem: java.net.ConnectException: Connection refused. Hope that it helps. Addition: A very useful method to find out from where exactly the error comes. http://www.vogella.com/blog/2010/02/16/tomcat-unable-to-start/ .

    0 讨论(0)
  • 2020-12-19 05:46

    Where did you change the time for the timeout?

    In eclipse:

    • open your servers view
    • doubleclick on the server
    • check Timeouts (add a big number for Start)
    0 讨论(0)
  • 2020-12-19 05:53

    In my case, it occurred after I put "tcnaive-1.dll" in jre/bin.

    Because I tried to remove the warning message when running the other one(tomcat6.0).

    So, I deleted tcnative-1.dll for tomcat5.5-going-well even if keep warning message on tomcat6.0.

    0 讨论(0)
  • 2020-12-19 06:04

    May I know when you get this problem? If you get this while debugging, it means that it is waiting for your key press (either F5 or F6) to move to the next execution manually step by step. So you need not change the server's "timeout" property. Hope you get a little idea from this...

    0 讨论(0)
提交回复
热议问题