Geronimo
  1. Geronimo
  2. GERONIMO-6350

Edit TomcatHttpsConnector's keystore configuration

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: 3.0-beta-1
    • Fix Version/s: None
    • Component/s: Tomcat, webservices
    • Security Level: public (Regular issues)
    • Labels:
    • Environment:

      Fresh geronimo 3.0-beta-1 with sun-java-6 on linux mint Lisa.
      JAVA_HOME set to jdk.

      Description

      Once you've edit the keystore configuration (file/alias/passphrase) of TomcatHttpsConnector through the webconsole, the server is unreachable for this specific port and protocol.

      The only logs from both geronimo.log and .out are :

      2012-05-16 10:42:43,162 ERROR [JIoEndpoint]
      java.lang.NullPointerException
      at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:504)
      at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:223)
      at java.lang.Thread.run(Thread.java:662)

      The only workaround I've found is delete the connector, restart geronimo and recreate the connector. It has to be done at each shutdown of geronimo.

        Activity

        Ghetolay created issue -
        Ghetolay made changes -
        Field Original Value New Value
        Description Once you've edit the keystore configuration (file/alias/passphrase) of the TomcatHttpsConnector the server is unreachable for this specific port.

        The only logs from both geronimo.log and .out are :

        2012-05-16 10:42:43,162 ERROR [JIoEndpoint]
        java.lang.NullPointerException
        at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:504)
        at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:223)
        at java.lang.Thread.run(Thread.java:662)


        The only workaround I've found is delete the connector, restart geronimo and recreate the connector. It has to be done at each shutdown of geronimo.
        Once you've edit the keystore configuration (file/alias/passphrase) of TomcatHttpsConnector through the webconsole, the server is unreachable for this specific port and protocol.

        The only logs from both geronimo.log and .out are :

        2012-05-16 10:42:43,162 ERROR [JIoEndpoint]
        java.lang.NullPointerException
        at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:504)
        at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:223)
        at java.lang.Thread.run(Thread.java:662)


        The only workaround I've found is delete the connector, restart geronimo and recreate the connector. It has to be done at each shutdown of geronimo.
        Hide
        Forrest Xia added a comment -

        You must want to change the connector which is currently in serve status, for example, 8443, we don't support to change the one in running status. To achieve that, you may need to shutdown server first, then update the https connector settings, and then start the server again.

        Show
        Forrest Xia added a comment - You must want to change the connector which is currently in serve status, for example, 8443, we don't support to change the one in running status. To achieve that, you may need to shutdown server first, then update the https connector settings, and then start the server again.
        Hide
        Ghetolay added a comment - - edited

        Ok. I did the change on /var/catalina/server.xml while the server was down and it worked.

        Is there others attributes wich cannot be changed while the connector is running ?

        Show
        Ghetolay added a comment - - edited Ok. I did the change on /var/catalina/server.xml while the server was down and it worked. Is there others attributes wich cannot be changed while the connector is running ?
        Ghetolay made changes -
        Comment [ Yes, I'm editing the running connector. What's the edit menu made for so ? ]
        Ghetolay made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Not A Problem [ 8 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ghetolay
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development