[jboss-jira] [JBoss JIRA] (WFCORE-1148) Non runtime-only operation can be invoked in domain servers
Jeff Mesnil (JIRA)
issues at jboss.org
Fri Nov 20 10:44:00 EST 2015
Jeff Mesnil created WFCORE-1148:
-----------------------------------
Summary: Non runtime-only operation can be invoked in domain servers
Key: WFCORE-1148
URL: https://issues.jboss.org/browse/WFCORE-1148
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.2.Final
Reporter: Jeff Mesnil
Assignee: Brian Stansberry
Priority: Minor
While working on WFLY-5418, I noticed that non runtime-only operations can be invoked on domain servers under /host=X/server=Y/...
The operation is not listed in read-operation-names, read-resource-description, etc. but invoking it is still possible.
Brian confirmed that this is a bug and the operation should not be executed.
Steps to reproduce:
* remove the runtimeOnly flag in org.jboss.as.ejb3.subsystem.deployment.MessageDrivenBeanResourceDefinition#registerOperations
* deploy the quickstart helloworld-mdb
* the start-delivery (and stop-delivery) operations are not listed in /host=master/server=server-one/deployment=wildfly-helloworld-mdb.war/subsystem=ejb3/message-driven-bean=HelloWorldQueueMDB:read-operation-names
* But the method can be invoked by executing:
{noformat}
[domain at localhost:9990 /] /host=master/server=server-one/deployment=wildfly-helloworld-mdb.war/subsystem=ejb3/message-driven-bean=HelloWorldQueueMDB:start-delivery ain at localhost:9990 /]
{
"outcome" => "success",
"result" => undefined
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list