Hi,

although the conf/lib directory is part of the classpath the jar files contained in that directory are not. You must add a line in conf/wrapper.conf to add your jar to the classpath:

wrapper.java.classpath.120=/opt/apache-james-3.0-beta4/conf/lib/your-empty-mailet.jar

Regards, Kurt

Am 13.03.2014 10:38, schrieb Özgür EROĞLU:
Hi,

I am using James 3 beta.4 and trying to create a custom mailet which does nothing (nothing in service method). After creating a jar I copied it to jamesPath/conf/lib. Also added mailet definition into the root processor before any toProcessor calls. Now, when I restart james, should not I see an INFO log from james.mailprocessor which is indicating that this custom mailet has been initialized? If not, how can I understand that my mailet has been initialized?

Thanks,
Ozgur Eroglu

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


--
KHTronik - Kurt Harders
Elektronik, Softwareentwicklung, Opensource-Beratung
Leimbacher Str. 36
42281 Wuppertal

T +49 202  2 50 11 64
F +49 202  2 50 11 65
M +49 171  8 36 82 33


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to