[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about to abandon ozone, can't get the test to work



D. David Pirzadeh wrote:
> 
>                car = (Car)db.createObject ("ozone.CarImpl", 0,
> "my_Second_car");
> 
> Environment Is NT
> 
> I can connect,
> the admin tool works fine but this line gives and exception
> java.lang.ClassCastException: DE.softwarebuero.ozone.OzoneProxy
> on the client side and the server sais:
> 
> warning:ObjectState:proxy() unable to create proper proxy object
> 
> Does the impl class have to be in the ozone jar or something?

The VM of the ozone server must be able to access the Impl and Proxy
classes. For quick and dirty testing you may add a . to the CLASSPATH
and start the server in the dir of the classes.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de