"advanced" ClassCastException

hi, can anybody help me with a problem?

I deployed a straight forward stateless session bean with an echo method on j2ee 1_4_2004Q4 beta on Windows XP Home SP2, German Edition.

Calling this Bean from inside eclipse 2.1.1, I get the infamous classcast exception at "narrow".

YES, I did include the proper client stubs into the eclipse project.

YES, there is a seperate eclipse project.

NO, there is no reference to the server classes in the classpath. (That's why I called it "advanced"). Any suggestions?

Bernhard

[562 byte] By [a124702a] at [2007-9-30 23:45:01]
# 1
Well I suppose that the versions of the classes used in arguments are the same srever- and client-side?Bruno http://www.practicalsoftwarearchitect.com
brunocolleta at 2007-7-7 14:58:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
surprisingly, it all worked well with the 1.4.2 release (not the beta release). still had no idea, but in the beta release, the client jar did not include the _stub classes. it's fixed now, anyway. thanks!
a124702a at 2007-7-7 14:58:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...