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 53104 - External Tomcat webapps not listed, UI notification missing
Summary: External Tomcat webapps not listed, UI notification missing
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 14:33 UTC by peterp
Modified: 2015-09-30 10:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peterp 2005-01-07 14:33:06 UTC
(JDK 1.4.2_05, netBeans 4.0, external Tomcat 5.5.4)
When external Tomcat is added into IDE without
previously editing
(external_tomcat_home)/conf/tomcat-users.xml
(later in here referred to as tomcat-users.xml),
IDE throws no warning that it's unable to list
deployed webapps. UI looks like there are no
webapps deployed. This strongly affects new user
experience. User needs to edit tomcat-users.xml
manually, without being given any hint from IDE.
This includes adding 
<role rolename="manager"/>
<user username="<some_username>"
password="<some_password>" roles="manager"/>
lines into tomcat-users.xml.
Proposed solutions:
0) document this
1) IDE should NOT list Webapplications node from
external Tomcat at all, unless it's configured
correctly.
2) Warning window should appear, telling user to
verify/do necessary changes in tomcat-users.xml
Comment 1 peterp 2005-01-07 16:08:05 UTC
This problem occurs if you use any of the default username:password
combinations from tomcat-users.xml (tomcat:tomcat, role1:tomcat,
both:tomcat).
Comment 2 Sherold Dev 2005-01-07 16:47:50 UTC
Setting target milestone to 4.1.
Comment 3 Petr Hejl 2015-09-30 10:55:38 UTC
Currently the registration wizard requires the username and password with option to create such login.