[wildfly-dev] web console error

Brian Stansberry brian.stansberry at redhat.com
Fri Aug 23 11:08:47 EDT 2013


Thanks. If all goes well today I'll send another PR to master with all 
the current RBAC stuff. I'll include the console.

On 8/23/13 2:26 AM, Heiko Braun wrote:
>
>
> I've send the PR to Brian, because it relates to the RBAC work. I'll let him decide when to merge it into wildfly master:
>
> https://github.com/bstansberry/wildfly/pull/22
>
> On Aug 23, 2013, at 8:00 AM, Heiko Braun <hbraun at redhat.com> wrote:
>
>>
>>
>> It seems
>>>>> [WFLY-490] Get rid of the attributes parameter, and make
>>>>> access-control an enum for more control over the output
>>
>> has been merged to master w/o the console update.
>>
>> I am going todo 2.0.0.Beta3 today anyway, which solves this problem. I would suggest we simply wait until it is merged into master, instead of rolling back Kabirs changes.
>>
>> Regards, Heiko
>>
>> On Aug 22, 2013, at 11:04 PM, Brian Stansberry <brian.stansberry at redhat.com> wrote:
>>
>>> I skipped step 1 though...
>>>
>>> Luca, did you clean and rebuild after pulling? If not, please do and let
>>> us know if the issue goes away.
>>>
>>> On 8/22/13 3:56 PM, Brian Stansberry wrote:
>>>> Sorry, I missed this earlier today.
>>>>
>>>> Kabir/Heiko, WDYT about reverting that commit and moving it to the rbac
>>>> topic branch? We can bring it to master along with a console upgrade commit.
>>>>
>>>> On 8/22/13 10:27 AM, luca boncompagni wrote:
>>>>> Hi,
>>>>>
>>>>> after pulling the last git, the web console does not work anymore. Every
>>>>> link that I click I get the following error in the log:
>>>>>
>>>>> 11:35:34,203 ERROR [org.jboss.as.controller.management-operation]
>>>>> (XNIO-1 task-3) JBAS014612: Operation ("read-resource-description")
>>>>> failed - address: ([
>>>>>      ("core-service" => "platform-mbean"),
>>>>>      ("type" => "runtime")
>>>>> ]): java.lang.IllegalArgumentException: No enum constant
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.AccessControl.TRUE
>>>>>          at java.lang.Enum.valueOf(Enum.java:236) [rt.jar:1.7.0_21]
>>>>>          at
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$AccessControl.valueOf(ReadResourceDescriptionHandler.java:704)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$AccessControl.forName(ReadResourceDescriptionHandler.java:726)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecuteInternal(ReadResourceDescriptionHandler.java:172)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecute(ReadResourceDescriptionHandler.java:145)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.execute(ReadResourceDescriptionHandler.java:138)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:608)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:486)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:275)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:270)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:251)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:138)
>>>>> [wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>          at
>>>>> org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:154)
>>>>> [wildfly-domain-http-interface-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
>>>>>
>>>>> I think that the problem was caused by:
>>>>>
>>>>> commit 8973b52ba4831ce5b937ec496a268795a74578b5
>>>>> Author: kabir <kkhan at redhat.com <mailto:kkhan at redhat.com>>
>>>>> Date:   Tue Aug 13 17:18:58 2013 +0100
>>>>>
>>>>>      [WFLY-490] Get rid of the attributes parameter, and make
>>>>> access-control an enum for more control over the output
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Luca
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> wildfly-dev mailing list
>>>>> wildfly-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Brian Stansberry
>>> Principal Software Engineer
>>> JBoss by Red Hat
>>> _______________________________________________
>>> wildfly-dev mailing list
>>> wildfly-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>>
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the wildfly-dev mailing list