Skip to content

Instantly share code, notes, and snippets.

@ctomc
Created September 20, 2013 10:34
Show Gist options
  • Save ctomc/6635751 to your computer and use it in GitHub Desktop.
Save ctomc/6635751 to your computer and use it in GitHub Desktop.
Platform mbean model diff
Enter legacy AS version: 7.1.3.Final
Using target model: 7.1.3.Final
Enter type [S](standalone)/H(host)/D(domain)/F(domain + host):S
Read from target directory or from the legacy-models directory - t/[l]:
Report on differences in the model when the management versions are different? y/[n]: y
Reporting on differences in the model when the management versions are different
Loading legacy model versions for 7.1.3.Final....
Loaded legacy model versions
Loading model versions for currently running server...
--- Problems for relative address to root ["core-service" => "platform-mbean"]:
Missing child names for type=type in current: []; missing in legacy [buffer-pool] <-- registered only on JDK7
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "class-loading"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'loaded-class-count'. Current: undefined; legacy: "NONE"
Different 'unit' for attribute 'total-loaded-class-count'. Current: undefined; legacy: "NONE"
Different 'unit' for attribute 'unloaded-class-count'. Current: undefined; legacy: "NONE"
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "compilation"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Missing parameters for operation 'read-resource' in current: []; missing in legacy [attributes-only, include-aliases] <-- new attributes that are part of global :read-resource
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "garbage-collector","name" => "*"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'collection-count'. Current: undefined; legacy: "NONE"
Different 'nillable' for attribute 'name'. Current: true; legacy: false <-- used common "name" attribute and made it consistent
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "memory"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'object-pending-finalization-count'. Current: undefined; legacy: "NONE"
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "memory-manager","name" => "*"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'nillable' for attribute 'name'. Current: true; legacy: false
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "memory-pool","name" => "*"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'collection-usage-threshold-count'. Current: undefined; legacy: "NONE"
Different 'nillable' for attribute 'name'. Current: true; legacy: false <-- used common "name" attribute and made it consistent
Different 'unit' for attribute 'usage-threshold-count'. Current: undefined; legacy: "NONE"
Missing parameters for operation 'read-resource' in current: []; missing in legacy [attributes-only, include-aliases]
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "operating-system"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'available-processors'. Current: undefined; legacy: "NONE"
Missing parameters for operation 'read-resource' in current: []; missing in legacy [attributes-only, include-aliases]
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "runtime"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'nillable' for attribute 'name'. Current: true; legacy: false
Different 'value-type' for attribute 'system-properties'. Current: {"sys-prop" => {
"type" => STRING,
"description" => "Single property",
"expressions-allowed" => false,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
}}; legacy: STRING
<-- legacy was wrong, but i am not 100% on this one...
Missing parameters for operation 'read-resource' in current: []; missing in legacy [attributes-only, include-aliases]
--- Problems for relative address to root ["core-service" => "platform-mbean","type" => "threading"]:
Missing attributes in current: []; missing in legacy [object-name] <-- registered only on JDK7
Different 'unit' for attribute 'daemon-thread-count'. Current: undefined; legacy: "NONE"
Different 'unit' for attribute 'peak-thread-count'. Current: undefined; legacy: "NONE"
Different 'unit' for attribute 'thread-count'. Current: undefined; legacy: "NONE"
Different 'unit' for attribute 'total-started-thread-count'. Current: undefined; legacy: "NONE"
Missing parameters for operation 'read-resource' in current: []; missing in legacy [attributes-only, include-aliases]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment