Video Screencast Help

Java implementation with JavaAPICheck example

Created: 15 Jan 2012 • Updated: 23 Jan 2012 | 2 comments

Hi ,

I need some help with the implementation JavaAPICheck example

This is the error I got

com.symantec.scanengine.api.ScanException: All the attempts to connect to Symantec Scan Engine failed.

Problem encountered! Scanning Failed!! MAX_TRIES_REACHED

      at com.symantec.scanengine.api.RequestImpl.getConnection(Unknown Source)

      at com.symantec.scanengine.api.RequestImpl.readOptions(Unknown Source)

      at com.symantec.scanengine.api.FileScanRequestImpl.scanFile(Unknown Source) 

 

What does it meen Scanning Failed!! MAX_TRIES_REACHED?

What to change in the example that comes with the install package?

 

Comments 2 CommentsJump to latest comment

TSE-JDavis's picture

It couldn't talk to Scan Engine. Check that you have the correct IP address and port.

BenDC's picture

com.symantec.scanengine.api.ScanException: All the attempts to connect to Symantec Scan Engine failed.

MAX_TRIES_REACHED only indicates it tried the maxium number of times it could to try to reach the scan engine. Verify the Scan Engine service is running and that you are not pointing your software/connector to the user interface port of 8004. Assuming you are using iCap the port should be 1344 (default).

To test connection/function you of the scan engine you can attempt to use the command line Scanner located in the ssecls folder in the installation directory of the Scan Engine.