Generator-jhipster: Update Hazelcast management-center to 4.0.x

Created on 5 Feb 2020  路  8Comments  路  Source: jhipster/generator-jhipster

Most helpful comment

I have a working prototype with Hazelcast v4.x, however, that requires spring-boot v2.3 (specifically on the actuator side). Tomorrow, I will make PR on the spring boot 2.3 migration branch.

All 8 comments

Similar to https://github.com/jhipster/generator-jhipster/pull/11179, the context-path changed again to be at / instead of /hazelcast-mancenter (Docker image docs)

@DanielFran @ruddell : do you know how to fix this ?

  • simply upgrade to the image to 4.0
  • and modify the context-path ?

It does not work out-of-the-box with just those changes, I'm guessing it also needs an update of Hazelcast to v4.x?

2020-03-05 10:55:34.684  INFO 60731 --- [  restartedMain] c.h.i.m.ManagementCenterService          : [127.0.0.1]:5702 [dev] [3.12.6] Hazelcast will connect to Hazelcast Management Center on address: 
http://localhost:8180
2020-03-05 10:55:34.699  INFO 60731 --- [  restartedMain] com.hazelcast.core.LifecycleService      : [127.0.0.1]:5702 [dev] [3.12.6] [127.0.0.1]:5702 is STARTED
2020-03-05 10:55:34.738  INFO 60731 --- [.MC.Task.Poller] c.h.i.m.ManagementCenterService          : [127.0.0.1]:5702 [dev] [3.12.6] Failed to pull tasks from Management Center

I just tried to do it, and it's not as simple as the Hazelcast API has changed.
I'm putting a bug bounty here as this is our main caching option for scalable apps.

I have some contacts with the Hazelcast team, and in fact Spring Boot doesn't support Hazelcast 4 at the moment, see https://github.com/spring-projects/spring-boot/issues/20856

As we define Hazelcast as a Spring Bean ourselves, we might be able to go around that issue.

I have a working prototype with Hazelcast v4.x, however, that requires spring-boot v2.3 (specifically on the actuator side). Tomorrow, I will make PR on the spring boot 2.3 migration branch.

I think we can close the issue as the spring boot v2.3 branch changes (including hazelcast upgrade) have merged into master.

thanks @vishal423

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pascalgrimaud picture pascalgrimaud  路  4Comments

shivroy121 picture shivroy121  路  3Comments

marcelinobadin picture marcelinobadin  路  3Comments

pascalgrimaud picture pascalgrimaud  路  3Comments

RizziCR picture RizziCR  路  3Comments