Integer value has to be between 1 and 4095

  • 7002145
  • 10-Dec-2008
  • 26-Apr-2012

Environment

Novell BorderManager 3.9 Support Pack 1

Situation

In iManager when going to BoderManager - Proxy Services, selecting the server object clicking OK. In the General section clicking Caching, the upcoming Cache Aging tab is empty in Internet Explorer 6 and 7 and the following error is showed in Mozilla Firefox: Integer value has to be between 1 and 4095. Clicking any tabs on the same page you get the same error.

Resolution

Back up the current configuration of the proxy services with following steps:

1. Go to iManager
2. Select BorderManager
3. Select Proxy Services
4. Select the Border Manager server object
5. Click the OK button
6. On the Server Configuration screen, at the bottom click the Backup button
7. Save the config.xml file

Open the saved config.xml file and find the following line (the values in it might be different):
<MaximumCacheFileReadSize FTP="40000" Gopher="-30" HTTP="0" />

Make sure you change all values to be in between 1-4095, like:
<MaximumCacheFileReadSize FTP="400" Gopher="30" HTTP="16" />

In the above example all three was incorrect, so all had to be changed.
Save the file, and restore with the following steps:


1. Go to iManager
2. Select BorderManager
3. Select Proxy Services
4. Select the Border Manager server object
5. Click the Restore Link
6. Click the Browse button, than select the edited config.xml file
7. Click the Restore button
8. Wait till the message: Configuration Restore Successfully is displayed
9. Click OK
10. Select the Border Manager server object
11. Click OK
12. On the Server Configuration screen, at the bottom click the Apply Changes button


Now you can go to the Caching link again, and you should get no errors.

Additional Information

An enhancement request has been created to add more checking on the values in the migration process.