Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1496

Setting the MainDeployer CopyFiles to false still shows rars being copied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • No Release
    • JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1
    • None

      Edit the conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml descriptor and set the CopyFiles value to false:

      [code]
      <attribute access='read-write' setMethod='setCopyFiles' getMethod='getCopyFiles'>
      <description></description>
      <name>CopyFiles</name>
      <type>boolean</type>
      <descriptors>
      <value value="false"/>
      </descriptors>
      </attribute>
      [/code]

      After this, there will still be some rars that are getting copied when they should not, but its a fraction of what was copied before:

      [starksm@banshee9100 tmp]$ ls -R
      .:
      aopdynclasses/ deploy/

      ./aopdynclasses:

      ./deploy:
      deploy/

      ./deploy/deploy:
      jboss-local-jdbc.rar-contents/ jms/
      jboss-xa-jdbc.rar-contents/ mail-ra.rar-contents/

      ./deploy/deploy/jboss-local-jdbc.rar-contents:
      jboss-local-jdbc.jar*

      ./deploy/deploy/jboss-xa-jdbc.rar-contents:
      jboss-xa-jdbc.jar*

      ./deploy/deploy/jms:
      jms-ra.rar-contents/

      ./deploy/deploy/jms/jms-ra.rar-contents:
      jms-ra.jar*

      ./deploy/deploy/mail-ra.rar-contents:
      mail-ra.jar*

              Unassigned Unassigned
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: