Hi,
I have package which has a java service for which there is a jar file. When I try to load this package to a new Integration Server from one Integration Server, it is getting partially loaded. I have put the jar file in the pacakge//code/jars/static path. I think it is looking for the jar file in the path pacakge//code/jars, so I add the jar file in this path too. Now the package is getting properly loaded.
But during run time of the java service, it throws this error: Java.Lang.Reflect:TargetInvocation. Because I guess since the jar file is in both the paths pacakge//code/jars/static and pacakge//code/jars. For compiling the Java code alone, it looks for the jar file in this path pacakge//code/jars.
But during run time it picks the jar file from this path pacakge//code/jars/static. Since the jar file is also in this path pacakge//code/jars ,I am getting the above error. If remove that jar file from this path pacakge//code/jars after compiling,the package again gets partially loaded.
If any one has come across such a situation, please provide me a solution.
Thanks and Regards,
Venkatesh