Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 27614 invoked from network); 12 Sep 2009 04:03:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Sep 2009 04:03:23 -0000 Received: (qmail 4576 invoked by uid 500); 12 Sep 2009 04:03:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 4508 invoked by uid 500); 12 Sep 2009 04:03:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 4500 invoked by uid 99); 12 Sep 2009 04:03:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 04:03:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 04:03:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5994234C4AB for ; Fri, 11 Sep 2009 21:02:57 -0700 (PDT) Message-ID: <1832457552.1252728177800.JavaMail.jira@brutus> Date: Fri, 11 Sep 2009 21:02:57 -0700 (PDT) From: "Shawn Jiang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-4860) WebManagerPortlet doesn't complete remove a connector - leads to inability to start server In-Reply-To: <1929318177.1252572717590.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Jiang reassigned GERONIMO-4860: ------------------------------------- Assignee: Shawn Jiang > WebManagerPortlet doesn't complete remove a connector - leads to inability to start server > ------------------------------------------------------------------------------------------ > > Key: GERONIMO-4860 > URL: https://issues.apache.org/jira/browse/GERONIMO-4860 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: connector, console > Affects Versions: 2.2 > Reporter: Quintin Beukes > Assignee: Shawn Jiang > Fix For: 2.2 > > > When removing a connector, it removes the connector from tomcat's server.xml, but not the GBean from config.xml, so when stopping and again start the server, the server fails to start with: > {code:title=geronimo.log}2009-09-10 10:45:28,076 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: > abstractName="org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car" > org.apache.geronimo.kernel.config.InvalidConfigException: New GBeans must be specified with a GBeanInfo configuration=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car > gbeanName=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car,j2eeType=GBean,name=testConnector1 > at org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:185) > at org.apache.geronimo.kernel.config.Configuration.(Configuration.java:297) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) > at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) > at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:524) > at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271) > at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815) > 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.java:96) > at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$55935236.loadConfiguration() > at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:158) > at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30){code} > Config.xml still contains: > {code:xml|title=config.xml} > > > 4096 > 0 > 8443 > ISO-8859-1 > false > false > false > 0.0.0.0 > 2048 > text/html,text/xml,text/plain > off > -1 > 60000 > 60000 > true > 4096 > 100 > 40 > 10 > 100 > 802 > null > 9000 > true > 5 > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.