Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Eclipse 3.5: Tomcat server was unable to start..
Eclipse 3.5: Tomcat server was unable to start.. [message #526242] Fri, 09 April 2010 10:43 Go to next message
n0weak  is currently offline n0weak Friend
Messages: 4
Registered: April 2010
Junior Member
When I start Tomcat server from Eclipse, it shows no errors, but when the start timeout goes off it says "Server Tomcat v6.0 Server at localhost was unable to start within %start_timeout% seconds". Though "localhost:8080" in my browser shows Tomcat error page, so it is actually running. The same goes on with J2EE Preview server.
PS I am running Debian Squeeze/sid.

[Updated on: Mon, 12 April 2010 18:42]

Report message to a moderator

Re: Eclipse 3.5: Tomcat server was unable to start.. [message #526628 is a reply to message #526242] Mon, 12 April 2010 12:57 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
n0weak wrote:
> When I start Tomcat server from Eclipse, it shows no errors, but when
> the start timeout goes off it says "Server Tomcat v6.0 Server at
> localhost was unable to start within %start_timeout% seconds". Though
> "localhost:8080" in my browser shows Tomcat error page, so it is
> actually running. The same goes on with J2EE Preview server.
> PS I am running Debian Squeeze/sid.

What version of Eclipse and WTP are you using and what is the timeout
set to?

Cheers,
Larry
Re: Eclipse 3.5: Tomcat server was unable to start.. [message #526685 is a reply to message #526628] Mon, 12 April 2010 15:30 Go to previous messageGo to next message
n0weak  is currently offline n0weak Friend
Messages: 4
Registered: April 2010
Junior Member
I'm glad you are willing to help, Eclipse 3.5.2, WTP 3.1.1, timeout was set to default value for tomcat - 45 sec.
I switched from openjdk-6 to sun-java6-jdk and my problem was fixed. Also there was a trouble for tomcat to bind the port, but "sudo sysctl -w net.ipv6.bindv6only=0" solved the issue.

[Updated on: Mon, 12 April 2010 18:42]

Report message to a moderator

Re: Eclipse 3.5: Tomcat server was unable to start.. [message #526709 is a reply to message #526685] Mon, 12 April 2010 16:17 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
n0weak wrote:
> I'm glad you are willing to help, Eclipse 3.5.2, WTP 3.1.1, timeout was
> set to default value for tomcat - 45 sec. I switched from openjdk-6 to
> sun-java6-jdk and my problem was fixed.

I'm glad you found a workaround. It may be that that openjdk-6 runtime
is implemented in a way that doesn't work well with how the WTP Tomcat
support pings the server. I will give openjdk-6 a try sometime, just to
see the nature of the issue. I don't know if it will be practical to do
something about it.

Cheers,
Larry
Previous Topic:tagdir support in JSP Editor of WTP 1.5
Next Topic:Could not publish to the server. Eclipse 3.5 SR-2 Build id: 20100218-1602
Goto Forum:
  


Current Time: Fri Nov 21 20:30:12 GMT 2014

Powered by FUDForum. Page generated in 0.05434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software