A question about jndi

2009-08-26 Thread Rodger
InitialContext(); Echo echo = (Echo)ctx.lookup(java:comp/env/my/test/Echo); * there is: *javax.naming.NotContextException: my/test/Echo *Who can help me?* * Geronimo version 2.2 -- Best Regards, Rodger.

Re: war framework / external jar setup

2009-08-06 Thread Rodger
/impl.jar And then add a dependency in you deployment plan,like dependencies dependency groupIdcom.group/groupId artifactIdimpl/artifactId typejar/type /dependency /dependencies -- Best Regards, Rodger.

Re: How to reuse the jars in geronimo repository?

2009-07-15 Thread Rodger
The specified dependency is used for classloading when the war is deployed on geronimo. I think red circle X is because the compiler can't find the right classes. Add the very jar to the build path. -- Best Regards, Rodger.

Re: Binaries not getting deleted while un-deploying axis2-1.4.1 war from Geronimo 2.1.4

2009-06-26 Thread Rodger
That problem exists not only when deploying axis2 webapp. It seems any packages containing third party jars in WEB-INF/lib can not be removed because of jars in use.

Re: Eclipse connect to Geronimo on other host

2009-06-23 Thread Rodger
Is there a firewall on server host? Maybe port is not permitted. Why not try netstat -a on server host? -- Best Regards, Rodger.

Re: Dynamically load jars in running state

2009-06-18 Thread Rodger
will become a parent classloader of the current classloader. If the dependency is a jar, then the jar's path will become one URL added to the current classloader. I'm still learning Geronimo. If I make a mistake, pls don't mind. -- Best Regards, Rodger.

Re: JNDI Name for EJB3

2009-06-17 Thread Rodger
And geronimo_home/repository/org/apache/openejb/openejb-client/3.0.1/openejb-client-3.0.1.jar is necessary. 2009/6/18 Rodger eternalj...@gmail.com http://cwiki.apache.org/GMOxDEV/client-jndi-names.html will use a RemoteInitialContextFactory. Like: Properties p = new Properties

Error when deploying a realm with a login module:org.apache.geronimo.openejb.OpenejbRemoteLoginModule

2009-06-09 Thread Rodger
org.apache.geronimo.openejb.OpenejbRemoteLoginModule. I get the reference from http://cwiki.apache.org/GMOxDOC22/configuring-javaee-app-client-security.html -- Best Regards, Rodger.

Re: Error when deploying a realm with a login module:org.apache.geronimo.openejb.OpenejbRemoteLoginModule

2009-06-09 Thread Rodger
and also include the geronimo version in the dependency? Also, what is the geronimo version? thanks david jencks On Jun 9, 2009, at 6:16 AM, Rodger wrote: My realm deploy plan named security_realm.xml is as follow: = module

Re: Error when deploying a realm with a login module:org.apache.geronimo.openejb.OpenejbRemoteLoginModule

2009-06-09 Thread Rodger
Then it will find OpenEjbremoteloginmodule class. Rodger-10 wrote: My geronimo version is 2.1.4 And in repository,there is no client-security. Thanks. 2009/6/9, David Jencks david_jen...@yahoo.com: I don't see anything obviously wrong. It _really_ shouldn't make a difference but could you try using

Re: Exception when run Bank sample client in a command line window

2009-06-05 Thread Rodger
Yes,that's the exception's reason. -- Best Regards, Rodger.

Re: set openejb jndi format in geronimo

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

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 *

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.

Exception when run Bank sample client in a command line window

2009-06-03 Thread Rodger
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:2 38) ... 5 more == Who can give me some suggestions? Thanks a lot. Rodger

set openejb jndi format in geronimo

2009-06-02 Thread Rodger
} openejb.jndiname.format = {deploymentId}{interfaceClass} /properties /openejb-jar But how to set it in Geronimo? Rodger Thanks.