geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4733) Unable to starting to configure Apache mod_jk
Date Mon, 13 Jul 2009 04:53:14 GMT


Shawn Jiang commented on GERONIMO-4733:

This did not happen before because if there's a valid ajp connector GBean.  The error code(
did not get executed at all. In the latest tomcat trunk build.  There's not ajp connector
GBean by default.  which results in this JIRA.

You can also recreate this on 2.1 branch by deleting AJP connector before access "Apache HTTP"--->"Get

About the patch:

1, TomcatWebConnector inherits NetworkConnector but not WebConnector.   We should use NetworkConnector
since there's only NetworkConnector method getPort()  needed here.

2, Somehow, the webmanager.getConnectors() might return a connector array that only contains
null elements.  So we need to check null for connectors[0].

3, After fixing the problems above, there will be another EL parsing error.  "Can't find property
"configId" in org.apache.geronimo.console.apache.jk.BaseApacheHandler.WebAppData. "  Actually,
there's only "parentConfigId" in org.apache.geronimo.console.apache.jk.BaseApacheHandler.WebAppData
but not "configId".    I just correct configId to parentconfigId to resolve this.

> Unable to starting to configure Apache mod_jk 
> ----------------------------------------------
>                 Key: GERONIMO-4733
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Windows XP SP2, IE6.0
>            Reporter: Shiny Cheng
>            Assignee: Shawn Jiang
>             Fix For: 2.2
>         Attachments: G4733_21.patch, G4733_trunk.patch
> From Console Navigation, click "Apache HTTP" and then "Get Started". The following exception
will appear, which means this function doesn't work correctly.
> java.lang.ClassCastException: [Lorg.apache.geronimo.tomcat.connector.TomcatWebConnector;
cannot be cast to [;
> 	org.apache.geronimo.console.apache.jk.AJPHandler.actionBeforeView(
> 	org.apache.geronimo.console.MultiPagePortlet.processAction(
> 	org.apache.pluto.core.PortletServlet.dispatch(
> 	org.apache.pluto.core.PortletServlet.doGet(
> 	javax.servlet.http.HttpServlet.service(
> 	javax.servlet.http.HttpServlet.service(
> 	org.apache.pluto.core.DefaultPortletInvokerService.invoke(
> 	org.apache.pluto.core.DefaultPortletInvokerService.action(
> 	org.apache.pluto.core.PortletContainerImpl.doAction(
> 	org.apache.pluto.driver.PortalDriverServlet.doGet(
> 	javax.servlet.http.HttpServlet.service(
> 	javax.servlet.http.HttpServlet.service(
> 	org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(
> 	org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message