Class name conflict in multiple JARs in server CLASSPATH
In due course of support investigations we have seen many instances "NoClassDefFoundError" arising at runtime due to Class name conflict in duplicate / multiple JAR files picked up by the server's CLASSPATH.
In such situations, its quite a cumbersome process to locate/find the problematic Class under the server's / JVM's file path.
The following is a command which locates and prints the Class name and corresponding JAR file name to an output log file -
In SMA on the left side expand “Advanced” and then click “ETier Runtime Environment”. Here, you can enter the Java Class Name and it will tell you the location and name of the jar where the class is being pulled from.
Yes, I'm aware of that. But in the case of a conflict -- where there are multiple matches for pzClass -- it'd be useful to combine the above with a utility which appropriately queries the pr_engineclasses table.