Re: set openejb jndi format in geronimo

2009-06-05 Thread Ying Tang
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

Re: set openejb jndi format in geronimo

2009-06-04 Thread David Blevins
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

Re: set openejb jndi format in geronimo

2009-06-03 Thread Rodger
Yes.Great.It's ok. Thank you very much for your patient help! Rodger.

Re: set openejb jndi format in geronimo

2009-06-03 Thread Ivan
OK, try this: set GERONIMO_OPTS="-Dopenejb.jndiname.format={ejbName}/{interfaceClass} geronimo.bat start 2009/6/3 Rodger > I tried it.But the default format--{ejbName}{interfaceType.annotationName} > still works,the format doesn't change to {ejbName}/{interfaceClass}. > That is > *initialContext

Re: set openejb jndi format in geronimo

2009-06-03 Thread Rodger
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.CalculatorRe

Re: set openejb jndi format in geronimo

2009-06-02 Thread Ivan
Yes 2009/6/3 Rodger > Do you mean > bin/geronimo.bat run "-Dopenejb.jndiname.format={ejbName}/{interfaceClass}" > ? -- Ivan

Re: set openejb jndi format in geronimo

2009-06-02 Thread Rodger
Do you mean bin/geronimo.bat run "-Dopenejb.jndiname.format={ejbName}/{interfaceClass}" ?

Re: set openejb jndi format in geronimo

2009-06-02 Thread Ivan
The first way 1. $ ./bin/openejb start "-Dopenejb.jndiname.format={ejbName}/{interfaceClass}" should be also OK in Geronimo. 2009/6/3 Rodger > In openejb standalone version, we can set the jndi name format by two ways: > 1. $ ./bin/openejb start > "-Dopenejb.jndiname.format={ejbName}/{interfaceC

set openejb jndi format in geronimo

2009-06-02 Thread Rodger
In openejb standalone version, we can set the jndi name format by two ways: 1. $ ./bin/openejb start "-Dopenejb.jndiname.format={ejbName}/{interfaceClass}" 2.set in the META-INFO/openejb-jar.xml as follows: openejb.deploymentId.format = {ejbName} openejb.jndiname.format = {deployment