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 39329 - Tomcat Server instace Admin Port property has null value.
Summary: Tomcat Server instace Admin Port property has null value.
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 18:48 UTC by Marek Fukala
Modified: 2004-03-15 14:49 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 Marek Fukala 2004-01-28 18:48:05 UTC
[20040127]
When you start the IDE, the described property
value is null (at least the property sheet claims
it). Fortunately this is not affecting the IDE's
ability to stop catalina. The conf/server.xml
contains the right value (default 8005). If you
change the property value, the change is
propagated into the server.xml correctly and the
property value is displayed right.
Comment 1 Marek Fukala 2004-01-28 18:57:10 UTC
Just a humble hint: This problem happens even if the IDE is non run
for the first time with clear userdir. You encounter the some problem
when the 'jakarta-tomcat-5.0.16_base' directory with valid
conf/server.xml is in you userdir. So the problem is not caused by
missing jakarta-tomcat-5.0.16_base/conf/server.xml when you run IDE
for the first time. 
Comment 2 Pavel Buzek 2004-01-28 19:09:45 UTC
Marek, you got it right. I saw this in code and was going to ask
Martin (who implemented this) why he wants this to fail if the xml
file cannot be reached. I guess he only tested this for manually added
instances, bot the bundled one. I guess the ideal implementation would
be to take/store the value in InstanceProperties if the xml cannot be
reached and then apply the value in server xml when creating home and
base dir for bundled tomcat. I guess this is not very likely to be
encountered by he user (it is ok after you first start the server) and
there is an easy workaround so IMO this is a P4.
Comment 3 Marek Fukala 2004-01-28 19:25:50 UTC
I guess you mixed up this bug with #39331. 
Comment 4 Martin Grebac 2004-01-29 08:25:05 UTC
I'm not sure about the latest code, since we did this together with
Milan, but i'll look at it.
Comment 6 Marek Fukala 2004-03-15 14:49:11 UTC
verified