I copied a custom mailet (myMailet.jar) to james-2.3.2/apps/james/SAR-INF/lib. When I restarted, I got the following errors.
I also tried to unzip the original james.sar and put myMailet.jar to unziped dir's SAR-INF/lib. zipped and made a new james.sar and put it into james-2.3.2/apps. But the result was same. I found this email thread http://www.mail-archive.com/server-user@james.apache.org/msg10881.html which looks similar to my problem but his way did not work either. Any thought? error ----------------- org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "spoolmanager" failed to pass through the Starting stage. (Reason: java.lang.NoClassDefFoundError: GenericMailet). at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354) at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226) at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530) at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478) at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409) at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180) at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)