Creating a batch file to start remote method invocation on WebLogic Server

After you create the remote method invocation (RMI) registry service, you must create a batch file to start RMI on the application server.

Procedure

  1. Navigate to the WebLogic_install_home/user_projects/domains/domain_name directory.
  2. Create a backup of the startWebLogic.cmd file, then rename the startWebLogic.cmd file to startRMIRegistry.cmd.
  3. Edit the startRMIRegistry.cmd file and change the SERVER_NAME parameter to RMIRegistry.
  4. Add or modify the set MEM_ARGS code to match the following code: set MEM_ARGS=-Xms5m –Xmx10m.
  5. Save and close the file.
  6. Open a new command prompt and navigate to the WebLogic_install_home/user_projects/domains/domain_name directory.


Feedback