ORBDaemon object adapter component wrong initialized 
Author Message
 ORBDaemon object adapter component wrong initialized

Bug in

ORBDaemon>>resetObjectAdapterComponent
ORBDaemon>>resetObjectAdaptorComponent

The built IORTaggedComponent should have the boot time of the ORB in the
bytes 9 to 12. Unfortunately the boot time is now in the bytes 13 to 16.
But the client will interpret the boot time in bytes 9 to 12. The effect
is that the client not update the object reference after a restart of
the server ORB.

You can fix this bug easily

replace following line in ORBDaemon>>resetObjectAdaptorComponent (and in
ORBDaemon>>resetObjectAdapterComponent)

        strm nextPutBytes: ( 'DST:', ORBObject versionNumber, ':' )
toCORBACharCodes.

with
        strm nextPutBytes: ( 'DST:5i1:' ) toCORBACharCodes.

Perhaps it is already fixed in 5i.2.
--
                           \\|//
                          ( O-O )
 ____________________.oooO__(_)__Oooo.__________________
/\                                                      \
\_|  Ruedi Keller                                       |
  |  Senior Software Engineer                           |
  |  BU Factory Intergration                   ESEC SA  |
  |                                  Hinterbergstr. 32  |
  |  Phone       +41 41 74 95 111         CH-6330 Cham  |
  |  Fax         +41 41 74 95 122          Switzerland  |
  |  Direct Call +41 41 74 95 705                       |

  |   _________________.oooO____________________________|__
   \_/_________________(   )___Oooo.______________________/
                        \ (    (   )
                         \_)    ) /
                               (_/



Wed, 18 Jun 1902 08:00:00 GMT  
 ORBDaemon object adapter component wrong initialized

Quote:

> Bug

Thanks,
I added it to the bugs page on the VW wiki:
http://wiki.cs.uiuc.edu/VisualWorks/VisualWorks+Bugs

Reinout



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. APL Objects: DCOs (Dyalog Component Objects)

2. Object Structures - Building Object-Oriented Software Components with Eiffel- By Jacob Gore

3. Initializing an Object

4. How to initialize class-wide objects?

5. How to initialize class-wide objects (variables)?

6. ++ Object//Component '98 ++

7. OOPSLA'99 Business Object Component Workshop - Call for Papers Update

8. Components and Object Version 7

9. Great Plains Accounting Software and COM Component Object Modeling

10. Components and Objects

11. OOPSLA'99 Business Object Component Workshop

 

 
Powered by phpBB® Forum Software