I'm accessing an EJB 3 business interface on jboss from a standalone client by
Properties props = new Properties();
| props.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
| props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
| props.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
| Context ctx = new InitialContext(props);
|
| Test test = (Test) ctx.lookup("TestBean/remote");
This works, but the lookup produces the warning:
log4j: WARN No appenders could be found for logger
(org.jnp.interfaces.TimedSocketFactory)
| log4j: WARN Please initialze the log4j system properly
Has anybody an idea what I have to do in order to get rid of these warnings ?
Any help is appreciated. Thanks.
Ralph
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223833#4223833
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223833
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user