This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267583 - ide doesn't get status response from apache tomcat 8.5.x
Summary: ide doesn't get status response from apache tomcat 8.5.x
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords: TOMCAT
Depends on:
Blocks:
 
Reported: 2016-08-15 11:16 UTC by G8T
Modified: 2016-09-19 12:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G8T 2016-08-15 11:16:47 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 4.6.5-300.fc24.x86_64 running on amd64
Java; VM; Vendor = 1.8.0_102
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14

Reproducibility: Happens every time

STEPS:
  * configure server apache tomcat from 8.5.x branch
  * start the mentioned server

ACTUAL:
  * the server starts, but doesn't get response about status
  (tomcat access log records:  'HEAD /netbeans-tomcat-status-test HTTP/1.1' 404 -
  on the contrary requesting 'curl -v http://anyhost:port/netbeans-tomcat-status-test' works as expected
  (in this case 'GET / HTTP/1.1' 200 11450 is logged)

EXPECTED:
  the server starts, and gets status respons
Comment 1 hamfree 2016-09-19 12:44:05 UTC
From Stack Overflow URL

http://stackoverflow.com/questions/22225764/starting-of-tomcat-failed-from-netbeans#26374164

Probe this workaround:

In the server.xml file from your Tomcat installation, in the Connector element for HTTP/1.1, add the following attribute: server="Apache-Coyote/1.1".

Example:

<Connector
  connectionTimeout="20000"
  port="8080"
  protocol="HTTP/1.1"
  redirectPort="8443"
  server="Apache-Coyote/1.1"
/>

There is a filed bug with this problem in  :
https://netbeans.org/bugzilla/show_bug.cgi?id=262749

More info in :
http://stackoverflow.com/questions/22225764/starting-of-tomcat-failed-from-netbeans#26374164