tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39603] New: - admin application does not display contexts under host when in a Tomcat cluster
Date Wed, 17 May 2006 19:24:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39603

           Summary: admin application does not display contexts under host
                    when in a Tomcat cluster
           Product: Tomcat 5
           Version: 5.0.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: timlucia@yahoo.com


If I deploy a war file manually across multiple clustered servers, and then look
at the admin application, I see:

+ Tomcat Server
  + Service (Catalina)
    + Host (localhost)
      + Context (/mywebapp)
      + Context (/manager)
      + Context (/admin)
.
.
.



However, if I deploy using the farm deployer, I do not see any applications
under the Host node (except for the default / in a brand-new tomcat install. ) 

This is on RHEL V.4, Tomcat 5.5.12, in a three-way cluster.  Same
environment (QA) without farm deployment shows the app just fine.  It also
reproduces on 5.5.17 on RHEL, and on Windows XP.


Occasionally, the following exception appears in catalina.out:
javax.management.AttributeNotFoundException:  Cannot find attribute className
        at
org.apache.commons.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:306)
        at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.getAttribute(DynamicMetaDataImpl.java:96)
        at com.sun.jmx.mbeanserver.MetaDataImpl.getAttribute(MetaDataImpl.java:181)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:638)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
        at org.apache.webapp.admin.Lists.getValves(Lists.java:401)
        at org.apache.webapp.admin.Lists.getValves(Lists.java:452)
        at
org.apache.webapp.admin.TomcatTreeBuilder.getValves(TomcatTreeBuilder.java:462)
        at
org.apache.webapp.admin.TomcatTreeBuilder.getContexts(TomcatTreeBuilder.java:310)
        at
org.apache.webapp.admin.TomcatTreeBuilder.getHosts(TomcatTreeBuilder.java:263)
        at
org.apache.webapp.admin.TomcatTreeBuilder.getServices(TomcatTreeBuilder.java:185)
        at
org.apache.webapp.admin.TomcatTreeBuilder.getServers(TomcatTreeBuilder.java:144)
        at
org.apache.webapp.admin.TomcatTreeBuilder.buildTree(TomcatTreeBuilder.java:101)
        at org.apache.webapp.admin.SetUpTreeAction.execute(SetUpTreeAction.java:125)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:247)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)





Reference:

http://mail-archives.apache.org/mod_mbox/tomcat-users/200604.mbox/%3C00b501c6599b$cc8db600$3a0119ac@tim%3E
http://mail-archives.apache.org/mod_mbox/tomcat-users/200605.mbox/%3c00e101c673a3$b0899d30$3c0119ac@timlap%3e

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message