Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.10
when I tried to launch interface related to publishing job getting below error
2025-01-08 08:33:40,657 FATAL [pool-16-thread-2] Flow1100 awphe02 - |PublishRepresentation [publishRepresentationId=7, publishRepresentationRule=Flow1100, remoteTask=RemoteTask [ruleName=Flow1100, rootNumber=59863907525, language=cs, getRequestURL()={server URL removed}, methodContext={}, timeConfiguration=TimeConfiguration [taskPeriod=1, taskTimeout=180, taskDelay=0, queueDelay=1000]]|||Failed to add a PublishJob of the rule Flow1100 to the Publisher Queue||FATAL com.infoengine.SAK.IeServiceException: Syntax error in ELEMENT parameter
at com.infoengine.SAK.IeService.updateCollection(IeService.java:870)
at com.infoengine.SAK.IeService.updateCollection(IeService.java:798)
at com.infoengine.SAK.IeService.updateCollection(IeService.java:759)
at ext.renault.phenix.interfaces.publishing.model.monitor.PublishRepresentation.performJob(PublishRepresentation.java:102)
at ext.renault.phenix.interfaces.publishing.model.process.SpecificToolsMultiPublis
Here are the errors that I faced
2025-01-08 08:33:40,657 FATAL [pool-16-thread-2] Flow1100 awphe02 - |PublishRepresentation [publishRepresentationId=7, publishRepresentationRule=Flow1100, remoteTask=RemoteTask [ruleName=Flow1100, rootNumber=59863907525, language=cs, getRequestURL()={server URL removed}, methodContext={}, timeConfiguration=TimeConfiguration [taskPeriod=1, taskTimeout=180, taskDelay=0, queueDelay=1000]]|||Failed to add a PublishJob of the rule Flow1100 to the Publisher Queue||FATAL com.infoengine.SAK.IeServiceException: Syntax error in ELEMENT parameter
at com.infoengine.SAK.IeService.updateCollection(IeService.java:870)
at com.infoengine.SAK.IeService.updateCollection(IeService.java:798)
at com.infoengine.SAK.IeService.updateCollection(IeService.java:759)
at ext.renault.phenix.interfaces.publishing.model.monitor.PublishRepresentation.performJob(PublishRepresentation.java:102)
at ext.renault.phenix.interfaces.publishing.model.process.SpecificToolsMultiPublishingProcessor$1.run(SpecificToolsMultiPublishingProcessor.java:109)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Try to avoid posting your server details like URLS to public sites like this. If you can edit the post, you can try and scrub it out. Second, is it possible that you can post your publishing rule file? It seems like its saying there is a syntax error in it. Without seeing it, folks cannot point out issue.
Hi @RG_9900944
I can understand what you are trying. You use own function "SpecificToolsMultiPublishingProcessor" to define a publish rules for a Publish job. I use it a lot.
I would check if your publish rule is well formatted because the error says that it is not.
Probably you define a rule by code and try to send it to publish but the xml format is wrong. You have to control the rule format output.
Specifically the xml element named "ELEMENT " is a place where is the syntax issue
PetrH