Hazelcast 3.9.3 management center console commands not working

655 views
Skip to first unread message

Shouvik Saha

unread,
Mar 26, 2018, 7:02:45 AM3/26/18
to Hazelcast
Hi,

I am using hazelcast 3.9.3 in my project and connecting it to a management center instance with the version 3.9.3.

When I try to use any command in the console from management center, in my project log I get the following message:

2018-03-26 16:25:36.624  WARN 35832 --- [.MC.Task.Poller] c.h.i.m.ManagementCenterService          : [10.2.234.237]:5701 [shouvik] [3.9.3] Failed to send response, responseCode:405 url:http://localhost:8100/mancenter/putResponse.do

Also the command doesn't show any response in the console.

Any help is highly appreciated.
Thanks

Emre Aydın

unread,
Mar 26, 2018, 8:23:21 AM3/26/18
to haze...@googlegroups.com
Hi,

This should not happen as that endpoint expects HTTP POST requests and the member sends POST requests. Can you plase share the relevant Management Center logs? 

BTW, to narrow down the problem further, can you also try with Management Center version 3.9.2? You can use Management Center 3.9.2 with a 3.9.3 Hazelcast cluster member, no need to change Hazelcast cluster member version.

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/14ba4d5e-d0ad-4c14-a18c-3f069d5787b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shouvik Saha

unread,
Mar 26, 2018, 8:33:14 AM3/26/18
to Hazelcast
Hi Emre,
 
Thanks for the response. I tried with both 3.9.2 and 3.9.3 versions of management center but got the same issue.
Here is the relevant log from Management Center:

2018-03-26 18:01:50.912:WARN:oejs.ServletHandler:/mancenter/putResponse.do
java.lang.RuntimeException: Failed to find a responseType for Hazelcast ConsoleRequest type:5
        at com.hazelcast.webmonitor.controller.PutResponseController.doPutResponse(PutResponseController.java:97)
        at jdk.internal.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:370)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.base/java.lang.Thread.run(Unknown Source)

Emre Aydın

unread,
Mar 26, 2018, 8:39:04 AM3/26/18
to haze...@googlegroups.com
Are you using Java version 9?

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Shouvik Saha

unread,
Mar 26, 2018, 8:41:38 AM3/26/18
to Hazelcast
 No, I am using jdk 1.8.0_152

Thanks,
Shouvik

Shouvik Saha

unread,
Mar 26, 2018, 9:01:12 AM3/26/18
to Hazelcast


Hi Emre,

One more thing I just noticed was for 3.9.3 the response code was 405 but for 3.9.2 the response code is 500.

Thanks,
Shouvik

Emre Aydın

unread,
Mar 26, 2018, 9:14:49 AM3/26/18
to haze...@googlegroups.com
Hi Shouvik,

I wasn't able to reproduce the error with JDK 8. This is an error I have observed under JDK 9 previously and fixed for the upcoming Management Center 3.10. We will release beta version of it in a few days. It will be compatible with Hazelcat 3.9.x versions as well as 3.10.x. In the meanwhile, I will try to reproduce it under Linux as well (couldn't reproduce in Mac). Are you deploying Management Center to a servlet container/application server or are you starting it from the command line in standalone mode?

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Shouvik Saha

unread,
Mar 26, 2018, 9:22:28 AM3/26/18
to Hazelcast
Hi Emre,

I am using JDK 8 but in my system JDK 9 is also installed. Will that be a problem? 
Also I am running management center as standalone from command line.

Thanks
Shouvik 

Emre Aydın

unread,
Mar 26, 2018, 9:24:13 AM3/26/18
to haze...@googlegroups.com
It's not a problem if you're certain that Management Center is using JDK 8.

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Shouvik Saha

unread,
Mar 26, 2018, 9:25:29 AM3/26/18
to Hazelcast
Hi Emre,

Is there any way for me to check that?

Thanks
Shouvik 

Emre Aydın

unread,
Mar 26, 2018, 9:27:29 AM3/26/18
to haze...@googlegroups.com
You can run "java -version" in the console you're starting Management Center, before starting it.

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Shouvik Saha

unread,
Mar 26, 2018, 9:30:05 AM3/26/18
to Hazelcast
Hi Emre,

So it turns out java -version in command line gives me 9.0.1.
I will uninstall Java 9 and recheck. Can you confirm this only happens with 9?

Thanks
Shouvik

Emre Aydın

unread,
Mar 26, 2018, 9:33:04 AM3/26/18
to haze...@googlegroups.com
Hi,

Yes, to the best of my knowledge, it happens only with Java 9. I don't think you need to uninstall it, just make sure JDK 8 is used for Management Center.

Regards,

Emre


--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Shouvik Saha

unread,
Mar 26, 2018, 9:36:36 AM3/26/18
to Hazelcast
Hi Emre,

Thanks for the quick responses. You just solved a problem which I was trying to solve all day.

Thanks
Shouvik 

Emre Aydın

unread,
Mar 26, 2018, 9:49:16 AM3/26/18
to haze...@googlegroups.com
Hi Shouvik, 

Glad that I could help.

Regards,

Emre

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Jinnie Yang

unread,
Apr 26, 2018, 9:07:56 PM4/26/18
to Hazelcast
Where can I download 3.10 beta version of management center? And when is the 3.10 release going to come out? Thanks!


On Monday, March 26, 2018 at 9:14:49 AM UTC-4, Emre Aydın wrote:
Hi Shouvik,

I wasn't able to reproduce the error with JDK 8. This is an error I have observed under JDK 9 previously and fixed for the upcoming Management Center 3.10. We will release beta version of it in a few days. It will be compatible with Hazelcat 3.9.x versions as well as 3.10.x. In the meanwhile, I will try to reproduce it under Linux as well (couldn't reproduce in Mac). Are you deploying Management Center to a servlet container/application server or are you starting it from the command line in standalone mode?

Regards,

Emre
On Mon, Mar 26, 2018 at 4:01 PM, Shouvik Saha <saha...@gmail.com> wrote:


Hi Emre,

One more thing I just noticed was for 3.9.3 the response code was 405 but for 3.9.2 the response code is 500.

Thanks,
Shouvik

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Emre Aydın

unread,
Apr 27, 2018, 3:18:02 AM4/27/18
to haze...@googlegroups.com
Hi Jinnie,

We didn't have a 3.10-BETA release for Hazelcast Management Center. We'll release Management Center 3.10 on April 30th. In the worst case, it might be 2-3 days later than that, but that's it.

Regards,

Emre Aydın

To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Jinnie Yang

unread,
May 2, 2018, 10:19:23 AM5/2/18
to haze...@googlegroups.com
Thanks Emre! I just checked the page and it management center 3.10 hasn't come out. Is it going to be available today or tomorrow?

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

Mesut Celik

unread,
May 7, 2018, 1:25:59 PM5/7/18
to haze...@googlegroups.com
Hi,

You can find Management Center 3.10 in this link.

To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.

To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

For more options, visit https://groups.google.com/d/optout.



--

Mesut Celik
Services & Integration Team Lead 
me...@hazelcast.com 
Reply all
Reply to author
Forward
0 new messages