aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes HF EJB. AdviceBean example. BAD_OPERATION exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "HF EJB. AdviceBean example. BAD_OPERATION exception" Watch "HF EJB. AdviceBean example. BAD_OPERATION exception" New topic
Author

HF EJB. AdviceBean example. BAD_OPERATION exception

Viktor Sadovnikov
Greenhorn

Joined: Feb 07, 2004
Posts: 22
Hello,
Did anyone have a problem with running of AdviceClient (the first example from Head Firs. EJB book)? I am getting BAD_OPERATION exeption from the line . By that line context is created, an EJBObject is found and narrowed to AdviceHome and advisor is created. But simple getAdvice() fails
Can you help ?
Thanks


SCJP 1.4, SCBCD 1.3
Jayant Kulkarni
Ranch Hand

Joined: Dec 02, 2003
Posts: 56
Hi,
This is know bug in RI.
Please refer ,
http://www.wickedlysmart.com/HeadFirst/HeadFirstEJB/HeadFirstEJBIndex.html
Thanks,
Jayant
Viktor Sadovnikov
Greenhorn

Joined: Feb 07, 2004
Posts: 22
Thank you !! You saved my day :-)
Originally posted by Jayant Kulkarni:
Hi,
This is know bug in RI.
Please refer ,
http://www.wickedlysmart.com/HeadFirst/HeadFirstEJB/HeadFirstEJBIndex.html
Thanks,
Jayant
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HF EJB. AdviceBean example. BAD_OPERATION exception