Hi experts,
I developed a java program that performs somes tasks, I exported the java program as a jar file, and I tested it on the console (java -jar JarFile.jar). The program runs succefullty and did the tasks as expected (Sends some emails)...
Now I want to add the jar file as a program on the SAP BO platform, while I m scheduling the program, I filled the program parameters sections:
When I set parameters as:
Class to run: MailService.class
ClassPath: com/vp
The schedule failed, and the giving error is: [java.lang.ClassNotFoundException: MailService.class]
And when I set parameters as below:
Class to run: MailService.class
ClassPath: com/vp
jvm arguments: -jar
The schedule run status is success, but the program doesn't perform the tasks (Email are not sent ...)
when I click on the instance name, I get a text file that contains the text below:
Unable to access jarfile com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper
That jar file doesn't contain any sdk libreries ...
Any idea would be helpful.
Thank's a lot.
Abdess,