0 Replies Latest reply on Dec 8, 2005 3:33 AM by chaitanya

    CommunicationException

    chaitanya Novice

      i am using jboss-4.0.2;i have deployed one ear say A.ear in one machine and B.ear deployed in machine;


      in A.ear i have some utility classes ;one utility class is looking up session bean located in B.ear;but i am getting this exception

      Error : javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: com.blah.blah.CalRHome (no security manager: RMI class loader disabled)]

      JNDI properties
      contextProperty.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
      contextProperty.put(Context.SECURITY_PRINCIPAL, "admin") ;
      contextProperty.put(Context.SECURITY_CREDENTIALS, "welcome");
      contextProperty.put(Context.PROVIDER_URL, "jnp://211.80.70.1:1099");