My james does not start. There is a lot of dependencies in my custom mailets 
and matchers. I am trying to figure out where is the problem, but the stack 
trace from Spring is not helpful. How can I capture stderr and stdout streams 
to find out errors during start-up? Any other suggestions?  I am getting:

NYCV12EMAIL02:/opt/mailer/bin # ./run.sh
/usr/bin/java
Exception in thread "main" 
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
exception parsing XML document from class path resource 
[context/james-server-context.xml]; nested exception is 
java.lang.NullPointerException...

Spring is trying to instantiate object of some class and I would like to find 
out what is the class. Nowhere in the stack trace there is any indication. I 
would really appreciate any suggestions on how to find out what causes the 
errors...
Thanks,
-Paul

This email was sent to you by Thomson Reuters, the global news and information 
company. Any views expressed in this message are those of the individual 
sender, except where the sender specifically states them to be the views of 
Thomson Reuters.

Reply via email to