Skip to main content

Source code revision

svn

summary: issue 13533 - make commands such as rotate-logs print an error message if they are run against an instance that has never been started. This effects rotate-logs, migrate-timers,
revision: 46565
author: Tom Mueller
date: 2011-04-30 14:43:00 UTC (5 years)
message: issue 13533 - make commands such as rotate-logs print an error message if they are run against
an instance that has never been started. This effects rotate-logs, migrate-timers,
generate-jvm-report, and freeze-transaction-service

A new option has been added to the @ExecuteOn annotation, ifNeverStarted, which takes
a FailurePolicy. The default is ignore, so commands that do set this continue with the
previous behavior. This change also changes the interface to the GlassFish-private class,
ClusterOperationUtil. All uses of that class have been changed.

Passed QL on Windows.
Change Path Actions
M trunk/v3/admin/util/src/main/java/com/sun/enterprise/admin/util/ClusterOperationUtil.java
M trunk/v3/admin/util/src/main/java/com/sun/enterprise/admin/util/LocalStrings.properties
M trunk/v3/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/GlassFishClusterExecutor.java
M trunk/v3/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/PostRegisterInstanceCommand.java
M trunk/v3/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/PostUnregisterInstanceCommand.java
M trunk/v3/common/glassfish-api/src/main/java/org/glassfish/api/admin/ExecuteOn.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/ListCommand.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/MonitoringReporter.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/SetCommand.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/GenerateJvmReportCommand.java
M trunk/v3/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/RotateLog.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateApplicationRefCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteLifecycleModuleCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeploymentCommandUtils.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/DisableCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/EnableCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/PostDeployCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/UndeployCommand.java
M trunk/v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/ValidateRemoteDirDeploymentCommand.java
M trunk/v3/ejb/ejb-container/src/main/java/org/glassfish/ejb/admin/cli/MigrateTimers.java
M trunk/v3/transaction/jta/src/main/java/org/glassfish/jta/admin/cli/FreezeTransactionService.java
 
 
Close
loading
Please Confirm
Close