This content has been marked as final.
Show 1 reply
-
1. Re: Farm deployment -- having trouble getting it going
wzzzrd Jan 20, 2006 11:55 AM (in response to itchytoes)"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