[jira] Updated: (GERONIMO-3327) When both tomcat http and https connector gbeans are unloaded, java.net.MalformedURLException occurs while starting server.
[ https://issues.apache.org/jira/browse/GERONIMO-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-3327: --- Fix Version/s: (was: 2.1) (was: 2.0.x) Verification Required Kan, you mentioned that 3350 fixed the exception, so please close this issue if it is fixed or add additional details on the new failure scenario > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while starting server. > --- > > Key: GERONIMO-3327 > URL: https://issues.apache.org/jira/browse/GERONIMO-3327 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Tomcat >Affects Versions: 1.x, 2.0-M6 >Reporter: Kan Ogawa > Fix For: Verification Required > > > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while running tomcat module startup. > This configuration is, for example, a typical case that other web server ( > Apache HTTP Server, IIS, etc. ) connects geronimo server and processes all > http requests firstly as the main http server. > Tomcat module setting in config.xml: > > > > ${PlanServerHostname} > ${PlanHTTPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanAJPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanHTTPSPortPrimary + > portOffset} > > > Stack trace in geronimo log: > 18:30:41,156 ERROR [TomcatWebAppContext] Bad URL to connect to web app > java.net.MalformedURLException: unknown protocol: ajp > at java.net.URL.(URL.java:574) > at java.net.URL.(URL.java:464) > at java.net.URL.(URL.java:413) > at > org.apache.geronimo.tomcat.TomcatWebAppContext.getURLFor(TomcatWebAppContext.java:383) > at > org.apache.geronimo.tomcat.TomcatWebAppContext$$FastClassByCGLIB$$776c85b4.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:390) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:689) > at > org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178) > at > org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(CommandSupport.java:295) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:177) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118) > at > org.apache.geronimo.deployment.hot.DirectoryHotDeployer.doStart(DirectoryHotDeployer.java:160) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:994) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:551) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > at > org.apache.geronimo.gbean.runtime.RawInvoke
[jira] Updated: (GERONIMO-3327) When both tomcat http and https connector gbeans are unloaded, java.net.MalformedURLException occurs while starting server.
[ https://issues.apache.org/jira/browse/GERONIMO-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevan Miller updated GERONIMO-3327: --- Fix Version/s: (was: 2.0) 2.0.x > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while starting server. > --- > > Key: GERONIMO-3327 > URL: https://issues.apache.org/jira/browse/GERONIMO-3327 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Tomcat >Affects Versions: 1.x, 2.0-M6 >Reporter: Kan Ogawa > Fix For: 2.0.x, 2.1 > > > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while running tomcat module startup. > This configuration is, for example, a typical case that other web server ( > Apache HTTP Server, IIS, etc. ) connects geronimo server and processes all > http requests firstly as the main http server. > Tomcat module setting in config.xml: > > > > ${PlanServerHostname} > ${PlanHTTPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanAJPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanHTTPSPortPrimary + > portOffset} > > > Stack trace in geronimo log: > 18:30:41,156 ERROR [TomcatWebAppContext] Bad URL to connect to web app > java.net.MalformedURLException: unknown protocol: ajp > at java.net.URL.(URL.java:574) > at java.net.URL.(URL.java:464) > at java.net.URL.(URL.java:413) > at > org.apache.geronimo.tomcat.TomcatWebAppContext.getURLFor(TomcatWebAppContext.java:383) > at > org.apache.geronimo.tomcat.TomcatWebAppContext$$FastClassByCGLIB$$776c85b4.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:390) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:689) > at > org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178) > at > org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(CommandSupport.java:295) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:177) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118) > at > org.apache.geronimo.deployment.hot.DirectoryHotDeployer.doStart(DirectoryHotDeployer.java:160) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:994) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:551) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
[jira] Updated: (GERONIMO-3327) When both tomcat http and https connector gbeans are unloaded, java.net.MalformedURLException occurs while starting server.
[ https://issues.apache.org/jira/browse/GERONIMO-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kan Ogawa updated GERONIMO-3327: Fix Version/s: 2.1 2.0 > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while starting server. > --- > > Key: GERONIMO-3327 > URL: https://issues.apache.org/jira/browse/GERONIMO-3327 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Tomcat >Affects Versions: 1.x, 2.0-M6 >Reporter: Kan Ogawa > Fix For: 2.0, 2.1 > > > When both tomcat http and https connector gbeans are unloaded, > java.net.MalformedURLException occurs while running tomcat module startup. > This configuration is, for example, a typical case that other web server ( > Apache HTTP Server, IIS, etc. ) connects geronimo server and processes all > http requests firstly as the main http server. > Tomcat module setting in config.xml: > > > > ${PlanServerHostname} > ${PlanHTTPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanAJPPortPrimary + > portOffset} > ${PlanHTTPSPortPrimary + > portOffset} > > > ${PlanServerHostname} > ${PlanHTTPSPortPrimary + > portOffset} > > > Stack trace in geronimo log: > 18:30:41,156 ERROR [TomcatWebAppContext] Bad URL to connect to web app > java.net.MalformedURLException: unknown protocol: ajp > at java.net.URL.(URL.java:574) > at java.net.URL.(URL.java:464) > at java.net.URL.(URL.java:413) > at > org.apache.geronimo.tomcat.TomcatWebAppContext.getURLFor(TomcatWebAppContext.java:383) > at > org.apache.geronimo.tomcat.TomcatWebAppContext$$FastClassByCGLIB$$776c85b4.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:390) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:689) > at > org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178) > at > org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(CommandSupport.java:295) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:177) > at > org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118) > at > org.apache.geronimo.deployment.hot.DirectoryHotDeployer.doStart(DirectoryHotDeployer.java:160) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:994) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:551) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.j