From: Jost B. <jos...@ya...> - 2005-09-30 15:27:07
|
Hi, > JavaBridge? Does it run in an AS or standalone? This > is the only difference I could imagine. It runs as standalone with the generated ejb client jar and the sun j2ee jar in the java_require() path. Whether or not it runs inside the AS shouldn't make a difference as long as the correct client and j2ee jars are used. > For the Test with the OC4j Container I used the > oc4j.jar which has a own > implementation of the necessary classes and > interfaces. Okay, and where does the client jar come from, does it contain the stub classes? I have just tested this with the client jar generated from the deploytool, this works on oracle, too, without generating a class cast exception. Can you please attach the client jar at the end of the ticket? BTW, if I remember correctly, oracle doesn't need the narrow, because it uses wrapper instead of a proxy. So you could simply ommit the narrow and the example should work. But that's an oracle specific "hack" which will not work with other servers. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |