-
1. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
clebert.suconic Jun 6, 2011 11:55 AM (in response to kennardconsulting)1 of 1 people found this helpfulMDBs are not really part of HornetQ. That's more a question for EJB guys.
-
2. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
kennardconsulting Jun 6, 2011 4:57 PM (in response to clebert.suconic)Clebert,
Thanks for your response!
I realize my question lies at the 'boundary' between HornetQ and EJB. However I believe it falls slightly on the HornetQ side, seeing as it worked with JBoss Messaging in JBoss 5.1.0.GA.
There are already several MDB examples under /hornetq-2.2.2.Final/examples/javaee/mdb-* but none of them showcase (or test) @RunAs annotations (or <run-as> in ejb-jar.xml) functionality. Do I take it therefore this has not been tested?
Regards,
Richard.
-
3. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
clebert.suconic Jun 6, 2011 5:55 PM (in response to kennardconsulting)We don't do anything with these annotations. They are exclusively features of the application server / MDBs. There should be tests on the application server for this (I believe there are).
If you find issues around this, you should provide a test and raise the issue to the AS team. (Unless you prove the issue is on the resource adapter, which I don't think it will be the case).
-
4. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
kennardconsulting Jun 7, 2011 3:00 AM (in response to clebert.suconic)Clebert,
Okay - I put together a standalone, comprehensive test case to reproduce the problem and... the problem disappeared. So either a) there is something else wrong in my production code or b) I scared it away.
I am choosing to believe b) for now
Thanks again!
Regards,
Richard.
-
5. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
ataylor Jun 7, 2011 4:56 AM (in response to kennardconsulting)I am choosing to believe b) for now
Its defo B, one thing ive learnt from my years of developing is that 'its never my fault'
-
6. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
kennardconsulting Jun 7, 2011 7:40 PM (in response to ataylor)Actually for once it may not be me after all! I have reproduced the problem and opened a JIRA: https://issues.jboss.org/browse/EJBTHREE-2254
It looks like it is an EJB issue though, not a HornetQ one, just as Clebert surmised.
Regards,
Richard.
-
7. Re: JBoss Messaging->HornetQ: @RunAs now ignored?
clebert.suconic Jun 8, 2011 12:09 PM (in response to kennardconsulting)What is cool about your test is that you are using Quartz (not even HornetQ) what really isolates the problem as not being HornetQ.
Thank you.