tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AD Marshall <admarsh...@gmail.com>
Subject No admin page; ServletException: can't find org.apache.struts.action.MESSAGE
Date Wed, 10 Aug 2005 03:59:36 GMT
Can anyone suggest a fix?  Thanks for any help. - Andi

After starting tomcat5, this url gives a blank browser page: 
  http://localhost:8080/admin/ 

Everything else seems OK, esp. Server Status and Manager pages.
Exceptions are reported in catalina.out, as follows.

(Note - checked already: 
+ grepped documentation, etc, that came with tomcat5; produced no results, ie:
root@[~]# grep -r 'xception.*jakarta.apache.org' /srv/www/tomcat5/base/webapps/*
+ Searching the lists, web for as much hasn't yet revealed a relevant fix.)

The following error(s) in /var/log/tomcat5/base/catalina.out (larger,
contextual extract further below):

<cut>
Aug 7, 2005 10:37:44 AM
org.apache.catalina.authenticator.FormAuthenticator authenticate
WARNING: Unexpected error forwarding to login page
javax.servlet.ServletException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
<cut>

That error is immediately preceded by this one, during the start-up of
the session the above occurred in:
<cut>
Aug 7, 2005 10:11:23 AM org.apache.struts.validator.ValidatorPlugIn
initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Aug 7, 2005 10:12:44 AM org.apache.struts.validator.ValidatorPlugIn init
SEVERE: jakarta.apache.org
java.net.UnknownHostException: jakarta.apache.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
<cut>


[Context of Exceptions, above, from /var/log/tomcat5/base/catalina.out:]
<cut>
Aug 7, 2005 10:11:23 AM org.apache.struts.validator.ValidatorPlugIn
initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Aug 7, 2005 10:12:44 AM org.apache.struts.validator.ValidatorPlugIn init
SEVERE: jakarta.apache.org
java.net.UnknownHostException: jakarta.apache.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
        at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
        at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
        at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
        at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208)
        at org.apache.commons.digester.Rule.end(Rule.java:228)
        at org.apache.commons.digester.Digester.endElement(Digester.java:1067)
        at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Aug 7, 2005 10:12:44 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:/etc/tomcat5/base/Catalina/localhost/balancer.xml
Aug 7, 2005 10:12:45 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL
file:/srv/www/tomcat5/base/webapps/ROOT
Aug 7, 2005 10:12:46 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples
from URL file:/srv/www/tomcat5/base/webapps/servlets-ex
amples
Aug 7, 2005 10:12:50 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /FortuneServer from
URL file:/srv/www/tomcat5/base/webapps/FortuneServer
Aug 7, 2005 10:12:50 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /FortuneQuery from
URL file:/srv/www/tomcat5/base/webapps/FortuneQuery
Aug 7, 2005 10:12:51 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from
URL file:/srv/www/tomcat5/base/webapps/jsp-examples
Aug 7, 2005 10:12:55 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL
file:/srv/www/tomcat5/base/webapps/tomcat-docs
Aug 7, 2005 10:12:55 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL
file:/srv/www/tomcat5/base/webapps/webdav
Aug 7, 2005 10:12:57 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 7, 2005 10:13:00 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Aug 7, 2005 10:13:02 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=243/2831 
config=/usr/share/tomcat5/conf/jk2.properties
Aug 7, 2005 10:13:04 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 219629 ms
Aug 7, 2005 10:37:44 AM
org.apache.catalina.authenticator.FormAuthenticator authenticate
WARNING: Unexpected error forwarding to login page
javax.servlet.ServletException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
        at admin.login_jsp._jspService(login_jsp.java:115)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
        at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:220)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)
<end>

-- 
AD (Andi) Marshall
Cell: +84 (0)903871313
eM: admarshall@gmail.com
Zone: ICT (IndoChina Time, GMT/UTC+7)
Post: HoChiMinh City (ex/or SaiGon), VietNam

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


Mime
View raw message