Consultor Eletrônico



Kbase P19451: How to hard code the Host Name of the AdminServer?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/14/2003
Status: Unverified

GOAL:

Hard code the host name of the AdminServer by creating the proset.env

FACT(s) (Environment):

Progress 9.1x

FACT(s) (Environment):

UNIX

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FIX:

Progress relies on an OS system function to look up the host name, it does not
look at the host file specifically. The OS system function that is used is
specific to each OS. From there we bind the host information to the port.

In some cases, the OS can refer back to the host file for a lookup. This
is something that is out of the control of Progress and occurs internally. Also, in some networking configurations, it might be a requirement to start the AdminServer using localhost as the Host name.

If so, then follow these steps to hard code the Host name used by the AdminServer.


On UNIX

Start AdminServer using the Java system properties:

  java.rmi.server.hostname.


The Java system properties for the AdminServer can be modified by using a proset.env file.

1. This file needs to be created, if it does not already exist.

2. Make sure that the file is your working directory.

3. Add these lines in the proset.env file and save:

  JVMARGS="$JVMARGS
  -Djava.rmi.server.hostname=<hostname>"


On Windows NT/2000

1. Simply change the value of the Registry key:

 HKEY_LOCAL_MACHINE\SOFTWARE\PSC\AdminService\9.1x\StartupCmd\Chimera

by adding the string:

  -Djava.rmi.server.hostname=<hostname>

just before:

  com.progress.chimera.adminserver.AdminServerType