Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4

WARs are not being removed after broker stops, polluting broker tmp directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • A-MQ 7.0.0.ER17
    • A-MQ 7.0.0.ER16
    • None
    • None
    • Hide

      Repeatedly start & stop broker, but via artemis-service restart command.
      artemis-service start/stop routines work correctly and always clean up these archives.

      Show
      Repeatedly start & stop broker, but via artemis-service restart command. artemis-service start/stop routines work correctly and always clean up these archives.

      Broker instance "tmp" directory gets pretty big after some usage, due to web application archives are not being removed, just created always anew.
      Here is an output from my broker instance tmp directory:

      $ ls /opt/jboss-amq-7-i0/tmp/
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1023543164430819071.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1047976961625941067.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1158818976870745824.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1236169559103220543.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1312712779024764782.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-1578514679667556630.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-2171898448742584232.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-2661653823283572236.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-4073851908001195838.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-4828150812594442903.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-5096584944757789479.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-5632622171726463009.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-5710988341227071028.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-5924901920261668312.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-6269981383863800201.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-6458253211639032796.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-6725724487570182038.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-6966228356543437402.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-8146659867176695022.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-8264657451228576119.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-8429494030571712551.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-8545509224154442197.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-890184860643348001.dir
      jetty-localhost-8161-artemis-plugin.war-_artemis-plugin-any-9090052056154267193.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-1540407737158211482.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-1564672786542972900.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-2669189462361165858.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-2921068882719347106.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-3193352929009469243.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-3785479141984332924.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-3884914419901002537.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-4330200287173110213.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-5301867856386099051.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-5341089321323996812.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-6112409862432057176.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-6185861683665712280.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-650751839948816432.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-6581980044486405325.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-6741290143132010062.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-697632389709966885.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-7029276523808448243.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-7208271201936279046.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-7672756948306406116.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-817126097212563720.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-8270241262769512534.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-8417057274047996563.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-8491522642420896415.dir
      jetty-localhost-8161-dispatch-hawtio-console.war-_dispatch-hawtio-console-any-945307683191248648.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-1036873049983693137.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-1434573725351602297.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-199518373833777534.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2103145633426020006.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2234904132450779541.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2423919780089635605.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2458481659975391200.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2476554224293351916.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2691308942678253218.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2702393112885358799.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2801142171460680723.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-2817759733591138128.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-3159546284589607611.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-3188027230833320717.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-3828253001135096617.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-4604915984224565531.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-4940783886875663203.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-5188562064470228888.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-5267250306073515863.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-7642664941212218824.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-7710170654269888192.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-808539903376111703.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-9064273778047220116.dir
      jetty-localhost-8161-hawtio-web.war-_hawtio-any-9116257839477175694.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-1014588984868568038.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-1268954524358131842.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-1297426269701164447.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-144675189859719974.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-1994012842497419569.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-20780189122603241.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-2103653445508442794.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-2159357237009184557.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-2476401438925938277.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-3690350062431651533.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-3790760745463274188.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-4423312450567531218.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-4513782563803133650.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-4578398849918989868.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-492445397176378447.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-4936096772702223474.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-5796080850628249152.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-6222353210905375132.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-6924252535287456551.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-7422047594898496631.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-7663700539771089797.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-7940538912874542286.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-799018898101961242.dir
      jetty-localhost-8161-jolokia-war-1.3.2.redhat-1.war-_jolokia-any-8615678287329776703.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-1539507565803219088.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-2100073645804798640.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-2243921704411349863.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-366361256928198077.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-4102154673553413656.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-4807803774965369106.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-5459556269863768928.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-5994222698645052836.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-5999604876663846008.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6220319496844916841.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6401091847014110976.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6517328197788704777.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6628025501751553379.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6746792795306745713.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6881067134455281074.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6985433083584310935.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-6998896921824339271.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-7058351353636467992.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-7146297518308253822.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-7322648350223379605.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-7584790747764125818.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-7776388712439299573.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-841545639296767331.dir
      jetty-localhost-8161-redhat-branding.war-_redhat-branding-any-900255200697025721.dir
      
      $ du -csh /opt/jboss-amq-7-i0/tmp/
      919M	/opt/jboss-amq-7-i0/tmp/
      919M	total
      

              gaohoward Howard Gao
              mtoth@redhat.com Michal Toth
              David Kornel David Kornel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: