[JBoss JIRA] (WFLY-4435) Mixed domain tests fail on infinispan/jgroups subystems
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-4435?page=com.atlassian.jira.plugin.... ]
Radoslav Husar reassigned WFLY-4435:
------------------------------------
Assignee: Radoslav Husar (was: Jason Greene)
> Mixed domain tests fail on infinispan/jgroups subystems
> -------------------------------------------------------
>
> Key: WFLY-4435
> URL: https://issues.jboss.org/browse/WFLY-4435
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> The same problem happens when attempting to use 2_0 version of these subsystems in current configuration.
> {noformat}
> [Host Controller] [0m[0m15:33:41,155 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute enabled is deprecated, and it might be removed in future version![0m
> [Host Controller] [0m[0m15:33:41,161 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute default-clustered-sfsb-cache is deprecated, and it might be removed in future version![0m
> [Host Controller] [0m[31m15:33:41,174 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([[0m
> [Host Controller] [31m ("profile" => "full-ha"),[0m
> [Host Controller] [31m ("subsystem" => "jgroups"),[0m
> [Host Controller] [31m ("channel" => "server")[0m
> [Host Controller] [31m]) - failure description: "WFLYCTL0175: Resource [[0m
> [Host Controller] [31m (\"profile\" => \"full-ha\"),[0m
> [Host Controller] [31m (\"subsystem\" => \"jgroups\")[0m
> [Host Controller] [31m] does not exist; a resource at address [[0m
> [Host Controller] [31m (\"profile\" => \"full-ha\"),[0m
> [Host Controller] [31m (\"subsystem\" => \"jgroups\"),[0m
> [Host Controller] [31m (\"channel\" => \"server\")[0m
> [Host Controller] [31m] cannot be created until all ancestor resources have been added"[0m
> [Host Controller] [31m[0m[31m15:33:41,183 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.[0m
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFCORE-600) CLI unable to parse op where a list contains a list.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-600?page=com.atlassian.jira.plugin... ]
Darran Lofthouse updated WFCORE-600:
------------------------------------
Description:
The CLI is incorrectly parsing commands where the parameter contains a list that contains a list.
Take the following command: -
{code}
./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], module=sun.jdk, property-list=[{key=a,value=b},{key=b,value=c}] }])
{code}
The following operation is created: -
{code}
{
"address" => [
("subsystem" => "elytron"),
("provider-loader" => "pkcs#11")
],
"operation" => "add",
"register" => false,
"providers" => [{
"class-names" => ["sun.security.pkcs11.SunPKCS11"],
"module" => "sun.jdk",
"property-list" => [
{
"key" => "a",
"value" => "b"
},
{
"key" => "b",
"value" => "c"
},
"}"
]
}]
}
{code}
Note the additional "}" inside property-list.
Change the order of parameters to now be: -
{code}
./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], property-list=[{key=a,value=b},{key=b,value=c}], module=sun.jdk }])
{code}
And the resulting operation is: -
{code}
{
"address" => [
("subsystem" => "elytron"),
("provider-loader" => "pkcs#11")
],
"operation" => "add",
"register" => false,
"providers" => [
{
"key" => "a",
"value" => "b"
},
{
"key" => "b",
"value" => "c"
},
("module" => "sun.jdk }")
]
}
{code}
Here the content of providers is completely wrong, also the value for 'module' is wrong and contains an additional '}'.
was:
The CLI is incorrectly parsing commands where the parameter contains a list that contains a list.
Take the following command: -
{code}
./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], module=sun.jdk, property-list=[{key=a,value=b},{key=b,value=c}] }])
{code}
The following operation is created: -
{code}
{
"address" => [
("subsystem" => "elytron"),
("provider-loader" => "pkcs#11")
],
"operation" => "add",
"register" => false,
"providers" => [{
"class-names" => ["sun.security.pkcs11.SunPKCS11"],
"module" => "sun.jdk",
"property-list" => [
{
"key" => "a",
"value" => "b"
},
{
"key" => "b",
"value" => "c"
},
"}"
]
}]
}
{code}
Note the additional "}" inside property-list.
Change the order of parameters to now be: -
{code}
./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], property-list=[{key=a,value=b},{key=b,value=c}], module=sun.jdk }])
{code}
And the resulting operation is: -
{code}
{
"address" => [
("subsystem" => "elytron"),
("provider-loader" => "pkcs#11")
],
"operation" => "add",
"register" => false,
"providers" => [
{
"key" => "a",
"value" => "b"
},
{
"key" => "b",
"value" => "c"
},
("module" => "sun.jdk }")
]
}
{code}
Here the content of providers is completely wrong.
> CLI unable to parse op where a list contains a list.
> ----------------------------------------------------
>
> Key: WFCORE-600
> URL: https://issues.jboss.org/browse/WFCORE-600
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Darran Lofthouse
> Assignee: Alexey Loubyansky
> Labels: affects_elytron
> Fix For: 1.0.0.Beta1
>
>
> The CLI is incorrectly parsing commands where the parameter contains a list that contains a list.
> Take the following command: -
> {code}
> ./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], module=sun.jdk, property-list=[{key=a,value=b},{key=b,value=c}] }])
> {code}
> The following operation is created: -
> {code}
> {
> "address" => [
> ("subsystem" => "elytron"),
> ("provider-loader" => "pkcs#11")
> ],
> "operation" => "add",
> "register" => false,
> "providers" => [{
> "class-names" => ["sun.security.pkcs11.SunPKCS11"],
> "module" => "sun.jdk",
> "property-list" => [
> {
> "key" => "a",
> "value" => "b"
> },
> {
> "key" => "b",
> "value" => "c"
> },
> "}"
> ]
> }]
> }
> {code}
> Note the additional "}" inside property-list.
> Change the order of parameters to now be: -
> {code}
> ./subsystem=elytron/provider-loader=pkcs#11:add(register=false, providers=[{ class-names=[sun.security.pkcs11.SunPKCS11], property-list=[{key=a,value=b},{key=b,value=c}], module=sun.jdk }])
> {code}
> And the resulting operation is: -
> {code}
> {
> "address" => [
> ("subsystem" => "elytron"),
> ("provider-loader" => "pkcs#11")
> ],
> "operation" => "add",
> "register" => false,
> "providers" => [
> {
> "key" => "a",
> "value" => "b"
> },
> {
> "key" => "b",
> "value" => "c"
> },
> ("module" => "sun.jdk }")
> ]
> }
> {code}
> Here the content of providers is completely wrong, also the value for 'module' is wrong and contains an additional '}'.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months