简体   繁体   中英

Trying to run Glassfish server on OpenShift in a DIY cartridge

I'm trying to run Glassfish on OpenShift in a DIY cartridge and I have a problem because I'm receiving an error saying that I can't bind the port 8080.

I have been talking with Openshift support and they have told me that I must remove a ruby file that is binding the 8080 port.

Error:

[#|2015-04-21T17:58:27.887-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|Shutting down v3 due to startup exception : Permission denied: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@15ac5d5|#] 

I think that I have done this, because I have removed a .rb file in the git directory but the problem persists.

Does anyone have any suggestions?

您需要确保您的glassfish服务器绑定到设备ip地址上的端口8080,这是您的OPENSHIFT_DIY_IP环境变量。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM