而在网页上加载JavaScript输入意外结束 [英] Unexpected end of input while loading javascript on a web page

查看:398
本文介绍了而在网页上加载JavaScript输入意外结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的计算器社区!

我有输入意外结束比所有的情况下,我发现迄今在这里SO和其他论坛的有点不同情况。坦率地说,我卡住了。

I have a bit different case of "unexpected end of input" than all the cases I have found so far here in SO and other forums. Frankly, I am stuck.

我有一个CentOS机器上的JBoss EAP 6.4。试图打开一个Windows 7盒(从MS的所有最新补丁)管理控制台与空白页结束与最可能的原因是一个.js文件不完整加载:

I have JBoss EAP 6.4 on a CentOS machine. Attempting to open the admin console on a Windows 7 box (all the latest patches from MS) ends with blank white page with most possible cause being an incomplete loading of a .js file:

为protovis JS输入意外结束文件

这正好发生在Firefox,Chrome和IE浏览器。

This happens exactly the same with Firefox, Chrome and IE.

在另一方面,JBoss的管理控制台开启了从同一Win7的机器上的一个虚拟化的Linux机器很好,也从不同的只有Linux盒。此外,wget的Cygwin中得到问题的.js文件全面。这导致我的结论是它不是一个浏览器的问题,而是Windows有一些狡猾的错误。但是,如何确保?我没有在浏览器中使用代理服务器,我已经清除缓存和使用隐姓埋名-模式 - 没有成功

On the other hand, the JBoss admin console opens up fine from a virtualized Linux box on the same Win7 machine and also from separate linux-only boxes. Also, wget in CygWin gets the .js file in question in full. This has lead me to a conclusion that it is not a browser issue but rather that Windows has some devious bug. But how to make sure? I do not use proxies in browsers, I have cleared caches and used incognito-modes - no success.

感谢,并希望

推荐答案

今天我有同样的问题,我已经找到了解决方案(或解决方法吗?)。
所有罪恶的根源是Windows服务基本筛选引擎。
当我有它关闭,则管理控制台打开。

I had the same issue today and I have found a solution (or workaround?). The root of all evil is Windows service "Base Filtering Engine". When I had it turned off, then the admin console opened.

背景信息:
当打开管理控制台(如的http://本地主机:9990 /台/ App.html )我有一个空白屏幕。检查JS控制台,我发现:

Background info: When opening the admin console (e.g. http://localhost:9990/console/App.html) I had a blank screen. Checking JS console, I have found:

"app.nocache.js:17 Uncaught SyntaxError: Unexpected token :"

一旦重装,各种JavaScript错误来了。
检查JS文件(/console/app/app.nocache.js)我已经看到它的一个意外的结束,所以这是语法不正确。

Upon reload, various JavaScript errors came. Checking the JS file (/console/app/app.nocache.js) I have seen an unexpected end of it, so it was syntactically incorrect.

当我在浏览器中重新加载JS文件几次,它被切割以各种方式 - >所以我有一些中间人正在围绕犯罪嫌疑人。
首先检查是病毒破坏者和防火墙,毕竟我已经找到BFE作为替罪羊。

When I reloaded the JS file several times in the browser, it was cut in various ways -> so I had the suspect that some "man in the middle" is playing around. First checks were the virus busters and the firewall, and after all I have found BFE as scapegoat.

我希望交换了断无其他不良的副作用,但老实说,我还没有发现任何其他的方式来解决这个问题 - >任何配件的想法,仍然欢迎

I hope that switching that off has no other bad side effects, but honestly I have not found any other way to solve it -> any enhancement ideas are still welcome.

这篇关于而在网页上加载JavaScript输入意外结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆