Re: Can't figure this error out...

Per Nyfelt <[email protected]> Sat, 12 Mar 2005 11:46:50 +0100
Newsgroups gmane.comp.java.ozone.user
Organization Resourcing Networks
Message-ID <[email protected]>
Hi Nicolas,

Please see my answers below.

fredagen den 11 mars 2005 20.03 skrev Nicolas Barrera:
> Hi, this sonds quite weird but i guess you ll figure it out easily...
> (i hope :D)
>
> the thing is that i ve this little program to test ozone and something
> strange is happening. I ve put some kind of output in an if statement
> in order to check a variable of my own..., i wondered why my program
> didn't work until i found out that there was that output telling me
> that the if result was a FALSE (which stopped the program)
> but the output wasn't on the program's console. It was in the server
> console (why was that??) every other output i tried was always on the
> program console (all my outputs where very simple System.out.println("
> ");)

Ozone Objects are executed inside the server so printlines are outputted on 
the console.

>
> But.., what becomes even more rare is that after i got tired of trying
> to solve that i quit that if statement and the output... as they were
> for checking a variable of my own i didn't mind if the value i was
> adding wasn't a reasonable value.  So i delete this if on the setter
> Method and left just an attrib = value; BUT when i run again the
> program it keeps dropping the program with that output!!...
>
> are there anything that keeps some old .class on the ozonedb??
> i really don't get the problem, hope you can c you!

There's nothing magical about it. You probably have an older version of your 
compiled code in the server classpath. The server classpath is set by the 
ozoneEnv script but in essence it includes existing CLASSPATH, lib dir and 
classes dir in the server classpath when starting up. Lock in these places 
for old code, clean them up and restart the server and things should work. If 
not you need to clarify more exactly (with code snippets) what is going on.

Regards,
Per

>
>
> -------------------------------------------------------
> 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click