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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

First publish job always fails after Windchill restart

Dobrisa
13-Aquamarine

First publish job always fails after Windchill restart

I've been working on getting our publishing under control and for the most part (with help from the great people and content here) things are going well. However, for whatever reason whenever I restart Windchill the first publish job always fails with the "Failed to register Windchill server xxx - - 15" error. Normally, I just republish that first job after a minute or so and things then start working well. 

 

Is there a way to avoid this first job failing? Does it have to do with the order of events of restarting Windchill? 

6 REPLIES 6
MikeLockwood
22-Sapphire I
(To:Dobrisa)

In the CAD Agent configuration, make sure you have AutoStart checked.

 

Dobrisa
13-Aquamarine
(To:MikeLockwood)

Both the Creo and Solidworks workers are set to Autostart. 

The start up time for the Creo is set to 30 seconds... perhaps this should be longer??

BenLoosli
23-Emerald II
(To:Dobrisa)

My Creo startup time is set to 90 seconds.

 

Dobrisa
13-Aquamarine
(To:BenLoosli)

Still the same result at 90 seconds. 

This is what the log looks like for each failed job:

 

Aug 23, 2018 8:23:46 PM:Start Job: Drawing - myDrawing.drw, 3.3
Aug 23, 2018 8:23:46 PM:make temp dir d:\ptc\Windchill\temp\pubtemp\publish2440381141063735971.tmp
Aug 23, 2018 8:23:46 PM:"As Stored" Config Spec is available
Aug 23, 2018 8:23:46 PM:The EPMDocument As Stored Config Spec was selected as the default
Aug 23, 2018 8:23:46 PM:Start: Drawing - myDrawing.drw, 3.3
Aug 23, 2018 8:23:46 PM:Authoring Application: Creo
Aug 23, 2018 8:23:46 PM:Transferring Files to: d:\ptc\Windchill\temp\pubtemp\publish2440381141063735971.tmp
Aug 23, 2018 8:23:49 PM:Number of Files (identified to be) Transferred: 5
Aug 23, 2018 8:23:49 PM:Creo Drawing Conversion
Aug 23, 2018 8:23:49 PM:Added request to PROE queue
Aug 23, 2018 8:23:50 PM:No available connected worker
Aug 23, 2018 8:23:50 PM:Starting new worker publisherWS-PROE:1, attempt 1 of 3
Aug 23, 2018 8:24:08 PM:Job 1 submitted to worker: publisherWS-PROE:1
Aug 23, 2018 8:24:08 PM:LOGID: worker_18.log
Aug 23, 2018 8:24:08 PM: Registering Server
Aug 23, 2018 8:24:18 PM:Failed to register Windchill server "https://<Windchill>/windchill" "publish2440381141063735971tmp" - -15
Aug 23, 2018 8:25:57 PM:LOGID: worker_18.log
Aug 23, 2018 8:25:57 PM: Registering Server
Aug 23, 2018 8:26:02 PM:Failed to register Windchill server "https://<Windchill>/windchill" "publish2440381141063735971tmp" - -15
Aug 23, 2018 8:26:02 PM:Cannot restart adapter, helper returned "Adapter already restarted 1 time"
Aug 23, 2018 8:26:03 PM:Cannot restart adapter, helper returned "Adapter already restarted 1 time"
Aug 23, 2018 8:26:03 PM:Drawing Processing Returned: $ERROR$ Cannot restart adapter, helper returned "Adapter already restarted 1 time"
Aug 23, 2018 8:26:03 PM:Attempting to delete temporary workspace publish2440381141063735971tmp.
Aug 23, 2018 8:26:04 PM:Done deleting temporary workspace publish2440381141063735971tmp.
Aug 23, 2018 8:26:04 PM:CadAgent Returned: $ERROR$ Cannot restart adapter, helper returned "Adapter already restarted 1 time"
Aug 23, 2018 8:26:04 PM:End (with Error): Drawing - myDrawing.drw, 3.3
Aug 23, 2018 8:26:04 PM:End job (with error): Drawing - myDrawing.drw, 3.3
Aug 23, 2018 8:26:04 PM:Publish Complete event dispatched
Aug 23, 2018 8:26:04 PM:remove temp dir: d:\ptc\Windchill\temp\pubtemp\publish2440381141063735971.tmp

Zoltán
11-Garnet
(To:Dobrisa)

Hi,

Have you solved this somehow?

 

 

Are you sure your Windchill system is fully started up in the 90 seconds? I might try bumping up the time to 5 minutes just to test if it's a timing issue. Then you can adjust it down to something reasonable. Or try quickly republishing after the first failure, to see how long it takes before publishing starts succeeding.

Top Tags