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
3 days, 19 hours
WELD-001417 while enabling interceptors in JBoss Forge addons
by George Gastaldi
Hello Welders !
Not sure if this is the right mailing list, but worth a shot ;)
I am trying to enable a CDI interceptor inside JBoss Forge addons but I am
facing a hard time making Weld understand that. The interceptor classes are
in the classpath but I keep getting this error:
WELD-001417: Enabled interceptor class
org.jboss.forge.addon.infinispan.MyInterceptor
(<class>org.jboss.forge.addon.infinispan.MyInterceptor</class> in
jar:file:/home/ggastald/.forge/addons/org-foo-foo-1-0-0-SNAPSHOT/foo-1.0.0-SNAPSHOT-forge-addon.jar!/META-INF/beans.xml@7)
does not match an interceptor bean: the class is not found, or not
annotated with @Interceptor and still not registered through a portable
extension, or not annotated with @Dependent inside an implicit bean archive
I have beans.xml with annotated-mode="all". I even added the @Dependent to
the interceptor class, but no luck. The current thread ClassLoader can
resolve the interceptor class also.
I've opened https://issues.jboss.org/browse/FURNACE-145 with more
information on the subject, in case someone feels brave enough to help me
out on this :).
I appreciate any help!
Best Regards,
George Gastaldi
Principal Software Engineer
Red Hat <https://www.redhat.com>
Remote
Joinville - Santa Catarina
ggastald(a)redhat.com M: +55-47-99711-1000
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@redhatnews <https://twitter.com/redhatnews> Red Hat
<https://www.linkedin.com/company/red-hat> Red Hat
<https://www.facebook.com/RedHatInc>
8 years, 5 months
signed jar proxying
by Emily Jiang
There was a discussion on proxying the signed jars. Can you confirm
whether Weld can deal with proxying classes from a signed jar?
Many thanks,
Emily
===========================
Emily Jiang
WebSphere Application Server, CDI & MicroProfile Development Lead
MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN
Phone: +44 (0)1962 816278 Internal: 246278
Email: emijiang(a)uk.ibm.com
Lotus Notes: Emily Jiang/UK/IBM@IBMGB
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
8 years, 6 months