Develop > Develop Content > Create Content Acceleration Packs > CAPs Automatic Anti Virus Scans

CAPs Automatic Anti Virus Scans

New custom Content Acceleration Packs (CAPs) may inadvertently include viruses.

ITBA automatically scans a CAP you are uploading using an out-of-the-box anti virus based on ClamWin (http://ClamWin.com).

ITBA includes an anti virus database (also based on ClamWin) to make sure that the latest anti viruses are used in the provided out-of-the-box anti virus feature. By default, the database is not automatically updated.

Alternatively, you can run your own anti virus using the same ITBA command instead of running the out-of-the-box anti virus.

ClosedWork with the out-of-the-box anti virus

The anti virus runs automatically every time you upload a CAP. If a virus is included in the CAP an error message is displayed. You can view the CAP log, located at $HPBA_Home\agora\glassfish\glassfish\domains\BTOA\logs\cap.log to get more information about the virus.

By default, the anti virus database is provided with each version and is not automatically updated.

You can decide to automatically update the anti virus database every Sunday at 12:00 am (midnight). To do so,

  1. In the ITBA application, click ADMIN > Settings > Foundation. For details, see Settings - Foundation.
  2. In the page that opens, set the Automatic update of anti virus database parameter to true.

ClosedWork with your own anti virus

If you do not want to use the out-of-the-box anti virus (based on ClamWin) and you want to use your own anti virus:

  1. Open the antiVirusScan.bat file located at
    $HPBA_Home\agora\agora\glassfish\glassfish\domains\BTOA\config\antivirus\.
  2. Replace the command line with the command line that triggers your own anti virus, and click Save.

    Every time you upload a CAP, the antiVirusScan.bat runs and triggers your anti virus detection.

ClosedManually Update the Virus Database

To manually update the virus database, download the main.cvd and daily.cvd virus database files from the ClamAV home page at http:\\www.clamav.net and copy them to the ClamWin virus database directory located at:
$HPBA_Home\agora\glassfish\glassfish\domains\BTOA\config\antiVirus\clamwin\bin\db, replacing the existing files.