Actually, there is useful information, but the Avalon Phoenix container doesn’t do a good job of making it obvious. You need to chase down to where the Exception was rethrown, so that you can find the “real” one.
In your case:
org.apache.avalon.framework.configuration.ConfigurationException: Unable to form canonical representation of C:\Programming\system\james\apps\james\c:\Programming\system\james\mail\spoo l
is the root cause. All of the URLs in your config.xml are wrong, e.g.,
<!-- The inbox repository is the location for users inboxes --> <!-- Default setting: file based repository - enter path ( use "file:///" for absolute) --> <inboxRepository> <repository destinationURL="file://C:/Programming/system/james/inboxes" type="MAIL"/> </inboxRepository>
You have file:// followed by an absolute path. You SHOULD use EITHER
file://<relative-url> or file:///<absolute-url>. Actually it gets odder
than that, since you could have a host, but we’ll skip the full explanation
of the file URL.
So basically james/pheonix is saying "invalid path x" in 334 lines? Thanks for the help on solving this issue but I will not take your advice to start over with the config-file as I have a gut feeling that every time I will hit a snag I will be greeted with a 300 or so long error message without useful information.
If the error is that file://C:/Programming/system/james/inboxes is not a valid path, why does it take it 334 lines to say so? Why does it not give me a line number in the xml file where I can find this error? In short, why does it not help me to find the error, but instead throws stack trace upon stack trace at me until I just give up?
Actually this is interesting, since you could find the error in the config-file, why can't james?
Anders Hovmöller
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
