cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
0
Helpful
3
Replies

CRS Application failed with SET in script

vectraeee
Level 1
Level 1

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 3

vectraeee
Level 1
Level 1

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...

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.

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.