Article - CS63015

Unable to run some commands from Windchill Shell with error "The operation: 'getPrincipal' failed" in Windchill

Modified: 21-Apr-2025   


Applies To

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

Description

  • Failed to run some Windchill commands from Windchill Shell with error: 
    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
  • How to provide username/password for some Windchill Commands that not support option -u and -p
  • Username and password need to be passed in Authorization Request dialog when executing some commands in Windchill Shell. E.g.
    • windchill wt.index.BulkIndexTool
    • windchill wt.queue.QueueManager
    • windchill wt.fv.tools.WContentVerify
    • windchill wt.fv.tools.RemoveUnreferencedFiles
    • windchill wt.lifecycle.utility.reassign.LCReassignUtility
    • windchill wt.businessRules.DeleteBusinessRuleObjects
    • windchill wt.load.LoadFromFile
This is a printer-friendly version of Article 63015 and may be out of date. For the latest version click CS63015