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 27259 - UDP connector stops starting of tomcat
Summary: UDP connector stops starting of tomcat
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-12 11:47 UTC by pinus
Modified: 2004-02-06 09:45 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 pinus 2002-09-12 11:47:25 UTC
I wrote a UDP connector and added it as first
connector in the server.xml. This produces a long
delay for starting tomcat and a red error message
in the start dialog.
If i change the order in the server.xml that the
http connector is the first server in the
server.xml it works propperly.
Is it possible that the tomcat integration assumes
the first connector is a http connector?
Comment 1 Milan Kuchtiak 2002-09-12 13:45:59 UTC
You're right.

The order of the selected connector is serialized (in our 
case 1).When you include some connector before the first 
connector-the new connector(UDP) becomes the default 
connector. 

Then tomcat module is trying to open the browser with URL 
containing the UDP port number.

Workaround :
There is necessary to select the right connector in 
the "Default Connector" property of your Host node.

Basically - this is an issue, because user doesn't expect 
such a behaviour.
Comment 2 Milan Kuchtiak 2003-03-03 12:10:07 UTC
The connector handling should be made in more transparent 
way.
Comment 3 Milan Kuchtiak 2004-02-06 09:45:44 UTC
The issue is not relevant any more.
Tomcat5 doesn't expose multiple connectors to the user.
There is also a different machanism of selecting HTTP conector in
Tomcat5 plugin.