geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <vam...@hotmail.com>
Subject Problem retrieving Tomcat Web Connectors information through Geronimo Console
Date Wed, 19 Oct 2005 07:59:34 GMT
Can someone help me understand what is happening here.  Thanks in advance.  
Here is the secnario.

I have updated the ConnectorPortlet under Web Server information page in 
Geronimo Console to display the all connectors under all the web managers.  
I have two Jetty Connectors (one HTTP and one HTTPS) and two Tomcat 
Connectors (one HTTP and one HTTPS) running in Geronimo.  I got mixed 
results with loading the portlet in Console running under Jetty and Tomcat.

Console running under Jetty (configId: org/apache/geronimo/Console/Jetty):
Portlet lists all the connectors properly.  But the following warning 
messages appear in the log.  On debugging, I noticed that these messages are 
logged while proxies are created for TomcatWebContainer and 
TomcatWebConnectors.

12:56:42,516 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.tomcat.TomcatWebContainer in provided ClassLoader for 
TomcatWebContainer
12:56:42,556 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.tomcat.TomcatWebConnector in provided ClassLoader for 
TomcatWebConnector
12:56:42,586 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.tomcat.TomcatWebConnector in provided ClassLoader for 
TomcatWebSSLConnector


Console running under Tomcat(configId: org/apache/geronimo/Console/Tomcat):
Portlet does not list the Tomcat Connectors.  On debugging, I noticed that 
an ERROR occurs while creating a proxy for TomcatWebSSLConnector.  The 
ultimate cause seems to be "java.lang.NoClassDefFoundError: 
org/apache/geronimo/tomcat/TomcatWebConnector".  But then, this error does 
not occur with Tomcat HTTP connector.

Portlet does list the Jetty connectors, but, the following warning messages 
are logged.  These messages are similar to the above warning messages.

12:58:37,501 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.jetty.JettyContainer in provided ClassLoader for 
JettyWebContainer
12:58:37,521 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.jetty.JettyContainer in provided ClassLoader for 
JettyWebContainer
12:58:37,541 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.jetty.JettyWebConnector in provided ClassLoader for 
JettyWebConnector
12:58:37,541 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.jetty.JettyWebConnector in provided ClassLoader for 
JettySSLConnector
12:58:37,551 WARN  [BasicProxyManager] Could not load interface 
org.apache.geronimo.jetty.JettySecureConnector in provided ClassLoader for 
JettySSLConnector
12:58:37,662 ERROR [KernelManagementHelper] Unable to look up related GBean
net.sf.cglib.core.CodeGenerationException: 
java.lang.reflect.InvocationTargetException-->null
	at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:236)
	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
	at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
	at 
org.apache.geronimo.kernel.basic.BasicProxyManager$ManagedProxyFactory.<init>(BasicProxyManager.java:223)
	at 
org.apache.geronimo.kernel.basic.BasicProxyManager.createProxyFactory(BasicProxyManager.java:93)
	at 
org.apache.geronimo.kernel.basic.BasicProxyManager.createProxy(BasicProxyManager.java:120)
	at 
org.apache.geronimo.kernel.basic.BasicProxyManager.createProxies(BasicProxyManager.java:157)
	at 
org.apache.geronimo.console.util.KernelManagementHelper.getWebConnectors(KernelManagementHelper.java:339)
	at 
org.apache.geronimo.console.util.PortletManager.getWebConnectors(PortletManager.java:150)
	at 
org.apache.geronimo.console.webmanager.ConnectorPortlet.doList(ConnectorPortlet.java:443)
	at 
org.apache.geronimo.console.webmanager.ConnectorPortlet.doView(ConnectorPortlet.java:383)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
	at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
	at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
	at 
org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
	at 
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
	at 
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
	at 
org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
	at 
org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp:65)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
	at 
org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp:64)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
	at 
org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp:67)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
	at 
org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp:67)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
	at 
org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp:170)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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:672)
	at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at 
org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:254)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	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.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
	at 
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
	at 
org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyContextValve.java:50)
	at 
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
	at 
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
	at 
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
	at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	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(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
	at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:218)
	... 116 more
Caused by: java.lang.NoClassDefFoundError: 
org/apache/geronimo/tomcat/TomcatWebConnector
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	... 121 more



Mime
View raw message