![](/images/new-backgrounds/1300197/300197129x1.webp)
Multiple Instances on Same Machine as Oracle HTTP Server
structure and modify the structure so that each of the JServ instances have unique port numbers and other resources. For example, these directories should appear as <WE_HOME>\server\classesx, where x corresponds to each of the JServ instances 1...N. Modify the System.properties file in the <WE_ HOME>\server\classesx\oracle\panama\core\admin directory:
a.Set the unique identifier for the instance. x corresponds to each of the JServ instances 1...N.
instance.identifier=instancex
b.Set the following parameter to true for every instance to ensure that the instance participates in cache synchronization:
participateInCacheSynchronization=true
c.This value should point to the machine and port where the Master Instance for Cache synchronization is running. It should have the same value for all instances. Ensure that the port number (2007 in this case) is the same as the one specified by the rmi.registry.port parameter in the Master.properties file:
masterInstance.url=//localhost:2007
d.Modify the properties files in Table
e.Run the following SQL scripts by connecting to the repository database as the Wireless Edition database user. The scripts are provided in the <WE_ HOME>\server\classesx\oracle\panama\sql directory.
create_cachesync_schema.sql
f.The master server must be started by running the script <WE_ HOME>\server\classesx\oracle\panama\sample\runMasterServer.bat or runMasterServer.sh.
Multiple JVM Support and Load Balancing