[support] 00016 - Logging fails to enable on 12.0.2

Author | Nassim Bouayad

Version | 1.0

Updated | 21st Sept 2021

Categories | [support]

Applies to

Windchill 12.0.2

Description

The logging is fails to be enabled on 12.0.2

Extensions do not use log4j and this a patch to prevent the error occuring. Corrected in 12.1

java.lang.NoClassDefFoundError: org/apache/log4j/Level

2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at com.wincomplm.wex.manager.impl.ui.actions.WexManagerActionHelper.a(Unknown Source)
2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at com.wincomplm.wex.manager.impl.ui.actions.WexManagerActionHelper.doAction(Unknown Source)
2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at com.wincomplm.wex.manager.impl.api.WexManagerActionMethods.doAction(Unknown Source)
2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2021-09-21 10:32:43,573 INFO  [ajp-nio-127.0.0.1-8010-exec-15] wt.system.err eu_admin18 - 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Solution

Download the patch here and install as you would any other extension. Make sure to restart Windchill afterwards.

Was this article helpful? Votes: 0
Article details:
Published date: 21/09/2021 4:12PM
Last updated: 01/03/2023 4:31PM (edouglas@wincom-plm.com - edouglas@wincom-plm.com)
Share article: 
Author: simonh@wincom-plm.com (simonh@wincom-plm.com)
Permalink: https://windchill-extensions.ptc.com/kb/articles/support-00016