Configuring Java LiveUpdate in Symantec Scan Engine 5.2.10 and newer

Article:TECH152863  |  Created: 2011-02-08  |  Updated: 2012-11-15  |  Article URL http://www.symantec.com/docs/TECH152863
Article Type
Technical Solution


Issue



Starting with Scan Engine 5.2.10, it is not possible to modify the Java LiveUpdate (JLU) settings by editing the file %ALLUSERSPROFILE%\Symantec\Java LiveUpdate\liveupdate.conf or by using the Java ConfigEditor. Any changes made to the liveupdate.conf are being ignored when LiveUpdate is run from the Scan Engine web console and Scan Engine runs with default settings. For example, you might need a way to:

  • Configure Java LiveUpdate to use a proxy server
  • Configure Java LiveUpdate to use an Internal LiveUpdate server (such as LiveUpdate Administrator 2.x)
  • Adjust the Java LiveUpdate download cache size
  • Change the location of Java LiveUpdate's log file or download directory

Solution



Starting with version 5.2.10 Java LiveUpdate uses the following configuration file:

Linux and Solaris: /opt/SYMCScan/bin/liveupdate.conf

Windows 32-bit: %ProgramFiles%\Symantec\Scan Engine\liveupdate.conf

Windows 64-bit: %ProgramFiles(x86)%\Symantec\Scan Engine\liveupdate.conf

If the Java LiveUpdate settings need to be modified, please configure the settings by  manually editing this file.  For example these are the proxy fields that need to be added to the configuration file for Java LiveUpdate to work with a proxy server:

proxy=192.168.1.250:8080
proxyusername=Domain\User
proxypassword=Passw0rd

Note: At least one "hosts" entry must be present for the proxy settings to work, but more host entries can be defined if needed.  Please don't remove any pre-existing entries from the liveupdate.conf file unless necessary. Please have a look at example of the liveupdate.conf file below, the whole file or parts of it might be reused as necessary, please adjust to your needs. If you need explanation of configuration options, please refer to TECH101689 "Configuring Java LiveUpdate" below in "Supplemental Materials" section.

# LiveUpdate.conf
hosts/0/url=http://liveupdate.symantecliveupdate.com:80/
hosts/1/url=http://liveupdate.symantec.com:80/
cacheMode=false
downloadCacheSize=5368709120
maxPackageContentSize=2147483647
maxPackageSize=2147483647
maxTriFileSize=10485760
maxZipFileSize=614400
proxy=192.168.1.99:8009
proxyusername=<username>
proxypassword=<password>
logfile=C:\Documents and Settings\All Users\Application Data\Symantec\Java LiveUpdate\liveupdt.log
workdir=C:\Documents and Settings\All Users\Application Data\Symantec\Java LiveUpdate\Downloads

If the expected fields are not present Java LiveUpdate will discard the config file and use the hard coded default settings. 

 

Note: If you are using non-English operating system, please take into account following information:

Scan Engine 5.2: LiveUpdate not downloading updates on a non English version of Microsoft Windows

http://www.symantec.com/docs/TECH97819


Supplemental Materials

Description

For more information please refer to the following links:

Scan Engine 5.2.10 Implementation Guide, page 190-193

How to configure Symantec Scan Engine to update from an internal LiveUpdate server
http://www.symantec.com/docs/TECH88673

How to configure liveupdate.conf for Scan Engine installed on a Windows Server.
http://www.symantec.com/docs/HOWTO65770

About Java LiveUpdate in ScanEngine 5.2.8
http://www.symantec.com/docs/TECH140886

Configuring Java LiveUpdate
http://www.symantec.com/docs/TECH101689
 




Article URL http://www.symantec.com/docs/TECH152863


Terms of use for this information are found in Legal Notices