Re: object creation sample need help...

"Adi" <[email protected]> Mon, 14 Feb 2005 10:59:31 +0700
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
i download the binary installer of ozone
the version is 1.2
i download it 6 month aago

is this ozone not compatible with object creation example?
if yes, what can i do???
thanks


On Wed, 9 Feb 2005 00:29:48 +0100
  Per Nyfelt <[email protected]> wrote:
> Looks like you do not have a compatible server version 
>with this sample.
> 
> Since you seem to have problems getting cvs to work I'll 
>put a snapshot of the 
> current CVS code up on SourceForge. You should be able 
>to build fine using it 
> instead.
> 
> Anyway, I just updated from CVS and build the 
>objectCreation sample 
> successfully:
> 
> per@erlang:~/project/ozone/server/samples/objectCreation$ 
>ant
> Buildfile: build.xml
> 
> init:
>     [echo] -------- Ozone Object Creation Example 
>--------
> 
> prepare:
> 
> compile-server:
>    [javac] Compiling 13 source files 
> to 
>/home/per/project/ozone/server/samples/objectCreation/build/classes
>     [java] Begin OPP...
>     [java]    Processing class: office.FloorImpl
>     [java]    Begin Processing office.FloorImpl...
>     [java]       Begin Resolving update methods...
>     [java]          No ocd was found!
>     [java]       End Resolving update methods
>     [java]       Begin Generating factory for: 
>office.FloorImpl...
>     [java]       End Generating factory for: 
>office.FloorImpl
>     [java]       Begin Generating proxy for: 
>office.FloorImpl...
>     [java]          Upgrading method: setLevel to lock 
>level WRITE
>     [java]       End Generating proxy for: 
>office.FloorImpl
>     [java]    End Processing office.FloorImpl generated 
>in 0.623 seconds.
>     [java]    Generation completed with 0 warnings and 0 
>errors
>     [java]    Processing class: office.MeetingRoomImpl
>     [java]    Begin Processing office.MeetingRoomImpl...
>     [java]       Begin Resolving update methods...
>     [java]          No ocd was found!
>     [java]       End Resolving update methods
>     [java]       Begin Generating factory for: 
>office.MeetingRoomImpl...
>     [java]       End Generating factory for: 
>office.MeetingRoomImpl
>     [java]       Begin Generating proxy for: 
>office.MeetingRoomImpl...
>     [java]          Upgrading method: setPeopleCapacity 
>to lock level WRITE
>     [java]          Upgrading method: setRoomNumber to 
>lock level WRITE
>     [java]       End Generating proxy for: 
>office.MeetingRoomImpl
>     [java]    End Processing office.MeetingRoomImpl 
>generated in 0.116 
> seconds.
>     [java]    Generation completed with 0 warnings and 0 
>errors
>     [java]    Processing class: office.SiteImpl
>     [java]    Begin Processing office.SiteImpl...
>     [java]       Begin Resolving update methods...
>     [java]          No ocd was found!
>     [java]       End Resolving update methods
>     [java]       Begin Generating factory for: 
>office.SiteImpl...
>     [java]       End Generating factory for: 
>office.SiteImpl
>     [java]       Begin Generating proxy for: 
>office.SiteImpl...
>     [java]          Upgrading method: setName to lock 
>level WRITE
>     [java]          Upgrading method: setAddress to lock 
>level WRITE
>     [java]          Upgrading method: setFloor to lock 
>level WRITE
>     [java]       End Generating proxy for: 
>office.SiteImpl
>     [java]    End Processing office.SiteImpl generated 
>in 0.069 seconds.
>     [java]    Generation completed with 0 warnings and 0 
>errors
>     [java]    Processing class: 
>office.PrivateWorkRoomImpl
>     [java]    Begin Processing 
>office.PrivateWorkRoomImpl...
>     [java]       Begin Resolving update methods...
>     [java]          No ocd was found!
>     [java]       End Resolving update methods
>     [java]       Begin Generating factory for: 
>office.PrivateWorkRoomImpl...
>     [java]       End Generating factory for: 
>office.PrivateWorkRoomImpl
>     [java]       Begin Generating proxy for: 
>office.PrivateWorkRoomImpl...
>     [java]          Upgrading method: setOwner to lock 
>level WRITE
>     [java]          Upgrading method: setRoomNumber to 
>lock level WRITE
>     [java]       End Generating proxy for: 
>office.PrivateWorkRoomImpl
>     [java]    End Processing office.PrivateWorkRoomImpl 
>generated in 0.062 
> seconds.
>     [java]    Generation completed with 0 warnings and 0 
>errors
>     [java] End OPP generated in 1.129 seconds.
>     [java] Generation completed with 0 warnings and 0 
>errors
>    [javac] Compiling 8 source files 
> to 
>/home/per/project/ozone/server/samples/objectCreation/build/classes
> 
> compile-client:
>    [javac] Compiling 1 source file 
> to 
>/home/per/project/ozone/server/samples/objectCreation/build/classes
> 
> compile:
> 
> BUILD SUCCESSFUL
> Total time: 11 seconds
> 
> Regards,
> Per
> 
> tisdagen den 8 februari 2005 00.55 skrev adi:
>> i have compiled the objectcreation sample that 
>>downloaded from sourceforge
>> cvs and some error occured
>> please give me some advice to solve this error
>>
>> ******************************************************
>> C:\ozone\samples\objectCreation>..\..\build
>> Win NT/2000/XP build script
>>
>> Buildfile: build.xml
>>
>> init:
>>      [echo] -------- Ozone Object Creation Example 
>>--------
>>
>> prepare:
>>
>> compile-server:
>>      [java] Begin OPP...
>>      [java]    Processing class: office.FloorImpl
>>      [java]    Begin Processing office.FloorImpl...
>>      [java]       Begin Resolving update methods...
>>      [java]          No ocd was found!
>>      [java]       End Resolving update methods
>>      [java]       Begin Generating factory for: 
>>office.FloorImpl...
>>      [java]       End Generating factory for: 
>>office.FloorImpl
>>      [java]       Begin Generating proxy for: 
>>office.FloorImpl...
>>      [java]          Upgrading method: setLevel to lock 
>>level WRITE
>>      [java]       End Generating proxy for: 
>>office.FloorImpl
>>      [java]    End Processing office.FloorImpl generated 
>>in 2.073 seconds.
>>      [java]    Generation completed with 0 warnings and 
>>0 errors
>>      [java]    Processing class: office.MeetingRoomImpl
>>      [java]    Begin Processing 
>>office.MeetingRoomImpl...
>>      [java]       Begin Resolving update methods...
>>      [java]          No ocd was found!
>>      [java]       End Resolving update methods
>>      [java]       Begin Generating factory for: 
>>office.MeetingRoomImpl...
>>      [java]       End Generating factory for: 
>>office.MeetingRoomImpl
>>      [java]       Begin Generating proxy for: 
>>office.MeetingRoomImpl...
>>      [java]          Upgrading method: setPeopleCapacity 
>>to lock level
>> WRITE [java]          Upgrading method: setRoomNumber to 
>>lock level WRITE
>> [java]       End Generating proxy for: 
>>office.MeetingRoomImpl [java]    End
>> Processing office.MeetingRoomImpl generated in 0.59 
>>seconds. [java]   
>> Generation completed with 0 warnings and 0 errors
>>      [java]    Processing class: office.SiteImpl
>>      [java]    Begin Processing office.SiteImpl...
>>      [java]       Begin Resolving update methods...
>>      [java]          No ocd was found!
>>      [java]       End Resolving update methods
>>      [java]       Begin Generating factory for: 
>>office.SiteImpl...
>>      [java]       End Generating factory for: 
>>office.SiteImpl
>>      [java]       Begin Generating proxy for: 
>>office.SiteImpl...
>>      [java]          Upgrading method: setName to lock 
>>level WRITE
>>      [java]          Upgrading method: setAddress to 
>>lock level WRITE
>>      [java]          Upgrading method: setFloor to lock 
>>level WRITE
>>      [java]       End Generating proxy for: 
>>office.SiteImpl
>>      [java]    End Processing office.SiteImpl generated 
>>in 0.331 seconds.
>>      [java]    Generation completed with 0 warnings and 
>>0 errors
>>      [java]    Processing class: 
>>office.PrivateWorkRoomImpl
>>      [java]    Begin Processing 
>>office.PrivateWorkRoomImpl...
>>      [java]       Begin Resolving update methods...
>>      [java]          No ocd was found!
>>      [java]       End Resolving update methods
>>      [java]       Begin Generating factory for:
>> office.PrivateWorkRoomImpl... [java]       End 
>>Generating factory for:
>> office.PrivateWorkRoomImpl [java]       Begin Generating 
>>proxy for:
>> office.PrivateWorkRoomImpl... [java]          Upgrading 
>>method: setOwner to
>> lock level WRITE [java]          Upgrading method: 
>>setRoomNumber to lock
>> level WRITE [java]       End Generating proxy for:
>> office.PrivateWorkRoomImpl [java]    End Processing
>> office.PrivateWorkRoomImpl generated in 0.451 seco nds.
>>      [java]    Generation completed with 0 warnings and 
>>0 errors
>>      [java] End OPP generated in 3.806 seconds.
>>      [java] Generation completed with 0 warnings and 0 
>>errors
>>     [javac] Compiling 8 source files to
>> C:\ozone\samples\objectCreation\build\cl asses
>>
>> compile-client:
>>     [javac] Compiling 1 source file to
>> C:\ozone\samples\objectCreation\build\cla sses
>>     [javac] 
>>C:\ozone\samples\objectCreation\src\OfficeClient.java:45:
>> deleteObje ct(org.ozoneDB.OzoneRemote) in 
>>org.ozoneDB.OzoneInterface cannot
>> be applied to ( java.lang.String)
>>     [javac]        
>> SiteImplFactory.getDefault().getDatabase().deleteObject(site 
>>1);
>>     [javac]                                   ^
>>     [javac] 
>>C:\ozone\samples\objectCreation\src\OfficeClient.java:105:
>> cannot re solve symbol
>>     [javac] symbol  : method hasNamedObject 
>>(java.lang.String)
>>     [javac] location: class org.ozoneDB.ExternalDatabase
>>     [javac]         if (db.hasNamedObject(site1)) {
>>     [javac]               ^
>>     [javac] 
>>C:\ozone\samples\objectCreation\src\OfficeClient.java:107:
>> cannot re solve symbol
>>     [javac] symbol  : method deleteObject 
>>(java.lang.String)
>>     [javac] location: class org.ozoneDB.ExternalDatabase
>>     [javac]             db.deleteObject(site1);
>>     [javac]               ^
>>     [javac] 3 errors
>>
>> BUILD FAILED
>> file:C:/ozone/samples/objectCreation/build.xml:144: 
>>Compile failed; see the
>> comp iler error output for details.
>> ********************************
>>
>> thanks
> 
> 
> -------------------------------------------------------
> 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

========================================================================================
Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus untuk wilayah Jawa Timur.
Informasi selengkapnya di www.telkomnetinstan.com atau hub 0800-1-INSTAN (467826)
======================================================================================== 


-------------------------------------------------------
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