This content has been marked as final.
Show 4 replies
-
1. Re: @RunAs doesn't work for @Service beans
alrubinger Feb 24, 2009 3:49 PM (in response to lhoriman)I don't see tests for this specific case within our TestSuite, so please open up a JIRA in EJBTHREE. :)
Bonus points for providing a patch w/ failing test, a la:
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/testsuite/src/test/java/org/jboss/ejb3/test/service/unit/
S,
ALR -
2. Re: @RunAs doesn't work for @Service beans
lhoriman Feb 24, 2009 5:05 PM (in response to lhoriman)"ALRubinger" wrote:
I don't see tests for this specific case within our TestSuite, so please open up a JIRA in EJBTHREE. :)
Bonus points for providing a patch w/ failing test, a la:
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/testsuite/src/test/java/org/jboss/ejb3/test/service/unit/
Here's the JIRA entry: https://jira.jboss.org/jira/browse/JBAS-6543
Ah, just noticed I should have put that in EJBTHREE. Sorry. I started out doing that but then noticed there weren't versions covering AS 5.
Since the problem is something that happens on service start, I really have no idea how to create a unit test for the testsuite :-(
Jeff -
3. Re: @RunAs doesn't work for @Service beans
alrubinger Feb 24, 2009 5:16 PM (in response to lhoriman)"lhoriman" wrote:
Here's the JIRA entry: https://jira.jboss.org/jira/browse/JBAS-6543
N/P, I've moved it to:
https://jira.jboss.org/jira/browse/EJBTHREE-1738
Thanks for reporting.
S,
ALR -
4. Re: @RunAs doesn't work for @Service beans
ezs May 14, 2009 12:15 PM (in response to lhoriman)I recently upgraded from JBoss 5.0.0 to 5.0.1, and the @RunAs annotation worked in 5.0.0, so the problem seems to be introduced in 5.0.1.