[Prévia] [Próxima] [Prévia por assunto] [Próxima por assunto]
[Índice cronológico]
[Índice de assunto]
Re: CORBA.BAD_INV_ORDER (fwd da lista antiga)
- Subject: Re: CORBA.BAD_INV_ORDER (fwd da lista antiga)
- From: Francisco Reverbel <reverbel@xxxxxxxxxx>
- Date: Sat, 1 May 2004 01:53:26 -0300 (BRT)
---------- Forwarded message ----------
Date: Wed, 28 Apr 2004 15:40:40 -0300
From: Gustavo André Nunes Ferreira
Subject: Re: CORBA.BAD_INV_ORDER
Onde deve estar o código de registro dos objetos "Livro"? Na
implementação de destes objetos? No programa Servidor?
Gustavo André Nunes Ferreira wrote:
> O código abaixo:
>
> public Biblio.Livro pegaLivro(String isbn)
> throws Biblio.LivroInexistente
> {
> LivroImpl temp = new LivroImpl();
> int i;
> for(i=0;i<=livros.size();i++) {
> temp = (LivroImpl)livros.elementAt(i);
> if( temp.isbn() == isbn )
> break;
> else if( i == livros.size() )
> throw new LivroInexistente(isbn);
> }
> return temp._this();
> }
>
> está retornando a seguinte erro:
>
> org.omg.CORBA.BAD_INV_ORDER: The Servant has not been associated with
> an ORBinstance
>
> Alguém tem alguma dica?
>