IBM Worklight - CWWKX0202E: The WebSphere Java Man

2019-09-21 15:52发布

问题:

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

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]

回答1:

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