File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Sun application server domain creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Sun application server domain creation" Watch "Sun application server domain creation" New topic

Sun application server domain creation

Chris Hurst
Ranch Hand

Joined: Oct 26, 2003
Posts: 443

I'm trying to create a new domain but getting NSS pasword is invalid.

I presume it means the master password , when it asks me for it twice I'ed assume it means a new password in which case how is it invalid.

When I installed (Windows) I gave it a password but I thought that was for the admin of the existing server.

I've been trawling the net but to no success, though some one did say that the windows install might have defaulted it to adminadmin but that didn't seem to work.

Any ideas ....

"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Hello Chris,

Quite not sure if this would work but worth giving a shot. Glassfish stores the password(encrypted) in .asadminpass file under the user home directory. You could try 2 things...
1. Rename the file to something else and try to login again with the default user and password.
2. Some how find a way to decrypt the password in that file.

If none of these approaches work... you could just delete this domain and create a new one as explained in this link here or here.

Shailesh Kini.
I agree. Here's the link:
subject: Sun application server domain creation
It's not a secret anymore!