WELD-862 and Seam Cron
by Peter Royle
Hi,
I'm aiming to make a release of Seam Cron available within the next two weeks. Currently there is an outstanding issue (https://issues.jboss.org/browse/WELD-862) which prevents Cron from running properly with Weld. I have been able to carry on developing Cron by testing it against OpenWebBeans, but obviously if we are to release a Seam module it should work against Weld.
It would be nice if WELD-862 could be fixed as soon a possible so that all future versions will work well with Cron.
But more importantly I also probably need to do something special in Cron so that it will work with the version of Weld already deployed in JBoss AS and Glassfish, which will contain the bug. The workaround mentioned in the bug report is to deep copy the InvocationContext. I attempted to do this by serialising and unserialising the InvocationContext but couldn't due to UnserializableExceptions. Does anyone have any advice for me about how I might be able to work around this bug to support existing versions of Weld?
Cheers,
Pete R
1 day, 20 hours
When are objects removed from CreationalContextImpl's lists of ContextualInstance?
by Benjamin Confino
Hello
I have a customer who is experiencing out of memory errors. A memory
analysis has found a CreationalContextImpl object containing a
Collections$SynchronizedRandomAccessList that in turn contains a lot of
SerializableContextualInstanceImpl objects. While the Memory Analysis
cannot provide field names there are only two lists it could be:
parentDependentInstances and dependentInstances
Given this I was hoping someone could tell me when objects are supposed to
be removed from those two lists, and what/who is responsible for
triggering removal from those two lists? I do not see any code to remove
an object from parentDependentInstances and while objects are removed from
dependentInstances they are done so in the method
destroyDependentInstance, which is not part of either of the public
interfaces implemented by this class:
javax.enterprise.context.spi.CreationalContext and
org.jboss.weld.construction.api.WeldCreationalContext
Thank you for your help
Benjamin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
4 years, 8 months