Issue Details (XML | Word | Printable)

Key: GERONIMO-4488
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Lin Sun
Reporter: Han Hong Fang
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Geronimo

Framework assembly can not be stopped successfully

Created: 04/Jan/09 05:25 AM   Updated: 08/Jan/09 03:37 AM
Return to search
Component/s: general
Affects Version/s: 2.2
Fix Version/s: 2.2
Security Level: public (Regular issues)

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works gshell.log 2009-01-04 05:33 AM Han Hong Fang 60 kB
Text File Licensed for inclusion in ASF works gshell_20090105.log 2009-01-06 08:55 AM Han Hong Fang 25 kB
Environment:
  • Windows XP SP2 English + IBM SDK 1.6.0
  • Windows XP SP2 Simplified Chinese + Sun JDK 1.5.0-16

Regression: Regression
Resolution Date: 06/Jan/09 09:04 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Han Hong Fang added a comment - 04/Jan/09 05:33 AM
log file of custom server, which is assemblied from geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip.

Han Hong Fang added a comment - 06/Jan/09 08:55 AM
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


Lin Sun added a comment - 06/Jan/09 03:52 PM
mark as regression as this worked before when i tried it in sept 2008 time frame.

Lin Sun added a comment - 06/Jan/09 06:52 PM
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.

Lin Sun added a comment - 06/Jan/09 09:04 PM
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


Han Hong Fang added a comment - 07/Jan/09 08:06 AM
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)


Lin Sun added a comment - 07/Jan/09 02:23 PM
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


Han Hong Fang added a comment - 08/Jan/09 01:36 AM
Verified again in build 20090107_1500 (both tomcat and jetty). The problem is fixed. Thanks!

Lin Sun added a comment - 08/Jan/09 03:37 AM
close the jira as it is reported as fixed.