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 46301 - "Cannot read admin port\: null" error
Summary: "Cannot read admin port\: null" error
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 18:56 UTC by Martin Schovanek
Modified: 2006-03-24 09:43 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 Martin Schovanek 2004-07-19 18:56:42 UTC
[#200407151800, jdk1.5.0-beta3]

The Add New Server action assumes that <Server tag
in server.xml have port attribute. But in case you
are using default port number the Tomcat
Administration tool doesn't save it and IDE
refuses add such server.

To reproduce:
-------------
1) log in to Tomcat Administration tool
http://localhost:8080/admin/
2) press the Commit Changes button
3) in IDE choose Runtime > Server Registry >
Tomcat 5 > Add New Server
4) browse the Tomcat Install directory
ERROR: "Cannot read admin port\: null ..." error
message appears.
Comment 1 Pavel Buzek 2004-07-20 18:13:35 UTC
Stepan, can you take a look at this, please?
Comment 2 Sherold Dev 2004-07-27 09:15:03 UTC
Commit log:

Checking in Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.22; previous revision: 1.21
done
Checking in TomcatInstall.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/TomcatInstall.java,v
 <--  TomcatInstall.java
new revision: 1.20; previous revision: 1.19
done
Comment 3 Petr Blaha 2004-08-04 14:55:21 UTC
Build: 20040802