有关在Red Hat的OpenShift PaaS上安装ofbiz的问题

时间:2013-11-15 19:02:16

标签: openshift ofbiz

最好的,

我想知道是否有可能在OpenShift中运行ofbiz。我尝试进行安装并开始出现以下错误:

#. / Ant start
Buildfile : / var/lib/openshift/528501ba4382ec7016000175/app-deployments/apache-ofbiz-12.04.02/build.xml
start:
     [ java ] Start.java configuration file using org / ofbiz / base / start / start.properties
     [ java ] September OFBIZ_HOME to - / var/lib/openshift/528501ba4382ec7016000175/app-deployments/apache-ofbiz-12.04.02
     [ java ] Exception in thread "main" org.ofbiz.base.start.StartupException : Could not create server socket ( / 127.0.0.1:10523 )
     [ java ] at $ org.ofbiz.base.start.Start AdminPortThread . <init> ( Start.java : 405 )
     [ java ] at org.ofbiz.base.start.Start.createListenerThread ( Start.java : 163)
     [ java ] at org.ofbiz.base.start.Start.init ( Start.java : 222)
     [ java ] at org.ofbiz.base.start.Start.main ( Start.java : 131)
     [ java ] Caused by: java.net.BindException : Permission denied
     [ java ] at java.net.PlainSocketImpl.socketBind ( Native Method)
     [ java ] at java.net.AbstractPlainSocketImpl.bind ( AbstractPlainSocketImpl.java : 376 )
     [ java ] at java.net.ServerSocket.bind ( ServerSocket.java : 376 )
     [ java ] at java.net.ServerSocket . <init> ( ServerSocket.java : 237 )
     [ java ] at $ org.ofbiz.base.start.Start AdminPortThread . <init> ( Start.java : 403 )
     [ java ] ... 3 more
     [ java ] Java Result : 1

是否有可能以某种方式配置端口以获得启动ofbiz的权限?

非常感谢所有人

1 个答案:

答案 0 :(得分:0)

您必须在“framework / start / src / org / ofbiz / base / start / start.properties”和“framework / start / src / org / ofbiz / base / start /”中配置要编译的端口。 jetty.properties”。

Goog运气好!