Article - CS393469

Security Label enabled CAD Documents fail to publish if viewable size is more than 5 MB and file vault is configured on AWS S3 cloud storage

Modified: 17-May-2024   


Applies To

  • Windchill Bulk Migrator 12.1.2.0
  • Windchill PDMLink 12.0.2.3

Description

  • Security Label enabled CAD Documents fail to publish if viewable size is more than 5 MB and file vault is configured on AWS S3  cloud storage
  • Unable to load few DerivedImage objects with an error "ContentFileCanNotBeStoredException: This file cannot be saved because a file named "FILE PATH" does not exist or it is not of an expected size during chunk upload" when viewable size is more than 5 MB and file value is configured on AWS S3 using Windchill Bulk Migrator 
  • Unable to load few DerivedImage objects with an error "wt.content.ContentException: File upload failed - Error while writing to the folder" when viewable size is more than 5 MB and file value is configured on AWS S3 using Windchill Bulk Migrator 
  • Methodserver log generated with wt.fv and wt.content logger enabled reports 
wt.objectstorage.ContentFileWriter  - Cannot write next chunk of file <FILEPATH ON AWS CLOUD STORAGE>. Erroneous file size.
Expected = 5120000 total size = 52#####
... .. wt.fv.uploadtocache  - (wt.fv.fvResource/64) wt.objectstorage.exception.ContentFileCanNotBeStoredException:
This file cannot be saved because a file named " FILE PATH " does not exist or it is not of an expected size during chunk upload
    at wt.objectstorage.ContentFileWriter.storeChunkedStream(ContentFileWriter.java:168)
    at wt.fv.uploadtocache.DoUploadToCache_Server.chunk_storeContentInVaultOnMaster(DoUploadToCache_Server.java:1218)
    at wt.fv.uploadtocache.DoUploadToCache_Server.chunk_doUploadToCache_Internal(DoUploadToCache_Server.java:1441)
    at wt.fv.uploadtocache.DoUploadToCache_Server.doUploadToCache_Internal(DoUploadToCache_Server.java:206)
..

DEBUG [PublisherQueue2.PollingThread] wt.content.StandardContentService Administrator - FolderId from CCD is less than zero.
(wt.content.contentResource/68) wt.content.ContentException: File upload failed - Error while writing to the folder.
Please retry or contact your administrator if this issue persists.
    at wt.content.StandardContentService.verifyContentFolder(StandardContentService.java:1707)
    at wt.content.StandardContentService.verifyContentFolder(StandardContentService.java:1661)
    at wt.content.StandardContentService.updateContent(StandardContentService.java:1571)
    at com.ptc.wvs.server.loader.EDRHelper.addFile(EDRHelper.java:644)
    at com.ptc.wvs.server.loader.EDRLoader$LoadEntry.store(EDRLoader.java:2820)
    at com.ptc.wvs.server.loader.EDRLoader$LoadEntry.store(EDRLoader.java:2759)
    at com.ptc.wvs.server.loader.EDRLoader$LoadMap.storeRepresentationContent(EDRLoader.java:3362)
    at com.ptc.wvs.server.loader.EDRLoader.start(EDRLoader.java:1285)
    at com.ptc.wvs.server.publish.PublishHelper.storeRepresentation(PublishHelper.java:532)
    at com.ptc.wvs.server.publish.CadConvertPROE.storeComponentRepresentation(CadConvertPROE.java:697)
    at com.ptc.wvs.server.publish.PublishJob.publishComponent(PublishJob.java:1652)
    at com.ptc.wvs.server.publish.PublishJob.publishObject(PublishJob.java:1392)
    at com.ptc.wvs.server.publish.PublishJob.executePublishJob(PublishJob.java:1125)
    at com.ptc.wvs.server.publish.PublishJob.processJob(PublishJob.java:843)
    at com.ptc.wvs.server.publish.WVSProcessingJob.doMyJob(WVSProcessingJob.java:1789)
    at com.ptc.wvs.server.publish.WVSProcessingJob.doJobInternal(WVSProcessingJob.java:752)
    at com.ptc.wvs.server.publish.WVSProcessingJob.doJob(WVSProcessingJob.java:722)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at wt.queue.QueueEntry.execute(QueueEntry.java:231)
    at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312)
    at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898)
    at wt.queue.PollingQueueThread.run(PollingQueueThread.java:102)
...

DEBUG [PublisherQueue2.PollingThread] wt.wvs.loader.EDRLoader Administrator - start() unblocked: blockerKey=WithSecurityLable-<SecurityLabelName>, wt.epm.EPMDocument:########
 
  • Job Monitor report
Uploading Files, Unexpected Exception has occurred(Error writing folder)

 
This is a printer-friendly version of Article 393469 and may be out of date. For the latest version click CS393469