[JBoss JIRA] (WFLY-5716) Wrong handling of request context for remote EJB calls
by Martin Kouba (JIRA)
[ https://issues.jboss.org/browse/WFLY-5716?page=com.atlassian.jira.plugin.... ]
Martin Kouba updated WFLY-5716:
-------------------------------
Fix Version/s: 10.0.0.CR5
> Wrong handling of request context for remote EJB calls
> ------------------------------------------------------
>
> Key: WFLY-5716
> URL: https://issues.jboss.org/browse/WFLY-5716
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, EJB
> Affects Versions: 9.0.0.Final, 10.0.0.CR4
> Reporter: Ste Gr
> Assignee: Martin Kouba
> Fix For: 10.0.0.CR5
>
> Attachments: wfly5716.zip
>
>
> Two applications deployed to Wildfly. The first one provides a singleton remote ejb which uses request scoped beans (in this case a RESOURCE_LOCAL entity manager manged by a CDI producer/disposer, but +all+ request scoped beans are affected). The second application uses that EJB to get some data only accessible by the first application.
> A request is made to the second app from a browser. The app will get the remote EJB and invokes two methods on it. The first method produces the entity manager, accesses the database and returns the result. The entity manager will be disposed again. The second method won't produce a new entity manager but tries to re-use the one from the previous invokation. This fails as the entity manager was disposed.
> If the same use-case is made using the first app everythings works as desired. But it doesn't look right (or the request context is joined because it is the same application). It produces the the entity manager on the first invocation and closes it as soon as the whole request made from the browser is completed. Thats why the second invokation has a valid entity manager to work with.
> I don't know the spec but:
> - either the first EJB invokation from second app to first app is not allowed to dispose the request context (all the request scoped beans)
> - or each invokation must get its own request context (entity manager must be produced and disposed again).
> I've made a [stackoverflow thread|http://stackoverflow.com/q/33826720/1741604] which shows some code examples.
> (JBoss AS 7.1.3.Final is also affected but it is not available in 'affected version/s')
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5813) Quick redeploy vulnerable to CacheRegistry entry loss
by Paul Ferraro (JIRA)
Paul Ferraro created WFLY-5813:
----------------------------------
Summary: Quick redeploy vulnerable to CacheRegistry entry loss
Key: WFLY-5813
URL: https://issues.jboss.org/browse/WFLY-5813
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.CR4
Reporter: Paul Ferraro
Assignee: Paul Ferraro
On deploy, CacheRegistry adds its local entry to the cache, and on undeploy removes it entry. However, we use a topology change listener to remove entries for crashed members (since these nodes will not have removed their local entry). However, since the listener is triggered asynchronously, it is possible that the topology change fired in response to an undeploy execute *after* the redeployed CacheRegistry starts - which would cause erroneous removal of the local entry that was added.
This manifests itself as an intermittent failure of the RegistryTestCase as seen in this PR:
https://github.com/wildfly/wildfly/pull/8465
Not surprisingly, this issue only surfaces in the windoze runs, which, according to [~ctomc], execute faster than the linux runs.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFCORE-1196) Read resource of deployment with faulty datasource fails
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1196?page=com.atlassian.jira.plugi... ]
Tomaz Cerar moved WFLY-5807 to WFCORE-1196:
-------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-1196 (was: WFLY-5807)
Component/s: Domain Management
(was: Domain Management)
Affects Version/s: 2.0.4.Final
(was: 10.0.0.CR4)
> Read resource of deployment with faulty datasource fails
> --------------------------------------------------------
>
> Key: WFCORE-1196
> URL: https://issues.jboss.org/browse/WFCORE-1196
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.4.Final
> Reporter: Harald Pehl
> Assignee: Tomaz Cerar
>
> For the setup see HAL-1006. Reading the deployments of a server which contains a deployment with a faulty datasource, yields an undefined result:
> {code}
> /host=master/server=server-one:read-children-resources(child-type=deployment,recursive=true,include-runtime=true)
> {
> "outcome" => "success",
> "result" => undefined,
> "failure-description" => undefined
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (WFLY-5807) Read resource of deployment with faulty datasource fails
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5807?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar reassigned WFLY-5807:
---------------------------------
Assignee: Tomaz Cerar (was: Brian Stansberry)
> Read resource of deployment with faulty datasource fails
> --------------------------------------------------------
>
> Key: WFLY-5807
> URL: https://issues.jboss.org/browse/WFLY-5807
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 10.0.0.CR4
> Reporter: Harald Pehl
> Assignee: Tomaz Cerar
>
> For the setup see HAL-1006. Reading the deployments of a server which contains a deployment with a faulty datasource, yields an undefined result:
> {code}
> /host=master/server=server-one:read-children-resources(child-type=deployment,recursive=true,include-runtime=true)
> {
> "outcome" => "success",
> "result" => undefined,
> "failure-description" => undefined
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months