Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

UCCX 8.5 custom java classes and properties

I wrote several custom java classes and uploaded them to server (classpath folder)

Also I uploaded properties file and keystore file (jks) to the same folder

I succesfully created java variables in the CCX editor and invoked some java methods.

According my tests, reading configuration and reading keystore from classpath folder is unsuccesful


And how to solve it?

Everyone's tags (3)
New Member

UCCX 8.5 custom java classes and properties

This link was very helpful for me

New Member

Re: UCCX 8.5 custom java classes and properties

To use some files inside my java code, you should copy file into temp IVR directory

I used "SET"  step in the Script Editor (setting String var with result of the copy process)

TSDoc - its a Variable in the Editor, type Document, represents the uploaded via "Document Managment" file:

try { ts= new"Trust.jks");
if (ts.exists()) return ("Trust.jks exists!"); inputStream= TSDoc.getInputStream(); outputStream = new"Trust.jks"));
int read = 0;
byte[] bytes = new byte[1024];
while ((read = != -1) {
outputStream.write(bytes, 0, read);

} catch (Exception e) {

return "err";


return "OK";


after, file will be readable insede my custom Java classes:

System.setProperty("", "Trust.jks");

New Member



I know this has been a few years since this post, but would you be able to provide some more information on this for me?  We are trying to do something similar and no matter where we put our keystore file, we are still getting handshake errors. UCCX 11.  We have uploaded the server certs in Tomcat-Trust as well.

Where exactly is the temp IVR directory where you copied the keystore for it to be readable by the UCCX script?


New Member

hi Heidi

hi Heidi

I have the same problem. UCCX 10.6

I have done the same operation that you have done with the same result.

is there anybody can help us ???


CreatePlease login to create content