Hi,
I have one SessionBean (Stateless) and i want to call a messagedrivenbean from another server. But I Have the following Problem:
INFO [STDOUT] javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming:org.jnp.interfaces [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.naming:org.jnp.interfaces]
java.util.Properties p = System.getProperties();
p.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
p.setProperty("java.naming.factory.url.pkgs",
"org.jboss.naming:org.jnp.interfaces");
p.setProperty("java.naming.provider.url", "jnp://localhost:1099");
try {
javax.naming.InitialContext ctx = new javax.naming.InitialContext(p);
[..]
Another hint
[..]
ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.naming:org.jnp.interfaces