Script failed to load in CRS 5.0

Answered Question
Aug 19th, 2008

I have a script that is tested and worked ok on one CCX server, but when try to use on different CXX server. It returns error message:

An error occured while loading the script SCRIPT[scriptname.aef]. Please check log for more details.

I have searched through some of the log and could not see any info. Which log should I check for this case?

Thanks.

Dat Pham

I have this problem too.
0 votes
Correct Answer by Chad Stachowicz about 8 years 3 months ago

Correct. Any JAR Files, or other referenced scripts must be uploaded before some scripts will load properly in UCCX!

Chad

Correct Answer by Chris Deren about 8 years 3 months ago

check the MIVR logs, is the script possibly invoking documents, or other scripts that are not defined on the new system?

Chris

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Chris Deren Tue, 08/19/2008 - 10:47

check the MIVR logs, is the script possibly invoking documents, or other scripts that are not defined on the new system?

Chris

phamvinhdat Tue, 08/19/2008 - 12:28

Thanks Chris.

I have checked the prompt filename and reupload to the right location, and it still give me that same error.

I found the error msg from ./log/MADM log file:

----------------------------------------------------

110387: Aug 19 15:13:44.548 CDT %MADM-ADM_CFG-7-UNK:AppUtil.getConfigVarFromWf() - scriptName=SCRIPT[AMSCallFlow.aef]

110388: Aug 19 15:13:44.564 CDT %MADM-SCRIPT_MGR-3-UNABLE_LOAD_SCRIPT:Unable to load script: Script=AMSCallFlow.aef,Exception=java.io.StreamCorruptedException: unexpected block data

110389: Aug 19 15:13:44.564 CDT %MADM-SCRIPT_MGR-3-EXCEPTION:java.io.StreamCorruptedException: unexpected block data

----------------------------------------------------

Thanks.

Dat Pham

Correct Answer
Chad Stachowicz Tue, 08/19/2008 - 12:43

Correct. Any JAR Files, or other referenced scripts must be uploaded before some scripts will load properly in UCCX!

Chad

phamvinhdat Tue, 08/19/2008 - 12:52

For some reason, that I have to reboot the servers for the custom java class to work on any script.

My problem is solved. Thanks Chad.

Dat Pham

Chad Stachowicz Tue, 08/19/2008 - 12:58

Yes anytime you upload a new JAR file, you need to restart the Node Manager service :)

Also the MIVR log chris pointed out would have lead you to see that the problem was your custom functions you were calling in your script couldnt be found.

Cheers,

Chad

Actions

This Discussion