[
https://issues.jboss.org/browse/WELD-896?page=com.atlassian.jira.plugin.s...
]
yangju commented on WELD-896:
-----------------------------
We are using jbossAS 6 Final. I upgraded the weld to 1.1.1.Final on this jboss server but
problem still occurred. We ended up getting rid of all the Session beans and implemented
our own version of @Startup in conjuction with @ApplicationScoped (based on the code
proposed by Dan Allen
http://weld-development-discussions.46994.n3.nabble.com/startup-beans-td1...).
Now, we rarely get any dependency failure.
So, I still suspect that this is related to weld instead of jboss AS.
Also, we use seam 3 managed transaction (@TransactionAttribute). Not sure seam 3 is a
factor here.
Weld 1.1: injection of stateless session beans fails intermittently
with @EJB; @Startup not working
---------------------------------------------------------------------------------------------------
Key: WELD-896
URL:
https://issues.jboss.org/browse/WELD-896
Project: Weld
Issue Type: Bug
Components: Built-in beans
Affects Versions: 1.1.0.CR3
Environment: Jboss AS 6 Final, windows
Reporter: yangju
Priority: Critical
Injection of stateless session beans with @EJB fails sometimes. It seems it fails
intermittently. It fails more if there are many injections into the bean. This is very
frustrating as we cannot anticipate when it will fail.
Also, @Startup is not working. The bean cannot be started even we set it as as @Singleton
and @Startup.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira