Start a new topic
Answered

How to fill the 'Deliv Repository' property of an 'Execute Delivery Process' Action?

Use case: In a Execute Delivery Process Action, a customer needs to define a custom repository for the delivery


Please note that setting this field with the path of the deliv repository does NOT work!



A path will lead to the following kind of error:
com.indy.engine.common.exceptions.RemoteEngineExceptionI: Error there is no repository named: "'/home/xxxxxxx/build/deliveries/XXXX'"
at com.indy.engine.EngineServerI.initSession(EngineServerI.java:389)
at com.indy.engine.rmi.EngineServerAPI_V1_2_temp.initSession(EngineServerAPI_V1_2_temp.java:989)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.indy.engine.remote.RemoteSessionManagement$1.invoke(RemoteSessionManagement.java:194)
at com.sun.proxy.$Proxy68.initSession(Unknown Source)
at com.indy.engine.actionCodes.ExecDeliveryActionCodeI.executeRSet(ExecDeliveryActionCodeI.java:605)
at com.indy.engine.actionCodes.ExecDeliveryActionCodeI.executeDirectBindedFetch(ExecDeliveryActionCodeI.java:196)
at com.indy.engine.manager.ActionCodeExecutor.executeDirectBindedCode(ActionCodeExecutor.java:500)
at com.indy.engine.manager.ActionCodeExecutor.executeBindedCode(ActionCodeExecutor.java:658)
at com.indy.engine.manager.ActionCodeExecutor.executeCode(ActionCodeExecutor.java:123)
at com.indy.engine.manager.ActionCodeExecutor.run(ActionCodeExecutor.java:266)
    at java.lang.Thread.run(Unknown Source)



This is due to the fact that the "Deliv Repository" property is expecting the NAME (not a path) for the custom "deliveries repository"...


Best Answer

Actually, Delivery Repositories have to be defined on the runtime side, in its engineParameters.xml file.

(please see https://www.semarchy.com/doc/semarchy-xdi/xdi/5.3/Install/configure-runtime-repositories.html to configure deliveries repositories)



1 Comment

Answer

Actually, Delivery Repositories have to be defined on the runtime side, in its engineParameters.xml file.

(please see https://www.semarchy.com/doc/semarchy-xdi/xdi/5.3/Install/configure-runtime-repositories.html to configure deliveries repositories)



Login to post a comment