SAP Knowledge Base Article - Preview

3107287 - AS Java Virus Scan service misconfiguration causing "StackOverflowError"

Symptom

As an example scenario: after uploading JAR packages to AS Java system, "Save" option is not possible and "StackOverflowError" can be experienced. DefaultTrace shows the relevant exception:

[...]
[EXCEPTION]
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.StackOverflowError
java.lang.RuntimeException: java.lang.StackOverflowError
[...]
Caused by: java.lang.StackOverflowError
at com.sap.security.core.server.vsi.service.VirusScanProfile.getInstance(VirusScanProfile.java:541)
at com.sap.security.core.server.vsi.service.VirusScanProfile.getInstance(VirusScanProfile.java:542)
at com.sap.security.core.server.vsi.service.VirusScanProfile.getInstance(VirusScanProfile.java:542)
at com.sap.security.core.server.vsi.service.VirusScanProfile.getInstance(VirusScanProfile.java:542)
[...]

Virus Scan service shows the error:

Virus_Scan.PNG

"Error message from the Virus Scan service for profile "<Name of the profile>". The recursive usage of scan profile is not allowed."


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

Virus Scan, Virus Scan service, StackOverflowError, Scan profile , KBA , BC-JAS-SEC , Security, User Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.