cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

BP_11893543
2-Guest

Windu

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)
ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4

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

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

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

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

Announcements


Top Tags