Hi, I have one SessionBean (Stateless) and i want to call a messagedrivenbean from another server. But I Have the following Problem:
anonymous wrote : 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] | What do I do wrong? I Use ejb3 rc9 and the following code: 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); | [..] | And anther Question: The mdb is ejb 2.1. Will that be a problem, if a solve the problem above? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004680#4004680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004680 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user