技术文章 - CS228902

在 Windchill 启动时,Windchill PDMLink 中的方法服务器日志中出现错误“无法设置管理员(如果安装则正常)”

已修改: 09-Jun-2025   


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

适用于

  • Windchill PDMLink 10.0 to 13.0

说明

  • 在 Windchill 启动时,方法服务器日志中出现错误“无法设置管理员(如果安装则正常)”
  • 方法服务器日志中的错误如下
ERROR [main] wt.fv  - wt.fv.StandardFvService: failed to set Administrator (ok if installation)
ERROR [main] wt.fv  - User not found: unknown user name: "Administrator".
  • 以 wcadmin 身份登录时,Web 浏览器中显示以下错误
Exception:     wt.util.WTRuntimeException: wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException; nested exception is:
        wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
...
Caused by: (wt.session.sessionResource/1) wt.org.UserNotFoundException: User not found: unknown user name: "Administrator".
        at wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:265)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)​
这是文章 228902 的 PDF 版本,可能已过期。最新版本 CS228902