Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello,
Currently, i am using Thingpredictor as Analysis Provider.
Unfortunatly, I'm not able to publish any Analytics(8.2) Model in Analytics Builder. Instead, I get the following Message: "Model deployment failed on connector Exhausted the specified waiting time for model deploy, aborting... : <modelname>"
In the command prompt of ThingPredictor I get the this Message:
INFO [2018-06-22 02:25:56,833] com.thingworx.communications.client.things.filetransfer.FileTransfer VirtualThing: Starting file transfer. tid: 0db5b07e-72df-4352-bda7-f5a1ad8860f2, path: TempModelDir/ bosch_0-062ml_120grad_bearb2_Peroxid_1e5a2425-9ecc-466a-85a3-36c3e4d42296.xml, mode: write INFO [2018-06-22 02:25:56,848] com.thingworx.communications.client.things.filetransfer.FileTransfer VirtualThing: Completed file transfer. tid: , message: Transfer complete WARN [2018-06-22 02:25:56,848] com.ptc.analysis.client.impl.AnalysisClient: checksums don't match , overwriting file ERROR [2018-06-22 02:25:56,864] com.thingworx.analysis.TWAnalysisAgentAdapter: Failed to deploy mode l [bosch_0-062ml_120grad_bearb2_Peroxid_1e5a2425-9ecc-466a-85a3-36c3e4d42296] ! java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory ! at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) ! at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) ! at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ! at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:532) ! at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:205) ! ... 12 common frames omitted ! Causing: javax.xml.bind.JAXBException: null ! at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:207) ! at javax.xml.bind.ContextFinder.find(ContextFinder.java:414) ! at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618) ! at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565) ! at org.jpmml.model.JAXBUtil.getContext(JAXBUtil.java:125) ! at org.jpmml.model.JAXBUtil.createUnmarshaller(JAXBUtil.java:163) ! at org.jpmml.model.JAXBUtil.unmarshal(JAXBUtil.java:75) ! at org.jpmml.model.JAXBUtil.unmarshalPMML(JAXBUtil.java:63) ! at com.thingworx.analytics.ccc.pmml.PmmlUtils.readStream(PmmlUtils.java:342) ! ... 4 common frames omitted ! Causing: java.lang.RuntimeException: Couldnt read PMML from stream ! at com.thingworx.analytics.ccc.pmml.PmmlUtils.readStream(PmmlUtils.java:344) ! at com.thingworx.analysis.TWAnalysisAgentAdapter.DeployModel(TWAnalysisAgentAdapter.java:170) ! at com.ptc.analysis.client.impl.AnalysisClient.processModel(AnalysisClient.java:475) ! at com.ptc.analysis.client.impl.ModelDownloadManager.lambda$modelUpdated$0(ModelDownloadManager.ja va:88) ! at java.base/java.lang.Thread.run(Unknown Source) ERROR [2018-06-22 02:25:56,864] com.ptc.analysis.client.impl.AnalysisClient: Failed to deploy file o n analysis service ,removing file ERROR [2018-06-22 02:25:56,864] com.ptc.analysis.client.impl.ModelDownloadManager: Failed to process model Model: bosch_0-062ml_120grad_bearb2_Peroxid_1e5a2425-9ecc-466a-85a3-36c3e4d42296,URL : null , FileName C:\Users\laue\Desktop\ThingWorx-Analytics-ThingPredictor\.\AgentWorkDir\TW.AnalysisService s.ThingPredictorConnector\Models\bosch_0-062ml_120grad_bearb2_Peroxid_1e5a2425-9ecc-466a-85a3-36c3e4 d42296.xml ! com.thingworx.common.exceptions.InvalidRequestException: File Does Not Exist ! at com.thingworx.communications.client.things.filetransfer.FileTransferVirtualThing.checkFileExist s(FileTransferVirtualThing.java:707) ! at com.thingworx.communications.client.things.filetransfer.FileTransferVirtualThing.DeleteFile(Fil eTransferVirtualThing.java:607) ! at com.ptc.analysis.client.impl.AnalysisClient.processModel(AnalysisClient.java:483) ! at com.ptc.analysis.client.impl.ModelDownloadManager.lambda$modelUpdated$0(ModelDownloadManager.ja va:88) ! at java.base/java.lang.Thread.run(Unknown Source)
I have no idea to fix this.
Thanks,
laue
Hi Laue,
Please answer to my following questions:
1. Is this your first time to publish the model, have you finished configuration in Analytics Manager page?
2. Is the dataset & model you're publishing coming from a sample data or a customized dataset
3. What's your TWX, TWA server and TWA extension version?
Hi
Also make sure you are using a Java 8 not a Java 9 or 10.
See https://www.ptc.com/en/support/article?n=CS277708 - same error as you are getting.
Kind regards
Christophe