cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
102
Views
0
Helpful
0
Replies
Highlighted
Beginner

Custom jar file in Cisco Editor vs Cisco Engine

Hi ,

I am using a custom jar file, uploaded the jar in document management, moved to Classpath using Custom File Configuration page in appadmin page. Restarted the UCCX engine, Appadmin service and UCCX editor.

 

The methods and variables of the custom jar file is available for the UCCX script to invoke.

And the script can be validated and uploaded to the scriptmanagement. But once I try to map the script with Application, I am seeing the error "Failed to load the script. See the logs for more details". When I verify the MADM logs, the errors are like follows

 1. The method is not defined in the specific class

java.io.IOException: undefined method: <methodName> for class: <com.uccx.ClassName>

But the methods are very well available and accessible through script editor too.

 

2. com.cisco.io.StreamCorruptedException: invalid type code: 04; unable to load expression; ensure all custom classes are available; nested exception is:
java.io.StreamCorruptedException: invalid type code: 04 

 

One thing I can comprehend is, the Editor can access the methods where as appadmin page is not.

How to resolve this? Please suggest

 

Regards,

Jenni

 

Everyone's tags (2)
This widget could not be displayed.