[ http://issues.apache.org/jira/browse/GERONIMO-1998?page=all ]

Paul McMahan updated GERONIMO-1998:
-----------------------------------

    Description: 
Stop a (non-ssl) tomcat connector from the admin console and then restart it.  
Repeat this process once more and the connector goes into the Failed state and 
the following stacktrace is shown:

16:27:44,390 ERROR [GBeanInstanceState] Error while stopping; GBean is now in 
the FAILED state: 
abstractName="geronimo/tomcat/1.1-SNAPSHOT/car?ServiceModule=geronimo/tomcat/1.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatAJPConnector"
java.lang.Exception: Problem while updaing the persistent value of attibute: 
Attribute Name: socketBuffer, Type: int, GBeanInstance: Tomcat Connector
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1112)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:337)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
[...]
Caused by: java.lang.NumberFormatException: For input string: "false"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:468)
        at java.lang.Integer.parseInt(Integer.java:518)
        at 
org.apache.geronimo.tomcat.ConnectorGBean.getSocketBuffer(ConnectorGBean.java:443)
        at 
org.apache.geronimo.tomcat.ConnectorGBean$$FastClassByCGLIB$$ee72d0d4.invoke(<generated>)
        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:385)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1108)
        ... 44 more


  was:
Stop a (non-ssl) tomstacktracecat connector from the admin console and then 
restart it.  Repeat this process once more and the connector goes into the 
Failed state and the following stacktrace is shown:

16:27:44,390 ERROR [GBeanInstanceState] Error while stopping; GBean is now in 
the FAILED state: 
abstractName="geronimo/tomcat/1.1-SNAPSHOT/car?ServiceModule=geronimo/tomcat/1.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatAJPConnector"
java.lang.Exception: Problem while updaing the persistent value of attibute: 
Attribute Name: socketBuffer, Type: int, GBeanInstance: Tomcat Connector
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1112)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:337)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
[...]
Caused by: java.lang.NumberFormatException: For input string: "false"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:468)
        at java.lang.Integer.parseInt(Integer.java:518)
        at 
org.apache.geronimo.tomcat.ConnectorGBean.getSocketBuffer(ConnectorGBean.java:443)
        at 
org.apache.geronimo.tomcat.ConnectorGBean$$FastClassByCGLIB$$ee72d0d4.invoke(<generated>)
        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:385)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1108)
        ... 44 more



> tomcat connector gbean sets wrong attribute
> -------------------------------------------
>
>          Key: GERONIMO-1998
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1998
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Tomcat
>     Versions: 1.1
>     Reporter: Paul McMahan
>      Fix For: 1.1
>  Attachments: GERONIMO-1998.patch
>
> Stop a (non-ssl) tomcat connector from the admin console and then restart it. 
>  Repeat this process once more and the connector goes into the Failed state 
> and the following stacktrace is shown:
> 16:27:44,390 ERROR [GBeanInstanceState] Error while stopping; GBean is now in 
> the FAILED state: 
> abstractName="geronimo/tomcat/1.1-SNAPSHOT/car?ServiceModule=geronimo/tomcat/1.1-SNAPSHOT/car,j2eeType=GBean,name=TomcatAJPConnector"
> java.lang.Exception: Problem while updaing the persistent value of attibute: 
> Attribute Name: socketBuffer, Type: int, GBeanInstance: Tomcat Connector
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1112)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:337)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
>       at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
> [...]
> Caused by: java.lang.NumberFormatException: For input string: "false"
>       at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>       at java.lang.Integer.parseInt(Integer.java:468)
>       at java.lang.Integer.parseInt(Integer.java:518)
>       at 
> org.apache.geronimo.tomcat.ConnectorGBean.getSocketBuffer(ConnectorGBean.java:443)
>       at 
> org.apache.geronimo.tomcat.ConnectorGBean$$FastClassByCGLIB$$ee72d0d4.invoke(<generated>)
>       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:385)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1108)
>       ... 44 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to