Data Protection Advisor - virhe 400 komentosarjoja edeltävässä tai post-testin jälkeen

Summary: Virhe 400, kun suoritetaan raporttia, johon on liitetty komentosarja.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Virhe ilmenee, kun yritetään suorittaa raporttia, johon on liitetty komentosarja.
Error 400:
Resulting file is outside common scripts directory

image.png

Palvelinlokin havainnot (sovelluspalvelin: <asenna dir>\emc\dpa\services\logs\server):
2021-01-22 11:24:10,556 ERROR [com.emc.dpa.restapi.util.DPAExceptionMapper] (http-/0.0.0.0:9002-3) Exception caught. Building error response. Exception was...: javax.ejb.EJBTransactionRolledbackException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error)
.
Caused by: com.emc.dpa.common.exception.DPAException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error)

Cause

Virheen syynä on se, että DPA odottaa komentosarjojen olevan tietyssä hakemistossa.
Komentosarjoja ei käsitellä, jos ne sijoitetaan suunnitellun hakemistopolun ulkopuolelle.

Resolution

Hallintaoppaan mukaan
komentosarjat on lisättävä <install-dir>/services/shared/commands-osioon
Komentosarjan sijoittaminen edellä mainittuun sijaintiin ratkaisee ongelman.

Affected Products

Data Protection Advisor
Article Properties
Article Number: 000200217
Article Type: Solution
Last Modified: 10 Nov 2022
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.