Himanshu Singh ha scritto:
> Hi,
>  
> We have been running a customized mailet under james-2.2.1-RC1 to
> process emails to a specific mailbox, and are now trying to set up the
> same under 2.3.1.
>  
> After installing the server and running it as a service, I have made
> required changes in james-fetchmail.xml and following changes in config.xml:
> [...]
> On starting the service, I am getting following error in the wrapper log:
>  
>     org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
> Component named "spoolmanager" failed to pass through the Starting
> stage. (Reason: java.lang.NoClassDefFoundError:            
> org/apache/mailet/GenericMatcher).

Have you recompiled your mailets?

> The service starts up fine if I remove the <mailet match=... node from
> config.xml
>  
> The running version (2.2.1-RC1) did not require us to repackage
> james.sar to include the custom created HrxMail.jar (that has
> LeaveApprovalMailet.class), or mailet_1_0.jar. After a bit of reading
> through the archives, I have tried repackaging james.sar to include the
> 2 extra jars. I can see them in the work directory after starting the
> service, but the error is still there.

You can place your jar in the apps/james/SAR-INF/lib folder, but you
don't have to build your mailets against mailet_1_0.jar, but instead use
the mailet.jar you find in the james 2.3.1 sar.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to