It's all about the answers!

Ask a question

error with validators files: "Resource does not exist"


Gonzalo Orellana (1122) | asked Jul 08 '14, 5:15 p.m.
hello...

we have a problem with the validators, when create a script based validator and this is triggered by a form, this no response and in the log of ccm show a error message:

2014-07-08 15:22:33,257 [             WebContainer : 12] ERROR net.jazz.ajax.servlets.StyleSheetServlet            - GET https://jazzserver:9443/ccm/web/_style/
?exclude=E~G~H~I~J~K~L~M~N~X~c~d~g~i~j~k~m&include=ValBenRut1.js&ss=Epe10&_proxyURL=%2Fccm&locale=en-usHEADER: Host = jazz.sura.cl:9443
HEADER: User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
HEADER: Accept = text/css,*/*;q=0.1
HEADER: Accept-Language = en-us,en;q=0.5
HEADER: Accept-Encoding = gzip, deflate
HEADER: Connection = keep-alive
HEADER: Referer = https://jazzserver:9443/ccm/web/projects/Solicitantes%20-%20AFP%20Capital
HEADER: Cookie = SaveStateCookie=undefined; net-jazz-ajax-cookie-rememberUserId=orios; JazzFormAuth=Form; LtpaToken2=1TF...6Q=; JSESSIONID=000...:-1
HEADER: Cache-Control = max-age=0
Parameter: locale = [en-us]
Parameter: include = [ValBenRut1.js]
Parameter: _proxyURL = [/ccm]
Parameter: exclude = [E~G~H~I~J~K~L~M~N~X~c~d~g~i~j~k~m]
Parameter: ss = [Epe10]

java.lang.IllegalArgumentException: Resource does not exist: ValBenRut1.js

this occur from the last two day. before this script works fine without any problems

anybody can help me to solve this problem please

thanks

Comments
Donald Nong commented Jul 08 '14, 8:00 p.m.

If it says "resource does not exist", probably the file has gone missing somehow. Can you modify the script in the RTC client and push it to the server once more?


Gonzalo Orellana commented Jul 09 '14, 9:48 a.m.

 yes, i can add, remove and modify the script on the server, and any new script created throw the same error.


thanks for you answer

One answer



permanent link
Lily Wang (4.9k714) | answered Jul 08 '14, 9:54 p.m.
 Hi,
You can follow http://www-01.ibm.com/support/docview.wss?uid=swg21508875 to check the 'Enable Process Attachment Scripts' setting is enabled.

Then you can open the project area, go to Links > Attachment, and check all js files to ensure only one js file provides "ValBenRut1" class. 

Comments
Gonzalo Orellana commented Jul 09 '14, 10:12 a.m.

 The "Process Attachment Script" is already enabled, all script with this problem is in the attachment list and none of the other scripts have reference to the ValBenRut1 class.


Thanks for you answer.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.