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

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.

Execute .Jar File from expression editor

I have to create a ticket on a db for that, I need to launch a file CreateTicketIVR.jar with input parameters  Par1, Par2, Par5 ... and I will return an integer NrTicket. How can I run this file from expression editor? Where can I find more documentation / examples?

Thanks,

GL

2 REPLIES

Re: Execute .Jar File from expression editor

Hi Giovanna,

I understand that the jar package is a runnable one. That's fine if you run it using the command line, but you need a little more information if you want to incorporate it into your UCCX scripts. What you need is to find the main class name.

It's usually easy to find that: just unzip that jar package, and look for a file named manifest.txt or MANIFEST.MF. It'll contain a row starting with the word Main-Class: and then the name of the main class. Write that down.

What you can do then is just following the guides, so upload the jar file into the documents folder. If that's successful, you can reference it by calling the main class (including parameters) using a Set step:

myIntegerVariable = {

some.package.some.SuperAwesomeJavaClass Par1, Par2, Par3, Par4, Par5;

}

Hope this helps.

G.

Execute .Jar File from expression editor

hi,

you suggest me this configuration

but i can't apply this because i receive an error

Why?

466
Views
0
Helpful
2
Replies
CreatePlease login to create content