docker jboss7 war commit. Server boot failed in an unrecoverable manner

后端 未结 3 1428
误落风尘
误落风尘 2021-02-19 23:39

Is there some way to deploy .war files into Jboss-as7 running inside a docker container

Because my jboss server seems to fail after a docker commit.

Coul         


        
3条回答
  •  感动是毒
    2021-02-19 23:53

    I came up with another workaround.

    1. Enter running docker container
      for example using this command
      docker exec -it jboss_1 bash
    2. Execute this while in container:

      cd /usr/local/share/jboss/standalone/configuration/standalone_xml_history/
      rm -rf current
      exit

    Various jboss versions might have different directories with standalone_xml_history. For example on Jboss 6.4.0 it is /opt/jboss/EAP-6.4.0/domain/configuration/domain_xml_history/

提交回复
热议问题