I dropped the 6.0.18 version of Tomcat (from the SpringSource repository) into a Felix 1.4.1 install and I'm not able to start Catalina using either the Spring DM starter, or my own custom starter (which I wrote thinking I could get around the problem). This doesn't seem to be a Spring DM issue, though, as it runs fine in Equinox. It seems to be related to resource loading and locale settings in Felix.

I'm getting the following exception trying to start catalina:

java.util.MissingResourceException: Can't find bundle for base name org.apache.catalina.connector.LocalStrings, locale en_US at org .apache.tomcat.util.digester.Digester.createSAXException(Digester.java: 2808) at org .apache.tomcat.util.digester.Digester.createSAXException(Digester.java: 2834) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java: 1361) at com .sun .org .apache .xerces .internal .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)

I don't remember having this problem on 1.4.0. It seems to be hard- wiring a locale of "en_US" (which is technically correct) in the environment, which makes Catalina try to load "org.apache.catalina.connector.LocalStrings_en_US", which doesn't exist in the Catalina packages. The default language file included is English, so I don't need an explicit locale setting.

Is there a Felix setting I can use that "unsets" the locale?

I'm sure this is Felix-related as it works fine in Spring dm Server/ Equinox.

Thanks!

Jon Brisibn
http://jbrisbin.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to