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 252796 - Web project deployment on Tomcat 8 fails
Summary: Web project deployment on Tomcat 8 fails
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 10:34 UTC by lcapra
Modified: 2015-08-26 01:23 UTC (History)
0 users

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 lcapra 2015-06-04 10:34:51 UTC
I have a setup with Tomcat and Maven javaee web application.

Every time I run the debug mode, Netbeans fails to "catch" when tomcat is started, failing after a while for timeout.

"
Starting Tomcat process...
Waiting for Tomcat...
Starting of Tomcat failed.
"

The app is deployed and the server running, but the operation can not be repeated from the ide as it try to start the server again

"Starting of Tomcat failed, the server port 8070 is already in use."

I've tried most of the option in the server configuration page (force stop, enable http monitor)

From now the only way is to kill the process and start over deploy (which will timeout)

Some info (from tomcat logs)

Server version:        Apache Tomcat/8.0.22
Server built:          Apr 29 2015 11:46:15 UTC
04-Jun-2015 12:21:38.136 INFO [main] Server number:         8.0.22.0
04-Jun-2015 12:21:38.136 INFO [main] OS Name:               Linux
OS Version:            3.19.0-18-generic
Architecture:          amd64
JVM Version:           1.7.0_80-b15
Vendor:            Oracle Corporation
Comment 1 Petr Hejl 2015-06-05 09:36:11 UTC
I there any firewall in place? The NetBeans detects startup by "pinging" the Tomcat port.
Comment 2 Petr Hejl 2015-06-25 06:51:01 UTC
Caused by different Server header in the response.
Comment 3 Petr Hejl 2015-08-24 14:02:11 UTC
Fixed in web-main 2ee7198310b3.
Comment 4 Quality Engineering 2015-08-26 01:23:28 UTC
Integrated into 'main-silver', will be available in build *201508260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2ee7198310b3
User: Petr Hejl <phejl@netbeans.org>
Log: #252796 - Web project deployment on Tomcat 8 fails