Hi Kedar,
Thanks for you help...
here is the output...
I was able to create domain 2 and tried again to create domain 3 thinking is it the password problem... but i am typing the password for master password as password carefully...
asadmin> create-domain --adminport 6060 domain3
CLIToken = [create-domain]
CLIToken = [--adminport]
CLIToken = [6060]
CLIToken = [domain3]
**** insert Default Options interactive true
**** insert Default Options terse false
**** insert Default Options echo false
**** insert Default Options checkports true
**** insert Default Options savemasterpassword false
**** insert Default Options savelogin false
Port =6060
Reading asadminenv.conf file
asadminenv.conf: set the following options: profile=enterprise
asadminenv.conf: set the following options: secure=true
asadminenv.conf: set the following options: port=4848
CLI146 .asadminprefs does not exist in the file system or read permission denied
.
CLI146 .asadminprefs does not exist in the file system or read permission denied
.
Please enter the admin user name>admin
Please enter the admin password>
Please enter the admin password again>
Please enter the master password [Enter to accept the default]:>
Please enter the master password again [Enter to accept the default]:>
domainName = domain3
Using port 6060 for Admin.
Default port 8080 for HTTP Instance is in use. Using 2038
Default port 7676 for JMS is in use. Using 2039
Default port 3700 for IIOP is in use. Using 2040
Default port 8181 for HTTP_SSL is in use. Using 2041
Default port 3820 for IIOP_SSL is in use. Using 2042
Default port 3920 for IIOP_MUTUALAUTH is in use. Using 2043
Default port 8686 for JMX_ADMIN is in use. Using 2044
Domain being created with profile:enterprise, as specified by variable AS_ADMIN_
PROFILE in configuration file.
Security Store uses: NSS
Invalid database password.
com.sun.enterprise.cli.framework.CommandException: CLI130 Could not create domai
n, domain3
at com.sun.enterprise.cli.commands.CreateDomainCommand.runCommand(Create
DomainCommand.java:315)
at com.sun.enterprise.cli.commands.MultiProcessCommand.processLine(Multi
ProcessCommand.java:333)
at com.sun.enterprise.cli.commands.MultiProcessCommand.runCommand(MultiP
rocessCommand.java:119)
at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:1
71)
at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Caused by: com.sun.enterprise.admin.servermgmt.DomainException: Invalid database
password.
at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.createNSSCert
DB(EEDomainsManager.java:360)
at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.createSSLCert
ificateDatabase(EEDomainsManager.java:232)
at com.sun.enterprise.admin.servermgmt.pe.PEDomainsManager.createDomain(
PEDomainsManager.java:171)
at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.createDomain(
EEDomainsManager.java:170)
at com.sun.enterprise.cli.commands.CreateDomainCommand.create(CreateDoma
inCommand.java:489)
at com.sun.enterprise.cli.commands.CreateDomainCommand.runCommand(Create
DomainCommand.java:310)
... 4 more
Caused by: java.lang.Exception: Invalid database password.
at com.sun.enterprise.ee.security.NssStore.changePassword(Native Method)
at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.createNSSCert
DB(EEDomainsManager.java:357)
... 9 more
CLI130 Could not create domain, domain3
Thanks...
Ranjan
[Message sent by forum member 'kumar1312' (kumar1312)]
http://forums.java.net/jive/thread.jspa?messageID=342501