OK, you still need to

   - add two jars to the classpath when you execute the client app.


   1.
      
geronimo\repository\org\apache\geronimo\framework\geronimo-security\2.1.3\geronimo-security-2.1.3.jar
      2.
      
geronimo\repository\org\apache\openejb\openejb-client\3.0\openejb-client-3.0.jar


   - add a  env.put("openejb.authentication.realmName","geronimo-admin");
 before creating the InitialContext.

Reply via email to