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 148258 - unable to change tomcat username and pw in servers manager
Summary: unable to change tomcat username and pw in servers manager
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 15:56 UTC by Kenneth Ganfield
Modified: 2009-02-19 23:11 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 Kenneth Ganfield 2008-09-24 15:56:15 UTC
I ran into problem when trying to view the deployed apps on the tomcat server.
When i tried to view the web applications i was prompted to enter a user name and password in the Authentication
Required dialog.
When i clicked cancel i was told that i can use the Tomcat customizer in the Servers manager to set the correct username
and password for manager role.

I open Servers manager and I see the tomcat user name and change the password. I click Close.
I restart Tomcat.
I try to view deployed applications in Services window and i see the same Authentication Required dialog.
I type in the username and new password.
Dialog closes and reopens again prompting for username and password.
I look in customizer and the user and pw are the new user and pw that i typed. 

There is no way to view the deployed apps.
There is no way to set the username and password.
The username and pw fields in the Tomcat customizer do not seem to do anything.
The panel says that the user and pw are the credentials of existing user in manager role, but modifying the fields does
not appear to create a user or modify a password.
So either the tomcat customizer is broken, or the wording of customizer and dialog are incorrect, or both.


If i look in tomcat-users.xml in my userdir i can see a user and pw for manager role and if i use that i can view the
deployed files.
Comment 1 Petr Hejl 2008-09-24 16:05:11 UTC
Could be related to the GF authenticator...
Comment 2 Lukas Jungmann 2008-09-24 16:22:04 UTC
which IDE build do you use, please?
Comment 3 Kenneth Ganfield 2008-09-24 16:39:29 UTC
java nightly build 200809240201
when i installed the ide i deselected installing the servers because i already had tomcat installed (in the same dir) so
i used an existing tomcat installation. the ide appeared to recognize the previous tomcat installation
Comment 4 Thuy.d Nguyen 2008-12-19 20:10:44 UTC
I can not reproduce this issue with the latest development build of NB 7.0. I can expand the Tomcat node under the
Servers on Service tab to view all the deployed applications without being asked to enter userid and password.

Could you try again with NB 7.0 M1.