WSO2 EMM:设备身份验证错误

时间:2015-05-28 00:28:56

标签: wso2 wso2-emm

当我在Android设备上运行WSO2 EMM代理时

在代理上输入用户名和密码后,点击注册,然后在您的设备是COPE设备上选择,您确定要继续吗? 我收到错误连接失败,服务器不可用。请联系管理员。

运行Linux 2.6和Java版本1.7.0_79-b15的服务器。

以下是例外:

  

[2015-05-27 16:57:59,693]错误   {} org.jaggeryjs.jaggery.core.manager.WebAppManager    - org.mozilla.javascript.EcmaError:TypeError:无法调用方法" trim" of null(/emm/modules/device.js#1140)   org.jaggeryjs.scriptengine.exceptions.ScriptException:   org.mozilla.javascript.EcmaError:TypeError:无法调用方法" trim"   null(/emm/modules/device.js#1140)at   org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)   在   org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)   在   org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)   在   org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)   在javax.servlet.http.HttpServlet.service(HttpServlet.java:755)at   javax.servlet.http.HttpServlet.service(HttpServlet.java:848)at at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)   在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)   在   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)   在   org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)   在   org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)   在   org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)   在   org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)   在   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)   在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)   在   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)   在   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)   在   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)   在   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)   在   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)   在   org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)   在   org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:75)   在   org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)   在   org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)   在   org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)   在   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)   在   org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)   在   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)   在   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)   在   org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)   在   org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:589)   在   org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1653)   在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)   在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)   在java.lang.Thread.run(Thread.java:745)引起:   org.mozilla.javascript.EcmaError:TypeError:无法调用方法" trim"   null(/emm/modules/device.js#1140)at   org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)   在   org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)   在   org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)   在   org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)   在   org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3731)   在   org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2258)   在   org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2251)   在   org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:83)   在   org.jaggeryjs.rhino.emm.modules.c6._c_anonymous_38(/emm/modules/device.js:1140)   在org.jaggeryjs.rhino.emm.modules.c6.call(/emm/modules/device.js)at   org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)   在   org.jaggeryjs.rhino.emm.api.c4._c_anonymous_10(/emm/api/deviceRouter.js:115)   在org.jaggeryjs.rhino.emm.api.c4.call(/emm/api/deviceRouter.js)at   org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)   在   org.jaggeryjs.rhino.emm.modules.c5._c_anonymous_13(/emm/modules/goose.js:174)   在org.jaggeryjs.rhino.emm.modules.c5.call(/emm/modules/goose.js)at   org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)   在   org.jaggeryjs.rhino.emm.modules.c3._c_callAPI_12(/emm/modules/absolute.js:171)   在org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)   在   org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)   在   org.jaggeryjs.rhino.emm.modules.c3._c_anonymous_15(/emm/modules/absolute.js:228)   在org.jaggeryjs.rhino.emm.modules.c3.call(/emm/modules/absolute.js)   在   org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)   在org.jaggeryjs.rhino.emm.c0._c_script_0(/emm//index.jag:189)at   org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)at   org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)   在   org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)   在org.jaggeryjs.rhino.emm.c0.call(/emm//index.jag)at   org.jaggeryjs.rhino.emm.c0.exec(/emm//index.jag)at   org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)   ......还有73个

有谁在这里知道如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

请查看我[1]的以下答案,看看您是否正确注册了设备。

[1] - WSO2 EMM: Error past device authentication