[JBoss JIRA] Created: (JBASM-20) shutdown logic needs fixing
by Aleksandar Kostadinov (JIRA)
shutdown logic needs fixing
---------------------------
Key: JBASM-20
URL: https://jira.jboss.org/jira/browse/JBASM-20
Project: JBoss AS Server Manager
Issue Type: Bug
Affects Versions: 0.1.2.GA
Reporter: Aleksandar Kostadinov
Assignee: Aleksandar Kostadinov
Fix For: 0.1.3.GA
Currently we try to get a server thread dump if server shutdown fails. To increase the chance of getting one though we agreed to send a shutdown command through a server connection and if that doesn't shutdown the server in time - use the same connection to get a dump.
The Server.doShutdown() method though removes the references to the server connection and the naming context. This needs to be moved out to ServerController so it is responsible for cleaning up server resources after a shutdown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBASM-15) clean-up after JBASM-3, JBASM-12 and JBASM-13
by Aleksandar Kostadinov (JIRA)
clean-up after JBASM-3, JBASM-12 and JBASM-13
---------------------------------------------
Key: JBASM-15
URL: https://jira.jboss.org/jira/browse/JBASM-15
Project: JBoss AS Server Manager
Issue Type: Task
Affects Versions: 0.1.2.GA
Reporter: Aleksandar Kostadinov
Assignee: Aleksandar Kostadinov
Priority: Minor
Fix For: 0.1.3.GA
Few things are good to be fixed:
1. There are some unnecessary excludes in the POM related to log4j. These were intended to avoid a harmless error message but a better approach seems the use of a jboss logging system property.
2. Switch server class to use jboss logging instead of log4j (currently a harmless error is printed out) - introduced in JBASM-13
3. Switch FailStartStopTest to use the common server configuration introduced in JBASM-13
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBASM-16) server shutdown timeout
by Aleksandar Kostadinov (JIRA)
server shutdown timeout
-----------------------
Key: JBASM-16
URL: https://jira.jboss.org/jira/browse/JBASM-16
Project: JBoss AS Server Manager
Issue Type: Bug
Reporter: Aleksandar Kostadinov
Assignee: Aleksandar Kostadinov
I see Server Manager now uses two system properties - timeout for start-up and shutdown.
The one for shutdown is ignored.
ServerManager.java
{code}
public static final String SYSTEM_PROPERTY_JBOSSAS_STARTUP_TIMEOUT = "jbossas.startup.timeout";
public static final String SYSTEM_PROPERTY_JBOSSAS_SHUTDOWN_TIMEOUT = "jbossas.shutdown.timeout";
private static final int WAIT_TIME = Integer.parseInt(System.getProperty(SYSTEM_PROPERTY_JBOSSAS_SHUTDOWN_TIMEOUT, "45"));
private static final int START_TIME = Integer.parseInt(System.getProperty(SYSTEM_PROPERTY_JBOSSAS_STARTUP_TIMEOUT, "120"));
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month