技术文章 - CS116242
Windchill PDMLink 10.0 M030显示结构非常慢,并在方法服务器日志中产生很多wt.access.NotAuthorizedException异常信息
已修改: 03-Mar-2016
适用于
- Windchill PDMLink 10.0 F000-M040, 10.1 F000-M030
- Visualization Services (WVS)
说明
- 显示结构非常慢,并在方法服务器日志中产生很多wt.access.NotAuthorizedException异常信息
ERROR : wt.access.evaluation.report <user displaying structure> - "<user displaying structure>" does not have Modify Content permission for "<Representation>" in Administrative Domain "<administratice domain>".
ERROR : wt.wvs.publish.RepUpdateUtils <user displaying structure> - Message: Resource bundle/Message key = wt.content.contentResource/64
(wt.content.contentResource/64) wt.access.NotAuthorizedException: ATTENTION : Action sécurisée.Vous ne disposez pas des droits d'accès suffisants pour modifier le contenu de cet objet.
at wt.content.StandardContentService.checkModifyAccess(StandardContentService.java:5799)
at wt.content.StandardContentService.checkModifyAccess(StandardContentService.java:5763)
at wt.content.StandardContentService.updateContent(StandardContentService.java:1382)
at wt.content.StandardContentService.updateContent(StandardContentService.java:788)
at com.ptc.wvs.server.util.RepUpdateUtils.updateRepresentation(RepUpdateUtils.java:1383)
at com.ptc.wvs.server.util.RepUpdateUtils.processDeferredUpdateRepresentation(RepUpdateUtils.java:1581)
at com.ptc.wvs.server.loader.PartGenericStructure.processReadRepInfo(PartGenericStructure.java:1334)
at com.ptc.wvs.server.loader.PartGenericStructure.readStructure(PartGenericStructure.java:1265)
at com.ptc.wvs.server.loader.PartGenericStructure.getPartStructureED(PartGenericStructure.java:626)
at com.ptc.wvs.server.loader.PartGenericStructure.getPartStructureED(PartGenericStructure.java:416)
at com.ptc.wvs.server.ui.UIHelper.getPartStructureED(UIHelper.java:1884)
ERROR : wt.wvs.publish.RepUpdateUtils <user displaying structure> - Message: Resource bundle/Message key = wt.content.contentResource/64
(wt.content.contentResource/64) wt.access.NotAuthorizedException: ATTENTION : Action sécurisée.Vous ne disposez pas des droits d'accès suffisants pour modifier le contenu de cet objet.
at wt.content.StandardContentService.checkModifyAccess(StandardContentService.java:5799)
at wt.content.StandardContentService.checkModifyAccess(StandardContentService.java:5763)
at wt.content.StandardContentService.updateContent(StandardContentService.java:1382)
at wt.content.StandardContentService.updateContent(StandardContentService.java:788)
at com.ptc.wvs.server.util.RepUpdateUtils.updateRepresentation(RepUpdateUtils.java:1383)
at com.ptc.wvs.server.util.RepUpdateUtils.processDeferredUpdateRepresentation(RepUpdateUtils.java:1581)
at com.ptc.wvs.server.loader.PartGenericStructure.processReadRepInfo(PartGenericStructure.java:1334)
at com.ptc.wvs.server.loader.PartGenericStructure.readStructure(PartGenericStructure.java:1265)
at com.ptc.wvs.server.loader.PartGenericStructure.getPartStructureED(PartGenericStructure.java:626)
at com.ptc.wvs.server.loader.PartGenericStructure.getPartStructureED(PartGenericStructure.java:416)
at com.ptc.wvs.server.ui.UIHelper.getPartStructureED(UIHelper.java:1884)
- 在MethodServer重启前,系统strack会产生很多如下所示的无响应的线程
"Thread-579" Id=1577 daemon prio=5 TIMED_WAITING on lock=java.io.PipedInputStream@6a953ea6
Blocked (cnt): 0; Waited (cnt): 416746
CPU nanos: 593750000; User nanos: 453125000; Bytes allocated: 141488
at java.lang.Object.wait(Native Method)
at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:257)
at java.io.PipedInputStream.receive(PipedInputStream.java:215)
at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
- locked java.io.BufferedOutputStream@3f139d19
at com.ptc.wvs.server.util.Structure2.writeED(Structure2.java:2373)
at com.ptc.wvs.server.util.Structure2.writeEDUsingEDPMap(Structure2.java:2222)
at com.ptc.wvs.server.util.RepUpdateUtils$EDWriter.run(RepUpdateUtils.java:1837)
Blocked (cnt): 0; Waited (cnt): 416746
CPU nanos: 593750000; User nanos: 453125000; Bytes allocated: 141488
at java.lang.Object.wait(Native Method)
at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:257)
at java.io.PipedInputStream.receive(PipedInputStream.java:215)
at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
- locked java.io.BufferedOutputStream@3f139d19
at com.ptc.wvs.server.util.Structure2.writeED(Structure2.java:2373)
at com.ptc.wvs.server.util.Structure2.writeEDUsingEDPMap(Structure2.java:2222)
at com.ptc.wvs.server.util.RepUpdateUtils$EDWriter.run(RepUpdateUtils.java:1837)
- 注意: 在Thread Dump中可以看到这些线程 (收集Thread Dump的过程,请参考 CS107636 )
这是文章 116242 的 PDF 版本,可能已过期。最新版本 CS116242