I have created a custom component that call a web service.
It uses the Axis libraries, so I put in the root directory of the component's Jar all the required libraries (activation.jar, axis.jar, commons-codec-1.1.jar, ...).
Then, in the component.xml, I have defined a class-path section like this:
<class-path>activation.jar axis.jar commons-codec-1.1.jar ...</class-path>
The component is deployed and running, but when I call it, I get the following error:
Which is my fault?
The problems were the blanks between jar names in component.xml (Arghh)
I think to include external libraries in a JAR you need to use a custom classloader.
I think you can instead put the external libraries in teh ext folder of the JRE installation that runs the app server.