[JBoss JIRA] (WFLY-3741) setting some locales causes wildfly console to throw errors and show some missing buttons.
by Jay Kumar SenSharma (JIRA)
[ https://issues.jboss.org/browse/WFLY-3741?page=com.atlassian.jira.plugin.... ]
Jay Kumar SenSharma updated WFLY-3741:
--------------------------------------
Attachment: mssing_add_remove_disable_Buttons.png
> setting some locales causes wildfly console to throw errors and show some missing buttons.
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-3741
> URL: https://issues.jboss.org/browse/WFLY-3741
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Localization, Web Console
> Affects Versions: 9.0.0.Beta1
> Reporter: Jay Kumar SenSharma
> Assignee: Manuel Ospina
> Attachments: mssing_add_remove_disable_Buttons.png
>
>
> - When WildFly 9 Alpha1 is started with the following system properties in the "standalone.conf" then the admin console behaves abnormally and shows some missing buttons in the console. See attached screenshot "mssing_add_remove_disable_Buttons.png".
> {code}
> JAVA_OPTS="$JAVA_OPTS -Duser.country=TR -Duser.language=tr"
> {code}
> - Also it throws following Error while accessing the console URL like [1]
> [1] http://localhost:9990/console/App.html#datasources
> {code}
> 10:39:39,223 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-8) WFLYCTL0013: Operation ("check-resource-access") failed - address: ([
> ("subsystem" => "datasources"),
> ("data-source" => "*"),
> ("connection-properties" => "*")
> ]): java.lang.IllegalArgumentException: No enum constant org.jboss.as.controller.registry.AttributeAccess.Storage.CONFİGURATİON
> at java.lang.Enum.valueOf(Enum.java:236) [rt.jar:1.7.0_51]
> at org.jboss.as.controller.registry.AttributeAccess$Storage.valueOf(AttributeAccess.java:91) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$CheckResourceAccessHandler.execute(ReadResourceDescriptionHandler.java:431) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:603) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:481) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:282) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:277) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1060) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:296) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:165) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:179) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_51]
> at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_51]
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:50) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
> at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:83) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
> at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:737) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3741) setting some locales causes wildfly console to throw errors and show some missing buttons.
by Jay Kumar SenSharma (JIRA)
Jay Kumar SenSharma created WFLY-3741:
-----------------------------------------
Summary: setting some locales causes wildfly console to throw errors and show some missing buttons.
Key: WFLY-3741
URL: https://issues.jboss.org/browse/WFLY-3741
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Localization, Web Console
Affects Versions: 9.0.0.Beta1
Reporter: Jay Kumar SenSharma
Assignee: Manuel Ospina
- When WildFly 9 Alpha1 is started with the following system properties in the "standalone.conf" then the admin console behaves abnormally and shows some missing buttons in the console. See attached screenshot "mssing_add_remove_disable_Buttons.png".
{code}
JAVA_OPTS="$JAVA_OPTS -Duser.country=TR -Duser.language=tr"
{code}
- Also it throws following Error while accessing the console URL like [1]
[1] http://localhost:9990/console/App.html#datasources
{code}
10:39:39,223 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-8) WFLYCTL0013: Operation ("check-resource-access") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "*"),
("connection-properties" => "*")
]): java.lang.IllegalArgumentException: No enum constant org.jboss.as.controller.registry.AttributeAccess.Storage.CONFİGURATİON
at java.lang.Enum.valueOf(Enum.java:236) [rt.jar:1.7.0_51]
at org.jboss.as.controller.registry.AttributeAccess$Storage.valueOf(AttributeAccess.java:91) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$CheckResourceAccessHandler.execute(ReadResourceDescriptionHandler.java:431) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:603) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:481) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:282) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:277) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1060) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:296) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:165) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:179) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_51]
at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_51]
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94) [wildfly-controller-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:50) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:83) [wildfly-domain-http-interface-1.0.0.Alpha3.jar:1.0.0.Alpha3]
at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:737) [undertow-core-1.1.0.Beta5.jar:1.1.0.Beta5]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3738) Secured JavaEE appclient hangs on invalid login
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFLY-3738?page=com.atlassian.jira.plugin.... ]
Stuart Douglas commented on WFLY-3738:
--------------------------------------
Can you take a thread dump of the hanging process? Basically this usually happens when a background thread that should be marked as being a daemon thread has not been.
> Secured JavaEE appclient hangs on invalid login
> -----------------------------------------------
>
> Key: WFLY-3738
> URL: https://issues.jboss.org/browse/WFLY-3738
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Application Client
> Affects Versions: 8.1.0.Final
> Reporter: Wolfgang Knauf
> Assignee: Stuart Douglas
> Priority: Minor
> Attachments: Security.ear, standalone.xml
>
>
> See attached sample EAR file: it contains a secured EJB and a JavaEE application client. When running the JavaEE application client, you are prompted to enter a user/password, which causes an authentication against a security domain (the prompt to enter login/password does not work correctly, so enter username when nothing more happens, press enter, enter password when nothing more happens and press enter ;-)).
> If you enter valid credentials (e.g. "admin/admin" or "kunde/kunde"), everything is fine. But if you enter e.g. an invalid password, the app client container does not exit. It hangs at the step
> "20:39:28,649 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015950: WildFly 8.1.0.Final "Kenny" stopped in 339ms"
> To reproduce:
> a) modify "standalone.xml":
> a.1) I need a custom realm:
> <security-realm name="KnaufRealm">
> <authentication>
> <jaas name="knaufsecurity"/>
> </authentication>
> </security-realm>
> a.2) add this security domain:
> <security-domain name="knaufsecurity" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:jboss/datasources/ExampleDS"/>
> <module-option name="principalsQuery" value="SELECT PASSWORT FROM BENUTZER WHERE LOGIN=?"/>
> <module-option name="rolesQuery" value="SELECT R.ROLLE, 'Roles' FROM ROLLE AS R, BENUTZER_ROLLE AS BR, BENUTZER AS B WHERE B.LOGIN=? AND BR.ROLLEN_ID = R.ID AND BR.BENUTZER_ID = B.ID"/>
> <module-option name="unauthenticatedIdentity" value="gast"/>
> </login-module>
> </authentication>
> </security-domain>
> a.3) point the remoting connector to my own security realm:
> <subsystem xmlns="urn:jboss:domain:remoting:2.0">
> <endpoint worker="default"/>
> <http-connector name="http-remoting-connector" connector-ref="default" security-realm="KnaufRealm"/>
> </subsystem>
> b) deploy attached EAR file to the server
> c) run JavaEE application client: %WILDFLY_HOME%\bin\appclient.bat c:\path_to\Security.ear#SecurityClient.jar
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3733) ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3733?page=com.atlassian.jira.plugin.... ]
Radoslav Husar edited comment on WFLY-3733 at 8/17/14 7:43 PM:
---------------------------------------------------------------
Seems like #2 is also possible, I have checked all the instances of methods and all seem just providing desired metric information in consumable format.
was (Author: rhusar):
Seems like #2 is also possible, I have checked all the instances of methods and all seem just providing desired metric information.
> ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-3733
> URL: https://issues.jboss.org/browse/WFLY-3733
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: 8.1.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> It seems to me that org.jboss.as.clustering.jgroups.subsystem.ChannelInstanceResourceDefinition#getProtocolMetricResourceDefinition
> doesnt expose ManagedAttributes that would have to be registred as strings
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:213
> and doesnt expose any of the annotated methods
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:208
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3733) ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3733?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-3733:
---------------------------------
Priority: Major (was: Minor)
> ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-3733
> URL: https://issues.jboss.org/browse/WFLY-3733
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: 8.1.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 9.0.0.Beta1
>
>
> It seems to me that org.jboss.as.clustering.jgroups.subsystem.ChannelInstanceResourceDefinition#getProtocolMetricResourceDefinition
> doesnt expose ManagedAttributes that would have to be registred as strings
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:213
> and doesnt expose any of the annotated methods
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:208
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3733) ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3733?page=com.atlassian.jira.plugin.... ]
Radoslav Husar commented on WFLY-3733:
--------------------------------------
Seems like #2 is also possible, I have checked all the instances of methods and all seem just providing desired metric information.
> ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-3733
> URL: https://issues.jboss.org/browse/WFLY-3733
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: 8.1.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> It seems to me that org.jboss.as.clustering.jgroups.subsystem.ChannelInstanceResourceDefinition#getProtocolMetricResourceDefinition
> doesnt expose ManagedAttributes that would have to be registred as strings
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:213
> and doesnt expose any of the annotated methods
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:208
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months