0 Replies Latest reply on Feb 22, 2002 12:42 PM by Jeff Tulley

    ClassNotFoundException

    Jeff Tulley Newbie

      I'm answering you here, Ramesh, since this is not a development related question. Please try to keep questions to the appropriate forum and/or list. Also, be sure to specify what version of JBoss you are using in future messages like this.
      This is just what it appears to be - a class not found exception, or in other-words a classpath issue. What do you have on your classpath?

      It looks like you must be using JBoss 2.4.x, and this class resides in the client\jboss-client.jar Make sure whatever EJB client you are using has this in it's classpath (or in a WEB-INF\lib directory if you are doing this as a web-application).


      -- Ramesh Gadde wrote: --

      Hi all

      when i am looking up the initialContext for EJB i am getting the following
      exception.
      my ejb is BMP.

      any help is appreciated.

      regards
      Ramesh

      My code is like this

      axielleServiceConfigurationHome =
      (AxielleServiceConfigurationHome)
      javax.rmi.PortableRemoteObject.narrow (
      initialContext.lookup
      (AxielleConstants.AXIELLE_CONFIGURATION_JNDI_NAME),
      AxielleServiceConfigurationHome.class);


      I am getting following exception

      javax.naming.CommunicationException. Root exception is
      java.lang.ClassNotFoundE
      xception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security
      manager
      : RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
      at
      sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
      a:143)
      at
      java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
      :918)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at
      java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at
      java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
      3)
      at
      java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
      9)
      at
      java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at
      com.ascentialsoftware.axielle.config.runtime.storage.impl.AxielleConf
      iguration.<init>(AxielleConfiguration.java:93)


      _______________________________________________
      Jboss-development mailing list
      Jboss-development@lists.sourceforge.net
      https://lists.sourceforge.net/lists/listinfo/jboss-development