[
https://issues.jboss.org/browse/AS7-3561?page=com.atlassian.jira.plugin.s...
]
Michael Golubev commented on AS7-3561:
--------------------------------------
Hello,
This change broke IDEA support of JBoss 7
(
http://youtrack.jetbrains.com/issue/IDEA-81489)
In IDEA, we have used 'validate-address' operation in 2 cases:
1) check whether server is ready for remote administration - call to
'validate-address' without address
2) check whether deployment is registered on the server - call to
'validate-address' with 'deployment=<artifact name>' as the address
As I can see from the AS7-3561 and from the actual CLI of the JBoss 7.1.0 final, now,
validate-address:
- could be executed without address only
(execution with 'deployment=<artifact name>' fails with JBAS014739: No
handler for validate-address at address [("deployment" => "=<artifact
name>")]
- requires the 'value' attribute
But, 'value' attribute seems not to expect address or just broken itself, since
every value I've passed as the 'value' fails with JBAS014749: Operation
handler failed: null
(I've tried empty string, "/", "/deployment=<deployed artifact
name>/"...)
Could you please describe what is expected as 'value' or confirm
'validate-address' is broken now?
Regards,
Michael
change validate-address operation contract
------------------------------------------
Key: AS7-3561
URL:
https://issues.jboss.org/browse/AS7-3561
Project: Application Server 7
Issue Type: Task
Components: Domain Management
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: 7.1.0.Final
Current implementation is not safe in a sense that the operation fails if the address is
not valid. There is no safe way, i.e. a boolean result, not a failure, to check whether an
address is valid.
The idea is to change the current validate-address so that:
- it's only a root operation, not inherited like the current impl;
- add an address argument (the current impl has no arguments), which will be the address
to check;
- the result type should be a boolean value;
- in case of failure, include a message into the response describing which part of the
address is wrong.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira