tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: i18n Question Tomcat 5.5 cvs head
Date Mon, 04 Oct 2004 21:36:21 GMT
Peter Rossbach wrote:

> Hey,
>
> I have problems to load application with de_DE locale.
>
> ===  Stacktrace ===
>
> 04.10.2004 22:52:04 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-7380
> 04.10.2004 22:52:04 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2584 ms
> 04.10.2004 22:52:05 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 04.10.2004 22:52:05 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.0-dev
> 04.10.2004 22:52:05 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 04.10.2004 22:52:05 org.apache.catalina.startup.HostConfig 
> deployDescriptor
> SCHWERWIEGEND: Error deploying configuration descriptor admin.xml
> java.util.MissingResourceException: Can't find bundle for base name 
> org.apache.n
> aming.resources.LocalStrings, locale de_DE
>        at 
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> .java:804)
>        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
>        at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
>        at org.apache.naming.StringManager.<init>(StringManager.java:67)
>        at 
> org.apache.naming.StringManager.getManager(StringManager.java:212)
>        at 
> org.apache.naming.resources.BaseDirContext.<init>(BaseDirContext.java
> :85)
>        at 
> org.apache.naming.resources.FileDirContext.<init>(FileDirContext.java
> :71)
>        at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3
> 889)
>        at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:755)
>        at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
>        at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>
>        at 
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
> va:590)
>        at 
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
> ava:535)
>        at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470
> )
>        at 
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
>        at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :310)
>        at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:119)
>        at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
>
>        at 
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>        at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
>
>        at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437
> )
>        at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 50)
>        at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:200
> 9)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:538)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> 04.10.2004 22:52:05 org.apache.catalina.startup.HostConfig 
> deployDescriptor
> SCHWERWIEGEND: Error deploying configuration descriptor manager.xml
> java.util.MissingResourceException: Can't find bundle for base name 
> org.apache.n
> aming.resources.LocalStrings, locale de_DE
>        at 
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> .java:804)
>        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:694)
>
> ===
> After add "-Duser.language=en" to my CATALINA_OPTS all is working.
> Problem are the default LocaleStrings.properties from nameng resources 
> ( naming-resources.jar) is at server loader and the web app load with 
> webapp/common classloader.

Delegation is causing problems on the StringManager class. So 
naming-resources is back in common/lib for now.

Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message