You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2009/09/12 06:02:57 UTC

[jira] Assigned: (GERONIMO-4860) WebManagerPortlet doesn't complete remove a connector - leads to inability to start server

     [ 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.<init>(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(<generated>)
> 	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}    
>     <module name="org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car">
>         <gbean name="org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car,j2eeType=GBean,name=testConnector1">
>             <attribute name="maxSavePostSize">4096</attribute>
>             <attribute name="proxyPort">0</attribute>
>             <attribute name="redirectPort">8443</attribute>
>             <attribute name="uriEncoding">ISO-8859-1</attribute>
>             <attribute name="useBodyEncodingForURI">false</attribute>
>             <attribute name="useIPVHosts">false</attribute>
>             <attribute name="xpoweredBy">false</attribute>
>             <attribute name="address">0.0.0.0</attribute>
>             <attribute name="bufferSize">2048</attribute>
>             <attribute name="compressableMimeType">text/html,text/xml,text/plain</attribute>
>             <attribute name="compression">off</attribute>
>             <attribute name="connectionLinger">-1</attribute>
>             <attribute name="connectionTimeout">60000</attribute>
>             <attribute name="keepAliveTimeout">60000</attribute>
>             <attribute name="disableUploadTimeout">true</attribute>
>             <attribute name="maxHttpHeaderSize">4096</attribute>
>             <attribute name="maxKeepAliveRequests">100</attribute>
>             <attribute name="maxThreads">40</attribute>
>             <attribute name="minSpareThreads">10</attribute>
>             <attribute name="maxSpareThreads">100</attribute>
>             <attribute name="port">802</attribute>
>             <attribute name="server">null</attribute>
>             <attribute name="socketBuffer">9000</attribute>
>             <attribute name="tcpNoDelay">true</attribute>
>             <attribute name="threadPriority">5</attribute>
>         </gbean>
>     </module>{code}

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