Question
Unable to recompile or save the library rule
We migrated our application to newer Apache, Tomcat and JDK versions. Apache from 2.2.25 to 2.2.49 ,Tomcat from 7.0.42 to 7.0.82 and JDK 1.6 to 1.7. The java system property Djava.util.Arrays.useLegacyMergeSort is set to true as the guide says PRPC 6.1SP2 has sorting issues while running on JDK 1.7. The deployments are completed and the app is up and running. But when I try to save our library rule or try to compile it, we see a lot of errors around org.jbars package.
You appear to have two distinct problems (at least in the attached error log).
The first one seems to be it can't find org.jbars.Barcode
If you'd imported this into your system (database), then you should be able to find it with:-
select * from pr_engineclasses where pzclass like 'Barcode%'
Otherwise you may want to check in your previous tomcat installation to see whether this included any additional .jar file that contained this class.
I'm not too clear on the other error.
For a library normally I'd expect the java/class to be named as <rulesetname>_<libraryname>.java
All in lower case and converting any dashes to underscores.
But I can't ascertain which is which from the compilation error: -
One part appears to this the class is test_cmfw_cmfw and the other just cmfw_cmfw
How are you recompiling the library (directly? SMA?)
Also are you using the same PegaTemp directory? And if so, did you remove the extractmarker along with the system change?