Geronimo
  1. Geronimo
  2. GERONIMO-4488

Framework assembly can not be stopped successfully

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: general
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:
      • Windows XP SP2 English + IBM SDK 1.6.0
      • Windows XP SP2 Simplified Chinese + Sun JDK 1.5.0-16
    • Regression:
      Regression

      Description

      Assemble a custom server with following steps:

      • start geronimo server (either jetty or tomcat version)
      • login admin console
      • start server assembly by selecting function centric
      • select only Framework group, and complete the assembly following portlet instruction
      • stop geronimo server
      • start custom server just created with start-server.bat (custom server can be started successfully)
      • stop custom server with stop-server.bat or shutdown.bat, exception msg occurs in command window, and the custom server is still up.

      I tried in both 20081229 and 20081230 build, and log file will be attached.

      1. gshell_20090105.log
        25 kB
        Han Hong Fang
      2. gshell.log
        60 kB
        Han Hong Fang

        Activity

        Hide
        Han Hong Fang added a comment -

        log file of custom server, which is assemblied from geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip.

        Show
        Han Hong Fang added a comment - log file of custom server, which is assemblied from geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip.
        Hide
        Han Hong Fang added a comment -

        Very similar problem found in build 20090105, which may be fixed together with the original one.

        Assembly server: Framework + Web service Axis 2
        Log file: gshell_20090105.log

        Show
        Han Hong Fang added a comment - Very similar problem found in build 20090105, which may be fixed together with the original one. Assembly server: Framework + Web service Axis 2 Log file: gshell_20090105.log
        Hide
        Lin Sun added a comment -

        mark as regression as this worked before when i tried it in sept 2008 time frame.

        Show
        Lin Sun added a comment - mark as regression as this worked before when i tried it in sept 2008 time frame.
        Hide
        Lin Sun added a comment -

        I found an easier way to reproduce this. Just go to trunk/assemblies/geronimo-framework/target/assembly/bin, start the server and stop the server. So this is nothing related to custom server assembly.

        Show
        Lin Sun added a comment - I found an easier way to reproduce this. Just go to trunk/assemblies/geronimo-framework/target/assembly/bin, start the server and stop the server. So this is nothing related to custom server assembly.
        Hide
        Lin Sun added a comment -

        fixed in rev 732119. Think this prob affected both framework and little G assemblies. I've tried all 3 assemblies (tomcat full, tomcat little g, framework) and I am able to stop them.

        Thanks for reporting this prob

        Lin

        Show
        Lin Sun added a comment - fixed in rev 732119. Think this prob affected both framework and little G assemblies. I've tried all 3 assemblies (tomcat full, tomcat little g, framework) and I am able to stop them. Thanks for reporting this prob Lin
        Hide
        Han Hong Fang added a comment -

        The problem still exists in build 20090106 (both tomcat and jetty downloaded from http://people.apache.org/builds/geronimo/server/binaries/trunk/20090106/)

        I tried following server assembly.

        • Framework only
        • Framework + webservice axis2

        Same exception occurs when try to stop the custom server: (9.123.237.24 is ip of my machine, where I tested the fix.)

        org.apache.geronimo.common.DeploymentException: Unable to connect to server at d
        eployer:geronimo:jmx://localhost:1099 – Connection refused to host: 9.123.237.24;
        nested exception is:
        java.net.ConnectException: Connection refused: connect
        at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(Serv
        erConnection.java:154)

        Show
        Han Hong Fang added a comment - The problem still exists in build 20090106 (both tomcat and jetty downloaded from http://people.apache.org/builds/geronimo/server/binaries/trunk/20090106/ ) I tried following server assembly. Framework only Framework + webservice axis2 Same exception occurs when try to stop the custom server: (9.123.237.24 is ip of my machine, where I tested the fix.) org.apache.geronimo.common.DeploymentException: Unable to connect to server at d eployer:geronimo:jmx://localhost:1099 – Connection refused to host: 9.123.237.24; nested exception is: java.net.ConnectException: Connection refused: connect at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(Serv erConnection.java:154)
        Hide
        Lin Sun added a comment -

        There are quite a few builds yesterday and I don't think the change (rev 732119) went into the build you used. Can you please try a today's build (1/7)? You should be able to see ServerHostName set to 0.0.0.0 in var/config/config-substituion.properties in the framework server. Thanks

        Lin

        Show
        Lin Sun added a comment - There are quite a few builds yesterday and I don't think the change (rev 732119) went into the build you used. Can you please try a today's build (1/7)? You should be able to see ServerHostName set to 0.0.0.0 in var/config/config-substituion.properties in the framework server. Thanks Lin
        Hide
        Han Hong Fang added a comment -

        Verified again in build 20090107_1500 (both tomcat and jetty). The problem is fixed. Thanks!

        Show
        Han Hong Fang added a comment - Verified again in build 20090107_1500 (both tomcat and jetty). The problem is fixed. Thanks!
        Hide
        Lin Sun added a comment -

        close the jira as it is reported as fixed.

        Show
        Lin Sun added a comment - close the jira as it is reported as fixed.

          People

          • Assignee:
            Lin Sun
            Reporter:
            Han Hong Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development