tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Paeth" <tomcat_users_maill...@fortdearborn.com>
Subject Custom Realm looking for LocalStrings in wrong package
Date Tue, 18 Dec 2001 16:36:49 GMT
I'm continuing my attempt to get my 3.2.1 app to run on 3.3.  While I'm
making progress, I'm now stuck with the error at the end of this post.
 I believe the error happens when it tries to load my custom realm.  I'm
assuming that it is looking for the LocalStrings.properties or an
associated file in the org.apache.tomcat.resources package, but as the
error shows, it is looking in the org.apache.tomcat.request package which
no longer exists in 3.3. None of the custom realm classes reference the
LocalStrings file directly.  Any ideas on how to get this fixed is
appreciated.

Thanks in advance (again),
Adam Paeth

---- Errror Message from console ----

2001-12-18 10:12:53 - ContextXmlReader: Context
config=$TOMCAT_HOME/conf/apps-myapp.xml
EmbededTomcat: exception initializing ContextManager
java.lang.ExceptionInInitializerError:
java.util.MissingResourceException: Can't find resource for base name
org.apache.tomcat.request.LocalStrings, locale en_US
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at
java.util.MissingResourceException.<init>(MissingResourceException.java:54)
        at java.util.ResourceBundle.getBundle(Compiled Code)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:353)
        at
org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:120)
        at
org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:111)
        at
org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:289)
        at <Unloaded Method>
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance0(Compiled Code)
        at java.lang.Class.newInstance(Compiled Code)
        at org.apache.tomcat.util.xml.ObjectCreate.start(Compiled Code)
        at org.apache.tomcat.util.xml.XmlMapper.matchStart(Compiled Code)
        at org.apache.tomcat.util.xml.XmlMapper.startElement(Compiled Code)
        at org.xml.sax.helpers.XMLReaderAdapter.startElement(Compiled Code)
        at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
        at org.apache.crimson.parser.Parser2.content(Compiled Code)
        at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
        at org.apache.crimson.parser.Parser2.content(Compiled Code)
        at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
        at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:310)
        at
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlRea
der.java:172)
        at
org.apache.tomcat.modules.config.ContextXmlReader.engineInit(Compiled Code)
        at org.apache.tomcat.core.ContextManager.init(Compiled Code)
        at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled Code)
        at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:564)
        at
org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:548)
        at
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.
java:183)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:10
1)
        at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:546)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87
)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message