4 Replies Latest reply on Apr 19, 2009 6:59 AM by Heinz JRookie

    Missing SecurityContextInterceptor while starting a HelloWor

    Heinz JRookie Newbie

      Hello all,
      I try to run a very simple ejb3 application under JBoss5.0.
      It's just Hello World where you give a name and get the reply "Hello ". When I try to start the client I get this message:

      org.jboss.proxy.ejb.SecurityContextInterceptor (no security manager: RMI class loader disabled)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:668)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at de.akdabas.jli.j2ee.ejb.HelloWorldClient.main(HelloWorldClient.java:37)

      In line 37 of my program there is:

      InitialContext ctx = new InitialContext(env);
      Object objRef = ctx.lookup("ejb/HelloWorld");

      Do I have to set up a security policy, if I try to run a ejb3 application? Or is it something else?
      Deployment of that bean looks alright:

      11:42:35,656 INFO [EjbDeployer] installing bean: ejb/HelloWorld.jar#HelloWorld,uid27633413
      11:42:35,656 INFO [EjbDeployer] with dependencies:
      11:42:35,656 INFO [EjbDeployer] and supplies:
      11:42:35,656 INFO [EjbDeployer] jndi:ejb/HelloWorld
      11:42:35,890 INFO [EjbModule] Deploying HelloWorld
      11:42:35,953 WARN [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=HelloWorld Deployment=vfszip:/F:/Entwicklung/JBos
      11:42:36,609 INFO [ProxyFactory] Bound EJB Home 'HelloWorld' to jndi 'ejb/HelloWorld'

      Is there anyone who has an idea ??