This is just the standard ctrl-c stack trace for James. Can you check the log files for a stack trace that includes a call to the getMailetContext().getServerNames() or something similar?
Serge Knystautas Loki Technologies - Unstoppable Websites http://www.lokitech.com/ ----- Original Message ----- From: "jason sackett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 4:07 PM Subject: getMailetContext().getServerNames() > If the call "getMailetContext().getServerNames()" appears in the init() of > my custom matcher JAMES 2.0a2nightly1 gets this far: > > +++++++++++++++++++++++++++++++ > > " > C:\mailserver\bin>run > > Phoenix 3.1a1-dev > > James 2.0a2 > " > > +++++++++++++++++++++++++++++++ > > and hangs. As I hit Ctrl-C, I get: > > +++++++++++++++++++++++++++++++ > > > " > JVM exiting abnormally. Shutting down Phoenix. > There was an uncaught exception: > --------------------------------------------------------- > --- Message --- > Can't find resource for bundle java.util.PropertyResourceBundle, key > embeddor.error.shutdown.failed > --- Stack Trace --- > java.util.MissingResourceException: Can't find resource for bundle > java.util.PropertyResourceBundle, key embeddor.error. > shutdown.failed > at java.util.ResourceBundle.getObject(ResourceBundle.java:382) > at java.util.ResourceBundle.getString(ResourceBundle.java:354) > at > org.apache.avalon.excalibur.i18n.Resources.getString(Resources.java:554) > at > org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.dispose(Defaul > tEmbeddor.java:192) > at > org.apache.avalon.phoenix.frontends.CLIMain.shutdown(CLIMain.java:153) > at > org.apache.avalon.phoenix.frontends.CLIMain.forceShutdown(CLIMain.java:141) > at > org.apache.avalon.phoenix.frontends.ShutdownHook.run(CLIMain.java:201) > --------------------------------------------------------- > The log file may contain further details of error. > Please check the configuration files and restart Phoenix. > If the problem persists, contact the Avalon project. See > http://jakarta.apache.org/avalon for more information. > Terminate batch job (Y/N)? y > > C:\mailserver\bin> > " > > +++++++++++++++++++++++++++++++ > > This call worked in the same mailet for JAMES1.2.1. I have reduced the test > to a completely empty matcher except for this call in/out. > With the call commented out, I get the normal startup: > > +++++++++++++++++++++++++++++++ > > " > Started POP3 Server plain:110 > Started SMTP Server plain:25 > Started NNTP Server plain:119 > " > > +++++++++++++++++++++++++++++++ > > Thanks for any help, > Jason -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
