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 97567 - I cannot administer tomcat
Summary: I cannot administer tomcat
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL: http://wiki.netbeans.org/wiki/view/To...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 14:14 UTC by Jaroslav Tulach
Modified: 2007-07-09 15:25 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 Jaroslav Tulach 2007-03-09 14:14:29 UTC
I have a web project. I can run it, but it fails as it needs some admin setup. 
I can go to Runtime tab, and invoke "View Admin Console". A browser is opened 
with a request for a name and password. 

Now what?
Comment 1 Petr Blaha 2007-03-09 14:25:09 UTC
correct component
Comment 2 Jaroslav Tulach 2007-03-09 14:44:38 UTC
I guess I made a progress - I found Server/Customizer and a dialog to change 
the password - however as far as I can tell changing the password does not 
work.
Comment 3 Sherold Dev 2007-03-09 16:34:56 UTC
This is a really painful UI issue:( We have to fix for 6.0. TM -> 6.0.

Please note that the username and password specified in the server customizer is
used by the IDE for connecting to the server. You do not create a new Tomcat
user by setting the username and password there. If you want to find out which
username  and password you should use for accessing the admin console
application look into the $CATALINA_BASE/conf/tomcat-users.xml file.

If you do not know where the catalina base dir is, look in the server customizer.
Comment 4 Sherold Dev 2007-03-09 16:37:14 UTC
The same problem exists in the add tomcat server wizard, so the issue must be
fixed there too.
Comment 5 Sherold Dev 2007-07-09 15:25:45 UTC
The following changes have been made to fix this issue:
* label explaining that the user should have "manager" role was added
* by default the add server wizard creates the user if it does not exist
* the server manager allows to view the password in plain text

Checking in tomcat5/nbproject/project.xml;
/cvs/tomcatint/tomcat5/nbproject/project.xml,v  <--  project.xml
new revision: 1.27; previous revision: 1.26
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/Bundle.properties,v  <--  Bundle.properties
new revision: 1.7; previous revision: 1.6
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerGeneral.form;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerGeneral.form,v  <--  CustomizerGeneral.form
new revision: 1.5; previous revision: 1.4
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerGeneral.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerGeneral.java,v  <--  CustomizerGeneral.java
new revision: 1.7; previous revision: 1.6
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/util/Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/Bundle.properties,v  <--  Bundle.properties
new revision: 1.11; previous revision: 1.10
done
RCS file: /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatUsers.java,v
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatUsers.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatUsers.java,v  <--  TomcatUsers.java
initial revision: 1.1
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/wizard/AddInstanceIterator.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/wizard/AddInstanceIterator.java,v  <--  AddInstanceIterator.java
new revision: 1.9; previous revision: 1.8
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/wizard/Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/wizard/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.form;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.form,v  <--  InstallPanelVisual.form
new revision: 1.5; previous revision: 1.4
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.java,v  <--  InstallPanelVisual.java
new revision: 1.11; previous revision: 1.10
done
RCS file: /cvs/tomcatint/tomcat5/test/unit/src/org/netbeans/modules/tomcat5/util/TomcatUsersTest.java,v
done
Checking in tomcat5/test/unit/src/org/netbeans/modules/tomcat5/util/TomcatUsersTest.java;
/cvs/tomcatint/tomcat5/test/unit/src/org/netbeans/modules/tomcat5/util/TomcatUsersTest.java,v  <--  TomcatUsersTest.java
initial revision: 1.1
done