I am facing a very strange problem when my service is deployed at LiveCycle Server then inner classes included in the jars are not being Loaded at runtime. When I unjar these inner classes then they are accessible for LiveCycle class loader. I am using LiveCycle (Jboss turnkey installation)

There are two ways to refer to classes in the component.xml file; class-path and import-packages.

If the jar file containing the class you need is in your component (i.e. it is in the component's jar file) then use the class-path tag to refer to that jar file. For example, I am using two jar files that will be inside my component:

In my case, I am having five class files, component.xml and one supporting jar in component's jar. Now, out of these five java classes, one is java bean object which is used in other class files as an object.

When, I am deploying the component, there is no error. I also made a test process for checking the component.While executing the process, I am getting an error, "Class Not found" for that java bean object.

Please let me know, where am I getting wrong? I guess, I am missing some configuration, which needs to be in config.xml regarding that bean class.

From your description it sounds like your java bean is not in a seperate jar file. I had assumed it was earlier. If that is true then you don't need a class path or import packages entry. You really don't need anything. As long as the class is in the right package folder in your component.jar then everything should be fine.