本文介绍了IBM Worklight - CWWKX0202E:WebSphere Java Management Extensions REST客户端无法处理来自服务器的URL响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的移动应用项目使用IBM Worklight 6.2.0.00-20140825-1637

I'm using IBM Worklight 6.2.0.00-20140825-1637 for my mobile app project.

当我尝试启动我的worklight服务器时收到此错误消息。它发生在我在Eclipse中更新我的worklight 6.1之后。请提供建议。

I got this error message when I try to start my worklight server. It happened after I updated my worklight 6.1 in my Eclipse. Please advice.

 [ERROR   ] CWWKX0202E: The WebSphere Java Management Extensions REST client was unable to process the response from the server for URL https://localhost:10443/IBMJMXConnectorREST on connection rest:localhost:10443 admin 61
    Unexpected character: [<] while scanning JSON String for JSON type.  Invalid JSON.
    [ERROR   ] FWLST0003E: ========= Failed starting project /bii-mobile [project bii-mobile]
    java.lang.reflect.InvocationTargetException
    [ERROR   ] null
    java.lang.reflect.InvocationTargetException
    [ERROR   ] An unhandled exception occurred which will be propagated to the container.
    java.lang.NullPointerException
    [ERROR   ] CWWKX0202E: The WebSphere Java Management Extensions REST client was unable to process the response from the server for URL https://localhost:10443/IBMJMXConnectorREST on connection rest:localhost:10443 admin 62
    Unexpected character: [<] while scanning JSON String for JSON type.  Invalid JSON.
    [ERROR   ] An unhandled exception occurred which will be propagated to the container.
    java.lang.NullPointerException
    [ERROR   ] CWWKX0202E: The WebSphere Java Management Extensions REST client was unable to process the response from the server for URL https://localhost:10443/IBMJMXConnectorREST on connection rest:localhost:10443 admin 62
    Unexpected character: [<] while scanning JSON String for JSON type.  Invalid JSON.
    [ERROR   ] FWLSE256E: StatusMessage [severity=ERROR, message='InvocationTargetException:', timestamp=1409814384782, detailedMessage=java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.worklight.server.bundle.project.JeeProjectActivator$1.run(JeeProjectActivator.java:196)
        at java.lang.Thread.run(Thread.java:695)
    Caused by: java.lang.RuntimeException: Timeout while waiting for the management service to start up.120 secs.
        at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:134)
        at com.worklight.core.init.WorklightServletInitializer.initialize(WorklightServletInitializer.java:162)
        ... 6 more
    ] [project bii-mobile]

推荐答案

我已经找到了答案。创建一个新的eclipse环境,然后安装回eclipse studio。

I already found the answer. Create a new eclipse environment then install back eclipse studio.

这篇关于IBM Worklight - CWWKX0202E:WebSphere Java Management Extensions REST客户端无法处理来自服务器的URL响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 17:28