Code Monkey home page Code Monkey logo

Comments (7)

mbiarnes avatar mbiarnes commented on August 16, 2024

Hi hohuyphuong,

I would say the load balancing in a docker environment is a docker issue. Look here:
https://www.nginx.com/blog/docker-swarm-load-balancing-nginx-plus/
https://avinetworks.com/glossary/container-load-balancing/

Personally I don't have experience with this.

from business-central.

hohuyphuong avatar hohuyphuong commented on August 16, 2024

Hello Michael,

Thanks for your response, skipping the load balancing issue.

In your example, jbpm-server-full is a WildFly instance and run as a "standalone server".
It is perfectly possible to launch multiple standalone server instances and have them form an HA cluster.
Can you update Dockerfile for the case start multiple standalone server with full-ha profile. ?
Example: $ ./standalone.sh -c standalone-full-ha.xml
I read the information about WildFly HA from: http://www.mastertheboss.com/jbossas/jboss-cluster/managing-high-availability-with-wildfly/
WildFly-HA

from business-central.

mbiarnes avatar mbiarnes commented on August 16, 2024

#76

from business-central.

hohuyphuong avatar hohuyphuong commented on August 16, 2024

Hello @mbiarnes

I checkout latest code and start jbpm-server-full without any errors, but I cannot login with users and role default (wbadmin/wbadmin). Did I miss something?
Please have a look:
log-start-jbpm

login-failed

from business-central.

mbiarnes avatar mbiarnes commented on August 16, 2024

krisv/krisv

from business-central.

hohuyphuong avatar hohuyphuong commented on August 16, 2024

Hello @mbiarnes
Start jbpm-server-full container with standalone-full-ha.xml
I tried list users: wbadmin, krisv, john,sales-rep,katy, jack but the result is FAILED login.
lis-users-example

I try custom Dockerfile, start without standalone-full-ha.xml, and login again with the list users, the results is SUCCESS.

exec ./standalone.sh -b $JBOSS_BIND_ADDRESS $EXTRA_OPTS -Dorg.kie.server.location=$KIE_SERVER_LOCATION -Dorg.kie.server.id=$KIE_SERVER_ID -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true

I guess the problem when switch mode from ./standalone.sh to ./standalone.sh -c standalone-full-ha.xml
What do you think?

Thanks,

from business-central.

mbiarnes avatar mbiarnes commented on August 16, 2024

could be.
Please look at the doc of the docker images. I think you should add something to the standalone-full-ha.xml.
Compare this one and the standalone-full.xml.

from business-central.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.