After you create the remote method invocation
(RMI) registry
service, you must create a batch file to start RMI on the application
server.
Procedure
- Navigate to the WebLogic_install_home/user_projects/domains/domain_name directory.
- Create a backup of the startWebLogic.cmd file,
then rename the startWebLogic.cmd file to startRMIRegistry.cmd.
- Edit the startRMIRegistry.cmd file
and change the SERVER_NAME parameter to RMIRegistry.
- Add or modify the set MEM_ARGS code
to
match the following code: set MEM_ARGS=-Xms5m –Xmx10m.
- Save and close the file.
- Open
a new command prompt and navigate to the WebLogic_install_home/user_projects/domains/domain_name directory.