[JBoss] Deploy multiple war

Discussão em 'StackOverflow' iniciado por Stack, Outubro 13, 2024.

  1. Stack

    Stack Membro Participativo

    Which best way to deploy multiple (war) into WildFly Server/JBoss 7?

    The war content are equals, difference is the access to URL and database.

    War 1: http://localhost:8080/war1
    War 2: http://localhost:9080/war2
    War 3: http://localhost:10080/war3
    War 4: http://localhost:11080/war4


    Actually I do:

    standalone.bat
    -Djboss.server.base.dir=%STANDALONE_INSTANCE%
    -Dorg.jboss.boot.log.file=%STANDALONE_INSTANCE%\log\boot.log
    -Dlogging.configuration=%STANDALONE_INSTANCE%\configuration\logging.properties
    -Djboss.socket.binding.port-offset=1000


    This way, I have that duplicate the standalone folder with another name, however there is a better solution?

    Continue reading...

Compartilhe esta Página