Skip to main content
7-Bedrock
September 18, 2024
Solved

Windu

  • September 18, 2024
  • 3 replies
  • 1014 views
I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS22

When we are executing Windu on Windchill M030-CPS22 all the Windu tasks are getting failed immediately.

Here are the errors that I faced
Task failed.
Wed 9/18/24 03:31:49: com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Sequence Analysis (#SequenceAnalysis)
Wed 9/18/24 03:31:49: Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.pds.SequenceAnalysis.runDiagnostics failed. See nested exception for details
Wed 9/18/24 03:31:49: Nested exception is: wt.util.WTException: The user you attempted to login is not an administrator. The upgrade can only be run as an administrator user.
Wed 9/18/24 03:31:49: at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:791)
Wed 9/18/24 03:31:49: at wt.services.LightweightServiceHelper.invoke(LightweightServiceHelper.java:165)
Wed 9/18/24 03:31:49: at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$2.run(LightWeightServiceDirective.java:395)
    Best answer by BP_11893543

    I'm able to exeucte Windu now and the tasks started or completed now.
    https://www.ptc.com/en/support/article/CS151715

    • Set in wt.properties: wt.auth.handlers=wt.auth.NullAuthentication,wt.httpgw.HTTPAuthentication 
      and executed below command from Windchill shell
      windchill com.ptc.windchill.windu.Windu

    3 replies

    24-Ruby III
    September 18, 2024

    Article - "How to run WinDU tasks for upgrade preparation in Windchill": https://www.ptc.com/en/support/article/CS71519 

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    September 18, 2024

    Hi @BP_11893543 

    You should use correct user that is the administrator in Windchill.

    the error mention it

    The user you attempted to login is not an administrator

    PetrH

    BP_118935437-BedrockAuthorAnswer
    7-Bedrock
    September 18, 2024

    I'm able to exeucte Windu now and the tasks started or completed now.
    https://www.ptc.com/en/support/article/CS151715

    • Set in wt.properties: wt.auth.handlers=wt.auth.NullAuthentication,wt.httpgw.HTTPAuthentication 
      and executed below command from Windchill shell
      windchill com.ptc.windchill.windu.Windu
    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    September 18, 2024

    Hi @BP_11893543 

    This is just a bypass the user login . U would recommend to set this property back after the WinDu will finish 

    PetrH