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 64816 - Can't start domain that uses different master password than "changeit"
Summary: Can't start domain that uses different master password than "changeit"
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 11:06 UTC by Petr Blaha
Modified: 2005-11-03 13:48 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 Petr Blaha 2005-09-21 11:06:30 UTC
[build 20050920]
Steps:
1) create new domain with diffent master password that 'changeit'
2) add new domain in Netbeans
3) start server
ERROR:
server isn't started and get exception:
Caused by: java.lang.IllegalStateException: Keystore was tampered with, or
password was incorrect
       at com.sun.enterprise.security.SecurityS
Comment 1 _ ludo 2005-09-21 15:26:54 UTC
I' ve the fix.

Do we want this in beta as well?
Comment 2 Petr Blaha 2005-09-21 15:37:06 UTC
Yes, merge the fix to release50_beta branch as well. Thanks, Petr
Comment 3 _ ludo 2005-09-21 22:55:30 UTC
Fixed.
Now we can read and decode the master password file when necessary.
Checking in StartSunServer.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java,v
 <--  StartSunServer.java
new revision: 1.9; previous revision: 1.8
done
Comment 4 _ ludo 2005-09-21 23:01:34 UTC
in release50_beta branch as well
Comment 5 Vince Kraemer 2005-09-22 05:39:27 UTC
Does the user still need to use the --savemasterpassword=true  flag in asadmin
create-domain? See issue 60856.
Comment 6 Michal Mocnak 2005-11-03 13:48:27 UTC
Verified