Hi,

This, and maybe other dependies, must be taken into account at
https://issues.apache.org/jira/browse/OFBIZ-4794
"set different ports for testing in a CI environment (e.g. Jenkins)"
And
https://issues.apache.org/jira/browse/OFBIZ-4763
"create and use startup profiles"

Jacques

From: <sascharodek...@apache.org>
Author: sascharodekamp
Date: Thu Apr 26 11:15:48 2012
New Revision: 1330778

URL: http://svn.apache.org/viewvc?rev=1330778&view=rev
Log:
Change the RMI and JNDI port in the Test-containers.xml to 1099. Because the jndi servers in jndiservers.xml/jndi.properties are also configured to port 1099. If another port is set in the *-containers.xml the JNDI server could not be reached.

Modified:
   ofbiz/trunk/framework/base/config/test-containers.xml

Modified: ofbiz/trunk/framework/base/config/test-containers.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/test-containers.xml?rev=1330778&r1=1330777&r2=1330778&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/config/test-containers.xml (original)
+++ ofbiz/trunk/framework/base/config/test-containers.xml Thu Apr 26 11:15:48 
2012
@@ -31,14 +31,15 @@ under the License.

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

    <!-- RMI Service Dispatcher -->
    <container name="rmi-dispatcher" 
class="org.ofbiz.service.rmi.RmiServiceContainer">
        <property name="bound-name" value="RMIDispatcher"/>
        <property name="bound-host" value="127.0.0.1"/>
-        <property name="bound-port" value="1100"/>
+        <property name="bound-port" value="1099"/>
        <property name="delegator-name" value="test"/>
        <property name="client-factory" 
value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
        <property name="server-factory" 
value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>


Reply via email to