Unable to run java file using IS built in service

Hi,

i am unable to run the complied java file via pub.utils:executeOSCommand service.

i am getting below error while execution.

java -classpath “/appl/webm97/tmp/GBA” GBATPAUpdate “/appl/webm97/tmp/GBA/GBA_TPA3.xml”

Error: Could not find or load main class “classfilename”

Please help.

Thanks.

Hi,

Is that directory readable by the IS process owner?
Is that directory in WmPublic’s file read access list?

Bets regards,

Also, reload WmPublic if you edit the OSCommands.cnf

Hi,

another option might to create a java wrapper service in IS which consumes this class and pass the filename as an input parameter.

Regarding the error message:
Is it really looking for “classfilename” or is this just a placeholder for the real class name?

Regards,
Holger