You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Grant Edwards <a4...@yahoo.com> on 2009/05/01 16:51:25 UTC

Re: Change of ports numbers

Hi

Jacques, you are correct its a fairly easy process to change the port numbers.

Its a little clumsy to manage thought when your dev team relies on the eclipse annotations to tell them what has changed in their local work space. Obviously we dont want to submit these port number changes. Below is a list of file I change relating to OFBiz release 718913, once change it OFBiz worked with no problems.

Regrds

Grant

customofbiz-r718913$ svn st
M      framework/common/servicedef/services_test.xml
M      framework/common/src/org/ofbiz/common/CommonServices.java
M      framework/jetty/src/org/ofbiz/jetty/container/JettyContainer.java
M      framework/service/config/serviceengine.xml
M      framework/appserver/templates/tomcat55/server.xml
M      framework/appserver/templates/tomcat6/server.xml
M      framework/base/config/test-containers.xml
M      framework/base/config/jetty-containers.xml
M      framework/base/config/ofbiz-containers.xml
M      framework/webapp/config/url.properties
M      framework/webapp/src/org/ofbiz/webapp/test/XmlRpcTests.java





________________________________
From: Jacques Le Roux <ja...@les7arts.com>
To: user@ofbiz.apache.org
Sent: Tuesday, April 28, 2009 9:52:05 PM
Subject: Re: Change of ports numbers

Yes

At a moment I thought about creating a PortOffset (like it's done in Geronimo), but never found the time to do it (and it's pretty 
trivial anyway)

Jacques

From: "Grant Edwards" <a4...@yahoo.com>
> Hi,
>
> In a development environment I would like to run a number of different OFBiz instances each with its own set of port numbers. Is 
> it a case of simply finding all occurances of 8080 and changing them to 18080 and 8443 to 18443?
>
> Kind regards
>
> Grant
>
>
>
> 


      

Re: Change of ports numbers

Posted by Jacques Le Roux <ja...@les7arts.com>.
Did you do it Geronimo's way ? In such case, a patch would be appreciated.. (but this mean either .sh and .bat files IRRW)

Thanks

Jacques

From: "Grant Edwards" <a4...@yahoo.com>
> Hi
>
> Jacques, you are correct its a fairly easy process to change the port numbers.
>
> Its a little clumsy to manage thought when your dev team relies on the eclipse annotations to tell them what has changed in their 
> local work space. Obviously we dont want to submit these port number changes. Below is a list of file I change relating to OFBiz 
> release 718913, once change it OFBiz worked with no problems.
>
> Regrds
>
> Grant
>
> customofbiz-r718913$ svn st
> M      framework/common/servicedef/services_test.xml
> M      framework/common/src/org/ofbiz/common/CommonServices.java
> M      framework/jetty/src/org/ofbiz/jetty/container/JettyContainer.java
> M      framework/service/config/serviceengine.xml
> M      framework/appserver/templates/tomcat55/server.xml
> M      framework/appserver/templates/tomcat6/server.xml
> M      framework/base/config/test-containers.xml
> M      framework/base/config/jetty-containers.xml
> M      framework/base/config/ofbiz-containers.xml
> M      framework/webapp/config/url.properties
> M      framework/webapp/src/org/ofbiz/webapp/test/XmlRpcTests.java
>
>
>
>
>
> ________________________________
> From: Jacques Le Roux <ja...@les7arts.com>
> To: user@ofbiz.apache.org
> Sent: Tuesday, April 28, 2009 9:52:05 PM
> Subject: Re: Change of ports numbers
>
> Yes
>
> At a moment I thought about creating a PortOffset (like it's done in Geronimo), but never found the time to do it (and it's pretty
> trivial anyway)
>
> Jacques
>
> From: "Grant Edwards" <a4...@yahoo.com>
>> Hi,
>>
>> In a development environment I would like to run a number of different OFBiz instances each with its own set of port numbers. Is
>> it a case of simply finding all occurances of 8080 and changing them to 18080 and 8443 to 18443?
>>
>> Kind regards
>>
>> Grant
>>
>>
>>
>>
>
>
> 



Re: Change of ports numbers

Posted by Adrian Crum <ad...@hlmksw.com>.
Maybe you could keep the port changes out of your local repository, and 
have a patch that makes the port changes when you're ready to deploy. 
Then there would be no impact on your developers.

-Adrian

Grant Edwards wrote:
> Hi
> 
> Jacques, you are correct its a fairly easy process to change the port numbers.
> 
> Its a little clumsy to manage thought when your dev team relies on the eclipse annotations to tell them what has changed in their local work space. Obviously we dont want to submit these port number changes. Below is a list of file I change relating to OFBiz release 718913, once change it OFBiz worked with no problems.
> 
> Regrds
> 
> Grant
> 
> customofbiz-r718913$ svn st
> M      framework/common/servicedef/services_test.xml
> M      framework/common/src/org/ofbiz/common/CommonServices.java
> M      framework/jetty/src/org/ofbiz/jetty/container/JettyContainer.java
> M      framework/service/config/serviceengine.xml
> M      framework/appserver/templates/tomcat55/server.xml
> M      framework/appserver/templates/tomcat6/server.xml
> M      framework/base/config/test-containers.xml
> M      framework/base/config/jetty-containers.xml
> M      framework/base/config/ofbiz-containers.xml
> M      framework/webapp/config/url.properties
> M      framework/webapp/src/org/ofbiz/webapp/test/XmlRpcTests.java
> 
> 
> 
> 
> 
> ________________________________
> From: Jacques Le Roux <ja...@les7arts.com>
> To: user@ofbiz.apache.org
> Sent: Tuesday, April 28, 2009 9:52:05 PM
> Subject: Re: Change of ports numbers
> 
> Yes
> 
> At a moment I thought about creating a PortOffset (like it's done in Geronimo), but never found the time to do it (and it's pretty 
> trivial anyway)
> 
> Jacques
> 
> From: "Grant Edwards" <a4...@yahoo.com>
>> Hi,
>>
>> In a development environment I would like to run a number of different OFBiz instances each with its own set of port numbers. Is 
>> it a case of simply finding all occurances of 8080 and changing them to 18080 and 8443 to 18443?
>>
>> Kind regards
>>
>> Grant
>>
>>
>>
>>
> 
> 
>