GlassFish的域添加、删除
今天GlassFish上的一个域无法启动了,懒得去找原因了,直接重建一个。
删除原有的domain
asadmin delete-domain domain1
新建domain
//install_dir\bin\asadmin create-domain --adminport admin_port--user admin_user? --instanceport http_portdomain1
asadmin create-domain --adminport 4848--user admin? --instanceport 8080domain1?
根据提示输入密码
After enter above command, prompting to enter admin password andmaster password
?
Values for admin_port, admin_user, admin_password, and http_portshould match the values that were originally supplied at productinstallation