Question
Department of Veterans Affairs
US
Last activity: 11 Jun 2021 17:05 EDT
Deployment Manger 5.2 - Run ad hoc tasks
Running ad hoc task to import product file throws below error. Please help. I have attached screen shots { "pxObjClass":"Log-PegaRemoteManagement-Import" ,"pyErrorMsg":"There was an issue during checking if a file or directory exists." ,"pyStatusCode":"FAILED" } Repository: Nexus 3.29.0 |
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 11 Jun 2021 17:05 EDT
Department of Veterans Affairs
US
@VeeraRR As per Pega, The ad hoc tasks use PRPCServiceUtils which doesn’t provide support for custom repositories.
SR: INC-177742
Pegasystems Inc.
IN
@VeeraRR Does the repo definition already include the initial part of the path(VAFSC/PDM) ? If yes you may want to remove it from the artifact path. Looking at the logs could also show you the path being used for the artifact at runtime.
Updated: 25 May 2021 15:10 EDT
Department of Veterans Affairs
US
@konda Getting below error
Connector Name: SystemManagementImport
Request:
"importFromRepository":"true","artifactType":"","archivePath":"devops/dev/SER/01.01.01/SER_010101_33_20210519T161702/SER_010101_33_20210519T161702.zip","repositoryName":"FSCNexusRepo"}
@konda Getting below error
Connector Name: SystemManagementImport
Request:
"importFromRepository":"true","artifactType":"","archivePath":"devops/dev/SER/01.01.01/SER_010101_33_20210519T161702/SER_010101_33_20210519T161702.zip","repositoryName":"FSCNexusRepo"}
2021-05-25 13:55:08,643 [fault (self-tuning)'] [ STANDARD] [ ] [ PegaRULES:8] (internal.RepositoryManagerImpl) ERROR Rest|SystemManagement|v2|import72d6d7a1885885bb55a565fd1070581a|AMPSAZOM9MKACCV9T7K5FZMIU5LLCQRVDA - Issue retrieving reference file://FSCNexusRepo://devops/dev/SER/01.01.01/SER_010101_33_20210519T161702/SER_010101_33_20210519T161702.zip
com.pega.platform.integrationengine.repository.RepositoryException: There was an issue during checking if a file or directory exists.
at com.pega.platform.integrationengine.repository.internal.RepositoryManagerImpl.getFileReference(RepositoryManagerImpl.java:688) ~[integration-engine.jar:?]
at com.pega.platform.integrationengine.repository.internal.RepositoryManagerImpl.exists(RepositoryManagerImpl.java:545) ~[integration-engine.jar:?]
at com.pega.pegarules.priv.deploy.RepositoryUtils.getArtifactPathsAndValidateExistance(RepositoryUtils.java:64) ~[prpublic.jar:?]
at com.pegarules.generated.activity.ra_action_pzimportservice_dfb819c8cd16c7aad982da7b4cc657b2.step7_circum0(ra_action_pzimportservice_dfb819c8cd16c7aad982da7b4cc657b2.java:701) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzimportservice_dfb819c8cd16c7aad982da7b4cc657b2.perform(ra_action_pzimportservice_dfb819c8cd16c7aad982da7b4cc657b2.java:198) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2835) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:653) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:520) ~[prprivate-session.jar:?]
at com.pega.pegarules.integration.engine.internal.RuleExecutionUtils.runServiceActivity(RuleExecutionUtils.java:435) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:2081) ~[printegrint.jar:?]
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:445) ~[prenginext.jar:?]
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source) ~[?:?]
t sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1399) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1131) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:985) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:368) ~[prenginext.jar:?]
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.processRequest(ServiceAPI.java:3587) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.http.HTTPService.invoke(HTTPService.java:367) ~[printegrint.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:338) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:282) ~[prprivate-session.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:231) ~[prprivate-session.jar:?]
at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:388) ~[prbootstrap.jar:8.5.2-356]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:430) ~[prbootstrap.jar:8.5.2-356]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:225) ~[prbootstrap-api.jar:8.5.2-356]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:247) ~[prbootstrap-api.jar:8.5.2-356]
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:173) ~[prbootstrap-api.jar:8.5.2-356]
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.__WL_invoke(Unknown Source) ~[mr4ivotps8ni/:8.5.2-356]
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33) ~[com.oracle.weblogic.ejb.jar: Proprietary information hidden]
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.invokeEngine(Unknown Source) ~[mr4ivotps8ni/:8.5.2-356]
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:281) ~[prpublic.jar:?]
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:226) ~[prpublic.jar:?]
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:779) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:428) ~[prwebj2ee.jar:?]
at sun.reflect.GeneratedMethodAccessor201.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:388) ~[prbootstrap.jar:8.5.2-356]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:430) ~[prbootstrap.jar:8.5.2-356]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:225) ~[prbootstrap-api.jar:8.5.2-356]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:274) ~[prbootstrap-api.jar:8.5.2-356]
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:146) ~[prbootstrap-api.jar:8.5.2-356]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.service(WebStandardBoot.java:172) ~[prbootstrap-api.jar:8.5.2-356]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:250) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3793) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3763) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344) ~[com.oracle.weblogic.security.subject.jar: Proprietary information hidden]
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) ~[com.oracle.weblogic.security.subject.jar: Proprietary information hidden]
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2451) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2299) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2277) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1710) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1670) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) ~[com.oracle.weblogic.servlet.jar: Proprietary information hidden]
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) ~[com.bea.core.utils.full.jar: Proprietary information hidden]
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) ~[com.bea.core.utils.full.jar: Proprietary information hidden]
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) ~[com.oracle.weblogic.work.jar: Proprietary information hidden]
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) ~[com.bea.core.weblogic.workmanager.jar: Proprietary information hidden]
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655) ~[com.bea.core.weblogic.workmanager.jar: Proprietary information hidden]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) ~[com.bea.core.weblogic.workmanager.jar: Proprietary information hidden]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) ~[com.bea.core.weblogic.workmanager.jar: Proprietary information hidden]
Caused by: java.lang.IllegalArgumentException: Illegal characters detected in the path "FSCNexusRepo://devops/dev/SER/01.01.01/SER_010101_33_20210519T161702/SER_010101_33_20210519T161702.zip". You may not use the following characters:
at com.pega.pegarules.priv.storage.StorageUtils.normalizeRelativePath(StorageUtils.java:261) ~[prpublic.jar:?]
at com.pega.pegarules.priv.storage.StorageUtils.normalizeRelativePath(StorageUtils.java:217) ~[prpublic.jar:?]
at com.pega.pegarules.storage.FileStorageManager.getFile(FileStorageManager.java:772) ~[prprivcommon.jar:?]
at com.pega.platform.integrationengine.repository.internal.RepositoryManagerImpl.getFileReference(RepositoryManagerImpl.java:684) ~[integration-engine.jar:?]
... 72 more
2021-05-25 13:55:08,644 [fault (self-tuning)'] [ STANDARD] [ ] [ PegaRULES:8] (RemoteManagement_Import.Action) ERROR vRest|SystemManagement|v2|import72d6d7a1885885bb55a565fd1070581a|AMPSAZOM9MKACCV9T7K5FZMIU5LLCQRVDA - There was an issue during checking if a file or directory exists.
Accepted Solution
Updated: 11 Jun 2021 17:05 EDT
Department of Veterans Affairs
US
@VeeraRR As per Pega, The ad hoc tasks use PRPCServiceUtils which doesn’t provide support for custom repositories.
SR: INC-177742