cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Integration Suite Error - ScriptCollectionException - Reusable_Groovy_Scripts_V2 are not available

rstokes
Explorer
0 Kudos
931

I am just getting started with SAP Integration Suite. Could someone explain what I am doing wrong that is causing the artifact to fail. See log below. I have deployed an artifact to retrieve a test PO file and pass file to Process Direct for further processing. See Print Screen below. I have deployed Resuable Groovy Script from Cloud Integration - Trading Partner Management V2.

 

rstokes_0-1724876220457.png

 

Error Log

com.sap.gateway.ip.core.customdev.processor.ScriptCollectionException: Service references of CompiledScriptProvider for referenced script collection Reusable_Groovy_Scripts_V2are not available

Message Processing Log:
  StartTime           = Wed Aug 28 15:53:00.174 UTC 2024
  StopTime            = Wed Aug 28 15:53:00.396 UTC 2024
  OverallStatus       = FAILED
  MessageGuid         = AGbPR9w1PVdmQbJ9ELrfoPyQXtlt
  LogLevel            = DEBUG
  LogLevelExternal    = NONE
  ArchivingLogAttachments= false
  ArchivingPersistedMessages= false
  ArchivingReceiverChannelMessages= false
  ArchivingSenderChannelMessages= false
  ChildCount          = 0
  ChildrenCounter     = 4
  ContextName         = HomeDepot_COMM_PROCESSDIRECT_SFTP_SENDER
  CorrelationId       = AGbPR9yP5kmAeNnJgnZ5eG-IaEoj
  IntermediateError   = true
  LastError           = com.sap.gateway.ip.core.customdev.processor.ScriptCollectionException: Service references of CompiledScriptProvider for referenced script collection Reusable_Groovy_Scripts_V2are not available
  LastErrorModelStepId= MessageFlow_6
  Node                = 1
  OriginComponentName = CPI_dev-btp
  PreviousComponentName= CPI_dev-btp
  TransactionId       = 142aec28a65b4bdea83dddd5ab0ea019

Segment:
   Exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5 created in sap-sftp://secureftp.resolutefp.com:4022//?allowDeprecatedAlgorithms=false&authMethod=user&autoCreate=false&connectTimeout=10000&connectivityServiceProvider=%23connectivityServiceProvider&credential=Resolute_Prod_CrushFTP_DV&delete=false&disconnect=false&fastExistsCheck=true&filter=%23MessageFlow_5.filter&flatten=false&inProgressRepository=%23MessageFlow_5.inProgressRepo&keyStoreAccess=%23keyStoreAccess&knownHostsAccess=%23knownHostsAccess&maxMessagesPerPoll=20&maximumReconnectAttempts=3&noop=false&passwordStorage=xxxxxx&pollStrategy=%23pollStrategy&proxyType=internet&readLock=none&reconnectDelay=1000&recursive=false&scheduler=MessageFlow_5.pollConsumerScheduler&scheduler.cron=0+0%2F1+0-23+%3F+*+*+*&scheduler.timeZone=Etc%2FGMT&soTimeout=300000&startingDirectoryMustExist=true&stepwise=false&streamDownload=true&throwExceptionOnConnectFailed=true:
     StartTime           = Wed Aug 28 15:53:00.175 UTC 2024
     StopTime            = Wed Aug 28 15:53:00.354 UTC 2024
     Status              = PROCESSING
     ChildCount          = 1
     File                = EDI850_HomeDepotTissue_STEP1_X12original_source.edi
     ModelStepId         = MessageFlow_5
     Activities [
      {Activity=Exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5 created in sap-sftp://secureftp.resolutefp.com:4022//?allowDeprecatedAlgorithms=false&authMethod=user&autoCreate=false&connectTimeout=10000&connectivityServiceProvider=%23connectivityServiceProvider&credential=Resolute_Prod_CrushFTP_DV&delete=false&disconnect=false&fastExistsCheck=true&filter=%23MessageFlow_5.filter&flatten=false&inProgressRepository=%23MessageFlow_5.inProgressRepo&keyStoreAccess=%23keyStoreAccess&knownHostsAccess=%23knownHostsAccess&maxMessagesPerPoll=20&maximumReconnectAttempts=3&noop=false&passwordStorage=xxxxxx&pollStrategy=%23pollStrategy&proxyType=internet&readLock=none&reconnectDelay=1000&recursive=false&scheduler=MessageFlow_5.pollConsumerScheduler&scheduler.cron=0+0%2F1+0-23+%3F+*+*+*&scheduler.timeZone=Etc%2FGMT&soTimeout=300000&startingDirectoryMustExist=true&stepwise=false&streamDownload=true&throwExceptionOnConnectFailed=true, StartTime=Wed Aug 28 15:53:00.175 UTC 2024}
      {Activity=removeHeaders[*], StartTime=Wed Aug 28 15:53:00.354 UTC 2024, StopTime=Wed Aug 28 15:53:00.354 UTC 2024}
     ]

   Processing exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5:
     StartTime           = Wed Aug 28 15:53:00.354 UTC 2024
     StopTime            = Wed Aug 28 15:53:00.354 UTC 2024
     ChildCount          = 2
     ModelStepId         = CallActivity_19
     StepId              = CallActivity_19
     Activities [
      {Activity=setHeader[SAP_EDI_Document_Standard], StartTime=Wed Aug 28 15:53:00.354 UTC 2024, StopTime=Wed Aug 28 15:53:00.354 UTC 2024}
     ]

   Processing exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5:
     StartTime           = Wed Aug 28 15:53:00.354 UTC 2024
     StopTime            = Wed Aug 28 15:53:00.355 UTC 2024
     ChildCount          = 3
     ModelStepId         = EndEvent_2
     StepId              = EndEvent_2
     Activities [
      {Activity=setProperty[SAP_MarkMessageAsFailed], StartTime=Wed Aug 28 15:53:00.354 UTC 2024, StopTime=Wed Aug 28 15:53:00.355 UTC 2024}
     ]

   Processing exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5:
     StartTime           = Wed Aug 28 15:53:00.355 UTC 2024
     StopTime            = Wed Aug 28 15:53:00.386 UTC 2024
     Status              = FAILED
     ChildCount          = 4
     Error               = com.sap.gateway.ip.core.customdev.processor.ScriptCollectionException: Service references of CompiledScriptProvider for referenced script collection Reusable_Groovy_Scripts_V2are not available
     ModelStepId         = MessageFlow_6
     StepId              = MessageFlow_6
     Activities [
      {Activity=sap-processdirect:foo?address=/tpm/b2b/processdirect, StartTime=Wed Aug 28 15:53:00.355 UTC 2024, StopTime=Wed Aug 28 15:53:00.386 UTC 2024}
      {Activity=Exchange ID-e5cc7579-bc3c-46e2-71dd-20d0-1724604007912-38-5 failed, StartTime=Wed Aug 28 15:53:00.394 UTC 2024}
     ]

View Entire Topic
Willem_Pardaens
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you verify the referenced scripts in the child flow, as mentioned here: https://me.sap.com/notes/0003299415 ?

rstokes
Explorer
0 Kudos
Hi Willem, The error a ChildCount 4 states the scrip collection Reusable_Groovy_Scripts_V2 are not available, however under Manage Integration Content the scripts have been deployed. Also, in the artifact HomeDepot_COMM_PROCESSDIRECT_SFTP_SENDER for Connection Details the address has been provided - /tpm/b2b/processdirect..