[
https://issues.apache.org/jira/browse/ISIS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365725#comment-14365725
]
Dan Haywood edited comment on ISIS-1097 at 3/17/15 6:35 PM:
------------------------------------------------------------
I'm not convinced that Axon will sort this. Rather, I think that the current
design does not allow for a stack of events nested one within the other, and
that is probably where the issue is.
Rather than currentInteraction.set(...) on a thread-local, it should be doing
push() and pop().
These thread-locals can be found in PropertyDomainEventFacetAbstract,
ActionDomainEventFacetAbstract, CollectionDomainEventFacetAbstract.
Have raised a ticket for this...
https://issues.apache.org/jira/browse/ISIS-1045.
was (Author: danhaywood):
I'm not convinced that Axon will sort this. Rather, I think that the current
design does not allow for a stack of events nested one within the other, and
that is probably where the issue is.
Rather than currentInteraction.set(...) on a thread-local, it should be doing
push() and pop().
These thread-locals can be found in PropertyDomainEventFacetAbstract,
ActionDomainEventFacetAbstract, CollectionDomainEventFacetAbstract.
I think I raised a ticket for this... can't locate it just now (in the
ISIS-10xx range).
> Suspicion that Isis may be leaving DB connections open under certain
> circumstances, leading to instability
> ----------------------------------------------------------------------------------------------------------
>
> Key: ISIS-1097
> URL: https://issues.apache.org/jira/browse/ISIS-1097
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: core-1.8.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: 1.9.0
>
>
> Report from the field:
> Users reporting that the app was slow. We've seen some active sessions in
> Tomcat that didn't correspond to any user, but also 3 database connections on
> PostgreSQL that were "IN TRANSACTION" for a long time.
> Killing the Tomcat and database sessions the correct speed has been recovered
> ~~~~
> One monitoring option to consider (open source with commercial support) is
> hyperic,
> * http://sourceforge.net/projects/hyperic-hq/
> *
> https://my.vmware.com/web/vmware/details?downloadGroup=VRHQ_584_OSS&productId=378
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)