Windu
Sep 18, 2024
02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
02:34 AM
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)
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)
Solved! Go to Solution.
ACCEPTED SOLUTION
Accepted Solutions
Sep 18, 2024
04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
04:09 AM
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
4 REPLIES 4
Sep 18, 2024
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
03:33 AM
Article - "How to run WinDU tasks for upgrade preparation in Windchill": https://www.ptc.com/en/support/article/CS71519
Sep 18, 2024
04:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
04:06 AM
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
Sep 18, 2024
04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
04:09 AM
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
Sep 18, 2024
04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 18, 2024
04:18 AM
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
