JBoss Community

Re: Hot Deployment Please help

created by vickyb b in JBoss Tools - View the full discussion

some parts am using ejb 2.0o too  ejb3.0 and ejb2.0 dont exists in the same package where ever am using ejb2.0 can i just create jar file and deploy in the exploded earfile and i heared that we have to configure in jboss-service.xml  for hot deployment in last mbean

<mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
    
      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>

 

    
      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>

 

    
      <attribute name="FilterInstance"
         attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
         serialDataType="javaBean">
         <!-- Files starting with theses strings are ignored -->
         <property name="prefixes">#,%,\,,.,_$</property>
         <!-- Files ending with theses strings are ignored -->
         <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
         <!-- Files matching with theses strings are ignored -->
         <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
      </attribute>

 

     
      <attribute name="ScanPeriod">60000</attribute>

 

      <!-- A flag to disable the scans -->
      <attribute name="ScanEnabled">true</attribute>

 

   
      <attribute name="URLs">
         deploy/
      </attribute>

 

     
      <attribute name="RecursiveSearch">True</attribute>

 

   </mbean>

 

as i said am not using default/deploy directory

 

am using node***

what are the changes i need to make please help

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community