-
1. Re: problem with @EJB notation
heinrich Mar 13, 2006 2:58 AM (in response to gnulp)Do you inject your local or remote interface?
-
2. Re: problem with @EJB notation
gnulp Mar 13, 2006 3:23 AM (in response to gnulp)I have disabled my RemoteIntercface for testing purposes - thought there might be the problem !
Now I have just a local interface ...
Might it be that I deploy within a ear-file ? I somewhere read that this causes troubles. But all my classes are in one jar file within the ear-file ... -
3. Re: problem with @EJB notation
jvramana Mar 13, 2006 5:19 PM (in response to gnulp)@EJB(beanName="CurrencyServiceSessionBean")
protected ContractService contractService
should work.. -
4. Re: problem with @EJB notation
gnulp Mar 15, 2006 4:04 AM (in response to gnulp)unfortunatelly it did not fork ...
I tried both
@EJB(beanName="CurrencyServiceSessionBean")
protected ContractService contractService
as well as
@EJB(beanName="CurrencyService")
protected ContractService contractService
end up in the same exception ... -
5. Re: problem with @EJB notation
bill.burke Mar 15, 2006 9:48 AM (in response to gnulp)can you describe your deployment? are you deploying these EJBs as part of an EAR? Can you reproduce this in a small test case? I fixed a lot of bugs in CVS in regards to references and want to see if I can reproduce your problem within CVS.
http://jira.jboss.com/jira/browse/EJBTHREE
Thanks. -
6. Re: problem with @EJB notation
gnulp Mar 15, 2006 10:01 AM (in response to gnulp)yes - its within an ear-file (see message 3:23 AM). To be more exact its part of a SEAM implementation. Maybe I can write a small patch within the booking example of SEAM - but I am not sure if I can reproduce it there ...
So please tell me first, that ears should work and I will try to make a reproduceable testcase ...
+ear.ear
+seam.jar
+ejb3.jar <---------- here are all ejbs !
+web.war
thx -
7. Re: problem with @EJB notation
bill.burke Mar 15, 2006 10:11 AM (in response to gnulp)ears should work, but there are some bugs that I fixed in CVS, as I said.
-
8. Re: problem with @EJB notation
gnulp Mar 15, 2006 11:57 AM (in response to gnulp)I was able to reproduce the problem - and delivered a patch for seams booking example - for simplicity and file-size
http://jira.jboss.com/jira/browse/EJBTHREE-476
hope that helps
thx