Study

Glassfish(글래스피시) domain(도메인) 추가

메디츠 2023. 1. 1. 06:56
반응형

2016년 10월 기준.

 

[root@LABEMEAMCPS01 glassfish]# bin/asadmin create-domain --portbase 9000 test

Enter admin user name [Enter to accept default "admin" / no password]>admin

Enter the admin password [Enter to accept default of no password]>

Enter the admin password again>

Using port 9048 for Admin.

Using port 9080 for HTTP Instance.

Using port 9076 for JMS.

Using port 9037 for IIOP.

Using port 9081 for HTTP_SSL.

Using port 9038 for IIOP_SSL.

Using port 9039 for IIOP_MUTUALAUTH.

Using port 9086 for JMX_ADMIN.

Using port 9066 for OSGI_SHELL.

Using port 9009 for JAVA_DEBUGGER.

Distinguished Name of the self-signed X.509 Server Certificate is:

[CN=LABEMEAMCPS01,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US]

Distinguished Name of the self-signed X.509 Server Certificate is:

[CN=LABEMEAMCPS01-instance,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US]

Domain test created.

Domain test admin port is 9048.

Domain test admin user is "admin".

Command create-domain executed successfully.

 

bin/asadmin start-domain test

bin/asadmin stop-domain test

 

Secure Admin must be enabled to access the DAS remotely.

// admin 로그인 안될 경우,

bin/asadmin --host localhost --port 9048 enable-secure-admin

Enter admin user name> admin

Enter admin password for user "admin">

You must restart all running servers for the change in secure admin to take effect.

 

반응형