geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ying Tang <yingtang1...@gmail.com>
Subject Re: set openejb jndi format in geronimo
Date Fri, 05 Jun 2009 09:13:42 GMT
Hi all,

The page in Geronimo 2.1 (
http://cwiki.apache.org/confluence/display/GMOxDOC21/Client+JNDI+Names)  has
been updated, and the DEV page (
http://cwiki.apache.org/GMOxDEV/client-jndi-names.html) refers to that page.
Ditto for Geronimo 2.2.


Best Regards,

Ying Tang


2009/6/5 David Blevins <david.blevins@visi.com>

> Hey Ivan, if you had time to update this page with the working solution,
> that would be great:
> http://cwiki.apache.org/GMOxDEV/client-jndi-names.html
>
>
>
> On Jun 3, 2009, at 12:24 AM, Ivan wrote:
>
>  OK, try this:
>> set GERONIMO_OPTS="-Dopenejb.jndiname.format={ejbName}/{interfaceClass}
>> geronimo.bat start
>>
>> 2009/6/3 Rodger <eternaljian@gmail.com>
>> I tried it.But the default format--{ejbName}{interfaceType.annotationName}
>> still works,the format doesn't change to {ejbName}/{interfaceClass}.
>> That is
>> initialContext.lookup("CalculatorRemote"); works
>> but
>> initialContext.lookup("Calculator/org.apache.geronimo.samples.slsb.calculator.CalculatorRemote");
>>  failed.
>>
>> There are my ejb part:
>> @Remote
>> interface CalculatorRemote
>>
>> @Stateless
>> class Calculator implements CalculatorRemote
>>
>>
>>
>> --
>> Ivan
>>
>
>

Mime
View raw message