[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
Lin Gao created WFLY-7792:
-----------------------------
Summary: Mixed domain with EAP 6.2 slave: data sources operations failed
Key: WFLY-7792
URL: https://issues.jboss.org/browse/WFLY-7792
Project: WildFly
Issue Type: Bug
Components: Domain Management, JCA
Reporter: Lin Gao
Assignee: Lin Gao
Priority: Blocker
Run a mixed domain where EAP 7.1.0.DR9 is the master and EAP 6.4.0/6.3.0/6.2.0 is a slave server. Operations on data sources are broken due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap640/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.3.0' -- attributes [connection-url] WFLYCTL0336: The following attributes are nillable in the current model but must be defined in the target model version: [connection-url]",
"rolled-back" => true,
"result" => [true]
}
{noformat}
The fix for JBEAP-5770 seems to be the cause.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7792?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7792:
--------------------------
Priority: Major (was: Blocker)
> Mixed domain with EAP 6.2 slave: data sources operations failed
> ---------------------------------------------------------------
>
> Key: WFLY-7792
> URL: https://issues.jboss.org/browse/WFLY-7792
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Run a mixed domain where EAP 7.1.0.DR9 is the master and EAP 6.4.0/6.3.0/6.2.0 is a slave server. Operations on data sources are broken due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap640/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.3.0' -- attributes [connection-url] WFLYCTL0336: The following attributes are nillable in the current model but must be defined in the target model version: [connection-url]",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
> The fix for JBEAP-5770 seems to be the cause.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7792?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7792:
--------------------------
Git Pull Request: (was: https://github.com/wildfly/wildfly/pull/9464)
> Mixed domain with EAP 6.2 slave: data sources operations failed
> ---------------------------------------------------------------
>
> Key: WFLY-7792
> URL: https://issues.jboss.org/browse/WFLY-7792
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Run a mixed domain where EAP 7.1.0.DR9 is the master and EAP 6.4.0/6.3.0/6.2.0 is a slave server. Operations on data sources are broken due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap640/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.3.0' -- attributes [connection-url] WFLYCTL0336: The following attributes are nillable in the current model but must be defined in the target model version: [connection-url]",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
> The fix for JBEAP-5770 seems to be the cause.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (DROOLS-1378) Option: Force reading String from a Numeric type cell in SpreadSheet
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1378?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi commented on DROOLS-1378:
-------------------------------------------
[~mfusco] Sorry about not explaining the use case well. Please have a look at the attached NumericDisabled.xls. It contains a cell "6600" but it will result in "6600.000000000001" in a generated DRL. The cell is copied from customer's XLS which is generated by VBA macro. Users see "6600" as its String representation regardless of how Excel stores its value behind. Changing "Format Cells" has no effect. Does this make sense that users want to get "6600"?
Another example is BasicWorkbook_with_low_values.xls which is tested by SpreadsheetCompilerUnitTest#testProcessSheetForExtremeLowNumbers()
https://github.com/droolsjbpm/drools/blob/master/drools-decisiontables/sr...
This test intentionally asserts double values (e.g. "3.0E-4"). But this option allows users to get "0.0003" which is the as-is String representation of the cell.
> Option: Force reading String from a Numeric type cell in SpreadSheet
> --------------------------------------------------------------------
>
> Key: DROOLS-1378
> URL: https://issues.jboss.org/browse/DROOLS-1378
> Project: Drools
> Issue Type: Feature Request
> Components: decision tables
> Affects Versions: 7.0.0.Beta4
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Attachments: BasicWorkbook_with_low_values.xls, NumericDisabled.xls
>
>
> org.drools.decisiontable.parser.xls.ExcelParser reads a double value from a Numeric type cell. But some users expect as-is String representation rather than a double value. Users may force String type by adding heading ' (apostrophe) in the cell but sometimes it could be cumbersome.
> This JIRA requests an option to force reading String from a Numeric type cell in SpreadSheet.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (DROOLS-1378) Option: Force reading String from a Numeric type cell in SpreadSheet
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1378?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi updated DROOLS-1378:
--------------------------------------
Attachment: BasicWorkbook_with_low_values.xls
> Option: Force reading String from a Numeric type cell in SpreadSheet
> --------------------------------------------------------------------
>
> Key: DROOLS-1378
> URL: https://issues.jboss.org/browse/DROOLS-1378
> Project: Drools
> Issue Type: Feature Request
> Components: decision tables
> Affects Versions: 7.0.0.Beta4
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Attachments: BasicWorkbook_with_low_values.xls, NumericDisabled.xls
>
>
> org.drools.decisiontable.parser.xls.ExcelParser reads a double value from a Numeric type cell. But some users expect as-is String representation rather than a double value. Users may force String type by adding heading ' (apostrophe) in the cell but sometimes it could be cumbersome.
> This JIRA requests an option to force reading String from a Numeric type cell in SpreadSheet.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (DROOLS-1378) Option: Force reading String from a Numeric type cell in SpreadSheet
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1378?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi updated DROOLS-1378:
--------------------------------------
Attachment: NumericDisabled.xls
> Option: Force reading String from a Numeric type cell in SpreadSheet
> --------------------------------------------------------------------
>
> Key: DROOLS-1378
> URL: https://issues.jboss.org/browse/DROOLS-1378
> Project: Drools
> Issue Type: Feature Request
> Components: decision tables
> Affects Versions: 7.0.0.Beta4
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Attachments: NumericDisabled.xls
>
>
> org.drools.decisiontable.parser.xls.ExcelParser reads a double value from a Numeric type cell. But some users expect as-is String representation rather than a double value. Users may force String type by adding heading ' (apostrophe) in the cell but sometimes it could be cumbersome.
> This JIRA requests an option to force reading String from a Numeric type cell in SpreadSheet.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFCORE-1138) Operation ("clean-obsolete-content") failed NPE
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1138?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration updated WFCORE-1138:
--------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1404553
Bugzilla Update: Perform
> Operation ("clean-obsolete-content") failed NPE
> -----------------------------------------------
>
> Key: WFCORE-1138
> URL: https://issues.jboss.org/browse/WFCORE-1138
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 1.0.2.Final
> Environment: Centos 6.7, OpenJDK 1.7, Wildfly 9.0.1.Final, nginx-plus
> Domain, Full-ha, 2 nodes, one war
> Reporter: nathan dennis
> Assignee: ehsavoie Hugonnet
> Labels: nullpointerexception
> Fix For: 2.0.2.Final
>
>
> NPE happens randomly knocking the instance off line and has to be restarted.
> [Server:server-one] 13:03:37,900 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 1) WFLYCTL0013: Operation ("clean-obsolete-content") failed - address: ([]): java.lang.NullPointerException
> [Server:server-one] at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.listLocalContents(ContentRepository.java:428)
> [Server:server-one] at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.cleanObsoleteContent(ContentRepository.java:390)
> [Server:server-one] at org.jboss.as.server.mgmt.domain.RemoteFileRepositoryService.cleanObsoleteContent(RemoteFileRepositoryService.java:160)
> [Server:server-one] at org.jboss.as.server.operations.CleanObsoleteContentHandler.execute(CleanObsoleteContentHandler.java:76)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:803)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:601)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330)
> [Server:server-one] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1183)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:362)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:205)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:626)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:616)
> [Server:server-one] at org.jboss.as.server.deployment.ContentRepositoryCleaner.cleanObsoleteContent(ContentRepositoryCleaner.java:132)
> [Server:server-one] at org.jboss.as.server.deployment.ContentRepositoryCleaner$ContentRepositoryCleanerTask.run(ContentRepositoryCleaner.java:67)
> [Server:server-one] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [Server:server-one] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
> [Server:server-one] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> [Server:server-one] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [Server:server-one] at java.lang.Thread.run(Thread.java:745)
> [Server:server-one] at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> [Server:server-one]
> [Server:server-one] 13:03:37,931 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 1) WFLYSRV0216: Error cleaning obsolete content WFLYCTL0158: Operation handler failed: java.lang.NullPointerException
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months