mu shaikh
mu shaikh

Reputation: 99

Error when uploading JAR to Oracle Integration Cloud Service: Failed to register library

I'm getting the below error whenever I'm trying to upload my executable JAR to an Oracle Integration Cloud instance (library).

Error: Failed to register library. Library file filename.jar should contain at least one JS file with valid functions.

My JAR contains logic to convert a txt file to a csv file, it is executing fine from a command prompt.

Let me know if anyone has a solution for this issue.

Upvotes: -1

Views: 1035

Answers (1)

Chandan Jyoti Saikia
Chandan Jyoti Saikia

Reputation: 16

OIC does not support custom java functions.Only javascript functions with return types as string,number or Boolean are supported .

Upvotes: 0

Related Questions