At the office I am running the production 2.1.3 release.   I have written a couple simple matchers.  The description of deployment is a little confusing to me, but I was able to deploy them by putting them in a zip file (digimatcher.zip) and and putting that in the ..James-2.1.3\lib directory
 
The changes to my config are:
         <matcherpackage>digimatcher</matcherpackage>
 
 
         <mailet match="[EMAIL PROTECTED]" class="ToProcessor">
            <processor>myblackhole</processor>
         </mailet>
All that works fine. 
 
 
At home I'm running RC4.  I copied the above into my current config and put the zip into the home\lib directory.  I'm getting an exception that it can not load the matcher:
 
java.lang.NoClassDefFoundError: org/apache/mailet/GenericMatcher).).
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "spoolmanager" failed to pass
 
Has deployment changed in 2.2?  Any ideas what I'm doing wrong?  If I comment out the matcher (but leave the <mailetpackages> entry) the config works fine. 
 
 

        Bill Page
        [EMAIL PROTECTED]

 

Reply via email to