Does db4o Replication system need Eiffel bindings too?

4 messages Options
Embed this post
Permalink
Iliyan Gochev

Does db4o Replication system need Eiffel bindings too?

Reply Threaded More More options
Print post
Permalink
Hello,

I'm trying to replicate two local databases, `primary.db4o' and `backup.db4o', whereas primary.db4o is populated with objects.
I've set up the two databases according to dRS manual.
During replication dRS throws at me exceptions for being "unable to find the counterpart of EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE of class EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE".

I'm guessing it requires some type translations like in the db4o's Eiffel bindings? Has anyone experience with dRS and Eiffel, or any advice how I can make it work?

Best regards,
Iliyan

Emmanuel Stapf

RE: Does db4o Replication system need Eiffel bindings too?

Reply Threaded More More options
Print post
Permalink
Most likely the Eiffel Software runtime assembly is not found by db4o. Make sure
to deploy it with your Eiffel assembly. It is located under the assembly folder in
the W_code or F_code directory.

Regards,
Manu

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of iliyan_gochev
> Sent: Friday, August 21, 2009 2:06 AM
> To: [hidden email]
> Subject: [eiffel_software] Does db4o Replication system need Eiffel
> bindings too?
>
> Hello,
>
> I'm trying to replicate two local databases, `primary.db4o' and
> `backup.db4o', whereas primary.db4o is populated with objects.
> I've set up the two databases according to dRS manual.
> During replication dRS throws at me exceptions for being "unable to find
> the counterpart of EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE of class
> EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE".
>
> I'm guessing it requires some type translations like in the db4o's Eiffel
> bindings? Has anyone experience with dRS and Eiffel, or any advice how I
> can make it work?
>
> Best regards,
> Iliyan
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
Iliyan Gochev

Re: Does db4o Replication system need Eiffel bindings too?

Reply Threaded More More options
Print post
Permalink
Hello Manu,

I have the EiffelSoftware Runtime assembly referenced in my .ecf and it gets
automatically deployed to the Assembly sub-folder.
It gets loaded and my test system executes without any problems (e.g.
opens/reads/writes the db4o database). If I remove it from the Assembly
folder, the system crashes with FileNotFound exception long before it starts
the db4o tests.

Any other ideas?

Have a great weekend!
Iliyan


On Fri, Aug 21, 2009 at 6:18 PM, Emmanuel Stapf [ES] <[hidden email]>wrote:

>
>
> Most likely the Eiffel Software runtime assembly is not found by db4o. Make
> sure
> to deploy it with your Eiffel assembly. It is located under the assembly
> folder in
> the W_code or F_code directory.
>
> Regards,
> Manu
>
>
> > -----Original Message-----
> > From: [hidden email]<eiffel_software%40yahoogroups.com>
> > [mailto:[hidden email]<eiffel_software%40yahoogroups.com>]
> On Behalf Of iliyan_gochev
> > Sent: Friday, August 21, 2009 2:06 AM
> > To: [hidden email] <eiffel_software%40yahoogroups.com>
> > Subject: [eiffel_software] Does db4o Replication system need Eiffel
> > bindings too?
> >
> > Hello,
> >
> > I'm trying to replicate two local databases, `primary.db4o' and
> > `backup.db4o', whereas primary.db4o is populated with objects.
> > I've set up the two databases according to dRS manual.
> > During replication dRS throws at me exceptions for being "unable to find
> > the counterpart of EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE of class
> > EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE".
> >
> > I'm guessing it requires some type translations like in the db4o's Eiffel
> > bindings? Has anyone experience with dRS and Eiffel, or any advice how I
> > can make it work?
> >
> > Best regards,
> > Iliyan
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
>  
>


[Non-text portions of this message have been removed]

Iliyan Gochev

Re: Does db4o Replication system need Eiffel bindings too?

Reply Threaded More More options
Print post
Permalink
Hello again,

I'm sorry for wasting your time Manu, I should really read and understand
the manuals before asking questions.
The problem was in that I had the EIFFEL_CONFIGURATION disabled for some
tests, and didn't used POINTER_TRANSLATOR during storing operations. That
was causing the cited exception in my first post.

Now during replication session I get other exceptions, which according to
the manual is normal because of not implemented Eiffel String TypeHandlers
in the db4o Eiffel bindings.
I will investigate further into that direction.

Have a nice weekend!
Iliyan


On Fri, Aug 21, 2009 at 9:43 PM, Iliyan Gochev <[hidden email]>wrote:

> Hello Manu,
>
> I have the EiffelSoftware Runtime assembly referenced in my .ecf and it
> gets automatically deployed to the Assembly sub-folder.
> It gets loaded and my test system executes without any problems (e.g.
> opens/reads/writes the db4o database). If I remove it from the Assembly
> folder, the system crashes with FileNotFound exception long before it starts
> the db4o tests.
>
> Any other ideas?
>
> Have a great weekend!
> Iliyan
>
>
>
> On Fri, Aug 21, 2009 at 6:18 PM, Emmanuel Stapf [ES] <[hidden email]>wrote:
>
>>
>>
>> Most likely the Eiffel Software runtime assembly is not found by db4o.
>> Make sure
>> to deploy it with your Eiffel assembly. It is located under the assembly
>> folder in
>> the W_code or F_code directory.
>>
>> Regards,
>> Manu
>>
>>
>> > -----Original Message-----
>> > From: [hidden email]<eiffel_software%40yahoogroups.com>
>> > [mailto:[hidden email]<eiffel_software%40yahoogroups.com>]
>> On Behalf Of iliyan_gochev
>> > Sent: Friday, August 21, 2009 2:06 AM
>> > To: [hidden email] <eiffel_software%40yahoogroups.com>
>> > Subject: [eiffel_software] Does db4o Replication system need Eiffel
>> > bindings too?
>> >
>> > Hello,
>> >
>> > I'm trying to replicate two local databases, `primary.db4o' and
>> > `backup.db4o', whereas primary.db4o is populated with objects.
>> > I've set up the two databases according to dRS manual.
>> > During replication dRS throws at me exceptions for being "unable to find
>> > the counterpart of EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE of class
>> > EiffelSoftware.Runtime.Types.RT_GENERIC_TYPE".
>> >
>> > I'm guessing it requires some type translations like in the db4o's
>> Eiffel
>> > bindings? Has anyone experience with dRS and Eiffel, or any advice how I
>> > can make it work?
>> >
>> > Best regards,
>> > Iliyan
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>>
>>  
>>
>
>


[Non-text portions of this message have been removed]