This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi Pat, can you please specify at what line are you getting class cast exception. In fact it will be better if you can provide the complete stacktrace. Also can you provide code for Artist cmp i.e. code for its home, remote and bean class.
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Appears that two beans are registered with the same jndi name, you should check ejb-jar.xml file for that. Possibility of some other ear file having an ejb with this jndi name can not be ruled out as well, so you have to check other ear files also (if exists).
I hope this helps
Joined: Dec 29, 2004
Prakash, you GENIUS, I got it working. Cheers for the help!
I had two beans with the same JNDI name, it was from an old project! Deleted it from my server deploy folder and from my environment!