« Return to Thread: [OSGI] SLSB Business Interfaces registered multiple times as Services

Re: [OSGI] SLSB Business Interfaces registered multiple times as Services

by Guillaume Sauthier :: Rate this Message:

Reply to Author | View in Thread

Yes, that's strange
Business interfaces should be registered only when the ejbjar is started.
Notice that all the business interfaces of the bean are registered, so
if you have multiples local or remote interfaces, it ends up with
multiple registration.
Are your beans reusing the interfaces? so it's normal that they gets
registered multiple times ...

--G

ekke a écrit :

> just noticed a strange thing,
> while tracking services I noticed, that Services for SLSB are
> registered more then one time.
>
> think your loop is wrong
>
> it goes this way:
>
> ALocal
> ARemote
> ALocal
> ARemote
> BLocal
> BRemote
> ALocal
> ARemote
> BLocal
> BRemote
> CLocal
> CRemoteALocal
> ARemote
> BLocal
> BRemote
> CLocal
> CRemote
> DLocal
> DRemote
>
> and so on...
> my service.id is > 80.000 ;-)
>
> should I report this as bug ?
>
> ekke
> (using 1.1.0 snapshot 2008_07_23)
>
>
>

[Guillaume_Sauthier.vcf]

begin:vcard
fn:Guillaume Sauthier
n:Sauthier;Guillaume
org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a>
adr:;;;;;;France
email;internet:guillaume.sauthier@...
title:<a href="http://jonas.ow2.org">JOnAS Application Server</a>
x-mozilla-html:TRUE
url:http://jonas.ow2.org
version:2.1
end:vcard


 « Return to Thread: [OSGI] SLSB Business Interfaces registered multiple times as Services