geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Voutat" <olivier.vou...@gmail.com>
Subject Re: Could not deploy module Could not deploy module Role Relation Name [Locacao-Cliente]
Date Sat, 01 Apr 2006 19:52:13 GMT
You got it right Aaron. Can you help me with it ?

Best Regards,
Olivier Voutat

On 3/31/06, Olivier Voutat <olivier.voutat@gmail.com> wrote:
>
> Exactly Aaron.
>
>
> Best Regards,
> Olivier Voutat
>
> On 3/31/06, Aaron Mulder <ammulder@alumni.princeton.edu > wrote:
> >
> > OK, so am I right that the lookup from the client to the session bean
> > works OK, and you need help setting up the lookup where the session
> > bean gets access to the entity bean?
> >
> > Thanks,
> >      Aaron
> >
> > On 3/31/06, Olivier Voutat <olivier.voutat@gmail.com > wrote:
> > > It is supposed to work like this: My application client (not running
> > in J2EE
> > > client container) uses a session bean (it does a remote lookup to it)
> > to
> > > work with the entity beans (doing local lookup).
> > >
> > > Hope it is clear enough. I know that I could simply work directly with
> > the
> > > entity beans but the purpose of this work is exactly to get beans
> > > communicating with other beans internaly.
> > >
> > >
> > > Best Regards,
> > > Olivier Voutat
> > >
> > > On 3/31/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
> > > > When you say you look it up remotely, do you mean that you have an
> > > > application client (which does not run in the J2EE client container)
> > > > that is calling the session bean?
> > > >
> > > > Or is it something else you're talking about?
> > > >
> > > > Thanks,
> > > >      Aaron
> > > >
> > > > On 3/31/06, Olivier Voutat <olivier.voutat@gmail.com > wrote:
> > > > > Well, the fact is that I abandonned configuring relationships,
> > because
> > > it is
> > > > > a quite simple example application for a RentACar and I only have
> > three
> > > > > database Tables (client, car and rent).
> > > > >
> > > > > So I think it won't be harmed if I don't use relationships, but
> > I'm
> > > getting
> > > > > crazy about one thing,
> > > > > this application has a Session Bean that is a facade for the
> > Entity
> > > Beans.
> > > > > When I lookup remotely for a Bean I usually do this way:
> > > > >
> > > > > Properties prop = new Properties();
> > > > > prop.put("java.naming.factory.initial
> > > > > ","org.openejb.client.RemoteInitialContextFactory");
> > > > > prop.put("java.naming.provider.url ","localhost:4201");
> > > > > prop.put("java.naming.security.principal","system");
> > > > > prop.put("java.naming.security.credentials ","manager");
> > > > >
> > > > > Context ctx = new InitialContext(prop);
> > > > > Object obj = ctx.lookup("MyInterface");
> > > > > MyInterfaceHome = (MyInterfaceHome)obj;
> > > > >
> > > > > But I don't get to do this work for a local lookup. Manu told me
> > > something
> > > > > about making a ref but I didn't get how to do it.
> > > > >
> > > > > Please, please, please someone help me with that (I'm almost at
> > tears
> > > with
> > > > > it). Need to finish this application until next Friday urgently.
> > > > >
> > > > > Best Regards,
> > > > > Olivier Voutat
> > > > >
> > > > >
> > > > > On 3/31/06, Aaron Mulder < ammulder@alumni.princeton.edu> wrote:
> > > > > > You don't need settings in any files other than ejb-jar.xml
and
> > > > > > openejb-jar.xml to configure CMR.  But I'm afraid you'll have
to
> > post
> > > > > > both those files (and a more detailed error message or stack
> > trace if
> > > > > > you have one) if you're looking for more specific advice about
> > this
> > > > > > problem.
> > > > > >
> > > > > > Thanks,
> > > > > >     Aaron
> > > > > >
> > > > > > On 3/30/06, Olivier Voutat < olivier.voutat@gmail.com>
wrote:
> > > > > > > I'm trying to deploy CMP entity beans which has relationships
> > and I
> > > > > > > configured it fine in openejb-jar.xml and ejb-jar.xml,
> > however, when
> > > I
> > > > > thy
> > > > > > > to deploy it, I'm getting the follow message:
> > > > > > >
> > > > > > > Could not deploy module
> > > > > > > Role Relation Name [Locacao-Cliente]
> > > > > > >
> > > > > > > Do I have to configure something else more in the
> > application.xml ?
> > > > > > >
> > > > > > > --
> > > > > > > Olivier & Cidiane Voutat
> > > > > > > Rua Praia de Muriú, 9188
> > > > > > > Cep 59092-390 / Natal - RN
> > > > > > > Tel: (84) 3219-0427 Cel: (84) 9977-3917
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >  --
> > > > >
> > > > > Olivier & Cidiane Voutat
> > > > > Rua Praia de Muriú, 9188
> > > > > Cep 59092-390 / Natal - RN
> > > > > Tel: (84) 3219-0427 Cel: (84) 9977-3917
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Olivier & Cidiane Voutat
> > > Rua Praia de Muriú, 9188
> > > Cep 59092-390 / Natal - RN
> > > Tel: (84) 3219-0427 Cel: (84) 9977-3917
> >
>
>
>
> --
>
> Olivier & Cidiane Voutat
> Rua Praia de Muriú, 9188
> Cep 59092-390 / Natal - RN
> Tel: (84) 3219-0427 Cel: (84) 9977-3917
>



--
Olivier & Cidiane Voutat
Rua Praia de Muriú, 9188
Cep 59092-390 / Natal - RN
Tel: (84) 3219-0427 Cel: (84) 9977-3917

Mime
View raw message