Try this ....

Change:
// Create a new Cr and narrow the reference.
Cr cr = (Cr)PortableRemoteObject.narrow(home.create("Tag"), Cr.class);

to this:
// Create a new Cr and narrow the reference.
Cr cr = home.create("Tag");


Narrow is only necessary when you are retrieving an Object from the
InitialContext.  Your home should already return a Cr type without the
need to do anything else.

Hope that helps

--

Dan Hinojosa
Java & Lotus Notes Consultant
Java Certified Programmer

P.O. Box 4675
Albuquerque, NM 87196-4675
Telephone: (505) 262-0911
Email: [EMAIL PROTECTED]
WWW: http://www.digitalpriest.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to