[jboss-user] [Beginners Corner] - Missing SecurityContextInterceptor while starting a HelloWor

JRookie_2402 do-not-reply at jboss.com
Thu Apr 16 11:51:35 EDT 2009


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
s_5.0/jboss-5.0.0.GA/server/default/deploy/HelloWorldApp.ear/HelloWorld.jar
11:42:36,609 INFO  [ProxyFactory] Bound EJB Home 'HelloWorld' to jndi 'ejb/HelloWorld'

Is there anyone who has an idea ??
regards
JRookie











View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225974#4225974

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225974



More information about the jboss-user mailing list