1 Reply Latest reply on Apr 5, 2012 1:35 PM by Tomaz Cerar

    Is it possible to delete the deployment timeout

    Noa Drach Novice

      Hi,

       

      I am trying to migrate code that works in jboss 4.2.3 to jboss 7.1 and i encountered the JBAS015052 message of deployment timeout and i want to know if it is possible to delete this limitation for a specific deployment and if not than for the whole server?

       

      basically what my code is:

      a sar that it's name starts in 1 so it will be deployed first

      the sar attempts to connect to the DB and runs on an endless loop until it manages to do so, after it connects to the DB it runs in another endless loop until a certain value is inserted to the DB.

       

      basically i don't implement it inside my app since it's a logic that is shared by several apps

       

      thanks,

      Noa

        • 1. Re: Is it possible to delete the deployment timeout
          Tomaz Cerar Master

          Hi,

           

          it is not possible to remove the timeout, but you can change it.

           

          open your standalone.xml (or whatever config you are using) and look for deployment-scanner subsystem and modify to add  deployment-timeout

           

          for instance:

          <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" deployment-timeout="900"/>

          will set timeout to 900 seconds

           

          --

          tomaz