Import Java library to Java flow service

Hello wMusers,

I was trying to import a java library developed in Eclipse to the WM Integration Server so that the java flow service can call the methods in the java library.

What I have done is:

  1. copy the aaa.jar to C:\j2sdk1.4.2_03\jre\lib\ext
  2. import the library com.aaa.bbb under the Shared tab.

The service can be compiled successfully, but when I run the service, it prompts the error:
java.lang.reflect.InvocationTargetException

I am a newbie of wM, so did I miss anything when importing the library?

I am using wM IS 6.1

Thank you.
Dicky Ho

Hello,
you have to place the library under IS/lib/jars (and reload the IS) or under packages/<you_package>/lib (and reload the package); now import the lib classes in java code. I’m talking about 6.5, don-t know how other versions work.

Regards,
Sandro