Configuring Glassfish without admin console gui

老子叫甜甜 提交于 2019-12-10 22:57:13

问题


I have installed Glassfish application server Openshift cloud servers. I can only use :8080 port because of Openshift restrictions. It won't let me run admin console on :4848 port and I will somehow configure datasource, file realm and security realm manually from configuration files.

a-) Is it possible to do configuration without the admin console?

b-) Can admin console run on :8080 port along with applications?

Note: It is not possible to allocate any port for admin console Openshift won't let me do it.

Thanks


回答1:


a) You can configure Glassfish with the asadmin tool

b) You can change the port for the admin console in glassfish/domains/[yourdomain]/config/domain.xml: search for

<network-listener port="4848" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="admin-thread-pool"></network-listener>

But I doubt it is possible to use port 8080 for admin gui AND other applications.



来源:https://stackoverflow.com/questions/13793028/configuring-glassfish-without-admin-console-gui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!