1 2 Previous Next 17 Replies Latest reply on Sep 3, 2010 5:48 AM by raghav Sangam

    Jboss 5.1: Unable to enable hot deployment with custom deploy directory

    raghav Sangam Newbie



      We have just started support jboss 5.1 appliaction platform for our application.  Since application is huge, instead of copying the application ear into deploy folder of jboss server, we are using custom deploy folder. <our-deploy-folder> And this has been configured in <jboss-home>/server/our-server/conf/bootstrap/profile.xml and <jboss-home>/server/our-server/conf/bootstrap/vfs.xml as suggested in (Jboss AS plaform :Getting Started Guide 5.0).


      Hot deployment is enabled, as "hdscanner-jboss-beans.xml" is present in <jboss-home>/server/our-server/deploy folder (and has been deployed). Jboss has been restarted and our application gets deployed (from <our-deploy-folder>). However, Hot deployment doesn't seem to be working. I tried to modify a JSP (,say) in a <our-deploy-folder/app.ear/app.war/jsp/test.jsp>. Tried to add some other wars etc to this dir, still no luck



      Just for Ref:

      entry in profile.xml


      <bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.repository.StaticProfileFactory">
            <property name="bindingsURI">${jboss.server.home.url}conf/bindingservice.beans</property>
            <property name="bootstrapURI">${jboss.server.home.url}conf/jboss-service.xml</property>
              <property name="deployersURI">${jboss.server.home.url}deployers</property>
              <property name="applicationURIs">
                  <list elementClass="java.net.URI">
              <property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
              <property name="profileFactory"><inject bean="ProfileFactory" /></property>


      entry in vfs.xml


                <value><inject bean="VfsNamesExceptionHandler"/></value>


      Awaiting a kind help from someone who has got similar stuff working!




        1 2 Previous Next