where to set IT_DAEMON_SERVER_BASE and IT_DAEMON_SERVER_RANGE

Can we control the port ranges used by all the iona process by setting IT_DAEMON_SERVER_BASE.

Where we need to set these variables? can we set it as a environment variable or in domain cfg file

Is it enough to set like below.

IT_DAEMON_SERVER_BASE = "60000"

IT_DAEMON_SERVER_RANGE =  "100"

  • Sorry forgot to mention our environment, We are using iona 6.3 in Sun

  • Hi,

    No, IT_DAEMON_SERVER_BASE and IT_DAEMON_SERVER_RANGE are Orbix 3.3 configuration variables and cannot be used for Orbix 6.3 applications.

    For further details on these Orbix 3.3 configuration variables, please see the Orbix 3.3 Administrator's Guide available below:

    supportline.microfocus.com/productdoc.aspx

    Please see the following KB articles on how to to control the port range for Orbix 6.3 applications:

    community.microfocus.com/.../22702.how-to-set-the-ports-available-to-an-orbix-application.aspx

    community.microfocus.com/.../24624.using-the-port-range-on-orbix-java-and-c-to-listen-on-a-fixed-port.aspx

    Please see the Orbix 6.3 Administrator's Guide and Configuration Reference for further details on the configuration variables mentioned in the above KB articles.

    Thanks,

    Roland

  • Hi Roland,

             From the docs i could see below policy can set the port ranges.

    policies:iiop:server_address_mode_policy:port_range="4003:4008";

    But can we set this policy using itadmin command or do we need to give it in domain configuration file and restart service

    Thanks  for your time

  • You can use itadmin commands to create/modify/show/remove variables (check "itadmin variable -help") for both file-based and cfr-based domains.

    In a file-based domain you can also edit the cfg file using a text editor, so this is a bit easier.

    In a cfr-based domain you need to use itadmin, there is no other way to make changes to configuration.

    You will have to restart your application in both cases in order for the changes to take effect.

    Hope this helps,

    Roland