[JBoss JIRA] (WFLY-2986) cli batch incorrect handling of the enabled attribute during datasource creation
by Stefano Maestri (JIRA)
[ https://issues.jboss.org/browse/WFLY-2986?page=com.atlassian.jira.plugin.... ]
Stefano Maestri commented on WFLY-2986:
---------------------------------------
default during cli creation changed again after WFLY-1900 and it's consistent w/ xsd. Looking into the rest of the issue.
> cli batch incorrect handling of the enabled attribute during datasource creation
> --------------------------------------------------------------------------------
>
> Key: WFLY-2986
> URL: https://issues.jboss.org/browse/WFLY-2986
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Affects Versions: 8.0.0.Final
> Environment: win 7 pro sp2
> wildfly 8.0.0.Final
> Reporter: Gabriele Garuglieri
> Assignee: Stefano Maestri
>
> case:
> /subsystem=datasources/data-source=xxxxxx:add(....) (without declaring enabled attribute)
> the ds is created with enabled=true, consistent with xsd default, but after WFLY-86 shouldn't it default to false when omitted ?
> /subsystem=datasources/data-source=xxxxxx:add(...., enabled=true)
> the ds is created with enabled=true as requested
> but in both cases the operation
> /subsystem=datasources/data-source=xxxxxx:disable
> WITHIN THE SAME BATCH is happily ignored, ie the final outcome is success but the state of the created ds is still enabled.
> The opposite instead works, adding the ds with enabled=false produces a disabled ds and adding
> /subsystem=datasources/data-source=xxxxxx:enable
> within the same batch, produces an enabled ds.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on WFCORE-267:
------------------------------------------------
James Perkins <jperkins(a)redhat.com> changed the Status of [bug 1149526|https://bugzilla.redhat.com/show_bug.cgi?id=1149526] from ASSIGNED to POST
> CLI prints output twice if using cli client jar
> -----------------------------------------------
>
> Key: WFCORE-267
> URL: https://issues.jboss.org/browse/WFCORE-267
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha13
> Reporter: Stan Silvert
> Assignee: James Perkins
> Fix For: 1.0.0.Alpha14
>
>
> If you are using the [CLI client jar|https://developer.jboss.org/wiki/UsingTheCLIRemoteClientJar], all output is printed twice. This is because JBoss logging is not set up and by default CommandContextImpl is printing log messages to standard out. The output will look something like this:
> {code}
> [standalone@localhost:9999 /] :read-children-types
> Nov 19, 2014 8:57:19 AM org.jboss.as.cli.impl.CommandContextImpl printLine
> INFO: {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on WFCORE-267:
------------------------------------------------
James Perkins <jperkins(a)redhat.com> changed the Status of [bug 1149526|https://bugzilla.redhat.com/show_bug.cgi?id=1149526] from NEW to ASSIGNED
> CLI prints output twice if using cli client jar
> -----------------------------------------------
>
> Key: WFCORE-267
> URL: https://issues.jboss.org/browse/WFCORE-267
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha13
> Reporter: Stan Silvert
> Assignee: Stan Silvert
> Fix For: 1.0.0.Alpha14
>
>
> If you are using the [CLI client jar|https://developer.jboss.org/wiki/UsingTheCLIRemoteClientJar], all output is printed twice. This is because JBoss logging is not set up and by default CommandContextImpl is printing log messages to standard out. The output will look something like this:
> {code}
> [standalone@localhost:9999 /] :read-children-types
> Nov 19, 2014 8:57:19 AM org.jboss.as.cli.impl.CommandContextImpl printLine
> INFO: {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin... ]
James Perkins reassigned WFCORE-267:
------------------------------------
Assignee: James Perkins (was: Stan Silvert)
> CLI prints output twice if using cli client jar
> -----------------------------------------------
>
> Key: WFCORE-267
> URL: https://issues.jboss.org/browse/WFCORE-267
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha13
> Reporter: Stan Silvert
> Assignee: James Perkins
> Fix For: 1.0.0.Alpha14
>
>
> If you are using the [CLI client jar|https://developer.jboss.org/wiki/UsingTheCLIRemoteClientJar], all output is printed twice. This is because JBoss logging is not set up and by default CommandContextImpl is printing log messages to standard out. The output will look something like this:
> {code}
> [standalone@localhost:9999 /] :read-children-types
> Nov 19, 2014 8:57:19 AM org.jboss.as.cli.impl.CommandContextImpl printLine
> INFO: {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated WFCORE-267:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1149526
> CLI prints output twice if using cli client jar
> -----------------------------------------------
>
> Key: WFCORE-267
> URL: https://issues.jboss.org/browse/WFCORE-267
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha13
> Reporter: Stan Silvert
> Assignee: Stan Silvert
> Fix For: 1.0.0.Alpha14
>
>
> If you are using the [CLI client jar|https://developer.jboss.org/wiki/UsingTheCLIRemoteClientJar], all output is printed twice. This is because JBoss logging is not set up and by default CommandContextImpl is printing log messages to standard out. The output will look something like this:
> {code}
> [standalone@localhost:9999 /] :read-children-types
> Nov 19, 2014 8:57:19 AM org.jboss.as.cli.impl.CommandContextImpl printLine
> INFO: {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {
> "outcome" => "success",
> "result" => [
> "core-service",
> "deployment",
> "deployment-overlay",
> "extension",
> "interface",
> "path",
> "socket-binding-group",
> "subsystem",
> "system-property"
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month