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

[jira] Created: (GERONIMO-4858) Geronimo 2.2 doesn't ad

Geronimo 2.2 doesn't ad
-----------------------

                 Key: GERONIMO-4858
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: connector, console
    Affects Versions: 2.2, 3.0
            Reporter: Quintin Beukes
            Priority: Critical
             Fix For: 2.2


OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.

So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.

Here is a snippet of what it saves after adding a port "801" BIO connector:
<Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>

Q


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


Re: [jira] Issue Comment Edited: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

Posted by Siqi Du <si...@gmail.com>.
[?]Got it. Thank you, Shawn.

On Thu, Sep 10, 2009 at 2:51 PM, Shawn Jiang (JIRA) <ji...@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/GERONIMO-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753460#action_12753460]
>
> Shawn Jiang edited comment on GERONIMO-4858 at 9/9/09 11:51 PM:
> ----------------------------------------------------------------
>
> Patch committed to 22 branch and trunk with little changes. Thanks Siqi for
> the patch.
>
> Siqi, please use 4 space as tab instead of using tab directly in the code.
>  Thanks.
>
>      was (Author: genspring):
>    Patch committed to 22 branch and trunk with little changes. Thanks Siqi
> for the patch.
>
> Siqi, please don't use 4 space as tab instead of using tab directly in the
> code.  Thanks.
>
> > Geronimo 2.2 doesn't add correct connector attributes to server.xml
> > -------------------------------------------------------------------
> >
> >                 Key: GERONIMO-4858
> >                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
> >             Project: Geronimo
> >          Issue Type: Bug
> >      Security Level: public(Regular issues)
> >          Components: connector, console
> >    Affects Versions: 2.2, 3.0
> >            Reporter: Quintin Beukes
> >            Assignee: Shawn Jiang
> >            Priority: Critical
> >             Fix For: 2.2
> >
> >         Attachments: tomcat.patch
> >
> >
> > OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and
> deploy some repository JARs, a datasource and a security realm. Then I goto
> Web Server portlet and create a new Tomcat BIO connector. I enter a name,
> and for port I enter 80. This is a rough of the steps I took from a clean
> install.
> > So the bug is that when you add a connector, it immediately starts it on
> the correct port (as can be seen with netstat), but it saves to
> var/catalina/server.xml with port 8080. So once you restart the server you
> receive a port conflict if you have another 8080, and if you don't it would
> be like you never made the change, with your connector reverting to 8080.
> > Here is a snippet of what it saves after adding a port "801" BIO
> connector:
> > <Connector connectionTimeout="60000" executor="DefaultThreadPool"
> name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443"
> server=""/>
> > Q
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Closed: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

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

Shawn Jiang closed GERONIMO-4858.
---------------------------------


Closing it.

> Geronimo 2.2 doesn't add correct connector attributes to server.xml
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Assigned: (GERONIMO-4858) Geronimo 2.2 doesn't ad

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

Shawn Jiang reassigned GERONIMO-4858:
-------------------------------------

    Assignee: Shawn Jiang

> Geronimo 2.2 doesn't ad
> -----------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Updated: (GERONIMO-4858) Geronimo 2.2 doesn't ad

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

Siqi Du updated GERONIMO-4858:
------------------------------

    Attachment: tomcat.patch

This patch can help Tomcat's WebManager to save the latest attributes.

> Geronimo 2.2 doesn't ad
> -----------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Updated: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

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

Shawn Jiang updated GERONIMO-4858:
----------------------------------

    Summary: Geronimo 2.2 doesn't add correct connector attributes to server.xml  (was: Geronimo 2.2 doesn't ad)

> Geronimo 2.2 doesn't add correct connector attributes to server.xml
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Issue Comment Edited: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

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

Shawn Jiang edited comment on GERONIMO-4858 at 9/9/09 11:51 PM:
----------------------------------------------------------------

Patch committed to 22 branch and trunk with little changes. Thanks Siqi for the patch.

Siqi, please use 4 space as tab instead of using tab directly in the code.  Thanks.

      was (Author: genspring):
    Patch committed to 22 branch and trunk with little changes. Thanks Siqi for the patch.

Siqi, please don't use 4 space as tab instead of using tab directly in the code.  Thanks.
  
> Geronimo 2.2 doesn't add correct connector attributes to server.xml
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Resolved: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

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

Shawn Jiang resolved GERONIMO-4858.
-----------------------------------

    Resolution: Fixed

Patch committed to 22 branch and trunk with little changes. Thanks Siqi for the patch.

Siqi, please don't use 4 space as tab instead of using tab directly in the code.  Thanks.

> Geronimo 2.2 doesn't add correct connector attributes to server.xml
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector, console
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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


[jira] Updated: (GERONIMO-4858) Geronimo 2.2 doesn't add correct connector attributes to server.xml

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

David Jencks updated GERONIMO-4858:
-----------------------------------

    Component/s:     (was: connector)
                 Tomcat

categorize correclty. "Connector" category is for j2ca connectors

> Geronimo 2.2 doesn't add correct connector attributes to server.xml
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-4858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, Tomcat
>    Affects Versions: 2.2, 3.0
>            Reporter: Quintin Beukes
>            Assignee: Shawn Jiang
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: tomcat.patch
>
>
> OK. So I extract the 2009-09-08 nightly snapshot (tomcat binary), and deploy some repository JARs, a datasource and a security realm. Then I goto Web Server portlet and create a new Tomcat BIO connector. I enter a name, and for port I enter 80. This is a rough of the steps I took from a clean install.
> So the bug is that when you add a connector, it immediately starts it on the correct port (as can be seen with netstat), but it saves to var/catalina/server.xml with port 8080. So once you restart the server you receive a port conflict if you have another 8080, and if you don't it would be like you never made the change, with your connector reverting to 8080.
> Here is a snippet of what it saves after adding a port "801" BIO connector:
> <Connector connectionTimeout="60000" executor="DefaultThreadPool" name="testConnector1" port="8080" protocol="HTTP/1.1" redirectPort="8443" server=""/>
> Q

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