I was able to finally get this to work, but only after I added the @Depends
annotation like Klaus did before. I'm not sure why my case works and his
doesn't.
Anyway, here's the start of the MBean that now works.
| @Service(objectName="chief:service=InvoiceFileService")
| @Management(Invoi
Sorry, here's the code snippet above with the annotation in question.
@Service(objectName="chief:service=InvoiceFileService")
| @Management(InvoiceFileService.class)
| public class InvoiceFileServiceMBean implements InvoiceFileService {
|
| @EJB InvoiceFileHistoryFinder invoiceFil
Here's what I've got going right now. For me, the error only seems to occur in
the MBeans. Other parts of the app work fine when doing JNDI lookups with the
new naming scheme.
For what its worth, my app still is an EAR with a .EAR and .PAR archive inside
it. Haven't made that change yet.
I'
I'm having the same problem. I've got a hunch this may be related to the JNDI
lookup changes in RC4 and RC5, but I haven't had any luck. Any ideas?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922405#3922405
Reply to the post :
http://www.jboss.com/index
"echon" wrote : well.. i think a lot of people would have tested this eample..
|
| Nobody has a solution??
I've noticed the same thing. I think the annotations for JMX changed EJB
Preview 3. I get the same error in Eclipse, but everything compiles fine
through an ant script and works once