Hello everyone,
I’ve made several posts on compass, but I just found this so I’ll briefly describe my situation here. I have a framework that uses compiled java methods and am working on migrating it over to the plugin framework to easily install the program. One of the biggest benefits I am seeing is the ability to use methods in JAR files without needing to restart Tomcat. My plugin successfully imports my ui components and my SailPoint artifacts. However, my JAR file doesn’t seem to be coming over properly.
This framework functions when I stand up everything the old way (i.e., putting the JAR file in WEB-INF/lib and bouncing Tomcat). I have that same JAR file in my /lib folder.
My manifest file has the following keys defined: minUpgradableVersion, scriptPackages, and snippets. It also has the following attributes in its header: displayName, minSystemVersion, name, and version.
Here’s my scriptPackages key:
<entry key="scriptPackages">
<value>
<List>
<String>com.corp.MyLibrary</String>
</List>
</value>
</entry>
When I install the plugin, I cannot invoke any methods from my JAR. I am met with a “Class or variable not found” error. The moment I have that same JAR from my plugin to WEB-INF/lib and bounce Tomcat, the rule I use to test the method invocation works. Also, after installing the plugin, the iiq console output for “plugin classes” is still empty, despite having scriptPackages defined. What am I doing wrong?