Deploying ofbiz on OpenShift issue with RMI

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploying ofbiz on OpenShift issue with RMI

HarisHashim
I am attempting deployment of ofbiz to OpenShift. Lots of troubleshooting
has been done. After making some progress, I am stuck at configuring

ofbiz\framework\base\config\ofbiz-containers.xml

<!-- load the naming (JNDI) server -->
    <container name="naming-container"
class="org.ofbiz.base.container.NamingServiceContainer">
        <property name="host" value="0.0.0.0"/>
        <property name="port" value="1099"/>
    </container>

The way I understand it is that Openshift does not allow 0.0.0.0 ip. Hence
this cause port bind error. And complain about port already in use (but it
s not) when simply that ip is not useable.

My question would be

1. Is it OK to disable RMI in ofbiz? Assuming that internally Ofbiz is not
using RMI and I dont plan to use RMI at all.

2. How to disable RMI?

Thanks!
Haris
Reply | Threaded
Open this post in threaded view
|

Re: Deploying ofbiz on OpenShift issue with RMI

Jacopo Cappellato-4
Hi Haris,

you can just remove (or comment) the <container> definition for "naming-container" from framework\base\config\ofbiz-containers.xml and do the same for the <container> definition for "rmi-dispatcher" from framework\service\config\ofbiz-component.xml

Jacopo

On Jul 18, 2014, at 11:19 AM, Haris Hashim <[hidden email]> wrote:

> I am attempting deployment of ofbiz to OpenShift. Lots of troubleshooting
> has been done. After making some progress, I am stuck at configuring
>
> ofbiz\framework\base\config\ofbiz-containers.xml
>
> <!-- load the naming (JNDI) server -->
>    <container name="naming-container"
> class="org.ofbiz.base.container.NamingServiceContainer">
>        <property name="host" value="0.0.0.0"/>
>        <property name="port" value="1099"/>
>    </container>
>
> The way I understand it is that Openshift does not allow 0.0.0.0 ip. Hence
> this cause port bind error. And complain about port already in use (but it
> s not) when simply that ip is not useable.
>
> My question would be
>
> 1. Is it OK to disable RMI in ofbiz? Assuming that internally Ofbiz is not
> using RMI and I dont plan to use RMI at all.
>
> 2. How to disable RMI?
>
> Thanks!
> Haris