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

Re: Please help..



So, can we now change the design of an object currently stored in the server and
expect it to work?  I always thought you had to flush the database if you changed
any of the objects.

Mahesh Halyal wrote:

> Yes, the proxy class exists. Earlier
> I used to get this error if I don't have the
> Proxy class.
>
> Is this error dut to change in jre ?
> Because earlier we had only jdk1.2.
> Now we have installed jdk1.3 also
> on our server and even IBM jikes.
> But my PATH variables points
> to jdk1.2. i.e when I execute "java -version"
> it;s jdk1.2.2. But I suspect ozone might be taking
> some other jre ( may be jikes ? ) internally.
>
> Did u have any problem due to the change in jre ?
>
> regards ,
> Mahesh
>
> Falko Braeutigam wrote:
>
> > On Tue, 22 Aug 2000, Mahesh Halyal wrote:
> > > Hello All :
> > >
> > > I am using ozone database.  I have used
> > > serialversionUID in my classes to take care
> > > of versioning.
> > >
> > > So far everything was working fine. Many times
> > > I have modified the object to be stored in database
> > > by introducing new methods and variables.
> > >
> > > But now I am unable to read or write to database.
> > > I am getting the following error message at my application side
> > >
> > > ---------------------------------------------------------------------------
> > >
> > > java.lang.ClassCastException: org.ozoneDB.OzoneProxy
> > > ---------------------------------------------------------------------------
> > >
> > > On ozone side the error message is
> > > ---------------------------------------------------------------------------
> > >
> > > warning: ObjectState: proxy(): unable to create proper proxy object.
> > > ----------------------------------------------------------------------------
> > >
> > > I have done the "opp" also. ( earlier not doing "opp" after java
> > > comiplation
> > > used to give the this  problem )
> >
> > It seems that the server cannot find the proxy class file for a specific
> > class. Are you sure that the *_Proxy.class file exists and that the server can
> > access it?
> >
> > Falko
> > --
> > ______________________________________________________________________
> > Falko Braeutigam                              mailto:falko@smb-tec.com
> > SMB GmbH                                        http://www.smb-tec.com

--
Tim Brown
URL: http://www.incenter.org