"itchytoes" wrote : Hi -- I created a farm-service.xml and copied in the 
following from the JBOSS 4.0 docs:
  | However, the service will not start because I keep getting an error about 
"FlterInstance" attribute not configured.
  | 
  | any suggestions?
  | Thanks           
  | 
I had the same problem, and I figured it out: there are some attributes missing 
in the documentation, also the farming service depends on the cluster service. 
not that any log tells you about that, it's just a nullpointer exception ;)

anyway, i figured it out. a minimal farm-service.xml would look like this:

<?xml version="1.0" encoding="UTF-8"?>    
  | <server>               
  |     <mbean code="org.jboss.ha.framework.server.FarmMemberService"     
  |             name="jboss:service=FarmMember,PartitionName=DefaultPartition">
  |             
<depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>       
        
  |         <attribute name="PartitionName">DefaultPartition</attribute>      
  |         <attribute name="ScanPeriod">5000</attribute>      
  |         <attribute name="URLs">farm/</attribute>
  |             <attribute name="FilterInstance"
  |          attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
  |          serialDataType="javaBean">
  |          <property name="prefixes">#,%,\,,.,_$</property>
  |          <property 
name="suffixes">#,$,%,.BAK,.old,.orig,.rej,.bak,.sh,\,v,~</property>
  |          <property 
name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
  |       </attribute>
  |       <attribute 
name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
  |       <attribute 
name="Deployer">jboss.system:service=MainDeployer</attribute>              
  |     </mbean>       
  | </server>
hope that helps.

Regards,
Martin

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918707#3918707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918707


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to