Hi,

I've just developed a simple mailet stub which just does System.out.println() for now. 
 I can't get it to work, because James doesn't seem to be able to find my 
implementation class.

I've built a jar of my class, copied it into the source distribution, rebuild the sar, 
copied the sar to a directory containing the non source distribution of james, and 
then changed the configuration file config.xml to have my package name as 
mailetpackage and added the mailet into the transport bit with the following XML:

<mailet match="All" class="XmlMailProcessorMailet"/>

What have I missed?  Do I need to do anything else?  The error is 

C:\james-2.1\bin>run
Using PHOENIX_HOME:   C:\james-2.1
Using PHOENIX_TMPDIR: C:\james-2.1\temp
Using JAVA_HOME:      c:\jdk1.3.1

Phoenix 4.0.1

James 2.1
Unable to init mailet XmlMailProcessorMailet
Check spool manager logs for more details.
org.apache.mailet.MailetException: Could not load mailet (XmlMailProcessorMailet);
  nested exception is:
        java.lang.NullPointerException
        at org.apache.james.transport.MailetLoader.getMailet(MailetLoader.java
:100)
        at org.apache.james.transport.JamesSpoolManager.initialize(JamesSpoolM
anager.java:213)
        at 

Platform is Windows NT.

thanks,

Tim.



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

Reply via email to