Skip to content

Does not start on Tomcat 8.5.8 (+ some test cases are fail on Tomcat 8.5.9) #7615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kazuki43zoo opened this issue Dec 10, 2016 · 3 comments
Closed
Labels
status: duplicate A duplicate of another issue

Comments

@kazuki43zoo
Copy link
Contributor

kazuki43zoo commented Dec 10, 2016

I tried the Tomcat 8.5.8.

<tomcat.version>8.5.8</tomcat.version>

However it does not start the tomcat server.

...
2016-12-11 03:12:06.364 ERROR 20786 --- [           main] o.a.coyote.http11.Http11NioProtocol      : Failed to start end point associated with ProtocolHandler [http-nio-8080]

java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_102]
	at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_102]
...

I tried to change port number as follow:

server.port=18080

A server is started, However ... tomcat is started with two ports(8080 and 18080) as follow:

...
2016-12-11 03:15:39.717  INFO 20842 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http) 18080 (http)
2016-12-11 03:15:39.721  INFO 20842 --- [           main] com.example.Tomcat858DemoApplication     : Started Tomcat858DemoApplication in 2.639 seconds (JVM running for 3.076)

This behavior is resolved at Tomcat 8.5.9, however some test cases are fail.
For details see https://travis-ci.org/spring-projects/spring-boot/builds/182846310.

Versions

1.4.2.RELEASE

@kazuki43zoo kazuki43zoo changed the title Does not start on Tomcat 8.5.8 (+ test some cases are fail on Tomcat 8.5.9) Does not start on Tomcat 8.5.8 (+ some test cases are fail on Tomcat 8.5.9) Dec 10, 2016
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 10, 2016
@bclozel
Copy link
Member

bclozel commented Dec 12, 2016

Hi @kazuki43zoo
I think that the first part of your report (Tomcat 8.5.8 not starting) is related to #7360 (comment) and https://bz.apache.org/bugzilla/show_bug.cgi?id=60368 - which are fixed in 8.5.9.

@kazuki43zoo
Copy link
Contributor Author

Hi @bclozel , thanks for introduce bug information !!
Oh... it is reported by @wilkinsona :) 👍

@philwebb
Copy link
Member

We'll fix the test failures when #7360 is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants