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

java errors using submit ticket script.

Hello Folks.

I've been using the submit_ticket.aef script from your repository successfully on IPCCX 3.5.3sr2, CCM 4.1.3sr1 for several months now. The scripts haven't been updated, but now we are getting loads of java errors after we click submit:

com.cisco.app.ApplicationTaskInactiveException: task no longer running

com.cisco.wfapi.WFClassInvocationException: Class invocation error.

java.lang.reflect.InvocationTargetException

at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.cleanup(ApplicationManagerImpl.java:4063)

at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.taskAborted(WFWorkflowAppDebugTaskWrapper.java:693)

at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.execute(WFWorkflowAppDebugTaskWrapper.java:748)

at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:291)

at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:246)

at com.cisco.wfframework.engine.core.Invoker.invoke(Invoker.java:67)

The session ID is being populated ok eg: http://10.102.0.100:8080/ticket.jsp?%20&sessionID=1108000000007,0

When you click submit submit & no the attached java error occurs.

When I debug the submit_ticket.aef script I get a Class invocation error.; nested exception is:java.lang.reflect.InvocationTargetException

Could anyone please help me with how I find out what these java errors mean and what the task no longer running may be.

Any hints/tips etc would be greatly appreciated.

Cheers,

NJ.

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: java errors using submit ticket script.

1. In the Desktop Administrator, under Enterprise Data, be sure to have

this two Fields created:sessionID ( type 2 ) sequence (type 3)

2. Edit the layout Field ( type 252 ) by selecting default in the layout list.change the name, instead of default, name it ticket.

3. Add the sessionID and sequence to the Fields in Layout.

4. Go now, to Workflow in Desktop Admin:In Desktop Administrator select Workflow.In events, select Dropped.

Add a Rule called ticket and add an action called ticketEntry.Select launch external application nd enter:

:\Program Files\Internet Explorer\IEXPLORE.EXE

Move sessionID over to the arguments column.Select enable Rule, Any Condition is true, and for a condition, put sessionID is not empty.

Select OK.

5. Go to Application and create submit_app.In the script field select submit_ticket.aef and add an HTTP trigger ( /ticket )

6. Creat a HTTP subsystem:URL: /ticket ( Please do not confuse this name with the ticket.jsp that is run when the agent drops the call )

Language: EnglishApplication Name: any name you want ( example Submit_app)

Please be sure that you have followed all these steps.

1 REPLY
Silver

Re: java errors using submit ticket script.

1. In the Desktop Administrator, under Enterprise Data, be sure to have

this two Fields created:sessionID ( type 2 ) sequence (type 3)

2. Edit the layout Field ( type 252 ) by selecting default in the layout list.change the name, instead of default, name it ticket.

3. Add the sessionID and sequence to the Fields in Layout.

4. Go now, to Workflow in Desktop Admin:In Desktop Administrator select Workflow.In events, select Dropped.

Add a Rule called ticket and add an action called ticketEntry.Select launch external application nd enter:

:\Program Files\Internet Explorer\IEXPLORE.EXE

Move sessionID over to the arguments column.Select enable Rule, Any Condition is true, and for a condition, put sessionID is not empty.

Select OK.

5. Go to Application and create submit_app.In the script field select submit_ticket.aef and add an HTTP trigger ( /ticket )

6. Creat a HTTP subsystem:URL: /ticket ( Please do not confuse this name with the ticket.jsp that is run when the agent drops the call )

Language: EnglishApplication Name: any name you want ( example Submit_app)

Please be sure that you have followed all these steps.

195
Views
0
Helpful
1
Replies
CreatePlease to create content