[JBoss JIRA] (WFLY-8439) Unregistering node throws error: MEM: Can't update or insert context
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-8439?page=com.atlassian.jira.plugin.... ]
Kabir Khan reopened WFLY-8439:
------------------------------
I reverted the PR following feedback
> Unregistering node throws error: MEM: Can't update or insert context
> --------------------------------------------------------------------
>
> Key: WFLY-8439
> URL: https://issues.jboss.org/browse/WFLY-8439
> Project: WildFly
> Issue Type: Bug
> Components: mod_cluster, Web (Undertow)
> Reporter: Stuart Douglas
> Assignee: Stuart Douglas
> Labels: mod_cluster
> Fix For: 11.0.0.Beta1
>
>
> New error message in proxy balancer log
> {noformat}
> 2017-03-21 15:22:24,957 INFO [io.undertow] (default task-23) UT005047: Unregistering context wildfly-services, from node jboss-eap-7.1-1
> 2017-03-21 15:22:24,962 ERROR [io.undertow] (default task-23) UT005043: Error in processing MCMP commands: Type:MEM, Mess: MEM: Can't update or insert context
> 2017-03-21 15:22:28,694 INFO [io.undertow] (default task-29) UT005047: Unregistering context wildfly-services, from node jboss-eap-7.1-2
> 2017-03-21 15:22:28,696 ERROR [io.undertow] (default task-29) UT005043: Error in processing MCMP commands: Type:MEM, Mess: MEM: Can't update or insert context
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFLY-8468) NotSerializableException: org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication when using distributed SSO w/Elytron
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-8468?page=com.atlassian.jira.plugin.... ]
Paul Ferraro moved JBEAP-9999 to WFLY-8468:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8468 (was: JBEAP-9999)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
Security
Web (Undertow)
(was: Clustering)
(was: Security)
(was: Web (Undertow))
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR15)
> NotSerializableException: org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication when using distributed SSO w/Elytron
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-8468
> URL: https://issues.jboss.org/browse/WFLY-8468
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security, Web (Undertow)
> Affects Versions: 11.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Blocker
> Labels: authentication, http, sso, undertow
>
> Having distributable application backed by Undertow {{application-security-domain}} with Elytron SSO set (for FORM mechanism), successful login attempts results in the following error:
> {noformat}
> 15:57:34,903 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (default task-4) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication
> Caused by: an exception which occurred:
> in object org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication@46ef57a5
> in object org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValue@46ef57a5
> in object org.wildfly.clustering.web.infinispan.sso.AuthenticationEntry@417b03e9
> in object org.infinispan.commands.write.PutKeyValueCommand@9646d052
> in object org.infinispan.commands.tx.PrepareCommand@50ee6487
> 15:57:34,905 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-4) ISPN000136: Error executing command PrepareCommand, writing keys [AuthenticationKey(ukdiDnE0KJg46OUFshcxq6XIE2xnV9JZRJfpScWx), CoarseSessionsKey(ukdiDnE0KJg46OUFshcxq6XIE2xnV9JZRJfpScWx)]: org.infinispan.commons.marshall.NotSerializableException: org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication
> Caused by: an exception which occurred:
> in object org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication@46ef57a5
> in object org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValue@46ef57a5
> in object org.wildfly.clustering.web.infinispan.sso.AuthenticationEntry@417b03e9
> in object org.infinispan.commands.write.PutKeyValueCommand@9646d052
> in object org.infinispan.commands.tx.PrepareCommand@50ee6487
> 15:57:34,905 ERROR [org.infinispan.transaction.impl.TransactionCoordinator] (default task-4) ISPN000097: Error while processing a prepare in a single-phase transaction: org.infinispan.commons.marshall.NotSerializableException: org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication
> Caused by: an exception which occurred:
> in object org.wildfly.clustering.web.undertow.sso.elytron.ElytronAuthentication@46ef57a5
> in object org.wildfly.clustering.marshalling.jboss.SimpleMarshalledValue@46ef57a5
> in object org.wildfly.clustering.web.infinispan.sso.AuthenticationEntry@417b03e9
> in object org.infinispan.commands.write.PutKeyValueCommand@9646d052
> in object org.infinispan.commands.tx.PrepareCommand@50ee6487
> {noformat}
> Priority is set to blocker because it blocks EAP7-596.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFCORE-2534) SlaveReconnectTestCase fails with security manager in WF core
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2534?page=com.atlassian.jira.plugi... ]
James Perkins reassigned WFCORE-2534:
-------------------------------------
Assignee: ehsavoie Hugonnet (was: James Perkins)
> SlaveReconnectTestCase fails with security manager in WF core
> -------------------------------------------------------------
>
> Key: WFCORE-2534
> URL: https://issues.jboss.org/browse/WFCORE-2534
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Test Suite
> Reporter: Jan Tymel
> Assignee: ehsavoie Hugonnet
>
> *org.jboss.as.test.integration.domain.slavereconnect.SlaveReconnectTestCase#test01_OrderedExtensionsAndDeployments*
> *org.jboss.as.test.integration.domain.slavereconnect.SlaveReconnectTestCase#test02_DeploymentOverlays*
> {{cd testsuite/domain/}}
> {{mvn test -Dtest=SlaveReconnectTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> [Server:server-affected] 13:16:12,425 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service test.deployment.one: org.jboss.msc.service.StartException in service test.deployment.one: Failed to start service
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) [rt.jar:1.8.0]
> [Server:server-affected] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [rt.jar:1.8.0]
> [Server:server-affected] at java.lang.Thread.run(Thread.java:785) [vm.jar:1.8.0]
> [Server:server-affected] Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "test.deployment.prop.one" "write")" in code source "(vfs:/content/reconnect-slave-depone.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.reconnect-slave-depone.jar" from Service Module Loader")
> [Server:server-affected] at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:server-affected] at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:server-affected] at java.lang.System.setProperty(System.java:476) [vm.jar:1.8.0]
> [Server:server-affected] at org.jboss.as.test.integration.domain.slavereconnect.deployment.ServiceActivatorBaseDeployment.start(ServiceActivatorBaseDeployment.java:64)
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFCORE-2534) SlaveReconnectTestCase fails with security manager in WF core
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2534?page=com.atlassian.jira.plugi... ]
James Perkins commented on WFCORE-2534:
---------------------------------------
Reassigned to [~ehugonnet] because he said he has this working locally.
> SlaveReconnectTestCase fails with security manager in WF core
> -------------------------------------------------------------
>
> Key: WFCORE-2534
> URL: https://issues.jboss.org/browse/WFCORE-2534
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Test Suite
> Reporter: Jan Tymel
> Assignee: ehsavoie Hugonnet
>
> *org.jboss.as.test.integration.domain.slavereconnect.SlaveReconnectTestCase#test01_OrderedExtensionsAndDeployments*
> *org.jboss.as.test.integration.domain.slavereconnect.SlaveReconnectTestCase#test02_DeploymentOverlays*
> {{cd testsuite/domain/}}
> {{mvn test -Dtest=SlaveReconnectTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> [Server:server-affected] 13:16:12,425 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service test.deployment.one: org.jboss.msc.service.StartException in service test.deployment.one: Failed to start service
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) [rt.jar:1.8.0]
> [Server:server-affected] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [rt.jar:1.8.0]
> [Server:server-affected] at java.lang.Thread.run(Thread.java:785) [vm.jar:1.8.0]
> [Server:server-affected] Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "test.deployment.prop.one" "write")" in code source "(vfs:/content/reconnect-slave-depone.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.reconnect-slave-depone.jar" from Service Module Loader")
> [Server:server-affected] at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:server-affected] at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175) [wildfly-elytron-1.1.0.Beta27-redhat-1.jar:1.1.0.Beta27-redhat-1]
> [Server:server-affected] at java.lang.System.setProperty(System.java:476) [vm.jar:1.8.0]
> [Server:server-affected] at org.jboss.as.test.integration.domain.slavereconnect.deployment.ServiceActivatorBaseDeployment.start(ServiceActivatorBaseDeployment.java:64)
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
> [Server:server-affected] ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFCORE-2595) Get rid of the subsystem test framework's use of jboss-metadata-common
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2595:
----------------------------------------
Summary: Get rid of the subsystem test framework's use of jboss-metadata-common
Key: WFCORE-2595
URL: https://issues.jboss.org/browse/WFCORE-2595
Project: WildFly Core
Issue Type: Task
Components: Domain Management, Test Suite
Reporter: Brian Stansberry
The subsystem test framework's SchemaValidator class requires some expression resolution stuff from jboss-metadata-common, which means we have a test-only dep on that lib in core. Look into using something else for this, e.g. ExpressionResolver.SIMPLE_LENIENT. All it is doing is replacing expressions with defaults with the default value.
SchemaValidator is less useful than we originally envisioned anyway, as a lot of the subsystem templates cannot be valid as they include substitution data.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2537) ModelControllerMBeanTestCase fails with security manager in WF core
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2537?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2537:
-------------------------------------
Fix Version/s: 3.0.0.Beta12
(was: 3.0.0.Beta11)
> ModelControllerMBeanTestCase fails with security manager in WF core
> -------------------------------------------------------------------
>
> Key: WFCORE-2537
> URL: https://issues.jboss.org/browse/WFCORE-2537
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: James Perkins
> Fix For: 3.0.0.Beta12
>
>
> *org.jboss.as.test.integration.jmx.ModelControllerMBeanTestCase#testDeploymentViaJmx*
> {{cd testsuite/standalone/}}
> {{mvn test -Dtest=ModelControllerMBeanTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> 13:53:17,762 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service test.deployment.jmx: org.jboss.msc.service.StartException in service test.deployment.jmx: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=test-jmx.jar]" "registerMBean")" in code source "(vfs:/content/test-jmx.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx.jar" from Service Module Loader")
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:111)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=test-jmx.jar]" "registerMBean")" in code source "(vfs:/content/test-jmx.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1842)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:333)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:534)
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:1536)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:878)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.registerMBean(ServiceActivatorDeployment.java:139)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:99)
> ... 5 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2536) JmxSensitiveTestCase fails with security manager in WF core
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2536?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2536:
-------------------------------------
Fix Version/s: 3.0.0.Beta12
(was: 3.0.0.Beta11)
> JmxSensitiveTestCase fails with security manager in WF core
> -----------------------------------------------------------
>
> Key: WFCORE-2536
> URL: https://issues.jboss.org/browse/WFCORE-2536
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: James Perkins
> Fix For: 3.0.0.Beta12
>
>
> *org.jboss.as.test.integration.mgmt.access.JmxSensitiveTestCase*
> {{cd testsuite/rbac/}}
> {{mvn test -Dtest=JmxSensitiveTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> 13:42:13,573 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service test.deployment.jmx: org.jboss.msc.service.StartException in service test.deployment.jmx: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:111)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1842)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:333)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:534)
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:1536)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:878)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.registerMBean(ServiceActivatorDeployment.java:139)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:99)
> ... 5 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2594) NullPointerException when removing configuration history
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2594:
----------------------------------------
Summary: NullPointerException when removing configuration history
Key: WFCORE-2594
URL: https://issues.jboss.org/browse/WFCORE-2594
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.1.0.Final
Reporter: Dennis Reed
Assignee: Ken Wills
Fix For: 3.0.0.Beta12
org.jboss.as.controller.persistence.ConfigurationFile#deleteRecursively is missing error checking.
If an I/O error occurs while listing the directory contents (file permission error/etc) it still tries to use the listing and gets a NullPointerException.
This method is used while removing old configuration history directories during boot, and the NullPointerException causes the EAP boot to abort.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month