geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: set openejb jndi format in geronimo
Date Wed, 03 Jun 2009 07:24:01 GMT
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