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

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




Tried it, same issue.

Funny thing is that it actually creates the object, because when I run
the program again it sais it already exists.

But it's that first time that it has that exception at the db.createObject
line

DDP

At 09:04 AM 6/15/99 +0200, Falko Braeutigam wrote:
>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
>
>