[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Server Starting... Tomcat 6 on 127.0.0.2

I have an interesting problem with WTP Servers. I setup localhost aliases in my hosts file as follows:

127.0.0.2 www.domain.jf

I then set my server.xml connector node to address 127.0.0.2 on port 80 and saved it. I have included the relevant parts of server.xml here.

<Connector connectionTimeout="20000" address="127.0.0.2" port="80" protocol="HTTP/1.1" redirectPort="8443"/>
<Engine defaultHost="www.domain.jf" name="Catalina">
<Host appBase="webapps" autoDeploy="true" name="www.domain.jf" ...


I started the server through eclipse WTP, it starts as expected, and responds perfectly in a browser.

INFO: Starting Coyote HTTP/1.1 on http-127.0.0.2-80
May 1, 2009 1:58:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 76949 ms

However it never leaves the server starting state. At the end of the startup timeout which is really really high, it kills the server.

I assume it is because it doesn't properly attempt a connection to the correct server, but I don't know how else to tell it, "hit 127.0.0.2:80".

My WST server core is version 3.0.4.v20090115-20Am8s733J3_4F1256

- Joshua