Hi Ashish,  

thanks for your reply . 

As I can see you have chosen the approach to change the port numbers. 

I am currently trying the 2nd one - to bind all the ports to a single
virtual interface by removing all the localhost, 127.0.0.1 and 0.0.0.0
occurances. Currently I am stuck on the RMI registry , as 

LocateRegistry.createRegistry(namingPort);

( 
org.ofbiz.base.container.NamingServiceContainer.start(NamingServiceContainer.java:62)
 ) 

 accepts only port number and always binds to localhost. 

I'm working on that. If I manage to run 2 of these guys ( ofbiz ) on
separate network interfaces without any collisions or cross rmi calls
I'll  post a notice.  

If I don't succeed than I'll just go on by changing the port numbers
only as you have described.

So- stay tuned :)

Thanks again for your reply. 

Cheers, 
Deyan 



On Mon, 2009-05-25 at 18:26 +0530, Ashish Vijaywargiya wrote:
> Below is my post dated May 21, 2009 on the user mailing list on the User 
> Mailing list.
> I guess you have missed my reply.
> Please read the details, give it a try and if got stuckup somewhere then 
> come back to discuss the things.
> 
> ------------------------------------------------------------
> Yes this can be easily done in OFBiz.
> 
> Open ofbiz-containers.xml file. 
> (framework/base/config/ofbiz-containers.xml)
> Change the value of port in all the property by name "port". For ex. you 
> can change http port from 8080 to 28080
> 
> Then open url.property file. (framework/webapp/config/url.properties)
> Keep the value of http & https port same as you set in the 
> ofbiz-containers.xml file.
> 
> So now we have two instance of OFBiz server on the same machine.
> 
> -- One is running on 8080 & another one is running on 28080 port.
> 
> For accessing the same database you should keep the settings of database 
> same in entityengine.xml file.
> This is all from my side.
> 
> Now its your turn to give it a try and if got stuck up somewhere in b/w 
> then shoot an email on mailing list.
> Thanks !
> 

Reply via email to