[JBoss JIRA] (WFLY-8954) Wildfly 10 with eclipselink Onscucess observer gets stale entity
by Nuno Godinho de Matos (JIRA)
[ https://issues.jboss.org/browse/WFLY-8954?page=com.atlassian.jira.plugin.... ]
Nuno Godinho de Matos commented on WFLY-8954:
---------------------------------------------
Hi Tomas,
I am very sorry that I have been able to do what you've asked.
Currently I do not have the time availability to check this unfortunatly.
I will have to do it in one of my weekends.
Right now the 10.1.0.Final version is working quite well with eclipselink with the fix we have set in, so this does not have priority.
Kindest regards.
> Wildfly 10 with eclipselink Onscucess observer gets stale entity
> ----------------------------------------------------------------
>
> Key: WFLY-8954
> URL: https://issues.jboss.org/browse/WFLY-8954
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 10.0.0.Final
> Reporter: Nuno Godinho de Matos
> Assignee: Scott Marlow
> Fix For: 13.0.0.Beta1
>
>
> Hi,
> In widlfly there seems to be an important issue concerning CDI events and observing these events during onsuccess. At least while using eclipselink.
> When using wildfly 10.0.0.Final together with eclipselink, if an application modifies an entity A, fires an event stating entity A has been modified, and an observer consumes this event during transaction success.
> Then the observer will be working with stale entities that do not reflect the modifications done to the entity.
> A sample application for this issue is available in:
> https://github.com/99sono/wildfly10-observe-on-success-stale-entity
> The widlfly configuration xml for the sample application, is available in the application itself, as can be seen in the readme documentation.
> Many thanks for taking a look.
> Kindest regards.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (DROOLS-2358) Sometimes kie server cannot connect to the server on Windows
by Tomas David (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2358?page=com.atlassian.jira.plugi... ]
Tomas David updated DROOLS-2358:
--------------------------------
Description:
Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed. Exception is thrown:
{noformat}
org.eclipse.jgit.api.errors.TransportException: ssh://testadmin@localhost:8001/clonerepo: verify: false
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:250)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:304)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:201)
at org.kie.eclipse.navigator.view.utils.ActionUtils$1.run(ActionUtils.java:149)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.jgit.errors.TransportException: ssh://testadmin@localhost:8001/clonerepo: verify: false
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:172)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:278)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:169)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1236)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:239)
... 4 more
Caused by: com.jcraft.jsch.JSchException: verify: false
at com.jcraft.jsch.Session.connect(Session.java:330)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:126)
... 11 more
{noformat}
was:
Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed.
> Sometimes kie server cannot connect to the server on Windows
> ------------------------------------------------------------
>
> Key: DROOLS-2358
> URL: https://issues.jboss.org/browse/DROOLS-2358
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Affects Versions: 7.5.0.Final
> Environment: Windows 10
> Developer studio 11.2.0.GA
> Drools plugin 7.5.0.Final
> RHDM 7.0.0.GA / BPMS 6.4.9.GA
> Reporter: Tomas David
> Assignee: Kris Verlaenen
> Attachments: error_dialog.png
>
>
> Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed. Exception is thrown:
> {noformat}
> org.eclipse.jgit.api.errors.TransportException: ssh://testadmin@localhost:8001/clonerepo: verify: false
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:250)
> at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:304)
> at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:201)
> at org.kie.eclipse.navigator.view.utils.ActionUtils$1.run(ActionUtils.java:149)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> Caused by: org.eclipse.jgit.errors.TransportException: ssh://testadmin@localhost:8001/clonerepo: verify: false
> at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:172)
> at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
> at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:278)
> at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:169)
> at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137)
> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123)
> at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1236)
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:239)
> ... 4 more
> Caused by: com.jcraft.jsch.JSchException: verify: false
> at com.jcraft.jsch.Session.connect(Session.java:330)
> at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:126)
> ... 11 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (DROOLS-2358) Sometimes kie server cannot connect to the server on Windows
by Tomas David (JIRA)
Tomas David created DROOLS-2358:
-----------------------------------
Summary: Sometimes kie server cannot connect to the server on Windows
Key: DROOLS-2358
URL: https://issues.jboss.org/browse/DROOLS-2358
Project: Drools
Issue Type: Bug
Components: eclipse plugin
Affects Versions: 7.5.0.Final
Environment: Windows 10
Developer studio 11.2.0.GA
Drools plugin 7.5.0.Final
RHDM 7.0.0.GA / BPMS 6.4.9.GA
Reporter: Tomas David
Assignee: Kris Verlaenen
Attachments: error_dialog.png
Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed. Exception is thrown:
{noformat}
*no* further _formatting_ is done here
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (DROOLS-2358) Sometimes kie server cannot connect to the server on Windows
by Tomas David (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2358?page=com.atlassian.jira.plugi... ]
Tomas David updated DROOLS-2358:
--------------------------------
Description:
Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed.
was:
Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed. Exception is thrown:
{noformat}
*no* further _formatting_ is done here
{noformat}
> Sometimes kie server cannot connect to the server on Windows
> ------------------------------------------------------------
>
> Key: DROOLS-2358
> URL: https://issues.jboss.org/browse/DROOLS-2358
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Affects Versions: 7.5.0.Final
> Environment: Windows 10
> Developer studio 11.2.0.GA
> Drools plugin 7.5.0.Final
> RHDM 7.0.0.GA / BPMS 6.4.9.GA
> Reporter: Tomas David
> Assignee: Kris Verlaenen
> Attachments: error_dialog.png
>
>
> Sometimes it happens that kie server cannot get content of repository. Error dialog is displayed.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3579) ERROR log occurs during CLI reload operation on server
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3579?page=com.atlassian.jira.plugi... ]
Jason Greene updated WFCORE-3579:
---------------------------------
Fix Version/s: 5.0.0.Alpha1
(was: 4.0.0.Final)
> ERROR log occurs during CLI reload operation on server
> ------------------------------------------------------
>
> Key: WFCORE-3579
> URL: https://issues.jboss.org/browse/WFCORE-3579
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI, Domain Management
> Affects Versions: 4.0.0.Alpha9
> Reporter: Marek Kopecký
> Assignee: Brian Stansberry
> Priority: Blocker
> Fix For: 5.0.0.Alpha1
>
> Attachments: cli.script.txt
>
>
> *Description of the issue:*
> ERROR log occurs during CLI reload operation on server:
> {{ERROR \[org.jboss.as.controller.management-operation\] (pool-3-thread-2) WFLYCTL0013: Operation ("read-attribute") failed - address: (\[("host" => "master")\]) - failure description: "WFLYCTL0201: Unknown attribute 'host-state'"}}
> This issue is regression against WF11
> Reload handler and its "host-state" code is [here|https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/jav...], but this issue is probably caused by some "debug -> error" logging change ...
> I'm able to reproduce this only on embedded server. Non-embedded server is probably too slow to hit this issue
> *How reproducible:*
> I see this intermittently on fast virtual machines
> *Steps to Reproduce:*
> # ./jboss-cli.sh --file=cli.script.txt
> *Content of cli.script.txt file*
> This file is attached to this jira, beginning of this file:
> {noformat}
> embed-host-controller --std-out=echo
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> reload --host=master --admin-only=true
> {noformat}
> *Actual results:*
> Standard output:
> {noformat}
> ...
> [0m[0m01:36:06,021 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha9) starting
> [0m[31m01:36:06,061 ERROR [org.jboss.as.controller.management-operation] (CLI command executor) WFLYCTL0013: Operation ("read-attribute") failed - address: ([("host" => "master")]) - failure description: "WFLYCTL0201: Unknown attribute 'host-state'"
> [0m[0m01:36:06,072 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,073 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,097 INFO [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
> [0m[33m01:36:06,102 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /home/hudson/hudson_workspace/workspace/early-testing-cli-embedded-manual/4b767fc2/wildfly/domain/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
> [0m[0m01:36:06,185 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=default/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,196 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,204 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,217 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
> [0m[0m01:36:06,287 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha9) (Host Controller) started in 266ms - Started 54 of 59 services (18 services are lazy, passive or on-demand)
> ...
> {noformat}
> *Expected results:*
> No errors in logs
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months