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.

New Member

CRS Application failed with SET in script

Hi all,

i've a big problem,

i've created a script for CRS Application

but if i insert in my script the object: SET

and in the definition of a variable i use a java method, during the application update i receive the following error "Application notification failed on the following server: MYSERVER"

It seems that the script cannot contain SET line like this:

Variable = Variable.substring(0,1)

and with this one, will works:

Variable = "2"

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

Attached the two script, the first works and the second one doesn't works.

Hope to solve the problem, i you need any other information tell me!

Thanks everybody in advance

3 REPLIES
New Member

Re: CRS Application failed with SET in script

Hi have CRS 4.0

and IPCC Express

I thinks the problem is in java environment, but i don't undertstand where....

it seems that i cannot execute any kind of java methods...like XX.substring(X,X) - XX.length() and any other like those...

Bronze

Re: CRS Application failed with SET in script

I have the same problems with all 4.0 CRS.

I wasn't aware that the cause of this was related to a Java method used in script.

In my case, when I receive the error message, I just refresh all the applications using the associate link.

Re: CRS Application failed with SET in script

I don't know about 4.0 But in all previous versions, you will need to use the Execute Java method to do any type of java stuff. I am assuming that the same should be done for 4.0.X versions. I have attached a sample script with the java method.

152
Views
0
Helpful
3
Replies
CreatePlease login to create content