This sounds like a question for [EMAIL PROTECTED] I don't see
anything in your stack trace that suggests that James is involved in any
way.
--- Noel
-----Original Message-----
From: Josip Almasi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:58
To: [EMAIL PROTECTED]
Subject: Startup trouble
Hi,
I used to load James using my ClassLoader, and run it in the same jvm
with a few more apps. My startup code is mostly taken from
org.apache.avalon.phoenix.launcher.Main.
Startup method in 2.1 changed slightly with new Phoenix (CLIMain
parameters), and it was easy to deal with.
But, I have troubles with locale:
Caused by: java.util.MissingResourceException: Can't find bundle for
base name org.apache.avalon.phoenix.frontends.Resources, locale hr_HR
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
04)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:694)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
at org.apache.avalon.excalibur.i18n.Resources.getBundle(Resources.java:782)
at org.apache.avalon.excalibur.i18n.Resources.getString(Resources.java:582)
at
org.apache.avalon.phoenix.frontends.CLIMain.handleException(CLIMain.java:311
)
at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:106)
... 7 more
Here's line 311 from CLIMain:
System.out.println( REZ.getString( "main.exception.header" ) );
Ugly... error handler produces an error, so I don't even know what was
wrong!
My classloader extends URLClassLoader too, and does nothing with
resources-related methods, just the same as Phoenix classloader.
And, James runs well when started from prompt.
So, I assume I missed some important part of startup procedure.
Any hints?
Regards,
Josip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]