So 25 Mai 2008
HATS error: com.ibm.eNetwork.ECL.VariableException
Geschrieben von Jürgen Mayer unter Software, Erfahrungen
Tags: none
I received this error message using HATS (Host Access Transformation Services). What’s wrong: I used a type which was’t initialized. I created a Helper class and wanted to call a method inside a perform action. I imported a new type: MacroHelper and defined a new variable, but i didn’t set a initial value: $new MacroHelper()$. In order to make it work you have to set the WAR classloader policy to ‘Application’. com.ibm.eNetwork.ECL.macrovariable.JavaType is responsible for loading java classes used inside a macro. Class JavaType is part of habeansnlv2.jar, which is placed in the HATS EAR. If the WAR classloader policy is set to module the classloader can’t load your class, in my case MacroHelper. because it’s out of scope.
Verwandte Beiträge:
- None
