Have you tried redirecting standard out and standard err? ./run.sh > std_out_capture.txt ./run.sh 2> std_err_capture.txt
http://stackoverflow.com/questions/2297536/how-do-i-capture-all-of-my-compilers-output-to-a-file 2012/4/25 <[email protected]>: > 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. -- Ioan Eugen Stan http://ieugen.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
