-
11 Mar 2012 10:55 PM #1
JSBuilder: Working on Tomcat but not on WEBSphere
JSBuilder: Working on Tomcat but not on WEBSphere
Dear All,
I am just facing a weird issue. I build java script files on development system where tomcat is deployed, it worked fine while compressing. But when i deployed my application on WebSphere server, it is giving me 165 errors while compressing the file. Actually, i am building java script file from a servlet which gets invoked on server start up. -debug file gets generated well of same size i.e. on development and live, but while compressing, it leads to error. Both system i.e. development and live has same version of java.
Thanks,
Prabhat Kumar.
Few error line:
[ERROR] 4925:21
yntax error
[12/03/12 17:24:25:100 EST] 0000000a SystemErr R
[ERROR] 4926:21
yntax error
[12/03/12 17:24:25:100 EST] 0000000a SystemErr R
[ERROR] 4928:16:invalid property id
[12/03/12 17:24:25:100 EST] 0000000a SystemErr R
[ERROR] 4929:9
yntax error
[12/03/12 17:24:25:100 EST] 0000000a SystemErr R
[ERROR] 4931:15:invalid return
[12/03/12 17:24:25:100 EST] 0000000a SystemErr R
[ERROR] 4932:5
yntax error
[12/03/12 17:24:25:163 EST] 0000000a SystemErr R
[ERROR] 8560:29
yntax error
[12/03/12 17:24:25:163 EST] 0000000a SystemErr R
[ERROR] 8564:25:invalid property id
org.mozilla.javascript.EvaluatorException: Compilation produced 165 syntax errors.
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at com.extjs.JSBuilder2$2.runtimeError(JSBuilder2.java:325)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at org.mozilla.javascript.Parser.parse(Parser.java:415)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at org.mozilla.javascript.Parser.parse(Parser.java:359)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at com.extjs.JSBuilder2.compressOutputFiles(JSBuilder2.java:302)
[12/03/12 17:24:27:054 EST] 0000000a SystemErr R at com.extjs.JSBuilder2.main(JSBuilder2.java:45)Prabhat Kumar
-
11 Mar 2012 11:07 PM #2
Is this possible on character encoding or locale issue? I saw few article something about utf-8 and ANSI
Prabhat Kumar
-
12 Mar 2012 2:20 AM #3
I explored more about that. It works with command prompt using same java.exe but not from inside websphere server.
Prabhat Kumar


Reply With Quote