Re: may be a recursing error...
Per Nyfelt <[email protected]> Wed, 29 Dec 2004 18:19:32 +0100
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
There are several ways to add something to the server classpath: Assuming Unix like OS do ONE of the following alternatives: * create a classes directory under $OZONE_HOME and copy your .class files (including package names) * package your classes in a jar and copy that jar to $OZONE_HOME/lib * set the classpath before calling ./ozone -d .... e.g export CLASSPATH=/path/to/your/classes either on command line or with a wrapper script * edit ozoneEnv to add the path to your classes there For windows do ONE of the following alternatives: * create a classes directory under %OZONE_HOME% and copy your .class files (including package names) * package your classes in a jar and copy that jar to %OZONE_HOME%\lib * set the classpath before calling ozone -d .... e.g set CLASSPATH=\path\to\your\classes either on command line or with a wrapper script * edit ozoneEnv.bat to add the path to your there there Best regards, Per onsdagen den 29 december 2004 00.18 skrev Nicolas Barrera: > hi there..., "i m new on ozone database"... but i ve read previous > posts... ;) anyway i think i m going to ask about something you ve > already answered... :( > > the thing is... my client is throwing: > org.ozoneDB.OzoneClassNotFoundException: PostImpl > > while executing this sentence: > ... > Post post = (Post) (db.createObject(PostImpl.class.getName(), 0, > "postNro: "+ nro)); > ... > > I ve read previous posts where you told that the classes need to be in > the SERVER classpath..., if you think THAT can be the problem here.., > please tell me how to setup the classpath for the server..., cause the > server is started with ./ozone -d<dir> so i can't add any classpath > info there..., i m using eclipse IDE to develop the client so > classpath issues 're alright but i m not used to set it through > command line or that... > > thanks for the patience (just a little... this timeee) > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/