技术文章 - CS63015

在 Windchill 中无法从 Windchill Shell 运行某些命令,并出现错误“操作:‘getPrincipal’失败”

已修改: 21-Apr-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.0 to 12.0
  • Operation System is Unix or Linux, non-Windows

说明

  • 无法从 Windchill Shell 运行某些 Windchill 命令,错误如下:
    The operation:   "getPrincipal" failed.
    Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method
    Nested exception is: wt.util.WTRemoteException: Unable to locate method server
    Nested exception is: wt.util.WTRemoteException: Unable to locate method server
    Nested exception is: wt.util.WTRemoteException: Unable to get server
    Nested exception is: wt.util.WTRemoteException: Unable to locate server manager
  • 如何为某些不支持选项-u-p的 Windchill 命令提供用户名/密码
  • Windchill Shell中执行某些命令时,需要在授权请求对话框中传递用户名和密码。例如
    • windchill wt.index.BulkIndexTool
    • windchill wt.queue.队列管理器
    • windchill wt.fv.tools.WContentVerify
    • windchill wt.fv.tools.RemoveUnreferencedFiles
    • windchill wt.lifecycle.utility.reassign.LCReassignUtility
    • windchill wt.businessRules.删除业务规则对象
    • windchill wt.load.LoadFromFile
这是文章 63015 的 PDF 版本,可能已过期。最新版本 CS63015