Re: Deploy a custom mailet in James 3.0.0-beta5

2015-01-12 Thread Markus Moldaschl
Did you put the jar with your custom matcher in the proper directory?? e.g. with 3.0.0-beta3 you have to put it in [JAMES_HOME]/conf/lib kr Markus Am 09.01.2015 um 15:10 schrieb Benoit Tellier btell...@linagora.com: Hi, I am trying to deploy a custom mailet and a custom matcher on my

Re: Deploy a custom mailet in James 3.0.0-beta5

2015-01-12 Thread Robert Munn
Benoit, Below is the method that generated the error. This code is in: org.apache.james.queue.jms.JMSMailQueue.deQueue(JMSMailQueue.java:171) Looking at this code, it seems that if message is null, it will always generate an error because the while(true){} loop will never exit otherwise. For

Re: Deploy a custom mailet in James 3.0.0-beta5

2015-01-12 Thread Kurt Harders
Hi Benoit, did you add your jar to the classpath in wrapper.conf like wrapper.java.classpath.128=/opt/james/conf/lib/localbounce.jar Regards, Kurt -- KHTronik - Kurt Harders Elektronik, Softwareentwicklung, Opensource-Beratung Leimbacher Str. 36 42281 Wuppertal T +49 202 2 50 11 64 F

Re: Deploy a custom mailet in James 3.0.0-beta5

2015-01-12 Thread Benoit Tellier
Yes, I have well placed my jar in the conf/lib directory of my working james directory. I tested it again today and I still get the exact same behaviour... Thanks for the reply, Benoit On 01/12/15 14:04, Markus Moldaschl wrote: Did you put the jar with your custom matcher in the proper

Deploy a custom mailet in James 3.0.0-beta5

2015-01-09 Thread Benoit Tellier
Hi, I am trying to deploy a custom mailet and a custom matcher on my running James server. When adding my mailet or my matcher in the mailetcontainer.xml file, I have a strange error ( repeted thousand of times ). I added the stacktrace as an attachement for readability. Here is how my code