Jboss step by step set hot deploy

后端 未结 8 1824
南旧
南旧 2021-02-03 13:45

Hello i would like ask how it is possible configure jboss server for something like live, hot deploment:

  • every time when i change some code of my jsp,html,js or cs
相关标签:
8条回答
  • 2021-02-03 14:17
    1. Edit Standalone.xml,change development to "true"
      <configuration> <jsp-configuration development="true"/> </configuration>

    2. Start JBoss.

    3. Go to ServerLocation-> standalone\tmp\vfs
    4. Sort by "Date Modified" descending
    5. Open the first folder(something like deployment*******)
    6. There will be your complete exploded war.
    7. Go to the jsps,js,css location,edit & save the changes.
    8. changes will be displayed live.
    0 讨论(0)
  • 2021-02-03 14:18

    You can change to JBoss see the deployments folder each ten seconds

    <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
        <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" 
    scan-interval="10000"/>
    </subsystem>
    
    0 讨论(0)
提交回复
热议问题