-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Trying to deploy using the inspireOutput set to "Interactive" leads to an error from the IPSservice while Deploying the JLD.
The error message is:
'''
Failed to edit wfd with content xml to create icm://Interactive/my/path/to/templates/MyJLDTemplate.jld. Error(response=IpsResponse(response=error;workflow not opened for editing 0))
'''
Changing just the inspireOutput parameter to "Designer", the deploy succeeds, as it does not have to create any JLD file.
As the error message hints to workflow not opened for edit, I have also blindly tried to change the code to use the "openforedit" IPS command instead of the current "open". But the response from the IPS service remains identical.
Here a piece of the log from the DeployDocumentObjects script:
time=2025-10-21T17:38:12.121+02 level=DEBUG thread=main logger=c.q.m.a.Migration line=Migration.kt:179 msg=Migration initialized
time=2025-10-21T17:38:13.304+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:450 msg=Already deployed: 'img_1'.
time=2025-10-21T17:38:13.305+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:221 msg=Skipping deployment of 'img_1' as it is not marked for deployment.
time=2025-10-21T17:38:13.393+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:450 msg=Already deployed: 'img_2'.
time=2025-10-21T17:38:13.394+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:221 msg=Skipping deployment of 'img_2' as it is not marked for deployment.
time=2025-10-21T17:38:13.480+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:450 msg=Already deployed: 'img_3'.
time=2025-10-21T17:38:13.481+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:221 msg=Skipping deployment of 'img_3' as it is not marked for deployment.
time=2025-10-21T17:38:13.552+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:450 msg=Already deployed: 'img_4'.
time=2025-10-21T17:38:13.553+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:221 msg=Skipping deployment of 'img_4' as it is not marked for deployment.
time=2025-10-21T17:38:13.626+02 level=INFO thread=main logger=c.q.m.s.d.InteractiveDeployClient line=DeployClient.kt:460 msg=**Last attempt to deploy 'icm://Interactive/my/path/to/templates/MyJLDTemplate.jld' failed with error: 'Failed to edit wfd with content xml to create icm://Interactive/my/path/to/templates/MyJLDTemplate.jld. Error(response=IpsResponse(response=error;workflow not opened for editing 0))'.** Trying again.
time=2025-10-21T17:38:13.626+02 level=DEBUG thread=main logger=c.q.m.s.i.InteractiveDocumentObjectBuilder line=InteractiveDocumentObjectBuilder.kt:128 msg=Starting to build document object 'MyDocumentName'.
time=2025-10-21T17:38:14.844+02 level=DEBUG thread=main logger=c.q.m.s.i.InteractiveDocumentObjectBuilder line=InteractiveDocumentObjectBuilder.kt:184 msg=Successfully built document object 'MyDocumentName'
time=2025-10-21T17:38:14.876+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:66 msg=Starting deployment of icm://Interactive/my/path/to/templates/MyJLDTemplate.jld.
time=2025-10-21T17:38:17.145+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:82 msg=<Coms><ImportLayoutXml><ModuleName>DocumentLayout</ModuleName><FileName>memory://d67cf96a-b95f-48f4-84a3-2c7e204b9973</FileName></ImportLayoutXml></Coms>
time=2025-10-21T17:38:17.165+02 level=ERROR thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:97 msg=Failed to edit wfd with content xml to create icm://Interactive/my/path/to/templates/MyJLDTemplate.jld. Error(response=IpsResponse(response=error;workflow not opened for editing 2))
time=2025-10-21T17:38:17.181+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:216 msg=<?xml version="1.0" encoding="UTF-8"?>
<JobsMessages/>
time=2025-10-21T17:38:17.186+02 level=ERROR thread=main logger=c.q.m.s.d.InteractiveDeployClient line=InteractiveDeployClient.kt:137 msg=Failed to deploy 'icm://Interactive/my/path/to/templates/MyJLDTemplate.jld'.
time=2025-10-21T17:38:17.390+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:125 msg={"paths":[]}
time=2025-10-21T17:38:17.473+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:216 msg=<?xml version="1.0" encoding="UTF-8"?>
<JobsMessages>
<Message>Status message 0856:Opening workflow 3 'memory:\\ecb526f9-9273-48be-8e74-256759898e87'.</Message>
<Message>Warning 7883:The WFD file has been created by a newer version 16.5.452.2, program version 15.0.734.0.</Message>
<Message>Status message 0857:Opened workflow 'memory:\\ecb526f9-9273-48be-8e74-256759898e87'.</Message>
<Message>Status message 0860:Running commandline -difJSONDataInput memory://a51a3d99-529a-4a4f-9049-c7ef9dea4a35.</Message>
<Message>Status message 0884:Running module DataOutput.</Message>
<Message>Status message 8907:JSON Data Input: - Opening: 'memory://a51a3d99-529a-4a4f-9049-c7ef9dea4a35'.</Message>
<Message>Status message 0963:Job started (engine Data Output, file C:\ProgramData\Quadient\Inspire Designer\IPSService\ecb526f9-9273-48be-8e74-256759898e87.csv).</Message>
<Message>Status message 0964:Job finished (duration 0:00:00.048).</Message>
</JobsMessages>
time=2025-10-21T17:38:17.488+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:216 msg=<?xml version="1.0" encoding="UTF-8"?>
<JobsMessages/>
time=2025-10-21T17:38:17.492+02 level=DEBUG thread=main logger=c.q.m.s.d.InteractiveDeployClient line=InteractiveDeployClient.kt:158 msg=Setting of production approval state to 0 document objects is successful.
time=2025-10-21T17:38:17.493+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:264 msg=Cleaning resources for IPS service
time=2025-10-21T17:38:17.493+02 level=DEBUG thread=main logger=c.q.m.s.i.IpsService line=IpsService.kt:266 msg=Cleaning up UploadedFile(path=memory://ecb526f9-9273-48be-8e74-256759898e87, onClose=com.quadient.migration.service.ipsclient.IpsService$$Lambda/0x00000294014e0e28@15f2a43f)
time=2025-10-21T17:38:18.579+02 level=ERROR thread=main logger=j.l.Class line=IndyInterface.java:321 msg=Item 'MyDocumentName' failed to deploy with error: Failed to edit wfd with content xml to create icm://Interactive/my/path/to/templates/MyJLDTemplate.jld. Error(response=IpsResponse(response=error;workflow not opened for editing 2))
time=2025-10-21T17:38:18.581+02 level=INFO thread=main logger=j.l.Class line=IndyInterface.java:321 msg=Deployment finished. Deployed 0 items with 0 warnings and 1 errors
time=2025-10-21T17:38:18.619+02 level=INFO thread=main logger=j.l.Class line=IndyInterface.java:321 msg=Deployment took 6454 ms
And here instead the IPSservice log:
21.10.2025 17:38:14.898;Opening connection to 127.0.0.1:49860
21.10.2025 17:38:14.910;P49860;0;open icm://Interactive/Path/to/my/MasterTemplate/Base_MasterTemplate.wfd
21.10.2025 17:38:14.938;P49860;0;ok;5;2;(open icm://Interactive/Path/to/my/MasterTemplate/Base_MasterTemplate.wfd )
21.10.2025 17:38:14.940;T1;Start runSingle Job Wfd ID:2 JobId:5 JobType:OpenWorkFlow Queued:0.002
21.10.2025 17:38:14.944;P49860;1;wfj 5 120;
21.10.2025 17:38:16.933;T1;End runSingle Job Wfd ID:2 JobId:5 JobType:OpenWorkFlow Runtime:1.994 Queued:0.002 Total:1.996
21.10.2025 17:38:16.977;P49860;1;ok;finished;(5 120;)
21.10.2025 17:38:17.146;P49860;2;upload memory://a805b173-6077-4a36-8381-3c1ecdb01fc5;153
21.10.2025 17:38:17.158;P49860;2;ok;upload-start;(memory:\\a805b173-6077-4a36-8381-3c1ecdb01fc5)
21.10.2025 17:38:17.160;P49860;2;ok;upload-finish;(memory:\\a805b173-6077-4a36-8381-3c1ecdb01fc5)
21.10.2025 17:38:17.160;P49860;3;upload memory://d67cf96a-b95f-48f4-84a3-2c7e204b9973;11453
21.10.2025 17:38:17.160;P49860;3;ok;upload-start;(memory:\\d67cf96a-b95f-48f4-84a3-2c7e204b9973)
21.10.2025 17:38:17.161;P49860;3;ok;upload-finish;(memory:\\d67cf96a-b95f-48f4-84a3-2c7e204b9973)
21.10.2025 17:38:17.162;P49860;4;editf 2 memory://a805b173-6077-4a36-8381-3c1ecdb01fc5;memory://30ea975f-469e-40cb-a1d2-e169915890ee
21.10.2025 17:38:17.163;P49860;4;error;workflow not opened for editing 2;(2 memory://a805b173-6077-4a36-8381-3c1ecdb01fc5;memory://30ea975f-469e-40cb-a1d2-e169915890ee)
21.10.2025 17:38:17.167;P49860;5;close 2
21.10.2025 17:38:17.167;P49860;5;ok;6;(close 2)
In any case, thanks a lot for the great work.