[jboss-jira] [JBoss JIRA] (WFLY-3791) Allow deployment initialization to have read-access to portions of the model
ofbiz brazil (JIRA)
issues at jboss.org
Sat Aug 30 10:27:00 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997202#comment-12997202 ]
ofbiz brazil commented on WFLY-3791:
------------------------------------
Well, be a question of luck in Jboss 7,1,1 sounds really weird for me.
Right now my current project works on Production without issues using @Startup EJB, as you say I should have faced anytime some error but I never got one related to it.
In my opinion Wildfly changed EJB box somewhere, but if it may possible to include any solution in Wildfly 8.2 I'd appreciate a lot!
Thanks!
> Allow deployment initialization to have read-access to portions of the model
> ----------------------------------------------------------------------------
>
> Key: WFLY-3791
> URL: https://issues.jboss.org/browse/WFLY-3791
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Environment: Java 7
> Reporter: ofbiz brazil
> Fix For: Awaiting Volunteers
>
>
> Hello,
> When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.
> Java Code:
> {code:java}
> final ModelNode request = new ModelNode();
> request.get(ClientConstants.OP).set("read-resource");
> request.get("recursive").set(true);
> request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
> final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
> final ModelNode response = client.execute(new OperationBuilder(request).build());
> final String section = response.get(ClientConstants.RESULT).get("security-domain")
> .get("pw_MSSQL_CAS_DS")
> {code}
> Result:
> ---------
> {code}
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
> "rolled-back" => true
> }
> {code}
> Cheers,
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list