Hi Folks,
My environment:
TeamSiteVersion: 7.4.1
OS: Solaris 10
Javac version: 1.6.0_71
TS Java version: 1.6.0_45
My Question:
This is a stupid question, but it's my first go with implementing Preprocessor commands via java.
I have done this:
- Built a simple class (SimplePreprocessTest.java - see attached) in the 'mypackage' package
- compiled it (on the TS server)
- built a JAR
- deployed that JAR to <IW-HOME>/local/config/lib/content_center/customer_src/lib
- ran make_toolkit.ipl
All of these tasks were undertaken without error.
I can confirm that the JAR was deployed as follows:
jar -tf ./ApplicationContainer/server/default/wcmweb/toolkit/teamsite/customer_src/lib/SimplePreprocessTest.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/interwoven/
com/interwoven/custom/
mypackage/
com/interwoven/custom/CustomCodeDemo.class
mypackage/SimplePreprocessTest.class
In my workflow model I added my class to the PreProcessor commands field as:
mypackage.SimplePreprocessTest
...and republished my model (see attached screenshot).
When I instantiate that model, I get this error:
com.interwoven.modeler.workflow.exceptions.OutOfProcessCommandException: 6100024
Workflow Command [Pre/Post] did not return correct value. Correct the error.)
My Question:
I am thinking that I did not "call" the class in the correct way in WFM? Is this method correct: <package>.<class> ?
It obviously does not seem to use the same method as calling a URL external task. I cannot see any reference to this in the doco.
Any help is much appreciated.