]
Jeff Mesnil updated AS7-5417:
-----------------------------
Fix Version/s: 7.2.0.Alpha1
Git Pull Request:
fix messaging paths
-------------------
Key: AS7-5417
URL:
https://issues.jboss.org/browse/AS7-5417
Project: Application Server 7
Issue Type: Bug
Components: JMS
Affects Versions: 7.1.2.Final (EAP)
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 7.2.0.Alpha1
messaging subsystems defines paths used to store HornetQ journal and metadata.
The resources are not exposed in a consistent fashion:
{noformat}
[standalone@localhost:9999 /] cd /subsystem=messaging/hornetq-server=default
[standalone@localhost:9999 hornetq-server=default]
./:read-children-names(child-type=path)
{
"outcome" => "success",
"result" => []
}
[standalone@localhost:9999 hornetq-server=default] ./path=*:read-resource
{
"outcome" => "failed",
"failure-description" => "JBAS014739: No handler for read-resource
at address [
(\"subsystem\" => \"messaging\"),
(\"hornetq-server\" => \"default\"),
(\"path\" => \"*\")
]",
"rolled-back" => true
}
[standalone@localhost:9999 hornetq-server=default] ./path=*:read-resource-description
{
"outcome" => "failed",
"failure-description" => "JBAS014739: No handler for
read-resource-description at address [
(\"subsystem\" => \"messaging\"),
(\"hornetq-server\" => \"default\"),
(\"path\" => \"*\")
]",
"rolled-back" => true
}
[standalone@localhost:9999 hornetq-server=default]
./:read-resource-description(recursive=true, recursive-depth=1)
{
"outcome" => "success",
"result" => {
"description" => "A HornetQ server instance.",
...
"children" => {
...
"path" => {
"description" => "A filesystem path pointing to one of
the locations where HornetQ stores persistent data.",
"model-description" => {
"journal-directory" => {
"description" => "The directory in which the
message journal lives. The default is ${jboss.server.data.dir}/messaging/journal.",
"attributes" => {
"path" => {
"type" => STRING,
"description" => "The actual filesystem
path. Treated as an absolute path, unless the 'relative-to' attribute is
specified, in which case the value is treated as relative to that path. <p>If
treated as an absolute path, the actual runtime pathname specified by the value of this
attribute will be determined as follows: </p>If this value is already absolute, then
the value is directly used. Otherwise the runtime pathname is resolved in a
system-dependent way. On UNIX systems, a relative pathname is made absolute by resolving
it against the current user directory. On Microsoft Windows systems, a relative pathname
is made absolute by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user directory.",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
},
"relative-to" => {
"type" => STRING,
"description" => "The name of another
previously named path, or of one of the standard paths provided by the system. If
'relative-to' is provided, the value of the 'path' attribute is treated as
relative to the path specified by this attribute. The standard paths provided by the
system include:<ul><li>jboss.home - the root directory of the JBoss AS
distribution</li><li>user.home - user's home
directory</li><li>user.dir - user's current working
directory</li><li>java.home - java installation
directory</li><li>jboss.server.base.dir - root directory for an individual
server instance</li><li>jboss.server.data.dir - directory the server will use
for persistent data file storage</li><li>jboss.server.log.dir - directory the
server will use for log file storage</li><li>jboss.server.tmp.dir - directory
the server will use for temporary file
storage</li><li>jboss.domain.servers.dir - directory under which a host
controller will create the working area for individual server
instances</li></ul>",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
}
},
"operations" => undefined,
"children" => {}
},
"paging-directory" => {
"description" => "The directory where page
files are stored. The default is ${jboss.server.data.dir}/messaging/paging.",
"attributes" => {
"path" => {
"type" => STRING,
"description" => "The actual filesystem
path. Treated as an absolute path, unless the 'relative-to' attribute is
specified, in which case the value is treated as relative to that path. <p>If
treated as an absolute path, the actual runtime pathname specified by the value of this
attribute will be determined as follows: </p>If this value is already absolute, then
the value is directly used. Otherwise the runtime pathname is resolved in a
system-dependent way. On UNIX systems, a relative pathname is made absolute by resolving
it against the current user directory. On Microsoft Windows systems, a relative pathname
is made absolute by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user directory.",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
},
"relative-to" => {
"type" => STRING,
"description" => "The name of another
previously named path, or of one of the standard paths provided by the system. If
'relative-to' is provided, the value of the 'path' attribute is treated as
relative to the path specified by this attribute. The standard paths provided by the
system include:<ul><li>jboss.home - the root directory of the JBoss AS
distribution</li><li>user.home - user's home
directory</li><li>user.dir - user's current working
directory</li><li>java.home - java installation
directory</li><li>jboss.server.base.dir - root directory for an individual
server instance</li><li>jboss.server.data.dir - directory the server will use
for persistent data file storage</li><li>jboss.server.log.dir - directory the
server will use for log file storage</li><li>jboss.server.tmp.dir - directory
the server will use for temporary file
storage</li><li>jboss.domain.servers.dir - directory under which a host
controller will create the working area for individual server
instances</li></ul>",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
}
},
"operations" => undefined,
"children" => {}
},
"large-messages-directory" => {
"description" => "The directory in which large
messages are stored. The default is
${jboss.server.data.dir}/messaging/largemessages.",
"attributes" => {
"path" => {
"type" => STRING,
"description" => "The actual filesystem
path. Treated as an absolute path, unless the 'relative-to' attribute is
specified, in which case the value is treated as relative to that path. <p>If
treated as an absolute path, the actual runtime pathname specified by the value of this
attribute will be determined as follows: </p>If this value is already absolute, then
the value is directly used. Otherwise the runtime pathname is resolved in a
system-dependent way. On UNIX systems, a relative pathname is made absolute by resolving
it against the current user directory. On Microsoft Windows systems, a relative pathname
is made absolute by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user directory.",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
},
"relative-to" => {
"type" => STRING,
"description" => "The name of another
previously named path, or of one of the standard paths provided by the system. If
'relative-to' is provided, the value of the 'path' attribute is treated as
relative to the path specified by this attribute. The standard paths provided by the
system include:<ul><li>jboss.home - the root directory of the JBoss AS
distribution</li><li>user.home - user's home
directory</li><li>user.dir - user's current working
directory</li><li>java.home - java installation
directory</li><li>jboss.server.base.dir - root directory for an individual
server instance</li><li>jboss.server.data.dir - directory the server will use
for persistent data file storage</li><li>jboss.server.log.dir - directory the
server will use for log file storage</li><li>jboss.server.tmp.dir - directory
the server will use for temporary file
storage</li><li>jboss.domain.servers.dir - directory under which a host
controller will create the working area for individual server
instances</li></ul>",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
}
},
"operations" => undefined,
"children" => {}
},
"bindings-directory" => {
"description" => "The directory in which the
bindings journal lives. The default is
${jboss.server.data.dir}/messaging/bindings.",
"attributes" => {
"path" => {
"type" => STRING,
"description" => "The actual filesystem
path. Treated as an absolute path, unless the 'relative-to' attribute is
specified, in which case the value is treated as relative to that path. <p>If
treated as an absolute path, the actual runtime pathname specified by the value of this
attribute will be determined as follows: </p>If this value is already absolute, then
the value is directly used. Otherwise the runtime pathname is resolved in a
system-dependent way. On UNIX systems, a relative pathname is made absolute by resolving
it against the current user directory. On Microsoft Windows systems, a relative pathname
is made absolute by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user directory.",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
},
"relative-to" => {
"type" => STRING,
"description" => "The name of another
previously named path, or of one of the standard paths provided by the system. If
'relative-to' is provided, the value of the 'path' attribute is treated as
relative to the path specified by this attribute. The standard paths provided by the
system include:<ul><li>jboss.home - the root directory of the JBoss AS
distribution</li><li>user.home - user's home
directory</li><li>user.dir - user's current working
directory</li><li>java.home - java installation
directory</li><li>jboss.server.base.dir - root directory for an individual
server instance</li><li>jboss.server.data.dir - directory the server will use
for persistent data file storage</li><li>jboss.server.log.dir - directory the
server will use for log file storage</li><li>jboss.server.tmp.dir - directory
the server will use for temporary file
storage</li><li>jboss.domain.servers.dir - directory under which a host
controller will create the working area for individual server
instances</li></ul>",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"all-services"
}
},
"operations" => undefined,
"children" => {}
}
},
"min-occurs" => 4,
"max-occurs" => 4
},
...
}
}
}
[standalone@localhost:9999 hornetq-server=default] ./:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
...
"path" => undefined,
...
}
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: