Author | Nassim Bouayad
Version | 1.0
Updated | 21st Sept 2021
Categories | [support]
Windchill 12.0.2
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)
Download the patch here and install as you would any other extension. Make sure to restart Windchill afterwards.