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 47048 - Running status of Tomcat on port 8080 is incorrectly determined
Summary: Running status of Tomcat on port 8080 is incorrectly determined
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 12:03 UTC by Sherold Dev
Modified: 2009-06-16 16:12 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 Sherold Dev 2004-08-10 12:03:45 UTC
On some WindowsXP, Nebeans incorrectly determine
that Tomcat on port 8080 is running (even if it is
not running). Windows seems to hold this socket
for some unknown reason (it could be possibly a
firewall problem). 
When tried to connect to that port with telnet,
the connection WAS NOT refused. When Tomcat was
started outside the IDE, it started properly,
regardless that the socket seemed to be occupied.
This problem was reproduced on several XP boxes.
Comment 1 Sherold Dev 2004-08-11 09:14:00 UTC
An http request with URI "/netbeans-tomcat-status-test" is now used to
determine Tomcat running status. Requests with this URI are filtered
out in the http monitor.

Commit log:
Checking in MonitorFilter.java;
/cvs/monitor/src/org/netbeans/modules/web/monitor/server/MonitorFilter.java,v
 <--  MonitorFilter.java
new revision: 1.36; previous revision: 1.35
done

Checking in URLWait.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/URLWait.java,v
 <--  URLWait.java
new revision: 1.5; previous revision: 1.4
done
Processing log script arguments...
More commits to come...
Checking in ide/StartTomcat.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/StartTomcat.java,v
 <--  StartTomcat.java
new revision: 1.56; previous revision: 1.55
done
Comment 2 Jiri Skrivanek 2004-09-10 09:56:03 UTC
Verified.