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

[jira] Created: (GERONIMO-4856) Some abnormal conditions with Tomcat NIO HTTPS Connector

Some abnormal conditions with Tomcat NIO HTTPS Connector
--------------------------------------------------------

                 Key: GERONIMO-4856
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4856
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 2.2
         Environment: win server 2008, jdk 1.6
            Reporter: Shiny Cheng
             Fix For: 2.2


These conditions happen when creating a new Tomcat NIO HTTPS Connector and trying to access it.

First of all, the basic path of "keystoreFile" will change during configuring. At the first time, it's set to <geronimo_home>\var\catalina. Once your input can't help server to find configured file, and you try to edit the connector. You will find this time, its basic path is <geronimo_home> instead of the previous one. 

After set corresponding parameters, for instance, set UniqueName, keystoreFile, port and keystorePass, then save the settings and try to access it via https://localhost:<prot>/console. You will find the following error recorded in geronimo.log.
ERROR [NioEndpoint] java.lang.NullPointerException
	at org.apache.tomcat.util.net.NioEndpoint.isWorkerAvailable(NioEndpoint.java:1111)
	at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1639)
	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1580)
	at java.lang.Thread.run(Thread.java:735)
And under some circumstances, this error will be shown in command line circularly and constantly at a high speed that geronimo.log will be full within several seconds.  However, the latter kind of condition is not stable reproduced. 


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


[jira] Closed: (GERONIMO-4856) Some abnormal conditions with Tomcat NIO HTTPS Connector

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang closed GERONIMO-4856.
---------------------------------


Closing it.

> Some abnormal conditions with Tomcat NIO HTTPS Connector
> --------------------------------------------------------
>
>                 Key: GERONIMO-4856
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4856
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 2.2
>         Environment: win server 2008, jdk 1.6
>            Reporter: Shiny Cheng
>            Assignee: Shawn Jiang
>             Fix For: 2.2
>
>
> These conditions happen when creating a new Tomcat NIO HTTPS Connector and trying to access it.
> First of all, the basic path of "keystoreFile" will change during configuring. At the first time, it's set to <geronimo_home>\var\catalina. Once your input can't help server to find configured file, and you try to edit the connector. You will find this time, its basic path is <geronimo_home> instead of the previous one. 
> After set corresponding parameters, for instance, set UniqueName, keystoreFile, port and keystorePass, then save the settings and try to access it via https://localhost:<prot>/console. You will find the following error recorded in geronimo.log.
> ERROR [NioEndpoint] java.lang.NullPointerException
> 	at org.apache.tomcat.util.net.NioEndpoint.isWorkerAvailable(NioEndpoint.java:1111)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1639)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1580)
> 	at java.lang.Thread.run(Thread.java:735)
> And under some circumstances, this error will be shown in command line circularly and constantly at a high speed that geronimo.log will be full within several seconds.  However, the latter kind of condition is not stable reproduced. 

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


[jira] Commented: (GERONIMO-4856) Some abnormal conditions with Tomcat NIO HTTPS Connector

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753468#action_12753468 ] 

Shawn Jiang commented on GERONIMO-4856:
---------------------------------------

Fixed in 22 branch and trunk.

Added the default executor to new connector created in connector portlet.



> Some abnormal conditions with Tomcat NIO HTTPS Connector
> --------------------------------------------------------
>
>                 Key: GERONIMO-4856
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4856
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 2.2
>         Environment: win server 2008, jdk 1.6
>            Reporter: Shiny Cheng
>            Assignee: Shawn Jiang
>             Fix For: 2.2
>
>
> These conditions happen when creating a new Tomcat NIO HTTPS Connector and trying to access it.
> First of all, the basic path of "keystoreFile" will change during configuring. At the first time, it's set to <geronimo_home>\var\catalina. Once your input can't help server to find configured file, and you try to edit the connector. You will find this time, its basic path is <geronimo_home> instead of the previous one. 
> After set corresponding parameters, for instance, set UniqueName, keystoreFile, port and keystorePass, then save the settings and try to access it via https://localhost:<prot>/console. You will find the following error recorded in geronimo.log.
> ERROR [NioEndpoint] java.lang.NullPointerException
> 	at org.apache.tomcat.util.net.NioEndpoint.isWorkerAvailable(NioEndpoint.java:1111)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1639)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1580)
> 	at java.lang.Thread.run(Thread.java:735)
> And under some circumstances, this error will be shown in command line circularly and constantly at a high speed that geronimo.log will be full within several seconds.  However, the latter kind of condition is not stable reproduced. 

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


[jira] Assigned: (GERONIMO-4856) Some abnormal conditions with Tomcat NIO HTTPS Connector

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang reassigned GERONIMO-4856:
-------------------------------------

    Assignee: Shawn Jiang

> Some abnormal conditions with Tomcat NIO HTTPS Connector
> --------------------------------------------------------
>
>                 Key: GERONIMO-4856
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4856
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 2.2
>         Environment: win server 2008, jdk 1.6
>            Reporter: Shiny Cheng
>            Assignee: Shawn Jiang
>             Fix For: 2.2
>
>
> These conditions happen when creating a new Tomcat NIO HTTPS Connector and trying to access it.
> First of all, the basic path of "keystoreFile" will change during configuring. At the first time, it's set to <geronimo_home>\var\catalina. Once your input can't help server to find configured file, and you try to edit the connector. You will find this time, its basic path is <geronimo_home> instead of the previous one. 
> After set corresponding parameters, for instance, set UniqueName, keystoreFile, port and keystorePass, then save the settings and try to access it via https://localhost:<prot>/console. You will find the following error recorded in geronimo.log.
> ERROR [NioEndpoint] java.lang.NullPointerException
> 	at org.apache.tomcat.util.net.NioEndpoint.isWorkerAvailable(NioEndpoint.java:1111)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1639)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1580)
> 	at java.lang.Thread.run(Thread.java:735)
> And under some circumstances, this error will be shown in command line circularly and constantly at a high speed that geronimo.log will be full within several seconds.  However, the latter kind of condition is not stable reproduced. 

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


[jira] Resolved: (GERONIMO-4856) Some abnormal conditions with Tomcat NIO HTTPS Connector

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-4856.
-----------------------------------

    Resolution: Fixed

Resolved.

> Some abnormal conditions with Tomcat NIO HTTPS Connector
> --------------------------------------------------------
>
>                 Key: GERONIMO-4856
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4856
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 2.2
>         Environment: win server 2008, jdk 1.6
>            Reporter: Shiny Cheng
>            Assignee: Shawn Jiang
>             Fix For: 2.2
>
>
> These conditions happen when creating a new Tomcat NIO HTTPS Connector and trying to access it.
> First of all, the basic path of "keystoreFile" will change during configuring. At the first time, it's set to <geronimo_home>\var\catalina. Once your input can't help server to find configured file, and you try to edit the connector. You will find this time, its basic path is <geronimo_home> instead of the previous one. 
> After set corresponding parameters, for instance, set UniqueName, keystoreFile, port and keystorePass, then save the settings and try to access it via https://localhost:<prot>/console. You will find the following error recorded in geronimo.log.
> ERROR [NioEndpoint] java.lang.NullPointerException
> 	at org.apache.tomcat.util.net.NioEndpoint.isWorkerAvailable(NioEndpoint.java:1111)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1639)
> 	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1580)
> 	at java.lang.Thread.run(Thread.java:735)
> And under some circumstances, this error will be shown in command line circularly and constantly at a high speed that geronimo.log will be full within several seconds.  However, the latter kind of condition is not stable reproduced. 

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