project_key: JBPAPP6 I added a resource adapter to the server by web console. Then I tried to add a connection definition with jndi-name "java:/ddd" and class-name "ccc". Operation failed with "Unknown error" result. There is a description: Fri Sep 21 09:50:51 GMT+200 2012 Unknown error Unexpected HTTP response: 500 Request { "address" => [], "operation" => "composite", "steps" => [{ "security-application" => false, "enabled" => false, "jndi-name" => "java:/ddd", "background-validation" => false, "class-name" => "ccc", "operation" => "add", "address" => [ ("subsystem" => "resource-adapters"), ("resource-adapter" => "a.rar"), ("connection-definitions" => "java:/ddd") ] }] } Response Internal Server Error { "outcome" => "failed", "result" => {"step-1" => { "outcome" => "failed", "failure-description" => { "security-application" => false, "enabled" => false, "jndi-name" => "java:/ddd", "background-validation" => false, "class-name" => "ccc", "operation" => "add", "address" => [ ("subsystem" => "resource-adapters"), ("resource-adapter" => "a.rar"), ("connection-definitions" => "java:/ddd") ], "use-java-context" => undefined, "max-pool-size" => undefined, "min-pool-size" => undefined, "pool-use-strict-min" => undefined, "flush-strategy" => undefined, "security-domain-and-application" => undefined, "security-domain" => undefined, "allocation-retry" => undefined, "allocation-retry-wait-millis" => undefined, "blocking-timeout-wait-millis" => undefined, "idle-timeout-minutes" => undefined, "xa-resource-timeout" => undefined, "use-try-lock" => undefined, "background-validation-millis" => undefined, "use-fast-fail" => undefined, "use-ccm" => undefined, "recovery-plugin-class-name" => undefined, "recovery-plugin-properties" => undefined, "recovery-password" => undefined, "recovery-security-domain" => undefined, "recovery-username" => undefined, "no-recovery" => undefined, "wrap-xa-resource" => undefined, "same-rm-override" => undefined, "pad-xid" => undefined, "pool-prefill" => undefined, "interleaving" => undefined, "no-tx-separate-pool" => undefined }, "rolled-back" => true }}, "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => { "security-application" => false, "enabled" => false, "jndi-name" => "java:/ddd", "background-validation" => false, "class-name" => "ccc", "operation" => "add", "address" => [ ("subsystem" => "resource-adapters"), ("resource-adapter" => "a.rar"), ("connection-definitions" => "java:/ddd") ], "use-java-context" => undefined, "max-pool-size" => undefined, "min-pool-size" => undefined, "pool-use-strict-min" => undefined, "flush-strategy" => undefined, "security-domain-and-application" => undefined, "security-domain" => undefined, "allocation-retry" => undefined, "allocation-retry-wait-millis" => undefined, "blocking-timeout-wait-millis" => undefined, "idle-timeout-minutes" => undefined, "xa-resource-timeout" => undefined, "use-try-lock" => undefined, "background-validation-millis" => undefined, "use-fast-fail" => undefined, "use-ccm" => undefined, "recovery-plugin-class-name" => undefined, "recovery-plugin-properties" => undefined, "recovery-password" => undefined, "recovery-security-domain" => undefined, "recovery-username" => undefined, "no-recovery" => undefined, "wrap-xa-resource" => undefined, "same-rm-override" => undefined, "pad-xid" => undefined, "pool-prefill" => undefined, "interleaving" => undefined, "no-tx-separate-pool" => undefined }}}, "rolled-back" => true }
Is this a regression from 6.0.0.GA?
Yes, probably. I was able to add connection definition in previous version.
yes, it's regression. unfortunately the error response is meaningless. I'll ask stefano to check if it's regression on the within the subsystem.
@stefano can you take a look at this? The error message is not useful at all.
The problem seems w/ security-application = false. I'll have a look was it always specified also in previous versions?
It's not a regression and it's not even a bug. It's happening because web console is setting security-application = false and it can't happen if both security-domain and security-domain-and-application are not set. In fact we are saying w/ this config that security for this domain isn't based on domain, but neither on application, which is wrong. I don't know if web console set this at false by default or if the tester has set it to false explicit. Anyway I'll work on make a better error message and document a bit more the 3 values in resource description. I'll open a Jira for that, even if it will not be blocker for sure. Reassigning to Heiko to check if it is the default behavior of the web-console or it's something done during this specific test.
It's web console bug. This step in web console(adding a connection definition) followed resource adapter creation. Described management operation is used by default. Also there is no possibility for someone(tester e.g) to change or add some parameters before this connection definition will be created.
Link: Added: This issue relates to AS7-5647
It's fixed in the 1.4.x branch (https://github.com/jbossas/console/tree/1.4.x) and does require the console to be rebuild (leads to 1.4.1.Final)
Heiko we need the 1.4.1.Final tag for the ER3 release
Link: Added: This issue is related to JBPAPP-10065
Here you go: https://github.com/jbossas/console/tree/1.4.1.Final
This is resolved with the AS Console 1.4.1 update and will be in ER3.
Verified on EAP 6.0.1 ER3
Release Notes Docs Status: Added: Not Required Writer: Added: mistysj
Release Notes Docs Status: Removed: Not Required Writer: Removed: mistysj Docs QE Status: Removed: NEW